| name | ha-powers | ||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| description | ORCHESTRATOR: Full-stack development pipeline from ideation to merge. One profile, 0-2 transient subagents. Includes Progress Tracker (superpowers-style) with 7-phase granular checklists. | ||||||||||||||||||||||||||
| version | 1.9.0 | ||||||||||||||||||||||||||
| author | Hermes Agent | ||||||||||||||||||||||||||
| license | MIT | ||||||||||||||||||||||||||
| platforms |
|
||||||||||||||||||||||||||
| metadata |
|
HA-POWERS is inspired by obra's Superpowers — the progressive disclosure pattern that started it all. The name pays homage to that original work.
HA-POWERS = Hermes Agent Superpowers.
flowchart TD
U[User says: build X] --> GATE0{Non-trivial?}
GATE0 -->|No - typo/config/one-liner| FIX[Fix directly, skip pipeline]
GATE0 -->|Yes| GATE_FUZZY{Idea clear?}
GATE_FUZZY -->|Fuzzy / needs alignment| GRILL[Phase 0: grill-me]
GATE_FUZZY -->|Clear enough| BRAIN[Phase 1: Brainstorming]
GRILL -->|Aligned| BRAIN
BRAIN -->|Spec approved| PLAN[Phase 2: writing-plans]
PLAN -->|Plan saved| WORK[Phase 3: git-worktrees]
WORK -->|Isolated workspace ready| IMPL[Phase 4: subagent-driven-dev]
IMPL -->|All tasks done| REVIEW[Phase 5: requesting-code-review]
REVIEW -->|Approved| PR[Phase 6: github-pr-workflow]
PR -->|Merged| CLEAN[Phase 7: worktree cleanup]
CLEAN --> DONE[Done ✅]
REVIEW -->|Changes requested| IMPL
PR -->|CI fails| FIX_CI[Auto-fix CI] --> PR
⚠️ STARTUP PROTOCOL: When you load ha-powers and identify a feature to build, immediately show this Phase Gates table to the user. Users expect visible checkpoints/progress milestones — don't start building without setting expectations. The table IS the "progress checklist" they're asking about. If they then ask "what about kanban", kanban is the fine-grained task tracker inside Phase 4; the phase gates are the macro-level milestones.
Each phase has a gate that must pass before the next phase starts:
| Phase | Gate Condition | Output Artifact |
|---|---|---|
| 0. Grill Me (optional) | Shared understanding confirmed | Aligned understanding (verbal) |
| 1. Brainstorming | User approves written spec | <project>/docs/specs/<date>-<topic>-design.md |
| 2. Writing Plans | Plan saved and committed | <project>/docs/plans/<date>-<topic>-plan.md |
| 3. Git Worktrees | Worktree created, tests green | Isolated ./worktrees/feat/<name> |
| 4. Subagent Dev | All tasks complete, tests pass | Feature code on branch |
| 5. Code Review | Review approved (or issues fixed) | Reviewed code |
| 6. PR + CI | PR merged | Closed PR + deleted branch |
| 7. Cleanup | Worktree removed | Clean main checkout |
The core question: Why a 7-phase pipeline with gates, when you could just "start coding"?
Without a structured pipeline, AI-assisted development has three chronic failures:
| Failure Mode | What Happens | How HA-POWERS Fixes It |
|---|---|---|
| Building the wrong thing | Jump straight to code → realize later the spec was misunderstood → rewrite everything | Phase 1 (Brainstorming) forces a written spec and user approval BEFORE any code exists |
| Unpredictable effort | "It's just a small feature" → 3 days later → nothing done | Phase 2 (Writing Plans) decomposes everything into 2–5 minute tasks with exact file paths and commands |
| No accountability | Changes happen in the void → no review → bugs ship | Phase 5 (Code Review) + Phase 6 (PR + CI) create a mandatory quality gate before merging |
Each phase solves a specific failure mode. They are sequential and gated — you cannot proceed until the current phase produces its artifact:
| Phase | Solves | Gate Output |
|---|---|---|
| 1. Brainstorming | "We built the wrong thing" | Approved design spec |
| 2. Writing Plans | "I don't know where to start" | Task list with exact file paths |
| 3. Git Worktrees | "My main branch is messy" | Isolated workspace |
| 4. Subagent Dev | "Coding without TDD is gambling" | Feature code + passing tests |
| 5. Code Review | "I missed bugs in my own code" | Human-quality audit |
| 6. PR + CI | "Changes went straight to main" | Merged PR with green CI |
| 7. Cleanup | "Git history is full of abandoned branches" | Clean main checkout |
The gates are the key. Each phase must produce a tangible artifact before the next begins. This prevents the common anti-pattern of "just start coding" — the kind of thinking that creates the most expensive rework.
obra's Superpowers pioneered the progressive-disclosure skill pattern. HA-POWERS builds on it by adding:
- Orchestration layer — Superpowers provides individual skills (brainstorming, writing-plans, etc.). HA-POWERS provides the pipeline that sequences them with gates.
- Progress Tracker — A visible checklist that shows exactly where you are in the process. Addresses the "am I done?" anxiety.
- Phase Gates — Explicit conditions that must be met before moving forward. Prevents skipping critical steps.
- Single-profile architecture — One Hermes profile (default) handles all 7 phases. Only Phase 4 may spawn 0–2 transient subagents. No need for 6 separate profiles.
- Kanban integration — Optional visual board for multi-feature visibility. The pipeline works identically with or without it.
- Decision tree — Automatic detection of when to run the full pipeline vs. skip to a quick fix.
Every feature, every time, from idea to merged PR, with no steps skipped.
This isn't bureaucracy — it's insurance against your future self forgetting why you made a decision today. The spec, the plan, the PR description — they're all artifacts you (or your reviewer) will thank you for later.
HA-POWERS is a toolbox of composable phases, not a fixed assembly line you must ride from start to finish.
Inspired by Matt Pocock's philosophy: each phase is an independent skill you can pick up and put down as needed. The full 7-phase pipeline is the maximum path — for large, cross-module features with team review. Most work doesn't need all 7 phases.
| Task Scale | Recommended Path | Example |
|---|---|---|
| Tiny (typo, config) | Fix directly — no phases | Change a constant, rename a file |
| Small (single script, clear scope) | Phase 0 (grill-me) → implement directly | Add a --organize flag to a script |
| Medium (multi-file, some design) | Phase 0 → Phase 1 (spec) → implement | Refactor a module, add a new feature |
| Large (cross-module, architecture) | Full pipeline (Phase 0–7) | New project, major redesign |
| Critical (production, security) | Full pipeline + extra review | Auth system, data migration |
The key insight: Don't use a 7-phase pipeline for a 5-minute fix. Don't skip planning for a week-long project. Match the process to the risk.
Real example: Adding --organize to yt2md_pipeline.py — only needed Phase 0 (grill-me for 3 clarifying questions), then wrote the code directly. No spec, no plan, no worktree, no PR. Done in one session.
Skill: handoff
Any phase can be interrupted. When the user says "先停在這裡" / "下次再繼續" / "先到這", trigger
handoffimmediately — don't try to finish the current phase.
Process:
- Snapshot current phase and progress
- Generate structured handoff file →
~/handoffs/YYYY-MM-DD-<topic>.md - Include: current state, completed vs pending, key decisions, file paths, suggested skills
- Redact sensitive info (keys, passwords)
Resuming from handoff:
請讀取 ~/handoffs/YYYY-MM-DD-<topic>.md 並接續上次的工作。
Agent reads the file, loads suggested skills, and continues from the pending phase.
💡 Why this exists: HA-POWERS is a multi-phase pipeline. Without handoff, a session interruption means losing all context. Handoff preserves the pipeline state so the next session picks up exactly where you left off.
📋 Show this tracker at the START of every feature. Update checkboxes as each phase completes. This is the "superpowers-style" progress tracking you asked for.
Naming convention: Always call it "Progress Tracker" (not "Task Tracker", "Checklist", or "Todo List"). Emphasizes step-by-step progress within a single feature development.
## 🚧 Progress Tracker
### Phase 0: Grill Me (if idea is fuzzy)
- [ ] Load grilling primitive
- [ ] Interview: one question at a time
- [ ] (Optional) grill-with-docs: create ADR + CONTEXT.md
- [ ] Confirm shared understanding ✅
### Phase 1: Brainstorming
- [ ] Explore context & codebase
- [ ] Ask clarifying questions
- [ ] Load codebase-design vocabulary (if designing modules)
- [ ] Propose 2-3 approaches
- [ ] Present design & architecture
- [ ] Write spec to `<project>/docs/specs/`
- [ ] Self-review spec (no placeholders)
- [ ] User approves spec ✅
### Phase 2: Writing Plans
- [ ] Read approved spec
- [ ] Explore codebase patterns
- [ ] Write tasks (2-5 min each)
- [ ] Include exact file paths
- [ ] Include TDD cycle for each task
- [ ] Review plan completeness
- [ ] Save to `<project>/docs/plans/` ✅
### Phase 3: Git Worktrees
- [ ] Detect existing worktree
- [ ] Create worktree on feat/<name>
- [ ] Install dependencies
- [ ] Verify clean test baseline
- [ ] Isolated workspace ready ✅
### Phase 4: Subagent Dev
- [ ] Read plan, extract tasks
- [ ] Decide subagent count
- [ ] Dispatch Developer subagent(s)
- [ ] Dispatch Reviewer subagent(s) (large features)
- [ ] Fix issues → re-review loop
- [ ] All tasks complete
- [ ] Final integration check ✅
### Phase 5: Code Review
- [ ] Review correctness
- [ ] Review maintainability
- [ ] Review security
- [ ] Review performance
- [ ] Review testing coverage
- [ ] Report findings (severity)
- [ ] Fix issues → re-review ✅
### Phase 6: PR + CI
- [ ] Push branch to GitHub
- [ ] Create PR with description
- [ ] Monitor CI status
- [ ] Auto-fix CI failures (up to 3)
- [ ] Merge (squash + delete branch) ✅
### Phase 7: Cleanup
- [ ] Remove local worktree
- [ ] Switch back to main
- [ ] Clean up branches
- [ ] Feature delivered ✅
Rules:
- Show tracker immediately when pipeline starts
- Update
[ ]→[x]as each step completes - Add emoji: ✅ done, 🔄 in progress, ⏸️ blocked
- Keep it visible throughout the session
- For small features, skip phases as needed (Decision Tree)
💡 Terminology clarity:
- HA-POWERS = Brand name (homage to obra's Superpowers)
- Pipeline = The actual mechanism — fixed sequential stages (7 phases)
- Workflow = The decision layer above the pipeline (should we run it? which path?)
- Kanban = A separate visual tracking tool for multi-feature visibility
The Pipeline is INSIDE the Workflow. Kanban runs alongside both.
⚠️ Name isha-powers(plural), NOTha-power. The skill directory, frontmattername:field, and@skill:ha-powerscommand all use the plural form. This was changed from the originalha-powerto match the Superpowers homage. Always useha-powersconsistently.
⚠️ Always call it "Progress Tracker" (not "Task Tracker", "Checklist", or "Todo List"). Emphasizes step-by-step progress within a single feature development.
Each phase is an independent tool. Pick what you need, skip what you don't.
FULL pipeline (Phase 0–7) — for large, high-risk work:
- User says "build a [feature/component/app]"
- Multi-step coding task with >2 files
- Task involves architecture decisions that are hard to undo
- Task has test implications
- Any project where the user might want a PR trail
PARTIAL pipeline (Phase 0–2, then code directly):
- Single-file change with some design choices
- Modifying an existing script (add flag, refactor function)
- Task you'll review yourself (no team PR needed)
- Prototype / spike that might be thrown away
MINIMAL pipeline (Phase 0 only, then code directly):
- Clear scope but need to align on 2-3 details (API choice, output format)
- User has a preference but needs help deciding between options
- Quick grill-me session (3-5 questions) then straight to coding
SKIP pipeline entirely (fix directly):
- Fixing a single-line typo
- Changing a config value
- Running a script
- Trivial rename / formatting
- User explicitly says "just do it, no need for planning"
Skills: grilling (primitive) → grill-me or grill-with-docs (wrappers)
Goal: When the idea is fuzzy, align with the user BEFORE entering full brainstorming.
When to trigger:
- User's description is vague ("我想做一個 XXX 功能")
- Multiple valid interpretations exist
- User says "幫我想想" or "幫我分析"
When to skip:
- Idea is already clear and specific
- User says "just do it, no need for planning"
Process:
- Load
grillingskill (core interview primitive) - Ask one question at a time, with recommended answer
- Classify each response: Fact (verify yourself) vs Decision (ask user)
- Walk every branch of the decision tree
- Confirm shared understanding with a checklist
- User confirms → proceed to Phase 1
File output choice:
grill-me— no files, conversation only (quick alignment)grill-with-docs— auto-creates ADR + CONTEXT.md (persistent decisions)
Pick based on whether the decisions need a paper trail.
Output: Aligned understanding (no file artifact needed, unless grill-with-docs used)
Next: Invoke brainstorming skill (Phase 1).
💡 Why this exists: Brainstorming produces a spec. But if the idea is too fuzzy, brainstorming wastes time on wrong assumptions. Grill-me catches misalignment early — 5 minutes of Q&A can save an hour of rework.
Skill: brainstorming
Goal: Turn a fuzzy idea into a concrete, approved spec.
- Explore context — read existing files, understand the codebase
- Ask clarifying questions — one at a time. Purpose? Constraints? Success criteria?
- Load
codebase-designvocabulary — when designing new modules, use Module/Interface/Seam/Adapter terminology for consistent design language - Propose 2-3 approaches — with trade-offs and a recommendation
- Present design — architecture, components, data flow, testing strategy
- User approves → write spec to
<project>/docs/specs/<date>-<topic>-design.md - Self-review spec — check for placeholders, contradictions, ambiguity
- User reviews final spec — wait for explicit approval
Gate output: Approved spec document.
Next: Invokewriting-plansskill.
Skill: writing-plans
Goal: Decompose the approved spec into bite-sized, implementable tasks.
- Read the spec thoroughly
- Explore the codebase — understand existing patterns
- Write each task with:
- One sentence objective
- Exact file paths (Create:/Modify:/Test:)
- Complete TDD cycle (failing test → implement → passing test → commit)
- Exact commands with expected output
- Review the plan:
- Tasks are 2-5 minutes each
- All file paths are exact
- Code examples are copy-pasteable
- Verification steps are explicit
- Save plan to
<project>/docs/plans/<date>-<topic>-plan.mdand commit
Gate output: Implementation plan with N sequential tasks.
Next: Ask user if they want isolated workspace → invokegit-worktrees(or skip to Phase 4 if declined).
Skill: git-worktrees
Goal: Create an isolated working directory so the main branch stays clean.
- Detect if already in a worktree (skip if so)
- Ask user for consent (honor existing preference without asking)
- Create worktree on
feat/<feature-name>branch:git worktree add .worktrees/feat/<name> -b feat/<name> cd .worktrees/feat/<name>
- Project setup — auto-detect and install deps
- Verify clean test baseline — run full suite, report pass/fail
Gate output: Isolated workspace at
.worktrees/feat/<name>with passing tests.
Next: Execute plan viasubagent-driven-development.
Skill: subagent-driven-development
Goal: Execute the plan task-by-task. Only phase that may spawn subagents.
- Read the plan once, extract all tasks
- Create todo list
- Decide subagent count based on feature size:
- Small (1-3 files): 1 Developer subagent, no Reviewer
- Large (cross-module): 1 Developer + 1 Reviewer (combined spec+quality)
- For each task (sequential for same-file tasks, parallel for independent ones):
- Dispatch Developer subagent — full task context, TDD instructions
- (Large only) Dispatch Reviewer subagent — verify against spec + quality
- Fix issues → re-review if needed → mark complete
- Final integration check — all components work together?
Gate output: Feature fully implemented on the worktree branch, all tests passing.
Next: Ask user if they want a full code review → invokerequesting-code-review.
Skill: requesting-code-review
Goal: Final human-quality review before opening a PR.
- Review all changed files for:
- Correctness: logic errors, edge cases?
- Maintainability: clear naming, comments, structure?
- Security: injection, auth, data exposure?
- Performance: N+1 queries, memory leaks?
- Testing: adequate coverage?
- Report findings with severity (Critical / Important / Minor)
- Fix issues → re-review → approve
Review(事前預防)與 Debug(事後治療)是時間線上的不同點,不是並行選項。
| Skill | 觸發時機 | 目的 | 輸出 |
|---|---|---|---|
requesting-code-review / deep-code-review |
功能寫完、發 PR 前 | 預防 | bug 報告 + 嚴重度分級 |
systematic-debugging / hermes-debug-protocol |
bug 已發生、有異常行為 | 治療 | 根因 + 修復證據 |
關鍵原則:
- Review = 還沒壞,檢查會不會壞(輸出 bug 報告與建議)
- Debug = 已經壞了,查為什麼(輸出根因 + Before/After 證據)
- 上下游關係:review 發現問題 → 修復 → 若修了還壞 → 才進入 debug 8 步流程。不是並行、不是替代。
- debug skills 三選一,不疊加:
hermes-debug-protocol(整合版)或systematic-debugging+debug-agent(拆件)。同時載三個是浪費 token。 - 例:今天 bookmark-manager 走的就是這條 — Phase 5 派獨立 reviewer 審 5 檔案 → 19 項 bug 報告 → 修復 + 測試補強 → 100 tests 全綠;若修完仍壞才觸發 debug 流程。
Gate output: Reviewed code ready for PR.
Next: Open PR viagithub-pr-workflow.
Skill: github-pr-workflow
Goal: Open, monitor, and merge a PR.
- Push branch to GitHub:
git push -u origin HEAD
- Create PR with structured description
- Monitor CI — poll until complete
- Auto-fix CI failures (up to 3 attempts)
- Merge (squash + delete branch)
Gate output: Merged PR, remote branch deleted.
Next: Clean up local worktree.
No dedicated skill — inline step.
Goal: Remove the local worktree and switch back to main.
git checkout main && git pull origin main
git worktree remove .worktrees/feat/<name>
git branch -d feat/<name> # if mergedFinal state: Clean main checkout, feature delivered. ✅
User says "build X"
│
├─ Is it a single-line fix / config change / typo?
│ └─ YES → Fix directly. Skip all phases.
│
├─ Is it a clear bug with known root cause?
│ └─ YES → Use systematic-debugging skill. Skip brainstorming + plans.
│
├─ 功能寫完,要檢查品質?(寫完後 / 發 PR 前)
│ └─ YES → Phase 5 requesting-code-review(或 deep-code-review 深度審計既有 code)。
│ Review = 事前預防(輸出 bug 報告);Debug = 事後治療(輸出根因)。
│ 兩者上下游:review 發現問題 → 修 → 修了還壞 → 才進 systematic-debugging。
│
├─ 已有 bug / 異常行為?(已發生,不是「會不會壞」)
│ └─ YES → systematic-debugging 8 步流程(先 Review 相關 code 再修)。
│ debug skills 三選一:hermes-debug-protocol 或 systematic-debugging + debug-agent。
│
├─ Is it a small change (1 file, clear scope)?
│ └─ YES → Phase 0 (grill-me if needed) → code directly.
│ Example: add a flag, refactor a function, fix a script.
│
├─ Is it a medium feature (multi-file, some design choices)?
│ └─ YES → Phase 0 → Phase 1 (spec) → code directly.
│ Skip worktrees, PR, review. Commit to feature branch.
│
├─ Is it a large feature / new project / architecture change?
│ └─ YES → Run full pipeline:
│ Phase 0: grill-me (if fuzzy)
│ Phase 1: brainstorming → spec
│ Phase 2: writing-plans → task list
│ Phase 3: git-worktrees → isolated workspace
│ Phase 4: subagent-driven-dev → implementation
│ Phase 5: requesting-code-review → approval
│ Phase 6: github-pr-workflow → PR → merge
│ Phase 7: cleanup → done
│
├─ User says "I don't need isolation" or "just do it here"?
│ └─ Skip Phase 3 (worktrees). Work in-place.
│
└─ User says "I don't need a PR"?
└─ Skip Phase 6 (PR). Commit to feature branch directly.
- Skipping brainstorming for "simple" features — this is the #1 anti-pattern. Simple features hide the most assumptions.
- Writing plans without reading the spec — the plan must trace back to approved requirements.
- Creating worktree inside a worktree — Phase 3's detection step prevents this.
- Skipping spec compliance review — TDD catches bugs, but spec review catches building the wrong thing.
- Merging before CI is green — always verify.
- Spawning too many subagents — you don't need separate agents for Architect/Planner/DevOps. Orchestrator handles 6 of 7 phases directly. Only Phase 4 may benefit from 1-2 subagents. More is just overhead.
- Leaving worktrees around after merge — run Phase 7 or they accumulate.
- Worktree requires fully tracked project — Before creating a worktree, check
git status --short. If the project has critical untracked files (??entries likestatic/,data/,config/) that you need in the workspace,git worktree addwon't bring them. You'll end up with a bare branch. Why:git worktree addchecks out files from git history only — it has no knowledge of untracked files on disk. The main repo may have them but the worktree is a fresh checkout. Fix: eithergit add+ commit the essential files first, or skip worktrees and work on a branch directly. If the user asks why it's empty, explain: "worktree is a checkout from git, not a copy of your working directory." - Keeping legacy standalone profiles from old architecture — If you find leftover profiles (e.g.,
coder,architect,planner) in your Hermes profiles directories, they're remnants from an earlier 6-agent-role concept that HA-POWERS has replaced. This pipeline runs entirely from one profile (default) with 0-2 transient subagents viadelegate_task()— independent profiles per role are unnecessary overhead. Delete them withrm -rf <profile-dir>after verifying nothing references them.
🎯 One profile = full pipeline. Not 6 profiles, not 6 agents.
Term Definition Lifetime Independent Profile A complete Hermes configuration (skills/plugins/cron/memories/API keys) Permanent Has its own identity Subagent A temporary child process spawned via delegate_taskMinutes (disposable) Inherits parent profile's everything Session Your ongoing conversation with Hermes Chat duration Conversation history One Hermes profile (default) runs the entire HA-POWERS pipeline. All subagents are transient children under it — they don't need their own profile, don't persist, and don't have independent memory.
For the complete architecture, agent contracts, and code examples → load
references/multi-agent-architecture.md
For public documentation reference →
references/public-docs.md(mirrors https://github.com/bj9421/HA-POWERS-Docs)
ha-powers uses at most 0–2 subagents for real work. The 6 "roles" from earlier documentation were misleading — they're task types executed by the same Orchestrator session, not separate agents.
┌──────────────────────────────────┐
│ ORCHESTRATOR (你 + Hermes) │ ← 1 profile (default)
│ Handles ALL phases directly: │
│ • Phase 1: Talk to you (spec) │
│ • Phase 2: Write plan │
│ • Phase 3: git worktree │
│ • Phase 5: lint/security checks │
│ • Phase 6: git push / gh pr │
│ • Phase 7: cleanup │
└──────────────┬───────────────────┘
│
ONLY Phase 4: │ delegate_task
▼
┌──────────────────────────────────┐
│ 1–2 SUBAGENTS (temporary) │
│ ┌────────────┐ ┌────────────┐ │
│ │ Developer │ │ Reviewer │ │
│ │ (code) │ │ (audit) │ │
│ └────────────┘ └────────────┘ │
│ • Born from delegate_task │
│ • Die after delivering report │
│ • Same profile as Orchestrator │
│ • No persistent state │
└──────────────────────────────────┘
| Phase | Needs Subagent? | Why |
|---|---|---|
| 1. Brainstorming | ❌ — Talk to user directly | Spec discussion, not coding |
| 2. Writing Plans | ❌ — Write it yourself | Fast to write, slow to delegate |
| 3. Git Worktrees | ❌ — CLI command | git worktree add is one line |
| 4. Development | 🟢 1 Developer — real coding | Isolated TDD workload |
| 4. Review | 🟢 1 Reviewer (optional) — large features only | Small tasks: self-review and go |
| 5. Quality Gates | ❌ — CLI commands | Lint/security scan, one-liners |
| 6. PR | ❌ — CLI commands | git push && gh pr create |
| 7. Cleanup | ❌ — CLI command | git worktree remove |
# Small feature (1-3 files): 1 Developer only
delegate_task(
goal="Implement task N from plan: <task>",
context=f"Worktree: {path}, TDD required, exact file list",
toolsets=['terminal', 'file']
)
# Large feature (cross-module): 1 Developer + 1 Reviewer
# Step 1: Developer implements
# Step 2: Reviewer audits (spec compliance + code quality, merged into 1)
delegate_task(
goal="Verify implementation matches spec: <spec path>",
context=f"Files changed, spec requirements, quality checklist",
toolsets=['file']
)| Pattern | When | How |
|---|---|---|
| Sequential handoff | Default, safest | Each phase → artifact → next phase |
| Parallel developers | Tasks touch different files | delegate_task(tasks=[...]) up to 3 at once |
| Reviewer loop | Reviewer finds issues | Fix → re-dispatch reviewer → repeat until PASS |
| Cron monitor | CI/deployment waiting | cronjob(schedule='5m', script=ci_poller) |
✅ Orchestrator handles 6 of 7 phases directly — only Phase 4 may spawn subagents.
✅ All subagents share the same Hermes profile (default) — no profile isolation needed.
✅ Artifacts pass through shared filesystem (git commits, spec docs, test results).
Kanban is entirely optional. Every phase in the pipeline runs identically with or without it. Kanban adds visual task tracking for multi-session or multi-feature visibility, but is zero overhead to skip — the pipeline never blocks on a kanban command. Use it when you want a persistent board; ignore it when you don't.
Kanban skill must be loaded separately —
skill_view('kanban')for full docs.
Data stored inKANBAN.jsonat your project root. Zero dependencies.
| Phase | Kanban Action | Watches For |
|---|---|---|
| 1. Brainstorming | kanban add "Feature:..." --col backlog |
User approves spec |
| 2. Writing Plans | kanban move K1 --col todo |
Plan committed |
| 4. Subagent Dev | kanban move K1 --col doing |
Subagent dispatched |
| 4. Developer done | kanban log K1 "✅ Dev complete" |
Tests pass |
| 4. Per-task review | kanban log K1 "🔍 Spec PASS" / kanban log K1 "🔍 Quality APPROVED" |
Both reviews pass |
| 4. Task done | kanban move K1 --col review |
All tasks implemented |
| 5. Code Review | kanban move K1 --col review → kanban move K1 --col done |
Review approved |
| 6. PR Merged | kanban log K1 "🔀 PR #42 merged" |
CI green, merged |
| 7. Cleanup | kanban archive --days 7 |
Weekend cleanup |
Multi-card variant: For features with 3+ clearly independent tasks (e.g., "CSS layout", "JS logic", "Test"), create one card per task instead of one card for the feature. Each card tracks through the same columns independently. Add a feature-level card in the board description or as a parent note. This gives finer visibility especially when tasks move at different speeds. |
# At start of Phase 4
kanban add "Task 1: User model" --col todo --prio P1
kanban add "Task 3: Auth middleware" --col todo --prio P1
# When dispatching subagent
kanban move K1 --col doing
kanban log K1 "🔄 Starting Phase 4 → dispatching Developer"
# When review passes
kanban log K1 "✅ Spec compliance: PASS"
kanban log K1 "✅ Quality review: APPROVED"
# When task finishes
kanban move K1 --col done
# Weekly board export
kanban board --output docs/kanban-board.md- Zero deps — pure Python stdlib, no server, no DB
- Git-native —
KANBAN.jsonis versioned with code - Offline — works without internet (RPi edge mode)
- Programmable — Hermes reads/writes it via terminal
- Observable —
kanban listprints to Telegram - Integrates —
kanban boardexports to Obsidian
| Situation | Use Kanban? |
|---|---|
| ha-powers full pipeline | ✅ Yes — track every task |
| Quick fix / one-liner | ❌ No — skip |
| Multi-sprint project | ✅ Yes — persistent tracking |
| Research / exploration | Optional — backburner cards |
| Single dev, small project | Optional — but recommended for habit |
When the user says something like "I want to build a...", "Can you add...", "Let's create a...":
# This is the entry point. The pipeline auto-detects when to load.
# The orchestrator (you) runs each phase in order, loaded from these skills.
# You don't need to write code — just follow the Phase flow above.
passThe ha-powers skill itself is declarative orchestration — it tells you which skill to load at each phase. Load the sub-skill for implementation details when you reach that phase.
| Version | Date | Change |
|---|---|---|
| 1.0.0 | 2026-07-08 | Initial orchestrator skill, 7-phase pipeline |
| 1.1.0 | 2026-07-09 | Added Progress Tracker, Phase Gates, Kanban integration |
| 1.3.0 | 2026-07-09 | Added Design Philosophy section explaining why the 7-phase pipeline exists, what problems it solves, and what HA-POWERS adds on top of obra's Superpowers |
| 1.5.0 | 2026-07-10 | Reverted hardcoded paths — restored generic <project>/docs/specs/ and <project>/docs/plans/ to avoid environment-specific path issues |
| 1.7.0 | 2026-07-25 | Refactored grill-me into grilling primitive + grill-me/grill-with-docs wrappers. Phase 0 now supports file output choice (ADR + CONTEXT.md). |
| 1.8.0 | 2026-07-25 | Toolbox philosophy: added "Toolbox, Not Assembly Line" section, partial/minimal pipeline paths, updated Decision Tree with 4-tier sizing, softened closing statement. |
| 1.9.0 | 2026-08-05 | Added "Review vs Debug 分工" section in Phase 5 + Decision Tree branches — clarifies review (prevention, pre-PR) vs debug (treatment, root cause) as upstream/downstream, not parallel; debug skills 3-choice-1. |
| 1.6.0 | 2026-07-25 | Integrated mattpocock skills: Phase 0 (grill-me pre-alignment), codebase-design vocabulary in Phase 1, handoff for session continuity |
| 1.6.1 | 2026-07-25 | Added git version control for skills directory; hermes-agent-skill-authoring v1.2.0 enforces mandatory pre-edit gate (todo → plan → confirm → commit) |
⚠️ Name change notice: Originallyha-power, renamed toha-powers(plural) to better match the Superpowers homage. All references must useha-powersgoing forward: skill directory, frontmattername:,@skill:ha-powerscommand, and all docs.
flowchart LR
A[💡 Idea] --> B[📋 Spec]
B --> C[📝 Plan]
C --> D[🌿 Workspace]
D --> E[⚙️ Implement]
E --> F[🔍 Review]
F --> G[🔄 PR]
G --> H[🧹 Cleanup]
H --> I[✅ Done]
style A fill:#6b5,color:#fff
style I fill:#48b,color:#fff
HA-POWERS = A toolbox of composable phases. Use what you need, skip what you don't.
Full pipeline for big bets. Partial pipeline for most work. Grill-me alone for quick alignment. Never use more process than the risk warrants.