$npx -y skills add sordi-ai/skill-everything --skill _template<one-sentence trigger condition — when should this skill be loaded? Start with "Apply when ..." for consistency.>
| 1 | # Sub-Skill: [Name] |
| 2 | <!-- target: tokens_target above. Run `python tools/render_readme_table.py` to update README. --> |
| 3 | |
| 4 | **Purpose:** [1-2 sentences. What this sub-skill does and why it exists.] |
| 5 | |
| 6 | --- |
| 7 | |
| 8 | ## Rules |
| 9 | |
| 10 | ### [Category 1] |
| 11 | |
| 12 | 1. **[Rule name].** [Action directive — must start with Always, Never, Before, After, Prefer, Avoid, Use, Do, or Ensure.] |
| 13 | 2. **[Rule name].** [Action directive.] Reference: ERR-YYYY-NNN |
| 14 | 3. **[Rule name].** [Action directive.] |
| 15 | |
| 16 | ### [Category 2] |
| 17 | |
| 18 | 4. **[Rule name].** [Action directive.] |
| 19 | 5. **[Rule name].** [Action directive.] |
| 20 | |
| 21 | --- |
| 22 | |
| 23 | ## See also |
| 24 | |
| 25 | - `skills/code-quality/SKILL.md` (when this skill specialises a generic rule, link to it) |
| 26 | - `skills/error-log/SKILL.md` (errors that motivated rules in this skill) |
| 27 | |
| 28 | --- |
| 29 | |
| 30 | ## Notes |
| 31 | |
| 32 | - **Frontmatter is mandatory.** The CI validator (`tools/validate_rules.py`) will fail any sub-skill without a valid frontmatter against `schemas/skill-manifest.json`. |
| 33 | - **Action directives, not descriptions.** "SQL injection is dangerous" is a description; "Never concatenate user input directly into SQL queries; always use prepared statements" is an action directive. |
| 34 | - **`Reference: ERR-YYYY-NNN`** on every rule born out of a real observed mistake. |
| 35 | - **Token budget under 3000.** When exceeded, split into thematic sub-skills with `loads_after` chains. |