surfertas/claude-react-rtk/intent-detection
Claude Code and agent skill by surfertas/claude-react-rtk
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Checking that the SKILL.md file is still in the repository.
Detect user intent from their first message and suggest the appropriate /rx: workflow command. Loaded automatically on session start.
Install
npx vskill@latest install surfertas/claude-react-rtk/intent-detectionSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as surfertas/claude-react-rtk/intent-detection.
Intent Detection -- Workflow Routing
When user describes work WITHOUT specifying a /rx: command, analyze their intent and suggest the appropriate workflow BEFORE starting work.
Routing Table
| Signal | Detected Intent | Suggest | |
|---|---|---|---|
| "bug", "error", "crash", "failing", "broken", stack trace | Bug investigation | /rx:investigate | |
| "add", "implement", "build", "create" + multi-step | New feature | /rx:plan | |
| "review", "check", "audit" code | Code review | /rx:review | |
| "fix" + small/specific scope | Quick fix | handle directly or /rx:quick | |
| "refactor", "clean up", "improve" | Refactoring | /rx:plan (needs scope) | |
| "research", "how to", "what's the best" | Research | /rx:research | |
| "evaluate", "compare", "library", "should we use" | Library evaluation | /rx:research | |
| "test", "spec", "coverage" | Testing | handle directly or /rx:plan | |
| Describes 1-2 file changes, < 50 lines | Small task | handle directly | |
| "performance", "slow", "re-render", "bundle size" | Performance | /rx:rerender-check or /rx:audit | |
| "design", "tokens", "spacing", "colors", "theme" | Design system | /rx:design | |
| "trace", "render tree", "prop flow", "why re-renders" | Component tracing | /rx:trace | |
| "circular", "import", "dead code", "coupling" | Boundary analysis | /rx:boundaries | |
| "tech debt", "TODO", "outdated", "deprecated" | Tech debt | /rx:techdebt | |
| "document", "jsdoc", "readme", "adr" | Documentation | /rx:document | |
| "challenge", "stress test", "edge case" | Adversarial review | /rx:challenge | |
| "that worked", "fixed it", "problem solved" | Knowledge capture | /rx:compound | |
| "enhance plan", "more detail", "deepen" | Plan enhancement | /rx:plan --existing | |
| "triage", "which findings", "prioritize fixes" | Finding triage | /rx:triage | |
| "props audit", "state location", "effect deps" | Props audit | /rx:props-audit | |
| "deploy", "release", "production" | Pre-deploy | /rx:verify |
Behavior
- Read user's first message
- Match against routing table (use keyword + context signals, not exact match)
- If match found with multi-step workflow: "This looks like [intent]. I'd suggest
[command]-- want me to run it, or should I just dive in?" - If trivial task (typo, single-line fix, config change): skip suggestion, just do it
- If user already specified a
/rx:command: follow it, do not re-suggest - NEVER block the user -- suggestion only, not mandatory
Confidence Signals
High confidence (suggest immediately):
- Stack trace or error message pasted ->
/rx:investigate - "Add [feature] with [multiple components]" ->
/rx:plan - "Review my changes" or "check this code" ->
/rx:review - "Why does [component] re-render" ->
/rx:trace - "Set up design tokens" or "initialize design system" ->
/rx:design init
Medium confidence (suggest with caveat):
- "Fix [thing]" -- could be quick or complex, suggest based on scope description
- "Update [thing]" -- could be small edit or refactor
- "Improve performance" -- could be
/rx:rerender-checkor/rx:audit
Low confidence (just do it):
- Single file mentioned, clear change
- "Change X to Y"
- Configuration or dependency updates
Complexity Signals
When a task matches a workflow command, check complexity before suggesting:
Trivial signals (suggest /rx:quick or handle directly):
- Single file mentioned explicitly
- "exclude X from Y", "add X to config", "rename", "change X to Y"
- Problem + solution both stated ("X is wrong, change to Y")
- One-line fix described
Complex signals (suggest /rx:plan or /rx:investigate):
- 3+ modules or files mentioned
- "intermittent", "race condition", "sometimes", "random"
- Stack trace with 5+ frames
- "across", "all", "every" (scope indicators)
- Multiple state domains involved (auth + API + UI)
Override rule: If user invokes /rx:full but task matches trivial signals: "This looks like a quick fix. Want /rx:quick instead, or stick with the full cycle?"
Iron Laws
- NEVER block on suggestion -- If user starts explaining, just do the work
- One suggestion max -- Do not re-suggest if user ignores first suggestion
- Commands are shortcuts, not gates -- All work can be done without commands
Integration
This skill is consulted at session start. It works alongside:
- SessionStart hooks (show plugin loaded message, check for resumable work)
- CLAUDE.md routing instructions (passive reference)
- Individual workflow skills (activated by commands)
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/react-rtk/skills/intent-detection/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Extension points
hookPre/post lifecycle hooks
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/surfertas/claude-react-rtk/intent-detection)