command-routing

Solid

Use when the user invokes a slash command like /create-pr, /commit, /fix-ci, or pastes command file content — routes to the right command with context inference and GitHub API patterns.

AI & Automation 10 stars 1 forks Updated today MIT

Install

View on GitHub

Quality Score: 82/100

Stars 20%
35
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# commands ## When to use Triggered when user invokes a slash command. The `slash-command-routing-policy` rule (always loaded) handles core behavior — this skill adds context inference and GitHub API patterns. ## Procedure: Execute a command 1. **Match command** — Find the command file in `.augment/commands/` or `agents/overrides/commands/`. 2. **Infer inputs** — Before asking the user, try to infer values (see table below). 2b. **List a matching playbook in the preamble.** If a playbook's `task` matches the command's name, name it before the steps run — it is this repository's own procedure and outranks a shipped one ([`playbook-precedence`](../../rules/playbook-precedence.md)). 3. **Execute steps** — Follow the command steps in exact order. 4. **Verify output** — Confirm expected result was produced (commit, PR, file change, etc.). Before asking the user for input, try to infer it: | Input needed | How to infer | |---|---| | Jira ticket | Extract from branch name (`fix/DEV-1234-...` → `DEV-1234`) | | Default branch | `git symbolic-ref refs/remotes/origin/HEAD` or assume `main` | | Project type | Check for `artisan` (Laravel) or `composer.json` (Composer) | | Module name | Extract from current working directory or file path | | Current branch | `git branch --show-current` | Only ask the user if inference fails and the command cannot proceed without the value. ## Command locations | Location | Scope | |---|---| | `.augment/commands/` | Shared commands (work acr...

Details

Author
event4u-app
Repository
event4u-app/agent-config
Created
5 months ago
Last Updated
today
Language
TypeScript
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category