branch-workflow
FreeBranch and commit conventions that keep an agent's work reviewable — one branch per task, main stays clean, nothing force-pushed.
The English summary is being prepared. Showing the original description.
Run a feature end to end — scout the code, plan it, build it, and keep a session file so a closed terminal doesn't lose the thread.
The English summary is being prepared. Showing the original description.
See how to installReview the instructions the agent will receive before you install.
Orchestrated development workflow: Discovery → Planning → Review → Build
Sessions are stored in ~/.claude/dev-cycles/active/ and ~/.claude/dev-cycles/completed/
ls ~/.claude/dev-cycles/active/ | grep "$(basename $(pwd))"
If active session exists for this project:
Ask these questions in order:
Branch: "Work on existing branch, create new, or no branch?"
git branch -a to show optionsScope: "What are we building?"
Create session file:
~/.claude/dev-cycles/active/{project-name}--{YYYYMMDD-HHMMSS}.md
# Dev Cycle: {description}
## Meta
- **Project**: {project-name}
- **Branch**: {branch-name or "none"}
- **Started**: {timestamp}
- **Phase**: discovery | planning | review | building | blocked
- **Involves Data/Analytics**: yes | no
## Discovery
{Requirements, context, decisions made during discovery}
## Plan
{Tasks with checkboxes, phases, acceptance criteria}
## Progress
- [x] Task 1 - completed
- [ ] Task 2 - current
- [ ] Task 3 - pending
## Blockers
{Any blockers encountered - stop and ask the user}
## Batched Questions
{Easy questions to ask after build is done}
## Decisions
{Key decisions made during this session}
1. Scout Exploration (for non-trivial tasks):
Delegate to Scout: "Explore [area relevant to task].
Find: where things live, how they work, existing patterns.
Questions: [specific unknowns from the user's description]"
Scout returns: What exists, how it works, options, unknowns.
2. Discovery Discussion:
3. Update session file with discoveries
Exit: "Ready to plan?"
Skip Scout when:
Orchestrated execution:
1. For each task/phase:
└─ Delegate to Bob: "Build [task]. Context: [from session]"
2. After Bob completes:
└─ Delegate to Garry: "Validate [task] is complete. Check quality."
3. If task involves data/analytics/numbers:
└─ Delegate to Arlo: "Validate data logic, patterns, calculations in [task]"
└─ Arlo checks: data flow, edge cases, number handling, analytics accuracy
4. I review output:
└─ Problems? → Tell agents to fix
└─ Blocker? → STOP, update session, ask the user
└─ Easy question? → Add to "Batched Questions" section
5. Update session file with progress
6. Continue until all tasks done
Bring Arlo into the loop when the work involves:
Arlo validates:
Blockers (STOP immediately):
Batched Questions (ask after build):
For small tasks (single feature, few files):
With branch-workflow:
With megg:
mcp__megg__contextmcp__megg__learnWith OpenSpec (for complex work):
While in an active dev-cycle, the user can say:
Me: Checking for active dev-cycle sessions...
No active session for this project.
Let's start a new dev cycle.
1. Branch: Work on existing, create new, or stay on current?
User: new branch feat/add-user-auth
Me: Created branch feat/add-user-auth
2. What are we building?
User: User authentication with JWT tokens
Me: Got it. Creating session...
[Session file created]
Let's start discovery. Tell me more about:
- What auth methods do you need?
- Any existing auth code to integrate with?
- ...
No reviews yet. Tell others what you thought.
No login needed. Share how it worked for you, ask a question, or note where it did not run.
No comments yet. Be the first to write one.
Branch and commit conventions that keep an agent's work reviewable — one branch per task, main stays clean, nothing force-pushed.
The English summary is being prepared. Showing the original description.
Look up how Claude Code itself works — hooks, skills, subagents, MCP, plugins, settings — from the official docs, so answers come from the current spec instead of memory.
The English summary is being prepared. Showing the original description.
Design better agents, skills and hooks for Claude Code, checking the current spec instead of guessing at fields.
The English summary is being prepared. Showing the original description.
Close out a session — summarise what changed, capture what was learned, and prepare the commit.
The English summary is being prepared. Showing the original description.
Hand over a spec and walk away — plans, builds, tests and audits on its own, stopping only at a real blocker.
The English summary is being prepared. Showing the original description.
Run the project's own tests, linter, type checker and build, and report what actually failed.
The English summary is being prepared. Showing the original description.