nl-router
Route natural language requests to appropriate skills and workflows by parsing intent and matching trigger patterns
What this skill does
# nl-router
Route natural language requests to appropriate skills and workflows.
## Triggers
Alternate expressions and non-obvious activations (primary phrases are matched automatically from the skill description):
- "route this" → explicit NL routing request
- "what skill handles [X]" → skill discovery
## Purpose
This skill interprets natural language requests and routes them to the appropriate skills or workflows by:
- Parsing user intent from natural language
- Matching to available skills and commands
- Handling ambiguous requests with clarification
- Suggesting relevant actions
- Learning from routing patterns
## Behavior
When triggered, this skill:
1. **Parses user intent**:
- Extract action verbs
- Identify objects/targets
- Detect qualifiers and constraints
- Recognize context from conversation
2. **Matches to skills**:
- Search skill trigger patterns
- Score match confidence
- Consider context relevance
3. **Routes request**:
- High confidence: Route directly
- Medium confidence: Confirm with user
- Low confidence: Offer options
- No match: Suggest alternatives
4. **Handles follow-ups**:
- Track routing context
- Enable corrections
- Learn from feedback
## Routing Patterns
### SDLC Workflows
```yaml
sdlc_patterns:
phase_transitions:
patterns:
- "transition to {phase}"
- "move to {phase}"
- "start {phase}"
- "begin {phase}"
- "ready for {phase}"
routes_to: flow-{from}-to-{to}
extract: [from_phase, to_phase]
gate_checks:
patterns:
- "check gate"
- "can we transition"
- "ready for {phase}"
- "validate {gate}"
- "gate check"
routes_to: gate-evaluation
extract: [gate_name, phase]
project_status:
patterns:
- "where are we"
- "what's next"
- "project status"
- "current phase"
- "status update"
routes_to: project-awareness
action: status_report
risk_management:
patterns:
- "update risks"
- "risk review"
- "new risk"
- "mitigate {risk}"
routes_to: risk-cycle
extract: [risk_id, action]
security_review:
patterns:
- "security review"
- "run security"
- "threat model"
- "security scan"
routes_to: security-assessment
extract: [scope]
```
### Artifact Operations
```yaml
artifact_patterns:
create:
patterns:
- "create {artifact}"
- "generate {artifact}"
- "new {artifact}"
- "draft {artifact}"
routes_to: artifact-orchestration
extract: [artifact_type]
review:
patterns:
- "review {artifact}"
- "check {artifact}"
- "validate {artifact}"
routes_to: artifact_type_specific_review
extract: [artifact_type]
trace:
patterns:
- "trace {requirement}"
- "what implements {id}"
- "coverage for {id}"
routes_to: traceability-check
extract: [requirement_id]
```
### Marketing Workflows
```yaml
marketing_patterns:
brand_review:
patterns:
- "brand review"
- "check brand compliance"
- "is this on-brand"
- "brand audit"
routes_to: brand-compliance
extract: [asset_path]
approval:
patterns:
- "submit for approval"
- "approval workflow"
- "get sign-off"
- "approval status"
routes_to: approval-workflow
extract: [asset_id]
performance:
patterns:
- "how are we doing"
- "marketing report"
- "performance summary"
- "campaign results"
routes_to: performance-digest
extract: [period, channel]
competitive:
patterns:
- "competitor analysis"
- "what are competitors doing"
- "competitive landscape"
routes_to: competitive-intel
extract: [competitor_name]
```
### Research & Investigation
```yaml
research_patterns:
lookup:
patterns:
- "look up {topic}"
- "what does {thing} do"
- "how does {thing} work"
- "find documentation for {topic}"
- "search for {query}"
- "check the docs for {topic}"
- "read about {topic}"
- "research {topic}"
routes_to: research-investigation
extract: [topic, scope]
rule_activation: research-before-decision
codebase_exploration:
patterns:
- "how is {feature} implemented"
- "where is {thing} defined"
- "find {pattern} in the codebase"
- "what pattern does this project use for {thing}"
- "show me examples of {pattern}"
routes_to: codebase-exploration
extract: [feature, pattern]
rule_activation: research-before-decision
error_investigation:
patterns:
- "why is {thing} failing"
- "investigate {error}"
- "debug {issue}"
- "what's causing {problem}"
- "root cause of {error}"
routes_to: error-diagnosis
extract: [error, context]
rule_activation: research-before-decision
```
### Planning & Strategy
```yaml
planning_patterns:
approach_planning:
patterns:
- "plan how to {task}"
- "design approach for {task}"
- "think through {task}"
- "strategize {task}"
- "how should I approach {task}"
- "what's the best way to {task}"
routes_to: approach-planning
extract: [task, constraints]
implementation_planning:
patterns:
- "plan the implementation of {feature}"
- "break down {task}"
- "outline the steps for {task}"
- "what do I need to do for {task}"
routes_to: implementation-planning
extract: [feature, scope]
decision_support:
patterns:
- "help me decide between {options}"
- "compare {a} and {b}"
- "trade-off analysis for {topic}"
- "which should I choose"
- "pros and cons of {approach}"
routes_to: decision-support
extract: [decision_topic, options]
```
### Clarification & Recovery
```yaml
clarification_patterns:
re_read:
patterns:
- "re-read my instructions"
- "that's not what I asked"
- "I said {correction}"
- "go back and read what I wrote"
- "you missed {thing}"
- "I already told you {thing}"
routes_to: instruction-reparse
rule_activation: instruction-comprehension
priority: high
confusion:
patterns:
- "I'm confused about {topic}"
- "can you explain {thing}"
- "what do you mean by {thing}"
- "I don't understand {thing}"
routes_to: clarification
extract: [topic]
correction:
patterns:
- "no, I meant {correction}"
- "not {wrong}, use {right}"
- "change that to {correction}"
- "that's wrong, it should be {correction}"
routes_to: instruction-correction
rule_activation: instruction-comprehension
priority: high
extract: [correction]
```
### Utility Operations
```yaml
utility_patterns:
decision:
patterns:
- "help me decide"
- "compare options"
- "trade-off analysis"
- "which should I choose"
routes_to: decision-support
extract: [decision_topic]
test_coverage:
patterns:
- "test coverage"
- "what's not tested"
- "coverage report"
routes_to: test-coverage
extract: [scope]
incident:
patterns:
- "production issue"
- "system down"
- "incident"
- "P0"
- "SEV1"
routes_to: incident-triage
priority: urgent
config:
patterns:
- "validate config"
- "check setup"
- "config issues"
routes_to: config-validator
```
## Intent Classification
### Action Verbs
```yaml
action_verbs:
create:
words: [create, generate, new, draft, make, build, write]
intent: creation
review:
words: [review, check, validate, verify, audit, assess]
intent: validation
update:
words: [update, change, modify, edit, revise]
intent: modification
delete:
words: [delete, remove, deprecate, archive]
intent: removal
analyze:
words: [analyze, understand, explain, investigate, explore]
intent: anaRelated in General
modeling-omnistudio-epc-catalog
IncludedSalesforce Industries CME EPC product-modeling skill for Product2-based catalog creation. Use when creating EPC products, configuring product attributes, building offer bundles with Product Child Items, or reviewing EPC DataPack JSON metadata for product catalog changes. TRIGGER when: user creates or updates Product2 EPC records, AttributeAssignment payloads, AttributeMetadata/AttributeDefaultValues, Offer bundles, or ProductChildItem relationships. DO NOT TRIGGER when: designing OmniScripts/FlexCards/Integration Procedures (use building-omnistudio-omniscript, building-omnistudio-flexcard, or building-omnistudio-integration-procedure), implementing Apex business logic (use generating-apex), or troubleshooting deployment pipelines (use deploying-metadata).
relationship-science-coach
IncludedUse this skill for direct, practical adult relationship coaching: couples conflict, repair, trust, marriage, dating, flirting, attachment patterns, emotional connection, sex, desire differences, eroticism, kink negotiation, affection, love languages, breakups, and long-term passion. Draw on Gottman, EFT and Hold Me Tight, attachment science, modern sex research, Perel, Nagoski, Kerner, Schnarch, Love and Stosny, and flexible love-language tools. Be concrete and low-hedge. Redirect only for imminent danger, abuse, coercive control, minors, non-consent, self-harm, stalking, or medical/legal/psychiatric decisions.
building-sf-integrations
IncludedSalesforce integration architecture and runtime plumbing with 120-point scoring. Use this skill to set up Named Credentials, External Credentials, External Services, REST/SOAP callout patterns, Platform Events, and Change Data Capture. TRIGGER when: user sets up Named Credentials, External Services, REST/SOAP callouts, Platform Events, CDC, or touches .namedCredential-meta.xml files. DO NOT TRIGGER when: Connected App/OAuth config (use configuring-connected-apps), Apex-only logic (use generating-apex), or data import/export (use handling-sf-data).
venue-templates
IncludedAccess comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.
let-fate-decide
IncludedDraws the 12 Houses of the Zodiac Tarot spread to inject entropy into planning when prompts are vague, ambiguous, or casually delegated. Interprets the spread to guide next steps. Use when the user says 'let fate decide', 'YOLO', 'whatever', 'idk', or other nonchalant phrases, makes Yu-Gi-Oh references, or when you are about to arbitrarily pick between multiple reasonable approaches. Prefer over ask-questions-if-underspecified when the user's tone is casual or playful rather than precision-seeking.
net-ops
IncludedCross-platform network troubleshooting (Windows, macOS, Linux) via local or remote shell. Use for: DNS broken, can't resolve hostnames, nslookup/dig works but apps fail, NRPT, WFP, scutil, /etc/resolver, systemd-resolved, /etc/resolv.conf, NetworkManager, VPN DNS leak residue (ProtonVPN/Mullvad/WireGuard/AnyConnect), AV/firewall blocking DNS or DoH, Tailscale DNS interaction, intermittent connectivity, remote diagnostics over SSH.