home / skills / zpankz / mcp-skillset / analysis-router
This skill helps you analyze and debug routes by guiding security, performance, and architecture assessments across analysis tasks.
npx playbooks add skill zpankz/mcp-skillset --skill analysis-routerReview the files below or copy the command above to add this skill to your agents.
---
name: analysis-router
description: Routes analysis and debugging tasks. Triggers on analyze, debug, troubleshoot, review, audit, security, performance, optimize, investigate, trace.
---
# Analysis Router
Routes analysis, debugging, and review tasks to specialized skills.
## Subcategories
### Code Analysis
```yaml
triggers: [analyze, review, understand, trace, flow, structure]
skills:
- sc:analyze: Code quality, security, performance, architecture analysis
- systematic-debugging: Structured debugging approach
```
### Security Analysis
```yaml
triggers: [security, audit, vulnerability, injection, auth, permissions]
skills:
- dev:security:security-audit: Security vulnerability scanning
- dev:security:secure-prompts: Prompt injection defense
- dev:security:check-best-practices: Security best practices
```
### Performance Analysis
```yaml
triggers: [performance, optimize, bottleneck, profiling, memory, speed]
skills:
- sc:improve: Systematic improvements
- parallel-debug-orchestrator: Parallel debugging
```
### Architecture Analysis
```yaml
triggers: [architecture, design, patterns, refactor, structure]
skills:
- dev:architecture:explain-architecture-pattern: Pattern explanation
- sc:design: System design
```
## Routing Decision Tree
```
analysis request
│
├── Security focus?
│ ├── Audit? → security-audit
│ ├── Prompts? → secure-prompts
│ └── Best practices → check-best-practices
│
├── Performance focus?
│ ├── Debugging? → parallel-debug-orchestrator
│ └── Optimization → sc:improve
│
├── Architecture focus?
│ └── explain-architecture-pattern
│
└── General analysis?
├── Debugging? → systematic-debugging
└── Review → sc:analyze
```
## Managed Skills
| Skill | Purpose | Trigger |
|-------|---------|---------|
| sc:analyze | Code analysis | "analyze code", "review" |
| systematic-debugging | Structured debug | "debug", "troubleshoot" |
| parallel-debug-orchestrator | Parallel debug | "complex bug", "multiple issues" |
| security-audit | Security scan | "security audit", "vulnerabilities" |
| secure-prompts | Prompt security | "prompt injection", "secure prompts" |
| sc:improve | Improvements | "improve", "optimize" |
This skill routes analysis, debugging, and review requests to specialized capabilities based on intent and focus. It detects security, performance, architecture, and general code-analysis needs and forwards tasks to the appropriate sub-skill. The router simplifies triage so callers get targeted, expert responses without manual categorization.
The router inspects the incoming request for trigger keywords and a stated focus (security, performance, architecture, debugging, review). It follows a decision tree to select a managed skill such as security-audit, parallel-debug-orchestrator, explain-architecture-pattern, systematic-debugging, or sc:analyze. When ambiguity exists, it defaults to general analysis and can request clarification.
What happens if a request matches multiple focuses?
The router will prefer multi-skill orchestration or ask a clarifying question. If requested, it can run parallel routes (e.g., security and performance) to cover multiple angles.
Can I force a specific sub-skill?
Yes. Include the target skill name or an explicit instruction (e.g., "use security-audit") and the router will forward directly.