Borrowing it
Nothing to install: this file belongs to KazukiShinomiya/sdd-starter. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/KazukiShinomiya/sdd-starter/main/CLAUDE.mdgit clone --depth 1 https://github.com/KazukiShinomiya/sdd-starterWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/instructions/kazukishinomiya/sdd-starter/claude-md)<a href="https://agentmods.dev/instructions/kazukishinomiya/sdd-starter/claude-md"><img src="https://agentmods.dev/badge/instructions/kazukishinomiya/sdd-starter/claude-md/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/instructions/kazukishinomiya/sdd-starter/claude-md"><img src="https://agentmods.dev/badge/instructions/kazukishinomiya/sdd-starter/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.01530 | $0.01530 |
| Opus 5 | $0.00765 | $0.00765 |
| Sonnet 5 | $0.00306 | $0.00306 |
| Haiku 4.5 | $0.00153 | $0.00153 |
Grade A, and why
sdd-starter CLAUDE.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 59 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CLAUDE.md
Claude Code がこのリポジトリで作業するときの文脈。これは仕様駆動開発(SDD)テンプレートだ。
このファイルは Claude 固有の運用指針 に絞る。エージェント非依存の文脈は AGENTS.md、
ロジックの本体は prompts/*.md にある(下記)。
このテンプレートを使って自分のプロダクトを作る場合は、このファイルを差し替えてよい。 ここに書くのは「SDD テンプレートとして作業する」ための指針であって、下流プロダクトの ルールではない。移行の全体手順は
docs/adopting.mdを参照。
共有文脈(全エージェント共通)
@AGENTS.md
AGENTS.md が技術スタックと最近の変更を蓄積する永続文脈だ(AUTO:BEGIN〜AUTO:END は
/plan が機械更新する)。Cursor / Copilot / Gemini も同じ AGENTS.md を読む。
このプロジェクトの核(変更時に守る)
- 真実の源は
prompts/*.md。各エージェントの入口(.claude/commands/等)は、対応する prompt を読むだけの薄いラッパだ。ロジックを二重に書かない。 - ワークフロー:
constitution→specify→〔clarify〕→plan→tasks→〔analyze〕→implement。各段階は検証可能な Markdown 成果物を残し、次段階の入力になる。人間に断りなく 段階を飛ばして先へ進めない。 - 1機能 = 1ブランチ = 1 PR。
scripts/new-feature.{sh,ps1}が次の連番でspecs/NNN-*/を作り、 機能ブランチを切る。 - 品質ゲートは両肺主義。検査ロジックは bash と PowerShell に同じものを刻み、CI で両 OS を回す。
構造に触れる変更の前後で
bash scripts/check.sh(Windows は.\scripts\check.ps1)を通す。
Claude 固有の運用指針
- サブエージェント委譲: 重い
/analyze・/implementで対象が大きいときは、コンテキスト保全と 独立検証のためサブエージェントに委譲してよい。ただしspec.md/plan.md/tasks.md(真実の源)への書き込みは親が一元管理する。サブエージェントには読み取り・分析・限定的な実装を 任せ、成果物への最終統合は親が担う。これにより複数の書き手が真実の源を奪い合う事態を防ぐ。 - prompts/ はエージェント非依存に保つ。サブエージェント等の Claude 固有概念を
prompts/*.mdに 書かない。それらはこのCLAUDE.mdに留め、prompts/はどのエージェントでも同じ結果を出す 真実の源であり続ける。 - 構造変更の自動検査(フック):
.claude/settings.jsonの PostToolUse フックが、あらゆる Write / Edit の直後にcheck.shを自動実行する(${CLAUDE_PROJECT_DIR}起動・セッションの CWD に依らず発火する。発火条件でのパス絞り込みは、その照合が CWD 相対で静かな不発火を生む ため廃止——specs/005)。検査は読み取り専用・実測 ~1秒。検査が NG なら その内容がエージェントに即時フィードバックされるので、その場で直してから先へ進むこと。- 品質ゲートの本体はあくまで
check.{sh,ps1}と CI 側。フックは気づきを前倒しする便利装置で、 Cursor 等フックの無い環境でも手動実行で同じ結論に至る(この退路を壊さない)。 - 検査は読み取り専用。段階遷移(specify → plan 等)の自動起動はしない——それは唯一の禁則だ。
- 前提は bash(Windows は Claude Code 標準の Git Bash)。個人環境でこの自動化だけ切りたければ、
.claude/settings.local.json(gitignore 済み)に"disableAllHooks": trueを書く。
- 品質ゲートの本体はあくまで
- 限定 skill 実験(specs/007):
.claude/skills/に status / analyze の2つだけを 同名 skill として展開している。同名 skill はコマンドより優先されるため、Claude Code では/status・/analyzeの実体が skill 側になり(同じprompts/*.mdを読む薄いラッパゆえ 結論は不変)、文脈上有用ならモデル判断の自発起動が加わる。境界は三層: ①自発起動が許されるのはこの2コマンドの実行まで(結果を根拠に他の SDD 段階を起動しない) ②analyze のレポート保存は保存前にユーザーの承認を得る(読み取りは skill の自由・ 書き込みは人間の承認)③他9コマンドは skill 化しない——全面 skill 化は自律起動が SDD の教育的価値と衝突するため見送り済み(2026-06-05 の決着)。戻し方:.claude/skills/を削除するだけで完全復元。skills は品質ゲートの入口整合検査(11コマンド全対応前提)の 対象外の意図的サブセット。
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 10d ago First seen · 59 lines · 1,530 tokens per session scan A f7a9afe2aa22
sdd-starter CLAUDE.md is an instructions file published in the GitHub repository KazukiShinomiya/sdd-starter (1 stars, last pushed 1mo ago), licensed Unlicense. It adds 1,530 tokens to every session, about $0.0076 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other instructions, from other repositories
next.js AGENTS.md
AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.
codex AGENTS.md
AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
spec-kit AGENTS.md
AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).
langchain AGENTS.md
AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.