Unified workflow skill for Zed + OpenCode using aido-* commands.
This repository provides one orchestrator skill named aido-workflow that routes all AIDO commands, keeps workflow state in .aido-workflow/, and integrates planning, grilling, execution, review, and documentation.
- Clear command namespace for AI development workflow
- Easy command detection in OpenCode
- Consistent routing to one skill:
aido-workflow
Both formats are supported and treated equally:
aido-initand/aido-initaido-brainstormand/aido-brainstorm- ...for all AIDO commands
aido-initaido-brainstormaido-grillaido-enhanceaido-plan-with-fileaido-breakdownaido-execute-nextaido-caveman-reviewaido-debugaido-debug-fixaido-documentaido-archiveaido-cleanaido-statusaido-resumeaido-compactaido-caveman
- planning-with-files: https://github.com/othmanadi/planning-with-files
- code-documenter: https://github.com/Jeffallan/claude-skills/blob/main/skills/code-documenter/SKILL.md
- GStack reference: https://github.com/garrytan/gstack
- Superpowers reference: https://github.com/obra/superpowers
- GSD reference: https://github.com/gsd-build/get-shit-done
- Grill With Docs: https://skills.sh/mattpocock/skills/grill-with-docs
- Prompt Enhancer: https://skills.sh/samhvw8/dot-claude/prompt-enhancer
- Compact: https://skills.sh/catlog22/claude-code-workflow/compact
- Caveman: https://skills.sh/juliusbrussee/caveman/caveman
- Caveman Review: https://skills.sh/juliusbrussee/caveman/caveman-review
- Diagnose: https://github.com/mattpocock/skills
Wrapper only:
npx skills add https://github.com/mdhb2/aido-workflow -a opencode -yFull setup:
curl -fsSL https://raw.githubusercontent.com/mdhb2/aido-workflow/master/scripts/install-aido.sh | bashThe installer fails fast if any supporting skill cannot be installed.
It also runs npx skills list -a opencode at the end for verification.
Note: the installer protects against stdin consumption from nested CLI tools so it works reliably with curl ... | bash.
Alternative (recommended for strict shells):
curl -fsSL https://raw.githubusercontent.com/mdhb2/aido-workflow/master/scripts/install-aido.sh -o /tmp/install-aido.sh
bash /tmp/install-aido.shInstaller regression test (PASS/FAIL per test):
bash scripts/test-install-aido.sh- Ensure skill appears as
aido-workflow. - Run one command with and without slash:
aido-status/aido-status
- Confirm both route to same workflow behavior.
More details: skills/aido-workflow/references/opencode.md and skills/aido-workflow/references/detection.md.
aido-init -> aido-enhance (optional) -> aido-brainstorm -> aido-grill -> aido-plan-with-file -> aido-breakdown -> aido-execute-next -> aido-caveman-review (optional/recommended) -> aido-debug or aido-debug-fix (when needed) -> aido-document -> aido-archive -> aido-clean
All workflow state must live in .aido-workflow/.
- Never create or use
.aido/for new state. - If legacy
.aido/exists, migrate contents to.aido-workflow/. - Do not delete legacy
.aido/unless explicitly requested.
Required structure:
.aido-workflow/
active_module.md
task_plan.md
findings.md
decisions.md
progress.md
test_report.md
specs/
modules/
reports/
archive/
task_plans/
progress/
decisions/
task_plan.md must only contain the active module.
These commands must auto-call /aido-plan-with-file:
aido-brainstormaido-grillaido-breakdown
These may call /aido-plan-with-file when scope/module/planning changes:
aido-enhanceaido-compactaido-cavemanaido-caveman-review
These do not auto-call unless explicitly requested:
aido-statusaido-resumeaido-documentaido-archiveaido-clean
Standalone commands:
/aido-enhance/aido-compact/aido-caveman
Rules:
- No active module required.
- If active module exists, save relevant output to
.aido-workflow/findings.mdor.aido-workflow/progress.md. - If no active module exists, return result directly and suggest
aido-init. - Do not mutate
.aido-workflow/task_plan.mdunless explicitly asked.
aido-execute-nextmust invoke/tddand run test-first vertical slices.- After
aido-execute-next, if code changed significantly, run or recommendaido-caveman-review. - Save review findings to:
.aido-workflow/progress.md.aido-workflow/test_report.md.aido-workflow/decisions.md
- If blocking issue exists, stop before
aido-document.
- Use
aido-debugfor diagnosis-only flow when errors occur or behavior is unexpected. aido-debugmust not auto-fix code and must not mutate.aido-workflow/task_plan.md.- Use
aido-debug-fixfor direct autofix. aido-debug-fixis restricted to active phase scope only; if cross-phase changes are required, mark workflowBLOCKEDand stop.
aido-clean allowed only when documentation and archive are complete.
Can clean:
.aido-workflow/task_plan.md.aido-workflow/progress.md.aido-workflow/test_report.md.aido-workflow/active_module.md
Must not clean:
.aido-workflow/findings.md.aido-workflow/modules/.aido-workflow/archive/.aido-workflow/reports/.aido-workflow/specs/
skills/aido-workflow/SKILL.mdskills/aido-workflow/references/commands.mdskills/aido-workflow/references/workflow.mdskills/aido-workflow/references/documentation.mdskills/aido-workflow/references/examples.mdskills/aido-workflow/references/detection.mdskills/aido-workflow/references/opencode.md