frontend-template: Skill for Codex

.cursor/skills/spec-driven-development/SKILL.md

spec-driven-development is a skill for Codex, Cursor from ddebixx/frontend-template. It costs 126 tokens per session (1,195 once invoked), scanned A, original, MIT.

A workflow for creating and using a written specification before making significant software changes. The specification records the problem, desired outcome, goals, non-goals, requirements, and testable acceptance criteria.

In plain words
What is it for?
Use it for new features, multi-file behavior changes, risky refactors, integrations, data changes, public interfaces, and important quality requirements. It also helps classify simple changes that may not need the full process.
Why use it?
It reduces misunderstandings about what should be built and helps distinguish a real requirement from an implementation idea. It also gives reviewers and tests a shared contract to check.

Skill for CodexCursor

Written for Codex and Cursor: agents/openai.yaml present, but also installed under .cursor/. Also seen: mentions subagents.

This is ddebixx/frontend-template's own configuration. It tells Codex and Cursor how to work on frontend-template itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything frontend-template configures →

Reuse

Borrowing it

Nothing to install: this file belongs to ddebixx/frontend-template. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/ddebixx/frontend-template/main/.cursor/skills/spec-driven-development/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/ddebixx/frontend-template

Made for: Codex, Cursor.

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-driven-development

README.md
[![agentmods](https://agentmods.dev/badge/skills/ddebixx/frontend-template/spec-driven-development/github.svg)](https://agentmods.dev/skills/ddebixx/frontend-template/spec-driven-development)
Your own site
<a href="https://agentmods.dev/skills/ddebixx/frontend-template/spec-driven-development"><img src="https://agentmods.dev/badge/skills/ddebixx/frontend-template/spec-driven-development/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.

agentmods 80×15 button for spec-driven-development

Your own site · 80×15
<a href="https://agentmods.dev/skills/ddebixx/frontend-template/spec-driven-development"><img src="https://agentmods.dev/badge/skills/ddebixx/frontend-template/spec-driven-development.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 126 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,195 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00126 $0.01195
Opus 5.5 $0.00050 $0.00478
Sonnet 5.5 $0.00025 $0.00239
Haiku 4.5 $0.00013 $0.00120

Measured 16d ago against content hash d64fe0086013, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

spec-driven-development 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 16d 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.

.cursor/skills/spec-driven-development/SKILL.md · 98 lines

How it starts

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

Spec-driven development

Treat the specification as the contract for the change. Do not begin non-trivial implementation while the specification is incomplete, contradictory, or missing testable acceptance criteria.

Core workflow

  1. Inspect project context first

    • Read relevant .cursor/rules, existing architecture documentation, nearby code, tests, and existing specs.
    • Follow existing project conventions before introducing new ones.
    • If the repository already has a spec location or template, use it. Otherwise use docs/specs/<task-slug>.md.
  2. Classify the task

    • Use the fast path only for changes that do not alter behavior, contracts, architecture, or meaningful UX.
    • Treat new features, multi-file behavioral changes, refactors with risk, integrations, state/data changes, and UI flows as non-trivial.
    • When uncertain, create a compact spec rather than skipping one.
  3. Create or update the specification

    • Use references/spec-template.md.
    • State the problem and desired outcome before proposing implementation.
    • Separate goals from non-goals.
    • Number functional requirements as FR-*, non-functional requirements as NFR-*, and acceptance criteria as AC-*.
    • Record assumptions explicitly. Do not silently invent product behavior.
    • For blocking unknowns, mark the spec Blocked and surface the smallest set of questions needed to proceed.
  4. Make acceptance criteria executable in meaning

    • Follow references/acceptance-criteria.md.
    • Every material requirement must map to one or more acceptance criteria.
    • Criteria must describe observable outcomes, including relevant error, empty, loading, permission, responsive, and accessibility states.
    • Add a verification method for each criterion when useful: automated test, build/typecheck, browser interaction, visual inspection, API assertion, or manual check.
  5. Challenge the specification before coding

    • Delegate to the spec-critic subagent when available.
    • Ask the critic to find ambiguity, contradictions, missing states, hidden dependencies, unverifiable criteria, premature implementation constraints, and scope creep.
    • Revise the spec until blocking findings are resolved.
    • Set spec status to Ready only when implementation can proceed without guessing core behavior.

Read the full file on GitHub · 98 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 16d ago First seen · 98 lines · 126 tokens per session scan A d64fe0086013

Subscribe to this mod's changes

spec-driven-development is a skill published in the GitHub repository ddebixx/frontend-template (5 stars, last pushed 17d ago), licensed MIT. It adds 126 tokens to every session and 1,195 once invoked, about $0.0005 per session on Opus 5.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-10-13.