Speckit plan

From racecraft-lab/Paddock · View interactive version

Speckit plan is an AI agent skill from the GitHub repository racecraft-lab/Paddock. Execute the implementation planning workflow using the plan template to generate design artifacts.

How to use this skill

Skill file

User Input

$ARGUMENTS

You MUST consider the user input before proceeding (if not empty).

Pre-Execution Checks

Check for extension hooks (before planning):

```

## Extension Hooks

Optional Pre-Hook: {extension}

Command: /{command}

Description: {description}

Prompt: {prompt}

To execute: /{command}

```

```

## Extension Hooks

Automatic Pre-Hook: {extension}

Executing: /{command}

EXECUTE_COMMAND: {command}

Wait for the result of the hook command before proceeding to the Outline.

```

Outline

  1. Setup: Run .specify/scripts/bash/setup-plan.sh --json from repo root and parse JSON for FEATURE_SPEC, IMPL_PLAN, SPECS_DIR, BRANCH. For single quotes in args like "I'm Groot", use escape syntax: e.g 'I'\''m Groot' (or double-quote if possible: "I'm Groot").
  1. Load context: Read FEATURE_SPEC and .specify/memory/constitution.md. Load IMPL_PLAN template (already copied).
  1. Execute plan workflow: Follow the structure in IMPL_PLAN template to:
  1. Stop and report: Command ends after Phase 2 planning. Report branch, IMPL_PLAN path, and generated artifacts.
  1. Check for extension hooks: After reporting, check if .specify/extensions.yml exists in the project root.

```

## Extension Hooks

Optional Hook: {extension}

Command: /{command}

Description: {description}

Prompt: {prompt}

To execute: /{command}

```

```

## Extension Hooks

Automatic Hook: {extension}

Executing: /{command}

EXECUTE_COMMAND: {command}

```

Phases

Phase 0: Outline & Research

  1. Extract unknowns from Technical Context above:
  1. Generate and dispatch research agents:

```text

For each unknown in Technical Context:

Task: "Research {unknown} for {feature context}"

For each technology choice:

Task: "Find best practices for {tech} in {domain}"

```

  1. Consolidate findings in research.md using format:

Output: research.md with all NEEDS CLARIFICATION resolved

Phase 1: Design & Contracts

Prerequisites: research.md complete

  1. Extract entities from feature spec → data-model.md:
  1. Define interface contracts (if project has external interfaces) → /contracts/:
  1. Agent context update:

Output: data-model.md, /contracts/*, quickstart.md, updated agent context file

Key rules

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.