ai-coding-blueprint: Command for Claude Code

.claude/commands/spec.md

spec is a command for Claude Code from ikhanux/ai-coding-blueprint. It costs 16 tokens per session (718 once invoked), scanned A, original, MIT.

A command that writes an implementation plan to a Markdown file under `.ai/specs/`. The plan describes the feature, relevant files, constraints, decisions, tasks, and ways to verify the work.

In plain words
What is it for?
Use it to prepare a buildable specification for a feature, including task boundaries and verification steps that another agent can follow.
Why use it?
It turns a broad feature request into smaller, reviewable tasks before coding begins. It also checks the project's documented scope and rules.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions CLAUDE.md.

This is ikhanux/ai-coding-blueprint's own configuration. It tells Claude Code how to work on ai-coding-blueprint 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 ai-coding-blueprint configures →

Reuse

Borrowing it

Nothing to install: this file belongs to ikhanux/ai-coding-blueprint. 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/ikhanux/ai-coding-blueprint/main/.claude/commands/spec.md
Clone the repo
git clone --depth 1 https://github.com/ikhanux/ai-coding-blueprint

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/ikhanux/ai-coding-blueprint/spec/github.svg)](https://agentmods.dev/commands/ikhanux/ai-coding-blueprint/spec)
Your own site
<a href="https://agentmods.dev/commands/ikhanux/ai-coding-blueprint/spec"><img src="https://agentmods.dev/badge/commands/ikhanux/ai-coding-blueprint/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

Your own site · 80×15
<a href="https://agentmods.dev/commands/ikhanux/ai-coding-blueprint/spec"><img src="https://agentmods.dev/badge/commands/ikhanux/ai-coding-blueprint/spec.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 16 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 718 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.00016 $0.00718
Opus 5.5 $0.00006 $0.00287
Sonnet 5.5 $0.00003 $0.00144
Haiku 4.5 $0.00002 $0.00072

Measured 1mo ago against content hash 106f9d211ffa, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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/commands/spec.md · 115 lines

How it starts

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

Spec

Generate a specification for AI-assisted implementation.

Feature

$ARGUMENTS

Instructions

Read CLAUDE.md and .ai/PROJECT.md first. Check the feature against "Feature areas" and "Explicit cuts". If it's a cut, stop and say so. Ask only if blocked.

Create .ai/specs/<feature-slug>.md:

# Feature Name

## Why

[1-2 sentences: problem solved. Why now.]

## What

[Concrete deliverable. How you'll know it's done.]

## Context

**Relevant files:**
- `path/to/file` — [what it does]

**Patterns to follow:**
- [Existing convention to match, with an example file]

**Key decisions already made:**
- [Tech choices, libraries, approaches locked in]

## Constraints

**Must:**
- [Required patterns / conventions from CLAUDE.md]
- [Global rules from .ai/PROJECT.md that apply here]

**Must not:**
- No new dependencies unless specified
- Don't modify unrelated code; don't refactor existing code
- [Anything from "Explicit cuts" adjacent to this feature]

**Out of scope:**
- [Adjacent features explicitly not included]

## Tasks

Break into tasks that:
- Can each be completed in one session
- Have a clear verify step
- Are safe to commit independently

### T1: [Noun phrase — what gets built]

**Do:** [Specific changes]

**Files:** `path/to/file`

**Verify:** the Check command from CLAUDE.md, or "Manual: open X, see Y"

### T2: [Title]
...

## Done

- [ ] Check + Build commands from CLAUDE.md pass
- [ ] Manual: [what to verify by using it]
- [ ] No regressions in [related area]

Guidelines

Sizing tasks:

  • Group changes that must ship together (a page + its route + its nav entry = 1 task)
  • Split at natural commit boundaries
  • If a task might hit context limits, it's too big

Writing good verify steps:

  • Prefer commands over manual checks
  • Manual checks should be specific: "Click X, see Y", not "verify it works"
  • Include the unhappy path when relevant (empty state, error state, long input)

Context section tips:

  • List only files the agent will actually touch or need to reference
  • "Patterns to follow" with a concrete example file beats abstract description
  • Capture decisions so the agent doesn't re-litigate them

Read the full file on GitHub · 115 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. 1mo ago First seen · 115 lines · 16 tokens per session scan A 106f9d211ffa

Subscribe to this mod's changes

spec is a command published in the GitHub repository ikhanux/ai-coding-blueprint (2 stars, last pushed 1mo ago), licensed MIT. It adds 16 tokens to every session and 718 once invoked, about $0.0001 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-09-21.

Related

spec compared with commands from other repositories

spec next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
specikhanux/ai-coding-blueprintCommand21mo agoMITA16Claude Code
checklistgithub/spec-kitCommand148kyesterdayMITA13Claude Code
clarifygithub/spec-kitCommand148kyesterdayMITA27Claude Code
specifygithub/spec-kitCommand148kyesterdayMITA13Claude Code
analyzegithub/spec-kitCommand148kyesterdayMITA26Claude Code
convergegithub/spec-kitCommand148kyesterdayMITA35Claude Code
implementgithub/spec-kitCommand148kyesterdayMITA14Claude Code