spec

spec is a skill for Claude Code, Codex from dogganidhal/noddde. It costs 97 tokens per session (2,699 once invoked), scanned A, original, MIT.

A workflow coordinator for specification-led software changes. It takes a feature, bug fix, or API change through written requirements, tests, implementation, checking, and documentation.

In plain words
What is it for?
Use it to plan and deliver feature work, bug fixes, or API changes. It creates failing tests before implementation, runs checks afterward, and repeats the build when validation finds problems.
Why use it?
It keeps requirements, tests, code, and documentation aligned, while adding review checkpoints and a separate validation pass.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/dogganidhal/noddde/spec
Any agent
npx skills add dogganidhal/noddde --skill spec
Clone the repo
git clone --depth 1 https://github.com/dogganidhal/noddde

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for spec

README.md
[![agentmods](https://agentmods.dev/badge/skills/dogganidhal/noddde/spec.svg)](https://agentmods.dev/skills/dogganidhal/noddde/spec)
Your own site
<a href="https://agentmods.dev/skills/dogganidhal/noddde/spec"><img src="https://agentmods.dev/badge/skills/dogganidhal/noddde/spec.svg" alt="Measured on agentmods" height="20"></a>
Per session 97 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,699 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5 $0.00097 $0.02699
Opus 5 $0.00048 $0.01350
Sonnet 5 $0.00019 $0.00540
Haiku 4.5 $0.00010 $0.00270

Measured 5d ago against content hash 95c6ec5dc774, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

spec 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 5d 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.

.claude/skills/spec/SKILL.md · 353 lines

How it starts

The opening of the file, as written. The whole thing — 353 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Spec-Driven Development Orchestrator

You are the orchestrator of a 6-step spec-driven pipeline. The developer describes what they want. You plan, coordinate agents, and deliver — only pausing at gate points.

Multi-Agent Architecture

The pipeline uses three roles:

Role Agent Steps Purpose
Orchestrator (you) Main context 0-1 Understand intent, write/edit spec, coordinate
Builder Sub-agent (Sonnet) 2-4 Generate RED tests, implement, run GREEN tests
Auditor Sub-agent (Opus) 5-6 Independent validation, coherence review, docs

The Builder and Auditor run in separate agent contexts. The Auditor has no memory of the Builder's work — it reviews with fresh eyes. Communication happens through file artifacts (Build Report, Audit Report).

Pipeline Overview

  Gate 1 ──→ Step 1: SPEC           Write/edit the spec (you, directly)
    ↓
  (auto)  ──→ Steps 2-4: BUILD      [Builder agent] RED tests → implement → GREEN
    ↓
  (auto)  ──→ Steps 5-6: AUDIT      [Auditor agent] Validate + coherence + docs
    ↓
  (loop)  ──→ FEEDBACK LOOP          If Auditor FAILs → re-run Builder (max 2 cycles)
    ↓
  Report  ──→ Done

Gate points (where you pause for developer input):

  • Gate 1: After planning the spec — "Here's what I'll spec. Approve?"
  • Breaking changes: If detected during step 1 — "Breaking change. How to handle?"
  • Stuck loop: If the Builder gets stuck (3+ failures on same test) — "Builder can't fix this. Here's what's happening."
  • Auditor CONCERN: If the Auditor raises issues requiring developer judgment

Everything else runs autonomously. Don't ask for permission between steps.


Step 0: Understand Intent

Determine what the developer wants:

Developer says... Action
"Add " / "Create " / "New " → New spec (full pipeline)
"Fix " / "Handle " → Edit existing spec (find it first)
"Change " / "Rename " / "Add field to " → Edit existing spec (breaking change likely)
"Implement " → Skip to Builder (spec already exists)
"The tests are failing on " → Skip to Builder (tests exist, need implementation fix)

Read the full file on GitHub · 353 lines

Changes

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.

  1. 5d ago First seen · 353 lines · 97 tokens per session scan A 95c6ec5dc774

Subscribe to this mod's changes

spec is a skill published in the GitHub repository dogganidhal/noddde (48 stars, last pushed 5d ago), licensed MIT. It adds 97 tokens to every session and 2,699 once invoked, about $0.0005 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-30.

Related

Other skills, from other repositories

package-design

乱雑なコードベースを、明確なパッケージ/モジュール構造に再設計するための指針。 対象は (1) 乱雑なコードの再整理、(2) 単一巨大モジュールの分割、 (3) パッケージ境界のレビュー、(4) 新規プロジェクトのモジュール階層設計。 トリガー:「パッケージ構造を見直したい」「モジュールの依存関係が複雑」 「ファイル配置を整理したい」「循環依存を解消したい」といった構造改善リクエストで起動。.

j5ik2o/event-store-adapter-js · 157 tokens

gh-issue-organizer

GitHub Issue の棚卸し・整理を体系的に実行するスキル。オープンイシューの分類、 グルーピング、クローズ判定、優先度付け、バッチ化を行う。 CodeRabbit 自動生成イシューと手動報告イシューの区別、根本原因別グルーピング、 完了済みイシューの特定とクローズ提案を含む。 トリガー:「イシューを整理して」「issue を棚卸し」「GitHub issue をトリアージ」 「stale issue をクローズ」「issue の優先度付け」 といった GitHub Issue 整理関連リクエストで起動。.

j5ik2o/event-store-adapter-js · 171 tokens

law-of-demeter

デメテルの法則(最小知識の原則)に基づくコードレビューと設計支援。オブジェクトの連鎖呼び出し (Train Wreck)を検出し、直接の友人とのみ会話する設計へ変換する。結合度の低減と 変更容易性の向上を促進する。コードレビュー、新規実装、リファクタリング時に オブジェクト間の結合が深い場合に使用。 対象言語: Java, Kotlin, Scala, TypeScript, Python, Ruby, Go, Rust。 トリガー:「デメテルの法則」「連鎖呼び出しを減らしたい」「Train Wreckを直して」 「結合度を下げたい」「ドット連鎖が多い」「最小知識の原則」「Law of Demeter」…

j5ik2o/event-store-adapter-js · 223 tokens

intent-based-dedup

字面の同一性ではなく意図(目的)の同一性に基づいてコードの共通化を判断するスキル。 DRY原則の誤適用(字面が同じだが意図が異なるコードの共通化)を検出し、正しい共通化判定を 支援する。コードレビュー、リファクタリング、新規実装時に重複コードの扱いを判断する場合に使用。 対象言語: 言語非依存(Rust, Java, TypeScript, Go, Python, Kotlin, Scala等すべて)。 トリガー:「重複コードを共通化したい」「DRYに従いたい」「似たコードがある」 「この2つの関数をまとめたい」「コードの重複を減らしたい」「共通化すべきか」…

j5ik2o/event-store-adapter-js · 237 tokens

parse-dont-validate

「Parse, don't validate」原則に基づくコードレビューと設計支援。validateパターン(チェックして結果を捨てる) をparseパターン(チェック結果を型で保持)に変換し、型システムで不変式を強制する設計を促進する。 コードレビュー、新規実装、リファクタリング時にvalidation関数の改善が必要な場合に使用。 対象言語: Rust, Haskell, TypeScript, Scala, Java, Go, Python。 トリガー:「バリデーションを改善して」「型で保証したい」「shotgun parsingを直して」…

j5ik2o/event-store-adapter-js · 185 tokens

tell-dont-ask

「Tell, Don't Ask」原則に基づくコードレビューと設計支援。オブジェクトの状態を問い合わせて 外部で判断するパターンを、オブジェクトに直接命じるパターンに変換する。カプセル化を強化し、 責任をデータを持つオブジェクトに集約する設計を促進する。コードレビュー、新規実装、 リファクタリング時にgetterの乱用やFeature Envyの改善が必要な場合に使用。 対象言語: Java, Kotlin, Scala, TypeScript, Python, Ruby, Go, Rust。 トリガー:「getterを減らしたい」「カプセル化を改善して」「Feature Envyを直して」…

j5ik2o/event-store-adapter-js · 212 tokens