create-spec

create-spec is a skill for Claude Code, Codex from reorder-js/reorder. It costs 50 tokens per session (606 once invoked), scanned A, original, MIT.

A process for writing a technical design specification before starting a non-trivial coding task. Spec-driven development means agreeing on the design and requirements before implementation.

In plain words
What is it for?
Planning new entities, subscription logic, payment integrations, and other tasks that need several implementation steps or architectural decisions.
Why use it?
It exposes important unknowns early and reduces the chance of building the wrong architecture or data model. Work pauses for answers when open questions could force a major rewrite.

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/reorder-js/reorder/create-spec
Any agent
npx skills add reorder-js/reorder --skill create-spec
Clone the repo
git clone --depth 1 https://github.com/reorder-js/reorder

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 create-spec

README.md
[![agentmods](https://agentmods.dev/badge/skills/reorder-js/reorder/create-spec.svg)](https://agentmods.dev/skills/reorder-js/reorder/create-spec)
Your own site
<a href="https://agentmods.dev/skills/reorder-js/reorder/create-spec"><img src="https://agentmods.dev/badge/skills/reorder-js/reorder/create-spec.svg" alt="Measured on agentmods" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 606 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.00050 $0.00606
Opus 5 $0.00025 $0.00303
Sonnet 5 $0.00010 $0.00121
Haiku 4.5 $0.00005 $0.00061

Measured today against content hash 1929ddee699c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

create-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 today.

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.

.agents/skills/create-spec/SKILL.md · 63 lines

How it starts

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

Spec-driven development (Design Before Coding)

This skill enforces the "specification before code" approach inspired by OpenMercato's best practices. It prevents design mistakes and provides structure to the implementation process.

When to Create a Specification?

For any non-trivial task (e.g., adding a new entity, modifying subscription renewal logic, integrating a payment gateway) that requires at least 3 implementation steps or architectural decisions, you must first write a technical specification.

Workflow

Language Requirement: The specification file MUST ALWAYS be written 100% in English, regardless of the conversation language.

  1. Create a Skeleton Spec:

    • Create a file at .agents/specs/{date}-{title}.md.
    • Use the YYYY-MM-DD format for date and kebab-case for the title.
    • The skeleton should include a brief description (TLDR/Overview) and key objectives.
  2. Open Questions Section:

    • Before expanding the full specification, list key unknowns as a numbered list (Q1, Q2...).
    • Focus on questions about architecture, data models, or scope, where an incorrect assumption would force you to rewrite large parts of the code.
    • STOP and ask the user for answers to these questions. Do not write code or the full specification until the user responds.
  3. Complete the Specification:

    • After receiving answers from the user, complete the specification file with technical details (database schema, API contracts, implementation steps).
    • Remove the Open Questions section.
  4. Implementation Phases:

    • Split the work into phases (e.g., Phase 1: Database & Module setup, Phase 2: Workflows & APIs, Phase 3: UI integration).
    • Each step should represent a testable unit of work.

Specification Template

Each specification file should follow this structure:

# Spec: [Feature Name]

## TLDR & Overview
A brief summary of the problem and the proposed solution.

## Open Questions (Skeleton Phase Only - remove after resolving)
- Q1: ...
- Q2: ...

## Proposed Architecture & Data Model
Describe new database tables, entity changes, module services, new workflows, or API endpoints.

## Step-by-Step Implementation Plan
### Phase 1: [Phase Name]
- [ ] Step 1 (e.g., database migration & entities)
- [ ] Step 2
### Phase 2: [Phase Name]
- [ ] Step 1 (e.g., API route.ts)

## Verification & Testing
How will you verify correctness? What integration HTTP tests will be added?

Read the full file on GitHub · 63 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. today Changed · +2 lines 1929ddee699c
  2. 5d ago First seen · 61 lines · 50 tokens per session scan A c1c718b262ad

Subscribe to this mod's changes

create-spec is a skill published in the GitHub repository reorder-js/reorder (53 stars, last pushed today), licensed MIT. It adds 50 tokens to every session and 606 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-30.

Related

Other skills, from other repositories

task-manager

Capture actionable user requests as persistent tasks, update task status as work progresses, and keep a shared task store in sync. Use when a user asks an agent to do work, check progress, block a task, complete a task, or manage the Kanban board.

iamlukethedev/Claw3D · 56 tokens

soundclaw

Control Spotify playback, search music, and return shareable music links.

iamlukethedev/Claw3D · 18 tokens

todo

Maintain a shared workspace TODO list with blocked tasks.

iamlukethedev/Claw3D · 12 tokens

saleor-paper-storefront

Project-specific patterns for the Saleor Paper storefront built with Next.js 16, TypeScript, and Tailwind CSS. Use when working with product pages, checkout flow, caching, variant selection, filtering, SEO, or UI components. For universal Saleor API patterns, see the saleor-storefront dependency.

saleor/storefront · 68 tokens

paper-migrations

Apply chronological Paper storefront upgrades to a forked shop. Use when the user says upgrade Paper, apply Paper migrations, catch up with upstream caching, or paper-version. Reads migrations/manifest.json and paper-version.json; ports architecture without overwriting custom styling.

saleor/storefront · 55 tokens

storefront-best-practices

ALWAYS use this skill when working on ecommerce storefronts, online stores, shopping sites. Use for ANY storefront component including checkout pages, cart, payment flows, product pages, product listings, navigation, homepage, or ANY page/component in a storefront. CRITICAL for adding checkout, implementing cart…

medusajs/medusa-agent-skills · 107 tokens