Skip to content
Back to skills

Spec

ASecurity

Write a spec for a feature or change before building it, then break it into board cards that a Marq queue can run. Use when the user asks for a spec, requirements, a design to agree on first, or to plan a large change as separate tasks.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 15, 2026
ai-agentsgo

Security analysis

A100/100

Scanned November 15, 2026

npx -y skills add harehare/marq --skill spec --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Spec?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Spec
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/harehare-spec/badge)](https://www.skillsdirectory.com/skills/harehare-spec)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: spec
description: Write a spec for a feature or change before building it, then break it into board cards that a Marq queue can run. Use when the user asks for a spec, requirements, a design to agree on first, or to plan a large change as separate tasks.
---

# Write a spec

A spec is a note in the user's vault (`specs/`, `type: spec`). The user reviews it; then its tasks become cards on a board, and a board queue can run each card in its own session with the spec as context.

## 1. Find out what is needed

- Read the code the change touches, and search the vault (`search_notes`, `search_sessions`) for earlier notes, decisions and sessions on the topic.
- Ask the user only what you cannot find out. Note open questions in the spec instead of guessing.

## 2. Write it with `write_spec`

`content` has these sections, in this order:

- `## Requirements`: what the change must do, one testable statement per item. Prefer `WHEN <situation> THE <part> SHALL <behaviour>`. Cover errors and edge cases, not only the happy path.
- `## Design`: how it fits the codebase: the parts to change, data and interfaces, and each decision with why. Name real files and functions.
- `## Tasks`: a checklist (`- [ ] …`). One item is one session's work: it can be done and checked on its own, in order. Start each with a verb and name the area, e.g. `- [ ] Parse type annotations in the LSP hover handler`. Avoid tasks that only make sense together.
- `## Acceptance`: how to tell the whole change is done, as observable behaviour (commands to run and what they print, what the user sees). The agents doing the tasks do not get this section in their prompt; a separate session checks their work against it. Do not repeat the requirements word for word.

Pass `verify` when the project has a command that checks a change (tests, type checks, lint), e.g. `pnpm check` or `cargo test`. It runs after every task's turn, and a failure goes back to the agent.

## 3. Hand it over

Tell the user the spec's path and ask them to review it. Only when they agree, or asked you to go ahead, call `spec_to_board` and tell them the board: putting the board's queue on a list (Queue in the board header) runs the cards.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.