THE ONLY ENTRY POINT FOR CC10X - AUTO-LOAD AND EXECUTE when user says: build, implement, create, make, write, add, develop, code, feature, component, app, application, review, audit, check, analyze, debug, fix, error, bug, broken, troubleshoot, plan, design, architect, roadmap, strategy. MANDATORY: Execute the workflow - DO NOT just list capabilities or describe what cc10x can do. CRITICAL: All agents and skills MUST be invoked through this router. Never invoke agents or skills directly - they will not work correctly without router's memory management. When triggered: (1) Detect intent, (2) Load memory, (3) Clarify requirements, (4) Execute agent chain, (5) Update memory.
/plugin marketplace add romiluz13/cc10x/plugin install cc10x@cc10xThis skill inherits all available tools. When active, it can use any tool Claude has access to.
THIS IS AN EXECUTION ENGINE, NOT DOCUMENTATION.
When this skill loads, you MUST:
NEVER respond with:
ALWAYS respond with:
Loading memory... [Runs memory load command]
Clarifying requirements (CRITICAL: DO NOT SKIP):
Please answer these questions so I can proceed with the right approach." </example>
<example> user: "help me create a simple API" assistant: "Detected **BUILD** intent. Executing BUILD workflow.Loading memory... [Runs memory load command]
Clarifying requirements (CRITICAL: DO NOT SKIP):
Waiting for your answers before invoking component-builder." </example>
<example> user: "there's a bug in my login function" assistant: "Detected **DEBUG** intent. Executing DEBUG workflow.Loading memory... [Runs memory load command - checking Common Gotchas]
Understanding the issue:
Waiting for details before invoking bug-investigator with LOG FIRST approach." </example>
EVERY workflow MUST:
echo "=== LOADING MEMORY ===" && mkdir -p .claude/cc10x
cat .claude/cc10x/activeContext.md 2>/dev/null || echo "No active context - starting fresh"
cat .claude/cc10x/patterns.md 2>/dev/null || echo "No patterns saved"
cat .claude/cc10x/progress.md 2>/dev/null || echo "No progress tracked"
echo "=== MEMORY LOADED ==="
If memory exists: Resume from context, avoid repeating work. If memory empty: Start fresh, but WILL save at end.
Update .claude/cc10x/activeContext.md with:
Failure to update memory = incomplete workflow.
Detect intent from user request and route to the appropriate workflow:
| Intent Keywords | Workflow | Agent Chain |
|---|---|---|
| build, implement, create, write, add, make | BUILD | component-builder → code-reviewer → silent-failure-hunter (if error handling) → integration-verifier |
| review, audit, check, analyze, assess | REVIEW | code-reviewer |
| error handling, audit errors, catch blocks, silent failures | REVIEW (error focus) | silent-failure-hunter |
| debug, fix, error, bug, troubleshoot, broken | DEBUG | bug-investigator → code-reviewer → integration-verifier |
| plan, design, architect, roadmap, strategy | PLAN | planner |
When user wants to build/implement/create something:
LOAD MEMORY - Load ALL 3 files:
CLARIFY REQUIREMENTS - CRITICAL: DO NOT SKIP
Invoke component-builder - Uses TDD cycle (RED → GREEN → REFACTOR)
Invoke code-reviewer - Reviews the built code
Invoke silent-failure-hunter - (if error handling code) Audits error handling
Invoke integration-verifier - Verifies end-to-end functionality
UPDATE MEMORY - Save learnings, decisions, and progress
When user wants to review/audit code:
When user encounters errors/bugs:
When user wants to plan/design:
Use Task tool to invoke agents:
Task(subagent_type="cc10x:component-builder", prompt="Build [component description]")
Task(subagent_type="cc10x:code-reviewer", prompt="Review [code/PR description]")
Task(subagent_type="cc10x:bug-investigator", prompt="Debug [error description]")
Task(subagent_type="cc10x:integration-verifier", prompt="Verify [integration description]")
Task(subagent_type="cc10x:planner", prompt="Plan [feature description]")
Task(subagent_type="cc10x:silent-failure-hunter", prompt="Audit error handling in [description]")
Always run agents sequentially when outputs depend on previous steps.
After workflow completion, provide:
## Workflow Summary
- **Intent**: [BUILD/REVIEW/DEBUG/PLAN]
- **Agents Used**: [list]
- **Result**: [success/issues found]
- **Memory Updated**: Yes/No
## Key Outcomes
[Summary of what was accomplished]
## Learnings & Decisions
[What was learned, decisions made and why]
## Next Steps
[If any follow-up needed]
Workflow is NOT complete until BOTH checklists pass.
This skill should be used when the user asks to "create a slash command", "add a command", "write a custom command", "define command arguments", "use command frontmatter", "organize commands", "create command with file references", "interactive command", "use AskUserQuestion in command", or needs guidance on slash command structure, YAML frontmatter fields, dynamic arguments, bash execution in commands, user interaction patterns, or command development best practices for Claude Code.
This skill should be used when the user asks to "create an agent", "add an agent", "write a subagent", "agent frontmatter", "when to use description", "agent examples", "agent tools", "agent colors", "autonomous agent", or needs guidance on agent structure, system prompts, triggering conditions, or agent development best practices for Claude Code plugins.
This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification). Provides comprehensive guidance for creating and implementing Claude Code plugin hooks with focus on advanced prompt-based hooks API.