agentleFS
morodomimorodomi/dev-crew/skills/spec/SKILL.md

spec

Skill1 starsChanged 56 days agoMITView on GitHub

TDDサイクルのコンテキストをplan mode内で設定する(plan mode専用)。Triggers on "spec", "new feature", "start TDD", "add feature", "機能追加", "TDDを始めたい", "新しい機能", "開発を始める", "新規開発". Do NOT use for continuing an existing cycle (check docs/cycles/ first).

96 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use tickets, make-pdf and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • toveruxSkill

    tickets

    Break a spec, plan, or the current conversation into tracer-bullet tickets, each declaring its blocking edges.

    Also in 3 projects that use this

  • chloropineSkill

    make-pdf

    Turn any markdown file into a publication-quality PDF. Proper 1in margins, intelligent page breaks, page numbers, cover pages, running headers, curly quotes and em dashes, clickable TOC, diagonal DRAFT watermark. Not a draft artifact — a finished artifact. Use when asked to "make a PDF", "export to PDF", "turn this markdown into a PDF", or "generate a document". (cgstack) Voice triggers (speech-to-text aliases): "make this a pdf", "make it a pdf", "export to pdf", "turn this into a pdf", "turn this markdown into a pdf", "generate a pdf", "make a pdf from", "pdf this markdown".

    Also in 3 projects that use this

  • anombyte93Skill

    discover

    Phase 1 of the prd-taskmaster pipeline: brainstorm-driven discovery. Delegates to superpowers:brainstorming in Interactive Mode (one adaptive question at a time), or self-brainstorms in Autonomous Mode when no user is present. Intercepts before the brainstorming chain hands off to writing-plans — this skill owns the exit. Extracts constraints, calibrates scale (Solo / Team / Enterprise), and advances the pipeline to GENERATE.

    Also in 5 projects that use this

  • diego-tobalinaSkill

    build-fix

    Fix build and compilation errors systematically. Run when build fails.

    Also in 3 projects that use this

  • chloropineSkill

    context-restore

    Restore working context saved earlier by $context-save. Loads the most recent saved state (across all branches by default) so you can pick up where you left off — even across Conductor workspace handoffs. Use when asked to "resume", "restore context", "where was I", or "pick up where I left off". Pair with $context-save. Formerly /checkpoint resume — renamed because Codex treats /checkpoint as a native rewind alias in current environments. (cgstack)

    Also in 3 projects that use this

  • GoogleSkill

    metrics

    Expertise in analyzing time-series repository health metrics, investigating root causes, and proposing proactive workflow improvements.

    Also in 3 projects that use this

  • +1 more from chloropine

The file

We split this skill into the rules it gives an agent

3 rules. 0 are common, 2 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 79 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    No implementation planning(plan modeの探索・設計で行う)/ No test/implementation code

    line 29
  2. Distinctive:

    Ask "What feature do you want to implement?" e.g., login, CSV export.

    line 52
  3. Very specific:

    Use AskUserQuestion to confirm scope (Backend/Frontend/Both).

    line 70

“Common” is measured: kept by at least 6 in 10 of the 79 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Current State

!ls -t docs/cycles/*.md 2>/dev/null | head -3 || echo "(none)"

TDD INIT Phase (Plan Mode)

plan mode内でTDDコンテキストを設定し、planファイルに記録する。

Plan Mode Check

plan modeでない場合: 「plan modeで開始してください。EnterPlanMode → /spec」と案内して終了。

Progress Checklist

- [ ] STATUS確認 → 環境収集 → 既存cycle確認
- [ ] 実装内容確認 → リスク評価 → スコープ確認
- [ ] planファイルにTDDコンテキスト記録

Restrictions

  • planファイルへの記録のみ(Cycle docはsync-planで作成)
  • No implementation planning(plan modeの探索・設計で行う)/ No test/implementation code

Workflow

Step 1: Check Project Status

cat docs/STATUS.md 2>/dev/null — If not found, recommend onboard. Also check hooks: reference.md

Version Gate

  1. .claude/dev-crew.json を読む。missing なら警告して停止。
  2. installed_plugins.json のdev-crewバージョンと比較。不一致なら警告して停止。

Step 2: Collect Environment Info

Collect language versions and key packages. Details: reference.md

Step 3: Check Existing Cycles

ls -t docs/cycles/*.md 2>/dev/null | head -1 — If an active cycle exists, recommend continuing it.

Step 4: Ask What to Implement

Ask "What feature do you want to implement?" e.g., login, CSV export.

Step 4.5: Risk Score Assessment

Calculate risk score (0-100). Keyword scores: reference.md

ScoreResultAction
0-29PASSAuto-proceed
30-59WARNQuick questions (reference.md)
60-100BLOCKBrainstorm (reference.md)

Step 4.8: Ambiguity Detection (reference.md)

ユーザーの回答から仕様の曖昧さを検出し、Questioning Protocolで解消。カテゴリ: Data, API, UI/UX, Scope, Edge cases

Step 5: Scope (Layer) Confirmation

Use AskUserQuestion to confirm scope (Backend/Frontend/Both). Layer/Plugin mapping table: reference.md

Step 5.5: Plan Discipline

Step 6 の前に .claude/rules/plan-discipline.md(local-plan-discipline.md があれば併せて)を Read する。

Step 6: Record to Plan File

planファイルにTDDコンテキストを記録。テンプレート: reference.md

必須: planファイル末尾に ## Post-Approve Action セクションを含めること。これがcompact後のauto-orchestrateトリガーになる。

Step 7: Continue in Plan Mode

Step 7.1: Upstream & Constitution Check — 上流ドキュメント (ROADMAP.md 等) と憲法ドキュメントを読み、設計方針との整合性を確認。差異があれば plan の ## Upstream References に記録。詳細: reference.md

specの記録後、plan mode内で続行(specスキル範囲外): 探索(最低5ファイル)→ 設計 → Test List(Given/When/Then)→ QAチェック(カバレッジ・粒度・セキュリティ・独立性)

Step 7.2: Forced Recall — 設計で Files to Change が確定した直後(Step 8 の前)に bash scripts/recall-candidates.sh . <変更予定ファイル...> を実行し、上位候補を助言者形式で plan の ## Recall に記録(0 件時は「関連する過去サイクルなし」)。詳細: reference.md

→ review --plan → Step 8(承認前 Codex plan review)→ approve(ExitPlanMode)→ 自動orchestrate(sync-plan→RED→GREEN→...)

Step 8: Pre-Approval Plan Review (Codex)

Step 7 後・ExitPlanMode(承認)前: codex exec --sandbox read-only "review plan <plan path>" < /dev/null → findings を draft plan へ直接反映 → 最終版を1回だけ再レビュー(resume、フラグ前置。詳細は reference)→ ## Plan Review Record を plan に記録。未解消 BLOCK は人間の明示 override が承認提示文で必須。Codex 不在時は skip し Record に codex_unavailable を記録。詳細: reference.md

Reference

Details: reference.md | Japanese: reference.ja.md

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.