Loading...
Loading...
Manage protocol/standard specifications that define what a system must do. Use to create, import, or update the contract that TASKs implement against.
npx skill4agent add taylorhuston/local-life-manager spec/spec # Show current project's spec status
/spec --import <url> # Import external spec (GitHub, raw URL)
/spec --init # Create new protocol spec for project
/spec --sync # Sync imported spec with upstream
/spec --section <name> # Show specific section of specspaces/[project]/
├── docs/
│ ├── specs/ # The protocol spec (source of truth)
│ │ ├── README.md # Spec overview and compliance status
│ │ ├── api-specification.md # API contract
│ │ ├── data-models.md # Data structures
│ │ ├── required-features.md # Feature requirements
│ │ └── ...
│ └── adrs/ # Architecture decisions
└── src/ # Implementation
ideas/[project]/
├── project-brief.md # Strategy (private)
└── issues/
└── 001-auth/
└── TASK.md # implements: docs/specs/required-features.md#authenticationRead: ideas/[project]/project-brief.md # Strategy context
Glob: spaces/[project]/docs/specs/*.md # Existing specs/spec --import https://github.com/leafspec/specspaces/[project]/docs/specs/docs/specs/README.md/spec --sync/spec --init# [Project] Specification
## Overview
[What this system does and why]
## Actors
[Who/what interacts with the system]
## Core Operations
[The fundamental things the system must do]
## API Specification
[Endpoints, inputs, outputs, errors]
## Data Models
[Entity definitions, relationships, constraints]
## Required Features
[Feature requirements organized by domain]
## Test Criteria
[How to verify compliance]/spec # No arguments| Old Model (Wrong) | New Model (Correct) |
|---|---|
| SPEC-001, SPEC-002... | Single protocol spec |
| Feature breakdown | Requirements contract |
| Internal planning docs | Source of truth |
| Created per feature | Created once, evolved |
| TASKs link to SPEC-### | TASKs implement spec sections |
---
implements: docs/specs/required-features.md#authentication
---/issue"Which spec section does this implement? (or 'none' for standalone)"
### §1 Authentication
**Requirements:**
- ✅ User registration with email/password
- ✅ User login with JWT token
- ⏳ Password reset flow
- ⏳ Email verification
**API Endpoints:**
- ✅ `POST /api/auth/register`
- ✅ `POST /api/auth/login`
- ⏳ `POST /api/auth/reset-password`/completeversion: 1.0.0git tag spec-v1.0.0/spec --init or --import # Define what to build
↓
/issue # Create work items that implement spec sections
↓
/plan # Break down implementation
↓
/implement # Build against the spec
↓
/complete # Verify spec compliance/issue/plan/validate-spec/project-status