Skip to content
Agentmart
Submit a tool

spec

Builds reviewed requirements, technical design, and an executable implementation plan from an issue URL or requirements text, then stops at approval.

Skill by kriscard

IndexedMIT★ 14
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/kriscard-spec

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Builds reviewed requirements, technical design, and an executable implementation plan from an issue URL or requirements text, then stops at approval.

Use cases: design

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/spec

What's inside

Skill name
spec
Description
Builds reviewed requirements, technical design, and an executable implementation plan from an issue URL or requirements text, then stops at approval.
License
MIT
Instructions
77 lines in SKILL.md · view on GitHub

Files (6)

  • SKILL.md
  • approval-stage.md · references/
  • design-stage.md · references/
  • planning-stage.md · references/
  • requirements-stage.md · references/
  • source-and-discovery.md · references/

SKILL.md (first lines)

# Spec

Turn the supplied source into approved planning artifacts. This skill owns discovery and planning only; after approval, report the artifact directory and stop.

## Artifact contract

Every completed run writes:

```text
docs/specs/<slug>/
├── spec.md
├── plan.md
└── approval.md
```

Choose a stable, kebab-case slug from the accepted problem. Add supporting Markdown only when the work needs it, such as `research.md`, `decisions.md`, `data-model.md`, `migration.md`, or files under `contracts/`.

`spec.md` is authoritative for requirements and technical design. `plan.md` is authoritative for execution. `approval.md` certifies the exact approved versions of both. HTML may supplement review when visualization materially helps, but it never replaces the Markdown.

Use stable identifiers throughout:

- `R1` — observable requirement
- `D1` — technical design decision
- `T1` — implementation task
- `V1` — expected or captured verification evidence

## Lifecycle

Run these stages in order. Load a stage reference only when that stage begins.

1. **Discover.** Read `references/source-and-discovery.md`. Retrieve the source, inspect the repository, classify unknowns, and resolve decisions that block requirements.
2. **Requirements.** Read `references/requirements-stage.md`. Write only the Requirements layer of `spec.md`, then run its review gate.
3. **Design.** Read `references/design-stage.md`. Add the Technical Design layer without rewriting approved requirements, then run its review gate. A material requirements change returns to stage 2.
4. **Plan.** Read `references/planning-stage.md`. Derive `plan.md` from the approved `spec.md`, then run its review gate. A behavior or design change returns to the owning upstream stage.
5. **Approve and stop.** Read `references/approval-stage.md`. Verify the current approvals, hash `spec.md` and `plan.md`, write `approval.md`, report the paths, and stop.

At every gate, Plannotator is the default. Explicit approval of the current artifact in chat is the fallback when Plannotator is unavailable or the user chooses chat. Revisions require another review of the current file; use Plan Diff in Plannotator to make the change visible.

## Stage routing

| Priority | Load when | Reference |
|---|---|---|
| 1 — Required | Starting source retrieval and repository discovery | `references/source-and-discovery.md` |
| 1 — Required | Writing or revising observable behavior and scope | `references/requirements-stage.md` |
| 1 — Required | Writing or revising internal system decisions | `references/design-stage.md` |
| 1 — Required | Converting approved design into executable tasks | `references/planning-stage.md` |
| 1 — Required | Opening any review gate or writing final approval state | `references/approval-stage.md` |

## Domain skill routing

After repository discovery, invoke only installed, model-invocable skills whose evidence condition matches. Use the host's skill mechanism by skill name; never depend on an installation path or host-specific command.

| Repository or spec evidence | Invoke | Contribution |
|---|---|---|
| Browser-facing UI, interaction, accessibility, responsive behavior, or browser trust boundary | `frontend` | Frontend requirements, design constraints, and browser evidence |
| React components, hooks, state ownership, Effects, Suspense, or rendering behavior | `react` | React-specific technical design and validation |
| Next.js App Router, Server Components, route caching, streaming, or Suspense architecture | `nextjs-app-architecture` | Next.js-specific technical design |
| Consequential service, module, data, protocol, persistence, rendering, or deployment boundary | `architect` | Decision analysis, trade-offs, and reversal path |
| Version-sensitive framework, library, SDK, provider, or API claim | `research` | Version-matched primary evidence |
| Verification layer or test strategy cannot be derived from repository conventions | `test` | Behavioral validation strategy and commands |

A routed skill advises the current planning stage; `/spec` remains responsible for artifact structure, traceability, and approval. Record accepted conclusions in `spec.md` or `plan.md` rather than copying another skill's workflow. Do not implement while consulting a domain skill.

If a matching skill is unavailable or user-only, continue from repository evidence when that is sufficient. Record a blocker only when the missing guidance prevents a safe, falsifiable artifact. Never load every skill preemptively.

## Planning boundary

During this skill:

- modify only the spec directory and review aids;
- leave application code, tests, configuration, dependencies, branches, tickets, and commits unchanged;
- keep unresolved blockers explicit instead of approving around them;
- treat edits to an approved stage as invalidating that stage and every dependent approval.

Completion requires all three canonical files, matching SHA-256 hashes in `approval.md`, and explicit approval of the current requirements, design, and plan. Report the artifact directory as the handoff for a separate `implement` request, then stop. Approval of this planning workflow does not itself authorize implementation.

From kriscard/Skills, MIT.

More from kriscard/Skills

Signals

Stars
14
Forks
0
Open issues
0
Last commit (this folder)
Oct 7, 2026 (21 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from kriscard

Cite this page

spec skill. Agent Mart. https://agentmart.dev/skills/kriscard-spec (last updated 2026-10-24)