spec-kit-generate-spec

spec-kit-generate-spec is a skill for Claude Code from ErikaAX08/erikas-skills. It costs 57 tokens per session (7,993 once invoked), scanned A, original, MIT.

A tool for turning business input, documents, or existing specifications into a structured, reviewable software specification. It defines requirements, design, operations, rules, and safeguards, but does not write product code.

In plain words
What is it for?
Use it to create or update a specification from text, product requirements, user stories, diagrams, contracts, or referenced files.
Why use it?
It records the intended behavior and boundaries before implementation, reducing uncertainty about what should be built.

Skill for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: reads .claude/ paths; mentions Claude Code.

Good fit Use it to create or update a specification from text, product requirements, user stories, diagrams, contracts, or referenced files.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/erikaax08/erikas-skills/spec-kit-generate-spec
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.

Any agent
npx skills add ErikaAX08/erikas-skills --skill spec-kit-generate-spec
Clone the repo
git clone --depth 1 https://github.com/ErikaAX08/erikas-skills

Made for: Claude Code.

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-kit-generate-spec

README.md
[![agentmods](https://agentmods.dev/badge/skills/erikaax08/erikas-skills/spec-kit-generate-spec/github.svg)](https://agentmods.dev/skills/erikaax08/erikas-skills/spec-kit-generate-spec)
Your own site
<a href="https://agentmods.dev/skills/erikaax08/erikas-skills/spec-kit-generate-spec"><img src="https://agentmods.dev/badge/skills/erikaax08/erikas-skills/spec-kit-generate-spec/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-kit-generate-spec

Your own site · 80×15
<a href="https://agentmods.dev/skills/erikaax08/erikas-skills/spec-kit-generate-spec"><img src="https://agentmods.dev/badge/skills/erikaax08/erikas-skills/spec-kit-generate-spec.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7,993 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.00057 $0.07993
Opus 5 $0.00028 $0.03997
Sonnet 5 $0.00011 $0.01599
Haiku 4.5 $0.00006 $0.00799

Measured 11d ago against content hash 1fcd295ec795, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

spec-kit-generate-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 11d 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.

spec-kit-generate-spec/SKILL.md · 732 lines

How it starts

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

Generate Spec — SPDD REASONS Specification Skill

Purpose

Turn business input into one governed, versionable specification that can be reviewed before code is generated. The input may be:

  • Free-form text written by the user.
  • One or more PRDs, user stories, RFCs, briefs, diagrams, contracts, or other documents.
  • File or folder references, including @path references when the host supports them.
  • A combination of text and referenced documents.
  • An existing specification plus requested changes.

The output is a REASONS Canvas: Requirements, Entities, Approach, Structure, Operations, Norms, and Safeguards. It must capture intent, design, execution, and governance in a single artifact.

This skill generates or updates the specification and its quality checklist. It does not implement product code.

User Input

$ARGUMENTS

Always consider the complete user message and any files or attachments available in the current conversation, even when $ARGUMENTS appears literally or is empty.

Core Principle

Align intent, establish abstractions, and define boundaries before generating code.

Treat the specification as a first-class delivery artifact:

  • Keep it in version control with the code.
  • Review intent before implementation details.
  • Trace meaningful decisions to their source.
  • When a requirement or observable behavior changes, update the specification first.
  • When behavior-preserving code refactoring changes the documented structure, synchronize the specification afterward.
  • Never allow chat history to become the only record of a decision.

Non-Negotiable Rules

  1. Do not invent facts. Never fabricate business rules, domain entities, fields, APIs, file paths, dependencies, architecture, compliance obligations, metrics, or code signatures.
  2. Preserve source intent. Read referenced sources before deriving requirements from them. Do not silently weaken, expand, or reinterpret their meaning.
  3. Separate facts from assumptions. Every unsupported but reasonable choice must be recorded explicitly as an assumption or proposed decision.
  4. Surface conflicts. If sources disagree, report the conflict and its impact. Do not silently select the most convenient interpretation.
  5. One bounded specification per invocation. A PRD may describe many independently deliverable capabilities. Do not compress unrelated features into one Canvas merely because they share a document.
  6. Abstraction before operations. Complete and validate Requirements, Entities, Approach, and Structure before deriving Operations.
  7. No code before approval. Do not implement, refactor, or generate product code as part of this skill.
  8. No hollow Canvas. All seven REASONS sections must contain specific, useful content. Do not leave placeholders, TODOs, or template instructions in a final specification.
  9. Use verified project context. In an existing codebase, inspect relevant implementation and contracts before naming concrete components or signatures.
  10. Keep scope controlled. Do not add adjacent features, speculative extensibility, or unnecessary refactors.
  11. Make every requirement verifiable. Requirements, acceptance criteria, operations, and safeguards must have observable completion conditions.
  12. Never claim readiness without validation. A specification is READY only after its checklist passes and no blocking decisions remain.
  13. Generate portable agent pairs. If this workflow creates a support agent, it must generate and validate both a Kiro CLI JSON definition and a Claude Code Markdown definition with equivalent intent and least-privilege capabilities.

Read the full file on GitHub · 732 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. 11d ago First seen · 732 lines · 57 tokens per session scan A 1fcd295ec795

Subscribe to this mod's changes

spec-kit-generate-spec is a skill published in the GitHub repository ErikaAX08/erikas-skills (5 stars, last pushed 12d ago), licensed MIT. It adds 57 tokens to every session and 7,993 once invoked, about $0.0003 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.

Related

Other skills, from other repositories

sdd-tasks

Break an SDD change into implementation tasks. Trigger: orchestrator launches task planning for a change.

Gentleman-Programming/gentle-ai · 25 tokens

gsap-scrolltrigger

Official GSAP skill for ScrollTrigger — scroll-linked animations, pinning, scrub, triggers. Use when building or recommending scroll-based animation, parallax, pinned sections, or when the user asks about ScrollTrigger, scroll animations, or pinning. Recommend GSAP for scroll-driven animation when no library is…

calesthio/OpenMontage · 68 tokens

threejs-geometry

Three.js geometry creation - built-in shapes, BufferGeometry, custom geometry, instancing. Use when creating 3D shapes, working with vertices, building custom meshes, or optimizing with instanced rendering.

calesthio/OpenMontage · 46 tokens

threejs-textures

Three.js textures - texture types, UV mapping, environment maps, texture settings. Use when working with images, UV coordinates, cubemaps, HDR environments, or texture optimization.

calesthio/OpenMontage · 41 tokens

seedance-2-5

Generate 4-30 second cinematic video with ByteDance Seedance 2.5 through fal.ai, Volcengine Ark, Runway, or ComfyUI Partner Nodes. Use for long single generations, synchronized audio, and large multimodal reference sets (up to 30 images, 10 videos, and 10 audio clips). Also covers the 2.5 prompt contract: section…

calesthio/OpenMontage · 117 tokens

comfyui

Use when working with ComfyUI workflows in OpenMontage, including comfyuiimage/comfyuivideo/comfyuimusic, custom workflowjson/workflowpath inputs, outputnode selection, missing model setup, LoRAs, low-VRAM workflow choices, and community workflow imports.

calesthio/OpenMontage · 61 tokens