intent-detection

Detect user intent and suggest matching /rb: commands.

7|Updated Mar 22, 2026
One-click install
npx skills add https://github.com/slbug/claude-ruby-grape-rails --skill intent-detection-slbug
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: intent-detection
Source: https://github.com/slbug/claude-ruby-grape-rails/tree/main/plugins/ruby-grape-rails/skills/intent-detection
Command: npx skills add https://github.com/slbug/claude-ruby-grape-rails --skill intent-detection-slbug

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

When users describe a task without a /rb: command, the system cannot automatically choose the correct workflow, leading to manual clarification or misrouting.

Core Features & Use Cases

  • Intent analysis using keyword and context signals to map user messages to specific workflows.
  • Routing table that links detected intents such as bugs, new features, code reviews, or performance checks to the appropriate /rb: command.
  • Dynamic suggestion modes (Lock, Fork, Trivial) that provide a single command, several options, or skip suggestion for simple edits.
  • Integration with session start hooks and other workflow skills to ensure seamless routing at the beginning of a conversation.

Quick Start

Tell the assistant what you want to achieve, for example “Add a real‑time comment notification”, and it will propose the appropriate /rb: command.

Frequently Asked Questions about intent-detection

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automatically route user messages to the correct workflow command in Ruby?

Automatic workflow routing detects user intent through keyword and context analysis to map messages to specific commands. It matches phrases describing bugs or features to a routing table, producing a single command suggestion or multiple options for the system to execute.

What is intent detection for command suggestion in a Grape API workflow?

Intent detection for command suggestion analyzes initial user messages lacking explicit commands to identify task types like bug reports or code reviews. It applies keyword matching and context analysis to map the request to the appropriate workflow command.

How do I handle user requests that describe a task but do not specify a command?

To handle task descriptions without commands, apply a routing table with dynamic suggestion modes. You can lock to a single command, fork into several options for complex requests, or skip suggestion entirely for trivial edits, preventing manual clarification and misrouting.

Can I integrate intent analysis with session start hooks for Ruby workflow routing?

Yes, intent analysis integrates with session start hooks and other workflow skills to ensure seamless routing at the beginning of a conversation. This captures initial messages immediately, mapping user intent to the correct command before any manual input is required.

What are the limitations of using keyword matching for workflow routing?

Keyword matching limitations include dependency on clear initial messages to accurately detect intent. If a user message lacks specific context or task signals, the system may fail to map the request correctly, requiring manual clarification or resulting in workflow misrouting.

Does intent detection work for both bug reports and new feature requests?

Yes, intent detection works for both bug reports and new feature requests by using a routing table that links detected intents to specific workflows. It analyzes context signals to differentiate between tasks, proposing the appropriate command for each specific scenario.