| name | workflows |
| description | View and follow AI workflows. Use when the user says /workflows, asks about processes, or starts a task that matches a defined workflow (code review, bug fix, feature build, etc.). |
Workflow Management
You are managing the user's AI workflows stored in ~/.aflow/flow.md.
When invoked
- Read
~/.aflow/flow.md
- List all defined workflows with their triggers
- If the user asks about a specific workflow, show its steps
Following a workflow
When the conversation matches a workflow's trigger (e.g., user asks for a code review and there's a code-review workflow):
- Announce: "Following the code-review workflow"
- Execute each step in order
- Report progress as you go
- Mark the workflow as complete when done
If flow.md doesn't exist
Tell the user: "No workflows configured yet. Run npx @aman_asmuei/aflow init to set up starter workflows (code-review, bug-fix, feature-build, daily-standup)."
Adding workflows
Guide the user to:
npx @aman_asmuei/aflow add — add a new workflow interactively
npx @aman_asmuei/aflow list — list all workflows
- Or edit
~/.aflow/flow.md directly