mirror of
https://github.com/basicmachines-co/basic-memory
synced 2026-06-21 13:47:35 +00:00
fb5e9e1d77
Signed-off-by: phernandez <paul@basicmachines.co> Co-authored-by: Claude <noreply@anthropic.com>
2.3 KiB
2.3 KiB
allowed-tools: mcp__basic-memory__write_note, mcp__basic-memory__read_note, mcp__basic-memory__search_notes, mcp__basic-memory__edit_note argument-hint: [create|status|show|review] [spec-name] description: Manage specifications in our development process
Context
Specifications are managed in the Basic Memory "specs" project. All specs live in a centralized location accessible across all repositories via MCP tools.
See SPEC-1 and SPEC-2 in the "specs" project for the full specification-driven development process.
Available commands:
create [name]- Create new specificationstatus- Show all spec statusesshow [spec-name]- Read a specific specreview [spec-name]- Review implementation against spec
Your task
Execute the spec command: /spec $ARGUMENTS
If command is "create":
- Get next SPEC number by searching existing specs in "specs" project
- Create new spec using template from SPEC-2
- Use mcp__basic-memory__write_note with project="specs"
- Include standard sections: Why, What, How, How to Evaluate
If command is "status":
- Use mcp__basic-memory__search_notes with project="specs"
- Display table with spec number, title, and progress
- Show completion status from checkboxes in content
If command is "show":
- Use mcp__basic-memory__read_note with project="specs"
- Display the full spec content
If command is "review":
- Read the specified spec and its "How to Evaluate" section
- Review current implementation against success criteria with careful evaluation of:
- Functional completeness - All specified features working
- Test coverage analysis - Actual test files and coverage percentage
- Count existing test files vs required components/APIs/composables
- Verify unit tests, integration tests, and end-to-end tests
- Check for missing test categories (component, API, workflow)
- Code quality metrics - TypeScript compilation, linting, performance
- Architecture compliance - Component isolation, state management patterns
- Documentation completeness - Implementation matches specification
- Provide honest, accurate assessment - do not overstate completeness
- Document findings and update spec with review results using mcp__basic-memory__edit_note
- If gaps found, clearly identify what still needs to be implemented/tested