- For any sizable new implementation or refactor, create a folder under
.specs/namedYYYYMMDD_task-nameand keep the work inside that folder. Track status as Draft → Review → Approved → Implementing → QA → Done. - In each folder, author
requirements.md,design.md, andtasks.mdin this order. Get user approval for requirements before moving to design; get design approval before creating tasks and implementing. - Do not maintain a root-level TODO. Track granular steps per spec in its
tasks.md, and map each task to the corresponding acceptance criteria and tests. - Record specification approvals as milestones (date, approvers, key decisions) inside the spec folder. Log deltas/changes in a small “Change Log” section if the spec is revised.
- Before execution, review
requirements.md(purpose, scope, non-scope, acceptance criteria, dependencies, risks, performance/SLI, rollout/metrics). If updates are needed, apply them and re-seek approval, then explicitly proceed todesign.md. - In
design.md, cover architecture/flows, APIs/contracts/types, state/data models, error handling/retries, security/permissions, observability (logs/metrics/traces), performance budgets, rollout/rollback, and the test strategy (unit/E2E/load). - In
tasks.md, list executable steps with traceability to acceptance criteria/tests. Mark tasks as in-progress with[-]when you start and as completed with[x]when done. Every PR must link back to the relevant spec and summarize how tasks and tests satisfy the spec.
Last active
January 25, 2026 12:03
-
-
Save shibukawa/cc33f527cba4f9a7c79176cb765776fd to your computer and use it in GitHub Desktop.
AGETNS.mdなどに書いておきます。specの置き場とかは適当にアレンジしてください。AGENTS.mdに作りたいものの概要や使う技術などプロジェクトを進めるときに常に覚えておいて欲しい内容も一緒に書いておきます。skillsにしても良いですが、エージェントによっては(copilot)毎回これを参照して、と書かないとダメでいまいちだったことがあります。スラッシュコマンドやカスタムプロンプトにするのは良いかもしれない。
スペック同士は独立したものなのです。仕様や要件を一生懸命書き込んでも、他のスペックで作業をする場合にも毎回入力が必要になってしまいます。名前はスペックですが、作業指示ぐらいの気持ちで使う方が良いです。スペックは1つのPRになるぐらいの作業で1つ作るぐらいが良いです。
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment