active/dev.shortcuts/SKILL.md
Route any request containing literal `trigger:` before ordinary skill dispatch. Read at thread start and whenever `trigger` appears.
npx skillsauth add kevinslin/skills dev.shortcutsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
trigger: token.Using [shortcut name].Shortcuts are a small self-contained workflow that can be triggered via trigger:<shortcut-name>, for example trigger:merge-pr.
ALWAYS use the shortcut when user mentions trigger:<shortcut>. Read the shortcut file and follow literally.
Shortcuts can be in the following locations:
./references/shortcuts/ directory next to this SKILL.md (runtime mirror is typically ~/.codex/skills/dev.shortcuts/references/shortcuts/).## Shortcuts. Shortcut is header text. Can be followed by a space with argument hints enclosed in [arg_name]
Examples## Shortcuts
### Foo [arg1] [arg2]
Invokes a foo with [arg1] and [arg2]
This section is an inline index of the shortcut files bundled in ./references/shortcuts/.
The file under ./references/shortcuts/[shortcut].md remains the executable source of truth.
| Shortcut | Summary |
| --- | --- |
| auto-merge | Run push-pr, then merge-pr-basic. |
| check-ci | Watch PR checks and classify Buildkite failures before reporting status. |
| checkout-worktree | Use arbor checkout from the main checkout with an explicit worktree path, then verify cleanup. |
| close | Close the tracked task, then archive its Codex thread. |
| commit-code | Run the canonical precommit flow, commit cleanly, and update the PR if one exists. |
| create-spec | Create a spec with specy, then run looped dev.review and spec-simulate passes on it. |
| fix-pr-conflict | Rebase the current PR branch onto its base branch, resolve conflicts, and force-push. |
| fix-pr | Check out a PR, address review feedback, resolve review threads, and rerun CI. |
| inline-shortcut | Inline one or more shortcut definitions into another skill. |
| loop | Run review instructions with a reviewer subagent and a fixer subagent until major findings are cleared or a blocker stops progress. |
| merge-pr-basic | Merge the current remote PR after confirming the branch is committed and checks passed. |
| merge-pr | Merge the remote PR when one exists, otherwise merge the local branch into main, then reconcile main and clean up the merged branch. |
| plan-and-review | Draft a feature spec with specy, review it with dev.review, then fold accepted feedback back into the spec. |
| prepare | Stash local changes, switch to local master or main, and pull latest from origin. |
| precommit-process | Run the canonical pre-commit review and validation workflow before committing. |
| promote-shortcut-to-skill | Convert a shortcut into a standalone skill and replace old shortcut references. |
| push-code | Commit if needed, then push the current branch using repo-specific push guardrails. |
| push-pr | Commit if needed, push the branch, create a PR, then watch and fix CI as needed. |
| rebase-and-fix | Rebase the current branch onto a provided branch, fix PR conflicts, push, and check CI. |
| review | Create a new worktree for a PR link, run dev.review, and add a flow doc for the PR logic. |
| review-spec | Run looped dev.review and spec-simulate passes against an existing spec. |
| sync-branch-push | Rebase the current branch onto the remote default branch from git remote show, then force-push upstream with lease. |
| sync-branch | Rebase the current branch onto the remote default branch from git remote show and resolve conflicts if needed. |
Keep the inline shortcut index above synchronized with the bundled shortcut files.
Whenever a file in ./references/shortcuts/ is added, removed, renamed, or materially changed, update the Available Bundled Shortcuts section in this SKILL.md in the same change.
This sync rule applies to:
SKILL.md that mention affected shortcutsOnly trigger:<shortcut-name> invokes a shortcut. When present, resolve it in this order:
./references/shortcuts/[shortcut].md## Shortcuts in active instructionsIf the user asks to promote a shortcut to a skill, use trigger:promote-shortcut-to-skill.
If a shortcut doesn’t resolve, quickly scan the most relevant skill for similarly-named shortcuts before doing broader repo-wide searches.
This involves using multiple shortcuts in sequence. Shortcut chaining is denoted by [shortcut1] -> [shortcut2]
Example:
trigger:precommit-process -> trigger:create-pr
development
Create, rename, audit, or close a tracked Codex task whose turns and status are persisted in the local thread ledger. Only use when directly invoked.
testing
Manage Git preflight, branch and worktree creation, and completed-work cleanup. Use when explicitly invoked.
databases
Automatically use for durable knowledge, configured project-context lookup, and schema-backed artifact layouts.
content-media
Create, update, or optimize skills and SKILL.md content.