CtrlK
BlogDocsLog inGet started
Tessl Logo

igmarin/elixir-phoenix-skills

Curated library of 38 atomic skills, 7 personas, and 1 orchestrator for Elixir and Phoenix development. Organized by category: fundamentals, phoenix, database, testing, auth, infrastructure, quality, security, integrations, tooling, frameworks, personas, and orchestration. Covers core Elixir patterns, Phoenix LiveView, Ecto, OTP, Oban, testing, security, deployment, real-time, and modern tooling (Req, Swoosh, Cachex, Broadway, Ash).

91

1.37x
Quality

91%

Does it follow best practices?

Impact

91%

1.37x

Average score across 56 eval scenarios

SecuritybySnyk

Advisory

Suggest reviewing before use

Overview
Quality
Evals
Security
Files

criteria.jsonevals/scenario-10/

{
  "context": "Checks whether the final artifact follows the phoenix-liveview-auth instructions from the published Elixir Phoenix Skills plugin.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "instruction-1",
      "description": "The submitted artifact follows this skill instruction: Use this skill before writing ANY `on_mount` hook or LiveView auth code.",
      "max_score": 15
    },
    {
      "name": "instruction-2",
      "description": "The submitted artifact follows this skill instruction: **Always use `on_mount` callbacks for LiveView auth** — never check auth in `mount/3` directly",
      "max_score": 15
    },
    {
      "name": "instruction-3",
      "description": "The submitted artifact follows this skill instruction: **Use `mount_current_scope/2` to extract scope from session** — never access session tokens manually",
      "max_score": 14
    },
    {
      "name": "instruction-4",
      "description": "The submitted artifact follows this skill instruction: **`:halt` must redirect with a flash message** — never silently drop the connection",
      "max_score": 14
    },
    {
      "name": "instruction-5",
      "description": "The submitted artifact follows this skill instruction: **Define `on_mount` hooks once, reference via `live_session` in router** — never duplicate auth logic across LiveView modules",
      "max_score": 14
    },
    {
      "name": "instruction-6",
      "description": "The submitted artifact follows this skill instruction: **Define `on_mount` hooks** in `UserAuth` with import conflict resolution; verify the module compiles cleanly with `mix compile`",
      "max_score": 14
    },
    {
      "name": "instruction-7",
      "description": "The submitted artifact follows this skill instruction: **Run auth tests** with `mix test test/my_app_web/live/` and assert redirect tuples match expected paths; if tests fail, check session config and verify `Accounts.get_user_by_session_token/1` returns the correct user",
      "max_score": 14
    }
  ]
}

evals

.mcp.json

README.md

tile.json