agentleFS
ArvorCoArvorCo/Relentless/.claude/skills/plan/SKILL.md

plan

Skill98 starsChanged 10 months agoMITView on GitHub

Generate technical implementation plan from feature specification. Use after creating spec. Triggers on: create plan, technical plan, implementation design.

179 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use heartmula, minecraft-modpack-server and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • braxtonROSE4Skill

    heartmula

    Set up and run HeartMuLa, the open-source music generation model family (Suno-like). Generates full songs from lyrics + tags with multilingual support.

    Also in 8 projects that use this

  • braxtonROSE4Skill

    minecraft-modpack-server

    Set up a modded Minecraft server from a CurseForge/Modrinth server pack zip. Covers NeoForge/Forge install, Java version, JVM tuning, firewall, LAN config, backups, and launch scripts.

    Also in 4 projects that use this

  • kevinnftSkill

    touchdesigner-mcp

    Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.

    Also in 6 projects that use this

  • diego-tobalinaSkill

    build-fix

    Fix build and compilation errors systematically. Run when build fails.

    Also in 7 projects that use this

  • kevinnftSkill

    debugging-hermes-tui-commands

    Debug Hermes TUI slash commands: Python, gateway, Ink UI.

    Also in 3 projects that use this

  • sahinSkill

    execute

    Also in 18 projects that use this

  • +5 more from braxtonROSE4
  • +1 more from kevinnft

The file

Show its rules and text

We split this skill into the rules it gives an agent

15 rules. 0 are common, 11 are distinctive, and 4 are very specific to this project.

  • 0

    Common

    Most of the 158 edited versions we read keep these.

  • 11

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Create detailed technical plans that translate feature specifications into implementation designs.

    line 8
  2. Distinctive:

    Test specifications → TDD acceptance criteria

    line 25
  3. Very specific:

    Read the feature specification (spec.md)

    line 45
  4. Distinctive:

    Read project constitution for technical constraints

    line 47
  5. Very specific:

    Look in relentless/features/ for the most recent feature

    line 58
  6. Very specific:

    Read spec.md and extract routing preference

    line 66
  7. Very specific:

    If missing, DEFAULT to: auto: good | allow free: yes

    line 67
  8. Distinctive:

    Update progress.txt with routing decision

    line 70
  9. Distinctive:

    Before completing the plan, validate:

    line 147
  10. Distinctive:

    If plan violates MUST rules, revise until compliant.

    line 158
  11. Distinctive:

    If plan generates any doubts, interview the user about them with insightful questions to improve the plan.

    line 160
  12. Distinctive:

    If validation fails, fix the errors and re-run

    line 171
  13. Distinctive:

    Update progress.txt with plan creation timestamp and routing info

    line 173
  14. Distinctive:

    Must comply with constitution

    line 294
  15. Distinctive:

    Test specifications are mandatory: - no tests = incomplete plan

    line 297

“Common” is measured: kept by at least 6 in 10 of the 158 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Technical Implementation Plan Generator

Create detailed technical plans that translate feature specifications into implementation designs.


SpecKit Workflow

This skill is Step 2 of 6 in the Relentless workflow:

specify → plan → tasks → analyze → implement

What flows from spec:

  • User requirements → technical approach
  • Routing preference → carried forward
  • Acceptance criteria → test specifications

What flows to tasks:

  • Technical approach → implementation breakdown
  • Test specifications → TDD acceptance criteria

TDD is MANDATORY

The technical plan MUST include concrete test specifications:

  • Test file locations (where tests will live)
  • Test class/function names (what to create)
  • Mock/fixture requirements (what test data needed)
  • Coverage targets per component

The agent MUST write tests BEFORE implementation code.

This is non-negotiable. Plans without test specifications are incomplete.


The Job

  1. Read the feature specification (spec.md)
  2. Extract and validate routing preference (Step 2)
  3. Read project constitution for technical constraints
  4. Generate technical architecture and implementation plan
  5. Include complete test specifications
  6. Validate against quality gates
  7. Save to plan.md in the feature directory

Step 1: Locate Feature Files

Find the current feature directory:

  • Look in relentless/features/ for the most recent feature
  • Or ask user which feature to plan
  • Verify spec.md exists

Step 2: Extract Routing Preference

  1. Read spec.md and extract routing preference
  2. If missing, DEFAULT to: auto: good | allow free: yes
  3. Validate format is correct
  4. Carry forward to plan.md metadata
  5. Update progress.txt with routing decision

Example:

Spec says: **Routing Preference**: auto: genius | allow free: no
Plan carries: **Routing Preference**: auto: genius | allow free: no

Step 3: Load Context

Read these files:

  1. relentless/constitution.md - Project governance and technical standards
  2. relentless/features/NNN-feature/spec.md - Feature requirements
  3. Project README or docs for tech stack information

Note all MUST and SHOULD rules from constitution - these are quality gates.


Step 4: Generate Technical Plan

Using the template at templates/plan.md, create a plan with:

Required Sections:

1. Technical Overview

  • Architecture approach
  • Key technologies to use (from constitution/existing stack)
  • Integration points
  • Routing preference carried from spec (auto mode or harness/model)

2. Data Models

  • Database schemas
  • Entity relationships
  • Field definitions with types
  • Indexes and constraints

3. API Contracts

  • Endpoints and methods
  • Request/response formats
  • Authentication requirements
  • Error responses

4. Implementation Strategy

  • Phase breakdown
  • Dependencies between components
  • Integration approach

5. Test Specifications (MANDATORY)

  • Test file structure
  • Unit test table (component → test file → functions)
  • Integration test table (flow → test file → scenarios)
  • Mock requirements
  • Coverage targets (minimum 80%)

6. Security Considerations

  • Authentication/authorization
  • Data validation
  • Security best practices
  • Compliance requirements

7. Rollout Plan

  • Deployment strategy
  • Migration requirements (if any)
  • Monitoring and observability
  • Rollback plan

Step 5: Ensure Constitution Compliance

Validate the plan against constitution:

Quality Gates Check

Before completing the plan, validate:

  • TDD approach defined - test specs with file locations
  • Quality commands identified - typecheck, lint, test
  • Routing preference carried from spec
  • All MUST rules from constitution addressed
  • No any types planned in TypeScript
  • Error handling strategy defined

MUST rules: Required, plan must follow these SHOULD rules: Best practices, document any deviations

If plan violates MUST rules, revise until compliant.

If plan generates any doubts, interview the user about them with insightful questions to improve the plan.


Step 6: Save & Validate

  1. Save plan to relentless/features/NNN-feature/plan.md
  2. Run the validator to ensure plan.md is correctly formatted:
    .claude/skills/validators/scripts/validate-plan.sh "relentless/features/NNN-feature/plan.md"
    • If validation fails, fix the errors and re-run
    • Warnings are acceptable but should be reviewed
  3. Update progress.txt with plan creation timestamp and routing info
  4. Report:
    • Plan location
    • Key technical decisions
    • Test specifications summary
    • Constitution compliance: PASS/FAIL
    • Validation: PASS/FAIL
    • Routing preference: [carried value]
    • Next step: /relentless.tasks

Example Sections

# Technical Implementation Plan: User Authentication

**Routing Preference**: auto: good | allow free: yes

## Technical Overview

**Architecture:** Three-tier (API, Service, Data)
**Stack:** Node.js, TypeScript, PostgreSQL
**Authentication:** JWT tokens with refresh mechanism

## Data Models

### User Table
\`\`\`sql
CREATE TABLE users (
  id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
  email VARCHAR(255) UNIQUE NOT NULL,
  password_hash VARCHAR(255) NOT NULL,
  confirmed BOOLEAN DEFAULT FALSE,
  created_at TIMESTAMP DEFAULT NOW(),
  updated_at TIMESTAMP DEFAULT NOW()
);

CREATE INDEX idx_users_email ON users(email);
\`\`\`

## API Contracts

### POST /api/auth/register
**Request:**
\`\`\`json
{
  "email": "user@example.com",
  "password": "password123"
}
\`\`\`

**Response (201):**
\`\`\`json
{
  "id": "uuid",
  "email": "user@example.com",
  "message": "Confirmation email sent"
}
\`\`\`

## Test Specifications (MANDATORY)

### Test File Structure
\`\`\`
tests/
├── unit/
│   ├── auth/
│   │   ├── password.test.ts
│   │   └── email-validation.test.ts
│   └── token/
│       └── jwt.test.ts
├── integration/
│   └── auth/
│       ├── register.test.ts
│       └── login.test.ts
└── e2e/
    └── auth-flow.test.ts
\`\`\`

### Unit Tests
| Component | Test File | Functions to Test |
|-----------|-----------|-------------------|
| Password | `tests/unit/auth/password.test.ts` | hashPassword, verifyPassword |
| Email | `tests/unit/auth/email-validation.test.ts` | validateEmail |
| JWT | `tests/unit/token/jwt.test.ts` | generateToken, verifyToken |

### Integration Tests
| Flow | Test File | Scenarios |
|------|-----------|-----------|
| Register | `tests/integration/auth/register.test.ts` | success, duplicate email, invalid input |
| Login | `tests/integration/auth/login.test.ts` | success, wrong password, unconfirmed |

### Mock Requirements
- Database mock (in-memory or test container)
- Email service mock (no actual sends)
- Time mock for token expiration tests

### Coverage Targets
- Unit: 90% minimum (critical auth code)
- Integration: All happy paths + error paths
- E2E: Complete registration and login flow

## Constitution Compliance

**MUST Rules Checked:**
- [x] TDD is mandatory - test specs defined above
- [x] Quality gates defined - typecheck, lint, test commands
- [x] Routing preference carried from spec
- [x] No `any` types planned
- [x] Error handling strategy defined

**If any MUST rule cannot be satisfied, document the exception and remediation plan.**

Notes

  • Plan bridges WHAT (spec) to HOW (implementation)
  • Include specific technologies and patterns
  • Must comply with constitution
  • Detailed enough for task generation
  • Interview user if you have any doubts or suggestions
  • Test specifications are mandatory - no tests = incomplete plan
  • Routing preference must be carried forward from spec

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.