本文へ移動
cccskills
無料GitHub で公開

full

Deliver a large, cross-domain Phoenix feature or complete end-to-end system through planning, implementation, verification, and review. Use when several coordinated workflows or contexts must ship together. NOT for an existing plan; use /phx:work.

インストール方法を見る

含まれるファイル(5)

  • SKILL.md9.0 KB
  • references/cycle-patterns.md4.5 KB
  • references/example-run.md2.3 KB
  • references/execution-steps.md4.0 KB
  • references/safety-recovery.md2.1 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Full Phoenix Feature Development

Execute complete Elixir/Phoenix feature development autonomously: research patterns, plan with specialist agents, implement with verification, Elixir code review. Cycles back automatically if review finds issues.

Usage

/phx:full Add user authentication with magic links
/phx:full Real-time notification system with Phoenix PubSub
/phx:full Background job processing for email campaigns --max-cycles 5
/phx:full Add magic-link auth --codex

Wrong input guard: if the argument is a path to an existing plan file (.claude/plans/*/plan.md), do NOT re-plan it. Say so and run /phx:work {path} instead — the plan phase already happened.

Flags

  • --codex — Codex CLI joins the review panel on every review cycle, matching /phx:review --codex.
  • Requires the codex CLI. A missing CLI degrades to a SKIPPED note — the cycle never fails.
  • Consensus findings (flagged by a Claude agent and codex) are marked HIGH CONFIDENCE.

Workflow Overview

┌──────────────────────────────────────────────────────────────────┐
│                       /phx:full {feature}                        │
├──────────────────────────────────────────────────────────────────┤
│                                                                  │
│  ┌────────┐  ┌────────┐  ┌────────┐  ┌────────┐  ┌────────┐  ┌────────┐  │
│  │Discover│→ │  Plan  │→ │  Work  │→ │ Verify │→ │ Review │→ │Compound│→Done│
│  │ Assess │  │[Pn-Tm] │  │Execute │  │  Full  │  │4 Agents│  │Capture │     │
│  │ Decide │  │ Phases │  │ Tasks  │  │  Loop  │  │Parallel│  │ Solve  │     │
│  └───┬────┘  └────────┘  └────────┘  └───┬────┘  └────────┘  └────────┘     │
│       │                            ↑      │    ↑              │         │
│       ├── "just do it" ────────────┤      │    │              │         │
│       ├── "plan it" ──┐            │      ↓    │              │         │
│       │               ↓            │ ┌────────┐│              │         │
│       │     ┌──────────────┐       │ │Fix     ││ ┌─────────┐ │         │
│       │     │   PLANNING   │       │ │Issues  │└─│ Fix     │←┘         │
│       │     └──────────────┘       │ └───┬────┘  │ Review  │           │
│       │                            │     ↓       │ Findings│           │
│       │                       ┌────┴─────────┐   └────┬────┘           │
│       │                       │   VERIFYING   │←──────┘                │
│       └── "research it" ─────┘  (re-verify)                            │
│            (comprehensive plan)                                         │
│                                                                  │
│  On Completion:                                                  │
│  Auto-compound: Capture solved problems → .claude/solutions/     │
│  Auto-suggest: /phx:document → /phx:learn-from-fix                       │
│                                                                  │
└──────────────────────────────────────────────────────────────────┘

State Machine

STATES: INITIALIZING → DISCOVERING → PLANNING → WORKING →
        VERIFYING → REVIEWING → COMPLETED → COMPOUNDING | BLOCKED

Claude Code nesting compatibility

Before delegating this cycle, determine the effective maximum nesting depth:

  1. If CLAUDE_CODE_MAX_SUBAGENT_SPAWN_DEPTH is a positive integer, use it.
  2. Otherwise, inspect claude --version: the default is 1 in Claude Code 2.1.217–2.1.218 and 3 in 2.1.219+.
  3. If the version cannot be determined, conservatively use 1.
  • Depth 3+ — the full nested topology is available; delegate to phx:workflow-orchestrator as usual.
  • Depth 1–2 — execute the same state machine in this main session. Read ${CLAUDE_PLUGIN_ROOT}/agents/workflow-orchestrator.md for the phase contract, but spawn leaf research/review specialists directly. Do not spawn workflow-orchestrator, planning-orchestrator, or parallel-reviewer, because those agents need to delegate again. Context supervision may still be spawned directly after its input files exist.

The fallback is a topology change only: preserve the same user decisions, artifacts, verification gates, retry/cycle limits, and review-to-fix loop. Never tell the user to set an environment variable just to make /phx:full work.

Save state in .claude/plans/{slug}/progress.md. If TaskCreate is in your tool list (Sonnet 5+ and Opus 4.8+ omit it unless CLAUDE_CODE_ENABLE_TODO_TOOLS=1; never ToolSearch for it), also create one task per phase at start, mark in_progress on entry and completed on exit:

TaskCreate({subject: "Discover & assess complexity", activeForm: "Discovering..."})
TaskCreate({subject: "Plan feature", activeForm: "Planning..."})
TaskCreate({subject: "Implement tasks", activeForm: "Working..."})
TaskCreate({subject: "Verify implementation", activeForm: "Verifying..."})
TaskCreate({subject: "Review with specialists", activeForm: "Reviewing..."})
TaskCreate({subject: "Capture solutions", activeForm: "Compounding..."})

Set up blockedBy dependencies between phases (sequential).

Run COMPOUNDING phase on COMPLETED to capture solved problems in .claude/solutions/. Suggest /phx:document for docs and /phx:learn-from-fix for quick pattern capture.

Cycle Limits

SettingDefaultDescription
--max-cycles10Max plan→review cycles
--max-retries3Max retries per task
--max-blockers5Max blockers before stopping

Stop with INCOMPLETE status when limits exceeded. List remaining work and recommended action.

Integration

/phx:full = /phx:plan → /phx:work → /phx:verify → /phx:review → (fix → /phx:verify) → /phx:compound

Use Ralph Wiggum Loop for fully autonomous execution:

/ralph-loop:ralph-loop "/phx:full {feature}" --completion-promise "DONE" --max-iterations 50

Iron Laws

  1. NEVER skip verification — Every task must pass mix compile --warnings-as-errors before moving to the next. Run mix test <affected> per-phase, full suite only at final gate
  2. Respect cycle limits — When --max-cycles is exhausted, STOP with INCOMPLETE status. Do not continue indefinitely hoping the next fix works
  3. One state transition at a time — Follow the state machine strictly. Never jump from PLANNING to REVIEWING — each state produces artifacts the next state needs
  4. Discover before deciding — Always run DISCOVERING phase to assess complexity. Skipping it for "simple" features leads to underplanned implementations
  5. Agent output is findings, not fixes — Review agents report issues. Only the WORKING state makes code changes
  6. Skip redundant review agents — In REVIEWING phase: skip verification-runner (work phase already verified), skip iron-law-judge if PostToolUse hooks verified all files. For <200 lines changed, spawn only elixir-reviewer + security-analyzer (if auth files)
  7. Write text where the user needs it — In autonomous mode your text is how the user follows the cycle. Write it at phase transitions (one line: state, cycle N of max, what's next), for decisions that need a reason, and for errors and blockers. Routine tool calls need no preamble.

References

  • ${CLAUDE_SKILL_DIR}/references/execution-steps.md — Detailed step-by-step execution
  • ${CLAUDE_SKILL_DIR}/references/example-run.md — Example full cycle run
  • ${CLAUDE_SKILL_DIR}/references/safety-recovery.md — Safety rails, resume, rollback
  • ${CLAUDE_SKILL_DIR}/references/cycle-patterns.md — Advanced cycling strategies

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Ash Framework — resources, actions, policies, aggregates; Use when generating resources via mix ash.codegen, editing…

日本語の概要は準備中です。原文の説明を表示しています。

oliver-kriska/claude-elixir-phoenix5652026年10月6日 更新

Ash Framework — resources, actions, policies, aggregates, calculations, AshPhoenix.Form, LiveView, migrations. Use when generating resources via mix ash.codegen, editing changes, checks, types, validations, or domain code interfaces.

日本語の概要は準備中です。原文の説明を表示しています。

oliver-kriska/claude-elixir-phoenix5652026年10月6日 更新

assigns

無料

Compatibility alias for the Elixir/Phoenix plugin's LiveView assigns audit. Invoke explicitly with /lv:assigns.

日本語の概要は準備中です。原文の説明を表示しています。

oliver-kriska/claude-elixir-phoenix5652026年10月6日 更新

Inspect LiveView socket assigns for memory bloat — missing temporary_assigns, unused assigns, unbounded lists needing streams, memory estimates. Use when LiveView memory grows or you need to add temporary_assigns.

日本語の概要は準備中です。原文の説明を表示しています。

oliver-kriska/claude-elixir-phoenix5652026年10月6日 更新

audit

無料

Project health audit and health check — architecture, performance, tests, dependencies, code quality. Use when assessing overall project health, before releases, or after refactors.

日本語の概要は準備中です。原文の説明を表示しています。

oliver-kriska/claude-elixir-phoenix5652026年10月6日 更新

Analyze Phoenix context boundaries and module coupling via mix xref. Use when checking cross-context calls, validating dependencies, before splitting modules, or reviewing architecture.

日本語の概要は準備中です。原文の説明を表示しています。

oliver-kriska/claude-elixir-phoenix5652026年10月6日 更新

oliver-kriska のスキルをすべて見る

このスキルの問題を報告する