Project specification

From athola/claude-night-market · View interactive version

Project specification is an AI agent skill from the GitHub repository athola/claude-night-market. Transforms project briefs into testable specifications with user stories and acceptance criteria. Use after brainstorming, before planning.

How to use this skill

Skill file

Delegation

For detailed specification writing workflows, this skill delegates to spec-kit:spec-writing as the canonical implementation. Use this skill for quick specification needs and spec-kit for thorough specification documents.

When To Use

When NOT To Use

Integration

With spec-kit:

Without spec-kit:

Documentation Audience

Carry the brief's Doc audience field into the specification,

and treat it as a requirement rather than a note: it decides what

the project's README, guides, and tutorials may contain. When the

brief did not set one, ask, do not guess.

Specify the deep-dive destination alongside it, so extraction has

somewhere to go before the first document is written: modules/

for skills, docs/<topic>.md for repo docs. Tier table

and cut test: scribe:slop-detector module

audience-targeting.md.

Record the Tradeoff (decision journal)

If the specification settled a design decision with real alternatives (a chosen

data model, an interface boundary, a constraint accepted), record it to

docs/tradeoffs.md before continuing (draft and confirm):

a tradeoff entry with the decision, the options weighed, and what was

sacrificed. Set phase to specify. Show the draft and append it on

confirmation.

ENTRY TEMPLATE. Assign the next TR-NNN id.

Post-Completion: Workflow Continuation (REQUIRED)

Automatic Trigger: After Quality Checks pass and docs/specification.md is saved, MUST auto-invoke the next phase.

When continuation is invoked:

  1. Verify docs/specification.md exists and is non-empty
  2. Display checkpoint message to user:

```

Specification complete. Saved to docs/specification.md.

Proceeding to planning phase...

```

  1. Invoke next phase:

```

Skill(attune:project-planning)

```

Bypass Conditions (ONLY skip continuation if ANY true):

Do NOT prompt the user for confirmation: this is a lightweight checkpoint that continues without waiting. The user can always interrupt if needed.

Exit Criteria

brief or asked for when the brief omitted it.

docs/tradeoffs.md (or there was no meaningful design fork).

Related Skills

Related Commands

Examples

See /attune:specify command documentation for complete examples.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.