skills/nav-workflow/SKILL.md
Unified workflow orchestration for substantial tasks. Auto-detects complexity, defers to matching skills, or provides phase-based execution. Solves workflow conflicts between skills, loop mode, and CLAUDE.md.
npx skillsauth add alekspetrov/navigator nav-workflowInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Unified workflow orchestration that coordinates between skills, loop mode, and direct execution based on task complexity and type.
Navigator had three disconnected workflow systems:
Result: Conflicts when multiple systems try to run.
Solution: Task Mode acts as a coordinator - detecting when skills should handle workflow vs when to provide standalone phase guidance.
User Request
↓
TASK MODE (this skill)
├─ Simple task? → Direct execution (no overhead)
├─ Skill matches? → Let skill run (it has workflow)
└─ Substantial, no skill? → Task Mode phases
Auto-invoke when:
DO NOT invoke if:
Task Mode settings in .agent/.nav-config.json:
{
"task_mode": {
"enabled": true,
"auto_detect": true,
"defer_to_skills": true,
"complexity_threshold": 0.5,
"show_phase_indicator": true
}
}
Options:
enabled: Master switch for Task Modeauto_detect: Auto-detect complexity (vs explicit invocation only)defer_to_skills: Let matching skills handle their own workflowcomplexity_threshold: Score (0-1) required to activateshow_phase_indicator: Show phase banners during executionRun complexity detection:
python3 functions/complexity_detector.py \
--request "{USER_REQUEST}" \
--context "{RECENT_CONTEXT}"
Complexity signals:
Simple task signals:
Decision:
IF complexity_score < threshold:
→ Direct execution (exit Task Mode)
Run skill detection:
python3 functions/skill_detector.py \
--request "{USER_REQUEST}" \
--available-skills "{SKILLS_LIST}"
Skill matching rules:
Decision:
IF matching_skill AND defer_to_skills:
→ Show: "Detected: {SKILL_NAME} skill will handle this"
→ Exit Task Mode (skill has workflow)
If substantial task, no skill match:
Display activation:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
TASK MODE ACTIVATED
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Task: {TASK_SUMMARY}
Complexity: {SCORE} (threshold: {THRESHOLD})
Skills matched: None (Task Mode will orchestrate)
Phases:
○ RESEARCH - Understand requirements
○ PLAN - Create implementation strategy
○ IMPL - Execute changes
○ VERIFY - Test and validate
○ COMPLETE - Commit and document
Starting RESEARCH phase...
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
RESEARCH Phase:
Show phase transition:
python3 functions/phase_indicator.py \
--phase "RESEARCH" \
--status "complete" \
--next "PLAN"
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
PHASE: RESEARCH → PLAN
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Research completed:
✓ Found {N} related files
✓ Identified patterns in {LOCATION}
✓ Dependencies mapped
Moving to PLAN phase...
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
PLAN Phase:
IMPL Phase:
VERIFY Phase:
COMPLETE Phase:
Display completion:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
TASK MODE COMPLETE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Task: {TASK_SUMMARY}
Phases:
✓ RESEARCH - {DURATION}
✓ PLAN - {DURATION}
✓ IMPL - {DURATION}
✓ VERIFY - {DURATION}
✓ COMPLETE
Summary:
- {FILES_CHANGED} files changed
- {TESTS_ADDED} tests added
- Committed: {COMMIT_SHA}
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Analyzes request to determine complexity score.
Usage:
python3 functions/complexity_detector.py \
--request "Refactor the auth system to use JWT" \
--context "Working on user management"
Returns:
{
"complexity_score": 0.7,
"signals": {
"multi_file": true,
"planning_language": true,
"cross_system": false
},
"recommendation": "task_mode",
"reason": "Refactoring task with multi-file scope"
}
Checks if a skill should handle this request.
Usage:
python3 functions/skill_detector.py \
--request "Add a login component" \
--available-skills '["frontend-component", "backend-endpoint", "database-migration"]'
Returns:
{
"matching_skill": "frontend-component",
"confidence": 0.95,
"triggers": ["create component", "add component"],
"defer": true,
"reason": "Request matches frontend-component skill triggers"
}
Generates phase transition displays.
Usage:
python3 functions/phase_indicator.py \
--phase "IMPL" \
--status "in_progress" \
--progress 60 \
--details '{"files_changed": 3, "tests_written": 2}'
Returns: Formatted phase indicator block.
Task Mode is lighter weight than Loop Mode:
When to use which:
Can coexist: Loop Mode wraps Task Mode phases if both active.
Task Mode defers to skills by default:
Override: Set defer_to_skills: false to always use Task Mode phases.
Simplification runs during VERIFY phase:
COMPLETE phase triggers autonomous protocol:
| Aspect | Direct Execution | Task Mode | Loop Mode | |--------|------------------|-----------|-----------| | Complexity | Low | Medium-High | High | | Phase tracking | None | Visual phases | Strict phases | | Iteration control | None | None | EXIT_SIGNAL | | Skill coordination | None | Defers | Independent | | Best for | Quick fixes | Features | Autonomous work |
User: "Fix the typo in README"
→ Complexity: 0.1 (below threshold)
→ Direct execution (no Task Mode overhead)
User: "Create a UserProfile component"
→ Complexity: 0.6
→ Skill match: frontend-component (0.95 confidence)
→ Task Mode defers: "frontend-component skill will handle this"
→ Skill executes its own Step 1-7 workflow
User: "Refactor auth to use JWT instead of sessions"
→ Complexity: 0.8
→ Skill match: None
→ Task Mode activates
→ RESEARCH: Explore current auth implementation
→ PLAN: Document JWT migration steps
→ IMPL: Execute changes across files
→ VERIFY: Run tests, simplify code
→ COMPLETE: Commit, document
User: "Run until done: implement user roles"
→ Loop Mode activated (explicit trigger)
→ Task Mode phases guide each iteration:
Iteration 1: RESEARCH phase
Iteration 2: PLAN + IMPL phases
Iteration 3: IMPL + VERIFY phases
Iteration 4: COMPLETE + EXIT_SIGNAL
Config not found:
Task Mode config not found in .nav-config.json.
Using defaults: auto_detect=true, threshold=0.5
Skill detection fails:
Phase detection ambiguous:
Task Mode succeeds when:
After implementation:
This skill provides unified workflow orchestration, resolving conflicts between Navigator's multiple workflow systems.
tools
Sync project CLAUDE.md to the installed Navigator version, preserving customizations. Use when user says "sync CLAUDE.md", "update CLAUDE.md", or when detecting outdated Navigator configuration.
tools
Automates design review, token extraction, component mapping, and implementation planning. Reduces design handoff from 6-10 hours to 5 minutes via direct Figma MCP integration. Auto-invoke when user mentions design review, Figma mockup, or design handoff.
tools
Automates Navigator plugin updates. Detects current version, updates plugin, verifies installation, updates project CLAUDE.md, and validates new features. Auto-invoke when user mentions upgrading Navigator or getting new features.
documentation
Manage Navigator task documentation - create implementation plans, archive completed tasks, update task index. Use when user starts new feature, completes work, or says "document this feature".