Activation Contract
Create a skill when:
- A pattern is used repeatedly and AI needs guidance
- Project-specific conventions differ from generic best practices
- Complex workflows need step-by-step instructions
- Decision trees help AI choose the right approach
Do not create a skill when the pattern is trivial, one-off, or better served by normal documentation.
Hard Rules
- When working in this repo, first follow
docs/skill-style-guide.md as the normative source before creating or updating skills.
- If that guide is unavailable, use the compact inline rules below.
- A skill is a runtime instruction contract for an LLM, not human documentation.
- Do not add a
Keywords section; preserve essential trigger words in description.
- References must point to local files.
- Keep the skill body concise: target 180–450 tokens, recommended max 700, hard max 1000.
Decision Gates
| Need |
Action |
| Code templates, schemas, fixtures, generated examples |
Put them in assets/ |
| Conceptual detail, edge cases, existing docs |
Put local links in references/ |
Long explanation in SKILL.md |
Move it to a supporting file |
| Multiple meaningful paths |
Add a compact decision table |
Execution Steps
- Check whether
docs/skill-style-guide.md exists; if it does, apply it before the inline fallback rules.
- Confirm the skill does not already exist and the pattern is reusable.
- Create or update
skills/{skill-name}/SKILL.md using this required structure:
skills/{skill-name}/
├── SKILL.md # Required - main skill file
├── assets/ # Optional - templates, schemas, examples
│ ├── template.py
│ └── schema.json
└── references/ # Optional - links to local docs
└── docs.md # Points to docs/developer-guide/*.mdx
- Use this frontmatter shape:
---
name: {skill-name}
description: "Trigger: {essential trigger words users or agents will say}. {What this skill does}."
license: Apache-2.0
metadata:
author: gentleman-programming
version: "1.0"
---
- Write sections in this order: Activation Contract, Hard Rules, Decision Gates, Execution Steps, Output Contract, References.
- Register the skill in
AGENTS.md when it is a project skill.
Inline Fallback Rules
description MUST be one physical line, quoted, YAML-safe, and include essential trigger words first.
description SHOULD be <=160 chars and MUST be <=250 chars.
- Frontmatter MUST include
name, description, license, metadata.author, and metadata.version.
- Use imperative instructions, not tutorials or background prose.
- Put supporting material in
assets/ or references/, not the main skill body.
Good:
description: "Trigger: Jira task, ticket, issue, task creation. Create Jira tasks in the team format."
Bad:
description: >
Create Jira tasks in the team format.
Trigger: Jira task, ticket, issue, or task creation.
Keywords: jira, task
Output Contract
Return:
- Files created or modified.
- Whether the repo style guide or inline fallback rules were used.
- Any AGENTS.md registration change.
- Any supporting files added under
assets/ or references/.
References
docs/skill-style-guide.md — normative LLM-first skill style guide for this repo.
1---2name: skill-creator3description: 'Trigger: new skills, agent instructions, documenting AI usage patterns.4 Create LLM-first skills with valid frontmatter.'5license: Apache-2.06metadata:7 source: https://skillmd.com/skills/jantoniofc/skill-creator8 author: gentleman-programming9 version: '1.0'10---1112## Activation Contract1314Create a skill when:15- A pattern is used repeatedly and AI needs guidance16- Project-specific conventions differ from generic best practices17- Complex workflows need step-by-step instructions18- Decision trees help AI choose the right approach1920Do not create a skill when the pattern is trivial, one-off, or better served by normal documentation.2122## Hard Rules2324- When working in this repo, first follow `docs/skill-style-guide.md` as the normative source before creating or updating skills.25- If that guide is unavailable, use the compact inline rules below.26- A skill is a runtime instruction contract for an LLM, not human documentation.27- Do not add a `Keywords` section; preserve essential trigger words in `description`.28- References must point to local files.29- Keep the skill body concise: target 180–450 tokens, recommended max 700, hard max 1000.3031## Decision Gates3233| Need | Action |34|------|--------|35| Code templates, schemas, fixtures, generated examples | Put them in `assets/` |36| Conceptual detail, edge cases, existing docs | Put local links in `references/` |37| Long explanation in `SKILL.md` | Move it to a supporting file |38| Multiple meaningful paths | Add a compact decision table |3940## Execution Steps41421. Check whether `docs/skill-style-guide.md` exists; if it does, apply it before the inline fallback rules.432. Confirm the skill does not already exist and the pattern is reusable.443. Create or update `skills/{skill-name}/SKILL.md` using this required structure:4546```47skills/{skill-name}/48├── SKILL.md # Required - main skill file49├── assets/ # Optional - templates, schemas, examples50│ ├── template.py51│ └── schema.json52└── references/ # Optional - links to local docs53 └── docs.md # Points to docs/developer-guide/*.mdx54```554. Use this frontmatter shape:5657```markdown58---59name: {skill-name}60description: "Trigger: {essential trigger words users or agents will say}. {What this skill does}."61license: Apache-2.062metadata:63 author: gentleman-programming64 version: "1.0"65---66```675. Write sections in this order: Activation Contract, Hard Rules, Decision Gates, Execution Steps, Output Contract, References.686. Register the skill in `AGENTS.md` when it is a project skill.6970## Inline Fallback Rules7172- `description` MUST be one physical line, quoted, YAML-safe, and include essential trigger words first.73- `description` SHOULD be <=160 chars and MUST be <=250 chars.74- Frontmatter MUST include `name`, `description`, `license`, `metadata.author`, and `metadata.version`.75- Use imperative instructions, not tutorials or background prose.76- Put supporting material in `assets/` or `references/`, not the main skill body.7778Good:7980```yaml81description: "Trigger: Jira task, ticket, issue, task creation. Create Jira tasks in the team format."82```8384Bad:8586```yaml87description: >88 Create Jira tasks in the team format.89 Trigger: Jira task, ticket, issue, or task creation.90Keywords: jira, task91```9293## Output Contract9495Return:96- Files created or modified.97- Whether the repo style guide or inline fallback rules were used.98- Any AGENTS.md registration change.99- Any supporting files added under `assets/` or `references/`.100101## References102103- `docs/skill-style-guide.md` — normative LLM-first skill style guide for this repo.