Automated summary
Orchestrates task execution by routing to appropriate phases (research, plan, implement, debug) based on task type and existing state, managing transitions with approval gates.
Strengths
- Structured state management with STATE.md
- Automatic checkpoint after each gate approval
- Legacy state detection and handling
- Quick fix mode for trivial changes
Limitations
- Requires user approval for each phase transition
- May over-engineer simple tasks with unnecessary steps
- Relies on STATE.md file integrity
For complex multi-step development tasks that benefit from structured phases and approval gates.
For trivial one-off commands or obvious changes that can be executed directly without tracking.
Security analysis
SafeThe skill is a workflow orchestrator that coordinates phase transitions using only Read, Write, Glob, Skill, and AskUserQuestion tools. It invokes benign shell commands (git status, context metrics scripts) for status checks, not for arbitrary code execution. There is no instruction to download, execute, or exfiltrate data, and no destructive commands.
No concerns found
How this analysis is madeExamples
I need to add a new user authentication feature to my web app.The login endpoint is returning a 500 error, please debug and fix it.Fix the typo in the README file where 'teh' should be 'the'.name: workflow version: 1.0.0 changelog: Initial structured workflow with gates and state management description: Entry point for task execution. Routes to research, plan, implement, or debug based on task type and existing state. Orchestrates phase transitions after approval. disable-model-invocation: true allowed-tools: Read, Write, Glob, Skill, AskUserQuestion
Workflow
Entry point and orchestrator. Routes to appropriate phase, then manages transitions after each approval gate.
Task
$ARGUMENTS
Instructions
Output: ## Workflow
1. Check for Existing State
Read STATE.md if it exists. Parse YAML frontmatter:
---
task: "..."
status: in_progress | blocked | complete | parked
phase: research | plan | implement | debug | idle | quick
path: research,plan,implement # orchestration path
context_percent: N
last_updated: YYYY-MM-DD
---
If status: idle or status: complete: proceed to assessment
If status: in_progress with path set: offer continuation
## Existing State Found
**Task**: [task]
**Current phase**: [phase]
**Path**: [path]
**Progress**: [which phases complete]
Options:
1. **Continue** — resume at current phase
2. **Park and switch** — set status to parked, begin new task
3. **Discard** — clear state, begin new task
If status: in_progress without path: legacy state, offer resume or restart
If no STATE.md: proceed to assessment
2. Assess Task Type
| Signals | Task Type | Path | Gates |
|---------|-----------|------|-------|
| "not working", "error", "bug", "broken" | Bug | debug (then implement if needed) | Normal |
| "add", "implement", "create", "build" + unclear scope | Feature | research,plan,implement | Normal |
| Clear, small, single-file change | Quick fix | (none - direct implementation) | Minimal |
| "refactor", "change", "update" + multi-file | Modification | research,plan,implement | Normal |
Quick fix mode: For obvious, low-risk changes (typo fix, add log statement, rename variable), skip research/plan phases entirely. Execute directly, verify, done. No STATE.md needed.
3. Present Recommendation
## Task Assessment
**Task**: [one-line summary]
**Type**: [bug | feature | quick fix | modification]
**Scope**: [small | medium | large]
**Path**: [phase] → [phase] → [phase]
**Rationale**: [Why this path fits]
Proceed?
4. Initialize State
Skip for quick fixes — complete in one turn.
For all other task types, write STATE.md:
---
task: "[one-line summary]"
status: in_progress
phase: [first phase in path]
path: [comma-separated phases]
context_percent: 0
last_updated: [today]
---
## Original Prompt
> [Capture user's request VERBATIM - this survives compaction]
## Scope
**Doing**: [What's included]
**Not doing**: [Explicit exclusions]
## Decisions
[None yet]
## Blockers
[None]
## Key Files
[To be discovered]
## Next Steps
Starting [first phase]
Why capture original prompt: After compaction or session break, the verbatim request ensures intent isn't lost. The one-line task: is a summary; the original prompt is the source of truth.
5. Orchestration Loop
After user approves, execute this loop:
while path has remaining phases:
1. Pre-flight: check context utilization (automatic)
2. Invoke current phase skill (using Skill tool)
3. Phase skill runs, ends with gate question
4. User approves (or redirects)
5. AUTO: Run /checkpoint (no user action needed)
6. Update STATE.md: advance phase, update context_percent
7. If more phases remain, continue loop
8. If user redirects, update path and continue
Auto-checkpoint: Checkpoint runs automatically after each gate approval — no user action required. This captures phase-specific learnings before context compaction may be needed.
Invoking phase skills:
/research— exploration, returns findings/plan— creates implementation plan/implement— executes plan with checkpoints/debug— diagnoses issue, may lead to implement
After each phase completes:
- Update
phase:to next in path - Update
## Next Steps - Present transition: "Research complete. Ready to plan?"
On user redirect: Update path: to new direction, continue from there.
6. Completion
When all phases complete:
- Set
status: complete,phase: idle - Clear
path: - Run
/checkpointto save final state
Exit lifecycle — smart defaults based on state:
First, check git state: git status --short
| Condition | Default | Prompt |
|-----------|---------|--------|
| Uncommitted changes | Suggest commit | "Uncommitted changes detected. Commit first?" |
| Clean git + high context (>50%) | Suggest clear | "Task complete. /clear recommended for fresh start." |
| Clean git + low context (<50%) | Suggest continue | "Task complete. Context is light — continue or /clear?" |
## Task Complete
[Smart suggestion based on above]
**Options:**
1. **Clear** — fresh context for unrelated task (`/clear`)
2. **Compact** — reduce context, preserve learnings (`/compact`)
3. **Continue** — keep context for follow-up questions
Which would you like?
Why smart defaults: Reduces decision fatigue while preserving user control. Uncommitted work should be committed before clearing.
Constraints
- Don't skip assessment — even obvious tasks benefit from explicit routing
- Wait for approval at each phase boundary (gates are mandatory)
- Keep STATE.md as source of truth
Context Hygiene (Mandatory)
Pre-flight check: Before invoking any phase skill, run:
.claude/skills/shared/scripts/read-metrics.sh used_percentage
| Utilization | Action | |-------------|--------| | < 50% | Proceed normally | | 50-60% | Warn user, proceed with caution | | 60%+ | GATE: Run context recovery protocol |
Context estimation: Before starting a phase, estimate its cost:
./scripts/estimate-context.sh [phase]
| Phase | Typical Cost | |-------|--------------| | research | +15% | | plan | +10% | | implement | +20% | | debug | +15% |
If projected utilization exceeds 60%, run recovery protocol BEFORE starting the phase.
Hard gate at 60%: Do not invoke the next phase skill until context is below 60%. This is not a suggestion — degraded context means degraded work quality.
Context Recovery Protocol (at 60%+)
Step 1: Run /checkpoint to save current state
Step 2: Choose recovery action based on STATE.md status:
| STATE.md status | Action | Rationale |
|-----------------|--------|-----------|
| in_progress or blocked | /compact | Preserve learnings, continue task |
| complete or idle | /clear | Fresh start, no continuity needed |
| No STATE.md | /clear | Nothing to preserve |
Step 3: After /compact or /clear, the session-init hook automatically injects STATE.md if the task was incomplete. This ensures immediate recovery.
Why automatic recovery: The hook detects fresh context (<25%) + active STATE.md status and injects the full state. No manual reload needed.
Update STATE.md context_percent: After each phase completion, record current utilization from metrics.
Exit Criteria
Task completed through all phases, or user explicitly exits workflow.
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/workflow-orchestrator-mmbizkjg/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/workflow-orchestrator-mmbizkjg' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/workflow-orchestrator-mmbizkjg/download' --output '.skill-downloads/workflow-orchestrator-mmbizkjg/SKILL.md.part' && mv '.skill-downloads/workflow-orchestrator-mmbizkjg/SKILL.md.part' '.skill-downloads/workflow-orchestrator-mmbizkjg/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
Tools declared by the author (check availability in your agent): Read, Write, Glob, Skill, AskUserQuestion
No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.
Claude Code
test -f '.skill-downloads/workflow-orchestrator-mmbizkjg/SKILL.md' && test -s '.skill-downloads/workflow-orchestrator-mmbizkjg/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/workflow' && cp -R '.skill-downloads/workflow-orchestrator-mmbizkjg' '.claude/skills/workflow'OpenSkills
OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.
Official OpenSkills installationopenskills install './.skill-downloads/workflow-orchestrator-mmbizkjg'openskills read 'workflow-orchestrator-mmbizkjg'Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.
For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.
openskills syncManual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/workflow-orchestrator-mmbizkjg/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
React Hook Form Best Practices
Development
Master React Hook Form: avoid anti-patterns, manage subscriptions, and handle reset, dirty state, and controlled inputs correctly.
Emotion to Mantine Migration
Development
Migrate Emotion styled-components to Mantine components with style props and CSS modules. Use when converting .styled.tsx files or removing @emotion imports.
Scope Creep Detector
Development
Analyzes git diffs against a stated intent to detect scope creep, unrelated files, broad PRs, and oversized changes, then suggests keep, split, or justify actions.