tlc-spec-driven
できること
このスキルは、AIが機能を段階的に計画・構築するようにします。仕様化、設計、タスクへの分解、実行の四段階です。作業の規模に合わせて深さを調整し、仕様が承認される前にすべてのプロダクト上の質問を尋ねます。慎重で追跡可能な機能開発を望む開発者向けです。
使う場面
- ✓テスト可能な要件を持つ新機能を、構築の前に計画したいとき。
- ✓機能が大きく、仕様、設計、タスク一覧が必要なとき。
- ✓各要件を、それを証明するテストと結びつけたいとき。
スキルのリンク
https://github.com/tech-leads-club/agent-skills/blob/main/packages/skills-catalog/skills/(development)/tlc-spec-driven/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“ユーザーが請求書をCSVで書き出せる機能を、テスト可能な要件とタスク一覧を付けて計画・構築してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
AIは、構造化されたテスト可能な形式で仕様を書き、スコープが必要とする場合にのみ設計を加えます。その後、作業を小さなタスクに分け、それぞれを構築・テストします。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Tech Lead's Club - Spec-Driven Development
Plan and implement features with precision. Granular tasks. Clear dependencies. Right tools. Zero ceremony.
┌──────────┐ ┌──────────┐ ┌─────────┐ ┌─────────┐
│ SPECIFY │ → │ DESIGN │ → │ TASKS │ → │ EXECUTE │
└──────────┘ └──────────┘ └─────────┘ └─────────┘
required optional* optional* required
* Agent auto-skips when scope doesn't need it
Critical Rules (read before acting)
Loading this skill's files. Reference files live under references/ in this skill's own directory (where this SKILL.md resides). Resolve them relative to the skill directory, never the workspace root. When a step tells you to read a reference, read it to the end before acting.
Running this skill's scripts. Every scripts/*.py lives under that same skill directory: run python3 <skill-dir>/scripts/<name>.py ..., never python3 scripts/... from the project root. Project data under .specs/ is read and written relative to the project root (pass --root when the cwd is elsewhere). Run a script rather than read it: its messages say what to change. On Windows, where python3 may be the Microsoft Store alias, run python or py -3.
Execution contract - every task, non-negotiable (holds even if you do not open the reference files):
- Ask, then stop for approval. Every gray area that is the user's - scope, product behaviour, a departure from a binding source - is asked before the spec is presented; an assumption never stands in for one. Approving the spec and approving the tasks are the two stops for a human. When nobody is there to answer, end your turn with the questions. Each approval is written as
**Approved**: <date> - user: "<their words>"in spec.md and tasks.md; one the user did not give is never written. Every answer goes into its file in the turn it arrives - the chat does not survive a compaction. - Tests derive from the spec's acceptance criteria and assert spec-defined outcomes - they never mirror the implementation.
- The gate must pass before a task is done - the test runner decides, not self-assessment. One atomic commit per task, with
tasks.mdmarked complete before it - and inside it when the repo tracks.specs/; where the repo ignores.specs/, the commit holds only the code and its tests, and never forces them in. Never batch tasks; never weaken, skip, or delete tests to make them pass. - Every criterion has a check, and every check a proof. tasks.md
## Checksholds one claim per criterion with the project's own test command that selects its test - tests that run together share one**Run <name>**:line, and each check names the line its test prints (Proof: run <name> | <line>). After the LAST task,check_proofs.pyruns each group and lone proof once atHEAD, one at a time, with the build; then a fresh Verifier (author ≠ verifier) runs always, never prompted - it judges whether each check's test would fail if the claim were false, tries examples nobody named, and finds assertions looser than their criterion. Done means every finding is closed by a commit andvalidate_verification.pyexits 0. - A screen is held to its design. A capture that comes with the request binds unless the user called it inspiration; its criterion cites the capture file. Each state a capture draws is saved as
captures/<capture>.running.pngfrom a browser window at the capture's size - an image resized afterwards shows another layout - and a fresh screens sub-agent retakes and judges it (verify-screens.md). - Where rules run. Every rule that changes what a user sees - including filtering, searching, sorting and counting - runs in a layer the repo's tests reach.
- Blast radius: approving a spec or tasks authorizes local implementation and local commits only.
git push, force-push, deploy, production DB changes, and other remote or destructive operations need an explicit go-ahead for that action.
Deterministic gates run before human review - not from memory. A non-zero exit means STOP and fix:
| When | Command |
|---|---|
| Before presenting the spec | validate_spec.py <feature> - EARS criteria, filled assumptions, requirement IDs, and with captures: binding or quoted, cited, shown, departures approved |
| Before presenting the tasks | validate_tasks.py <feature> - granularity, dependencies, Tests and Gate per task, ## Checks with a proof e |
よくある質問
すべての機能に四つの段階が必要ですか?
いいえ。AIは、スコープが必要としない段階を省きます。
書く前に質問しますか?
はい。仕様が承認される前に、すべてのプロダクト上の判断について質問します。
要件はどう書かれますか?
構造化されテスト可能な形式で、要件ごとに一つのチェックを持ちます。
詳細
作者による元の説明
Feature planning and implementation with 4 adaptive phases (Specify, Design, Tasks, Execute). Auto-sizes depth by complexity. Asks every product decision before the spec is approved, writes testable requirements in EARS notation, atomic tasks with a gate and a commit each, and one check per criterion with the test that proves it. Captures that come with the request bind, and each screen is judged against them. Ships deterministic Python scripts so the gates are enforced by code, not memory; the project's own tests run once at the end, and an independent Verifier (author != verifier) judges eac
人気
- GitHubのスター
- 7.1k
- ランキング
- #13539
- ライセンス
- —
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
component-common-domain-detection
7.1kエージェントが、コードベースのいくつかの部分に繰り返し現れるビジネスロジックを見つけ、それらをどう統合できるかを提案できるよう支援します。
component-flattening-analysis
7.1kエージェントが、迷った位置にあるコードを見つけ、乱雑なコンポーネントのフォルダ構造を平らにし、各部分が正しい場所に収まるよう支援します。
component-identification-sizing
7.1kエージェントが、コードベースの部品を洗い出して大きさを測り、最初に分割すべきモジュールを見つけられるよう支援します。
coupling-analysis
7.1kエージェントが、システムの部分同士がどれほど強く依存し合っているかを確認し、最初にどの結びつきを緩めるべきかを教えられるよう支援します。