Skip to content
Back to skills

Smart Detection

ASecurity

Automatic workflow suggestion and utility agent routing based on prompt analysis. Trigger keywords: auto-detect, intent, suggest, trigger, routing, workflow detection, utility agents, prompt analysis, smart routing

  • 10 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added February 10, 2026
developmentgosqlreactrailsdebuggingrefactoringgitdocumentation

Works with

  • cli

Security analysis

A100/100

Scanned February 12, 2026

npx -y skills add Kaakati/rails-enterprise-dev --skill smart-detection --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Smart Detection?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Smart Detection
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/kaakati-smart-detection/badge)](https://www.skillsdirectory.com/skills/kaakati-smart-detection)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: Smart Intent Detection
description: "Automatic workflow suggestion and utility agent routing based on prompt analysis. Trigger keywords: auto-detect, intent, suggest, trigger, routing, workflow detection, utility agents, prompt analysis, smart routing"
version: 1.0.0
---

# Smart Intent Detection

The ReAcTree plugin includes smart detection that analyzes your prompts and suggests appropriate workflows or utility agents automatically.

## How It Works

When you type a prompt, the system:

1. **Checks configuration** - Respects your enabled/disabled settings
2. **Filters noise** - Skips simple questions and explicit commands
3. **Detects utility intent** - Routes to specialized agents for file/code/git/log tasks
4. **Detects workflow intent** - Suggests feature/debug/refactor workflows
5. **Outputs suggestion** - Shows helpful message with recommended action

## Utility Agent Routing

### file-finder
**Triggers:** "find files", "where is file", "list directory", "show folder"

Fast file discovery using Glob and Grep:
- Find files by pattern (`**/*.rb`, `app/models/*.rb`)
- Find files by name or content
- List directory structure

### code-line-finder
**Triggers:** "where is defined", "find method", "find usages", "who calls"

Precise code location using LSP:
- Find method/class definitions with line numbers
- Find all usages and references
- Go to definition

### git-diff-analyzer
**Triggers:** "what changed", "show diff", "git blame", "commit history"

Git change analysis:
- Analyze staged/unstaged changes
- Compare branches
- Blame and history

### log-analyzer
**Triggers:** "show log", "development.log", "errors in log", "slow queries"

Rails log parsing:
- Parse development.log/production.log
- Find errors and stack traces
- Identify slow SQL queries

## Workflow Detection

### Feature Development
**Triggers:** implement, build, create, add, develop, user story

Suggests:
- `/reactree-dev` - Full parallel workflow
- `/reactree-feature` - Feature-driven with user stories

Strong indicators: User story format ("As a user, I want...")

### Debugging
**Triggers:** fix, debug, error, bug, not working, troubleshoot

Suggests:
- `/reactree-debug` - Systematic debugging workflow

Strong indicators: Error types (NoMethodError), stack traces, line numbers

### Refactoring
**Triggers:** refactor, cleanup, optimize, restructure, improve

Suggests:
- `/reactree-dev` - With refactor focus and test preservation

Strong indicators: "code smell", "technical debt", "decouple"

### TDD Mode
**Triggers:** test-first, TDD, with tests, ensure coverage

Adds TDD emphasis to feature suggestions.

## Configuration

Edit `.claude/reactree-rails-dev.local.md`:

```yaml
---
smart_detection_enabled: true  # Enable/disable
detection_mode: suggest        # suggest | inject | disabled
annoyance_threshold: medium    # low | medium | high
use_claude_analysis: true      # Use Claude CLI for intelligent intent analysis
---
```

## Detection Modes

### suggest (Default)
Shows a suggestion message. Non-intrusive - you can ignore and proceed.

### inject
Automatically activates the workflow with context injection.

### disabled
Turns off smart detection entirely. Use commands manually.

## Annoyance Thresholds

### low
Only triggers for very explicit keywords:
- "implement", "build", "create"
- "fix", "debug"
- "refactor"

### medium (Default)
Skips:
- Simple questions (what, how, why, etc.)
- Short prompts (<5 words)
- Informational requests

### high
Triggers for most Rails-related prompts with relevant keywords.

## When Detection Skips

- Commands already using `/reactree-*`, `/rails-*`
- Simple questions without action verbs
- Very short prompts (<5 words)
- Non-Rails context (no Rails keywords, not in Rails project)
- Informational/documentation requests

## Tips

1. **Be explicit** - "Implement user authentication" triggers better than "auth stuff"
2. **Include context** - Mention models, controllers, services for higher confidence
3. **Use keywords** - "fix", "build", "refactor" are strong signals
4. **User stories work** - "As a user, I want to..." strongly triggers feature mode
5. **Utility agents** - Ask for files/code/diffs/logs to trigger specialized agents

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.