agentleFS
alirezarezvanialirezarezvani/claude-cto-team/skills/request-analyzer/SKILL.md

request-analyzer

Skill117 starsChanged 12 months agoMITView on GitHub

Analyze incoming user requests to detect intent, request type (design/validate/debug/document), complexity level, and identify vague requirements or buzzwords that need clarification. Use when cto-orchestrator receives new requests that need classification before routing to specialist agents.

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 6 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When receiving a new user request that needs classification

    line 12
  2. Distinctive:

    When determining which specialist agent should handle a request

    line 13
  3. Distinctive:

    When identifying if requirements are too vague to proceed

    line 14
  4. Distinctive:

    When detecting buzzwords that need to be challenged

    line 15
  5. Distinctive:

    Check for required context based on request type:

    line 61
  6. Distinctive:

    Next Step: Use clarification-protocol before routing

    line 117

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Request Analyzer

Classifies incoming requests to enable intelligent routing and identify clarification needs before delegating to specialist agents.

When to Use

  • When receiving a new user request that needs classification
  • When determining which specialist agent should handle a request
  • When identifying if requirements are too vague to proceed
  • When detecting buzzwords that need to be challenged

Analysis Framework

Step 1: Detect Intent

Classify the primary intent:

IntentIndicatorsRoute
Strategic"roadmap", "strategy", "plan", "prioritize", "decide"May need validation
Implementation"build", "create", "implement", "design", "architect"Design work
Debugging"fix", "broken", "error", "slow", "not working"Debug/investigate
Documentation"document", "explain", "describe", "write docs"Documentation

Step 2: Classify Request Type

TypeKey PhrasesPrimary Agent
Design"How should I build...", "What architecture...", "Design a system..."cto-architect
Validate"Is this plan solid?", "Thoughts on...", "Review my roadmap..."strategic-cto-mentor
Debug"Why is X slow?", "Fix this error...", "Troubleshoot..."debug-helper
Document"Write documentation for...", "Explain how..."docs-writer
Review"Review this code...", "Check for issues..."code-reviewer

Step 3: Assess Complexity

ComplexityCharacteristicsExecution Pattern
SingleClear scope, one domain, obvious routingDirect to one agent
SequentialMultiple phases, depends on previous outputAgent chain
ParallelIndependent domains, can run simultaneouslyMultiple agents in parallel

Step 4: Identify Vague Terms

Scan for buzzwords that require clarification. See buzzword-dictionary.md for the complete list.

Common red flags:

  • "AI-powered" - What specific AI capability?
  • "scale" - What numbers? From what to what?
  • "fast" / "soon" - What timeline exactly?
  • "simple" - Simple for whom? What constraints?
  • "modern" - What specific technologies?

Step 5: Detect Missing Context

Check for required context based on request type:

For Design Requests:

  • Expected user/traffic scale
  • Budget constraints
  • Timeline requirements
  • Team size and expertise
  • Existing infrastructure

For Validation Requests:

  • Current state or existing plan
  • Business goals and constraints
  • Timeline and resources
  • Success criteria

Output Format

Provide analysis in this structure:

## Request Analysis

**Intent**: [strategic | implementation | debugging | documentation]
**Type**: [design | validate | debug | document | review]
**Complexity**: [single | sequential | parallel]

### Vague Terms Detected
- "[term]" - needs clarification: [what to ask]

### Missing Context
- [missing information item]

### Suggested Routing
**Primary Agent**: [agent name]
**Rationale**: [why this agent]

### Clarification Needed
[yes/no] - [brief explanation]

### Recommended Next Step
[what to do next - clarify or delegate]

Examples

Example 1: Vague Request

User: "I want to add AI capabilities to my app"

Analysis:

  • Intent: Implementation
  • Type: Design
  • Complexity: Unknown (needs clarification)
  • Vague Terms: "AI capabilities" - What specific problem are we solving?
  • Missing Context: Scale, budget, timeline, team, existing stack
  • Clarification Needed: Yes
  • Next Step: Use clarification-protocol before routing

Example 2: Clear Design Request

User: "Design a real-time notification system for 100K users, using our existing PostgreSQL database and Node.js backend"

Analysis:

  • Intent: Implementation
  • Type: Design
  • Complexity: Single
  • Vague Terms: None
  • Missing Context: Timeline, budget (nice to have but not blocking)
  • Suggested Routing: cto-architect
  • Clarification Needed: No (can proceed with optional clarification)

Example 3: Validation Request

User: "Here's my Q2 roadmap - migrate to microservices, add real-time features, and launch mobile app. Thoughts?"

Analysis:

  • Intent: Strategic
  • Type: Validate
  • Complexity: Single
  • Vague Terms: None
  • Missing Context: Team size, current architecture state
  • Suggested Routing: strategic-cto-mentor
  • Clarification Needed: Mild (some context helpful but not blocking)

References

  • Classification Criteria - Detailed routing logic
  • Buzzword Dictionary - Common vague terms to challenge

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.