agent-loop-ext
Crash-resilient external agent loop with state persistence and CI/CD integration
Route natural language requests to appropriate skills and workflows by parsing intent and matching trigger patterns
$ npx -y skills add jmagly/aiwg --skill nl-router --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/nl-routerContext preview
The summary Claude sees to decide when to auto-load this skill.
Route natural language requests to appropriate skills and workflows by parsing intent and matching trigger patterns
namespace: aiwg name: nl-router platforms: [all] description: Route natural language requests to appropriate skills and workflows by parsing intent and matching trigger patterns
Route natural language requests to appropriate skills and workflows.
Alternate expressions and non-obvious activations (primary phrases are matched automatically from the skill description):
This skill interprets natural language requests and routes them to the appropriate skills or workflows by:
When triggered, this skill:
1. **Parses user intent**:
2. **Matches to skills**:
3. **Routes request**:
4. **Handles follow-ups**:
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_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_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_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-decisionplanning_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_tReusable project context and specialist workflows for the AI tools you already use. Plan software, coordinate specialist reviews, prepare campaigns, investigate incidents, organize research, curate media, and maintain operational knowledge.
Repo: jmagly/aiwg
Crash-resilient external agent loop with state persistence and CI/CD integration
Detect requests for iterative autonomous agent loops and route to the appropriate loop executor
Automatically execute tests when code-generating agents modify source files, enforcing the execute-before-return pattern
Enable agent loops to learn from similar past tasks and share patterns across loops
Query and manage the executable feedback debug memory
Execute tests on generated code and iterate until passing