with one click
with one click
| name | workflow |
| description | Manage feature workflow state — status, transitions, context switching |
Manages the feature development workflow state machine.
references/track-conventions.md — Track-file location, frontmatter, required sections, session-log rules. Read when entering implementation, updating progress, or creating a new track file.references/testing-policy.md — STRICT opt-in testing rules. Read before writing or running tests.references/session-checks.md — Session-time procedures (feature branch recency check, service health checks, update-check + sync + conflict handling). Read when the session-start protocol in AGENTS.md delegates here.references/agent-teams.md — Parallel-engineer protocol for the implementation phase when CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1. Read before spawning or managing a team./workflow statusShow the current workflow state for the active feature.
Steps:
.workflow-state.json{active_feature}{phase} ({phase_name}){phase_status} (idle / inprogress / completed){phase_entered}{worker}{type} (feature | bug | improvement){branch} or "not created"{implementation_strategy} (or "not chosen"){pr_urls} entries (service → URL) or "not submitted"/workflow listShow ALL active features with their phases.
Steps:
.workflow-state.jsonfeatures{}:
→/workflow start <slug>Start a new feature workflow.
Steps:
.onboard-state.json:
/onboard first."status is "in_progress", check critical steps:
steps.env_files must be "completed" (all services have real .env)steps.db_setup must be "completed" (if API service is selected)steps.clone_repos must be "completed"steps.install_deps must be "completed"Cannot start workflow. Onboarding is incomplete:
- api/.env is missing — contact arhen
- Database not restored — contact arhen for dev dump
Run `/onboard resume` to complete setup.
status is "completed" → proceed.workflow-state.json (create if doesn't exist).<slug> doesn't already exist in features.command -v jj):
"You have an active feature (
<active-slug>in<phase>). You can:"
- Continue here with context-switching (
/workflow switchbetween features)- Create a parallel workspace with
/jj-workflow new <slug>to work on<slug>in a separate directory
/jj-workflow new <slug> and stop.{
"phase": "idle",
"phase_status": "completed",
"phase_entered": "<ISO>",
"type": "<type>",
"initial_request": "<text>",
"brainstorming": { "questions": [], "summary": null },
"prd_path": null,
"branch": null,
"service_prds": {},
"pr_urls": {}
}
active_feature to <slug>. Ask the user for worker name if not set.phase: "brainstorming", phase_status: "idle") and delegate to frndos-brainstorm./workflow nextTransition to the next phase (if gate conditions are met).
Steps:
.workflow-state.json.phase_status for active feature.phase_status === "completed". If idle or inprogress, refuse: "Phase <phase> is still pending (idle) or in progress (inprogress). Let the agent finish (or wait for it to flip phase_status to completed) before advancing.".agentic-workflows/workflow/gates.json.next_strategy on the phase in phases.json:
implementation → pr_submission for sequential strategy.implementation → completion for agent_teams strategy.pr_submission → pr_review when the PR has reviewer/bot feedback (has_feedback).pr_submission → completion when the PR merged with zero feedback (merged_clean).phase, phase_entered, set new phase_status to "idle"./workflow switch <slug>Switch active feature context.
Steps:
.workflow-state.json<slug> exists in featuresactive_feature to <slug><slug> is on branch {branch}. Switch with: git checkout {branch}"/workflow list-allDiscover ALL features across the team — not just local ones. Scans committed artifacts, git branches, and JJ workspaces.
Steps:
git fetch --all in each service dirls docs/prd/*.md → extract slugsgit branch -r | grep -E '^(feature|fix|improvement)/.*/vc-' in each service → extract slugsfind . -name '*.track.md' across all services → extract slugsworkspaces map exists in .workflow-state.json, read each workspace's .workflow-state.json to discover features tracked in secondary workspaces.workflow-state.json for any features only tracked locallyAll features (committed artifacts + local state):
Slug Phase Last Activity Worker
─────────────────────────── ────────────────── ───────────────────── ──────────
→ brand-health-dashboard implementation 2026-03-20 (track) fahrizky
user-analytics pr_review 2026-03-18 (PR #42) daffa
kv-generator prd_creation 2026-03-15 (PRD) arhen
→ = active in your local .workflow-state.json
/workflow resume <slug>"/workflow resume <slug>Resume a feature started by another team member.
Steps:
git fetch --all in each service dir.workflow-state.json? → past brainstormingdocs/prd/<slug>.md? → past prd_creation(feature|fix|improvement)/<worker>/vc-<slug> exists AND service PRDs exist? → past prd_splitting.workflow-state.json with reconstructed stateactive_feature to <slug>git checkout <branch> from features[<slug>].branch (prefix is feature/, fix/, or improvement/ per type)/workflow progressShow detailed progress for the active feature.
Steps:
.workflow-state.json and all related filesphase_status per phase)implementation_only or wireframe_then_implementation)/workflow modeSwitch Claude Code between Agent Session and Team Session mode.
Steps:
Check if Claude Code is the active tool (.claude/settings.json exists or .claude/ dir exists)
Read .claude/settings.json to determine current mode:
env.CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS is "1": current mode is Team SessionShow current mode and ask to switch:
"Current mode: Agent Session"
- Switch to Team Session (EXPERIMENTAL — parallel engineers + architect, more tokens)
- Keep current mode
Or:
"Current mode: Team Session (EXPERIMENTAL)"
- Switch to Agent Session (sequential, single agent, recommended)
- Keep current mode
If user chooses to switch:
.claude/settings.jsonenv.CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS to "1"CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS from env (or set to "0").claude/settings.json (preserve other settings).onboard-state.json: set claude_session_mode to "team" or "agent"If user keeps current mode: "Keeping [current mode]. No changes made."
[HINT] Download the complete skill directory including SKILL.md and all related files