Core Pattern
The Skill Trigger Matrix
The most powerful section of a global CLAUDE.md is the trigger matrix — a lookup table that maps natural language to skill invocations. When a user says something that matches a trigger, Claude invokes the skill instead of improvising.
## Skill Trigger Matrix
| Trigger Words | Skill |
|---|---|
| prime, boot, status, catch me up | /prime |
| chat, talk, explore, idea | /chat |
| spec, requirements, design, tasks | /spec |
| issue, bug, track this, new bug | /issue |
| debug, test failure, unexpected | /systematic-debugging |
| wrap, done for now, end of session | /wrap |
| portainer, docker, stack, proxy | /home-infrastructure |
| deploy verify, smoke test | /deploy-verify |
| release, version bump, patch | /release |
| pr resolve, review threads | /pr-resolve |
| remember, save, recall, forget | /remember |
| vault update, update docs | /vault-update |
This is a routing table, not a rule list. Claude sees the trigger words, matches them against the user's message, and invokes the skill via the Skill tool. The skill file contains the full workflow — CLAUDE.md doesn't need to describe the steps.
Why this works
- No duplication — workflow logic lives in one place (the skill), not scattered across CLAUDE.md
- Easy to extend — adding a new workflow means creating a skill file and adding one row to the matrix
- Discoverable — Claude can scan the table to find the right skill for any task
- Versioned — skills can be updated independently without touching CLAUDE.md