/agent
This file defines the agent command within the simple flow.
$ npx -y skills add fabriqaai/specs.md --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/agent
Context preview
What this command does when you run it.
This file defines the agent command within the simple flow.
Command definition
agent.mdAgent Command
This file defines the agent command within the simple flow.
Command Definition
name: agent description: Spec-driven development - create requirements, design, and tasks
Invocation
When this command is invoked, the agent should:
1. **Load Context**
- Read `.specsmd/simple/memory-bank.yaml`
- Read `.specsmd/simple/agents/agent.md`
- Scan `specs/` for existing specs
2. **Parse Arguments**
- `$ARGUMENTS` contains user input after command
- Extract feature idea or spec name
- Determine intent (create, continue, update, execute)
3. **Detect State**
- If spec name provided, check for existing files
- Determine current phase based on file existence
4. **Route to Skill**
- NEW → requirements skill
- DESIGN_PENDING → design skill
- TASKS_PENDING → tasks skill
- COMPLETE → execute skill or offer updates
Usage Examples
/specsmd-agent Create a todo app with local storage
→ Creates new spec "todo-app", starts requirements phase
/specsmd-agent --spec="todo-app"
→ Continues existing spec at current phase
/specsmd-agent --spec="todo-app" --execute
→ Enter task execution mode for completed spec
/specsmd-agent
→ Lists existing specs or prompts for feature idea
AI-native development framework with pluggable flows for every use case. Choose the flow that matches your project needs: Ideation for creative brainstorming, Simple for quick specs, FIRE for adaptive execution, or AI-DLC for full methodology with DDD.
Other commands on specsmd.
specsmd-agent
Spec-driven development - create requirements, design, and implementation tasks for features

