Buildforce provides five slash commands that run inside your AI assistant conversation to orchestrate spec-driven development.
/research
/spec
spec.yaml and plan.yaml files.Commands are designed to work together:
sequenceDiagram
participant User
participant Research
participant Spec
participant Build
participant Complete
participant Context
User->>Research: /research [topic]
Research->>Context: Search context repository
Context-->>Research: Relevant context
Research-->>User: Research report
User->>Spec: /spec [description]
Spec->>Spec: Create spec.yaml + plan.yaml
Spec-->>User: Requirements & plan
User->>Build: /build
Build->>Build: Execute implementation
Build-->>User: Implementation + deviations
User->>Complete: /complete
Complete->>Context: Save new context
Complete-->>User: Completion report
/research - Before Defining RequirementsUse when:
Skip when:
/spec - Before ImplementationUse when:
Always use - This is the core of spec-driven development. Even simple changes benefit from structured requirements.
/build - During ImplementationUse when:
Can iterate - Run multiple times with feedback to refine implementation.
/complete - After ImplementationUse when:
Skip when:
/document - For Existing CodeUse when:
Alternative to full workflow - Documents without building.
All commands are invoked with / prefix in your AI assistant:
# Basic usage
/research [your-query]
/spec [feature-description]
/build [optional-iteration-notes]
/complete [optional-final-notes]
/document [topic-or-module]
# Examples
/research authentication patterns in this codebase
/spec Add JWT-based authentication with token refresh
/build Change bcrypt to argon2 for password hashing
/complete All tests passing, auth fully implemented
/document authentication module and security patterns
/research → /spec → /build → /complete
Best for new features and significant changes.
/spec → /build
Best for small features with clear requirements.
/research → /document
Best for capturing existing knowledge.
/spec → /build → /build → /build → /complete
Multiple /build iterations refine implementation based on feedback.
Explore each command in detail: