Claude
Skill
skill-creator
Trigger: new skills, agent instructions, documenting AI usage patterns. Create LLM-first skills with valid frontmatter.
Virus-scanned
Reviewed automatically before listing.
Download
gentleman-programming-gentle-ai-internal_assets_skills_skill-creator-d2e3443.zip · 3 KB
Install
skills CLI
npx skills add https://github.com/Gentleman-Programming/gentle-ai/tree/main/internal/assets/skills/skill-creator
Claude Code
claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install gentleman-programming-gentle-ai@llmmart
Git
git clone https://github.com/Gentleman-Programming/gentle-ai.git
The skills CLI installs just this skill, for any of its supported agents. Claude Code installs the whole gentleman-programming/gentle-ai collection as a plugin from our marketplace. Git is the plain clone.
Skill manifest
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.mdas the normative source before creating or updating skills. - For installed global skills, use
references/skill-style-guide.mdas the bundled local copy of that guide whendocs/skill-style-guide.mdis unavailable. - If neither guide is available, use the compact inline rules below.
- A skill is a runtime instruction contract for an LLM, not human documentation.
- Do not add a
Keywordssection; preserve essential trigger words indescription. - 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.mdexists; if it does, apply it before the bundled local copy or inline fallback rules. - If the repo guide is unavailable, read
references/skill-style-guide.mdand 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.mdusing 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: "{your-github-username}"
version: "1.0"
---
- Write sections in this order: Activation Contract, Hard Rules, Decision Gates, Execution Steps, Output Contract, References.
- Register the skill in
AGENTS.mdwhen it is a project skill.
Inline Fallback Rules
descriptionMUST be one physical line, quoted, YAML-safe, and include essential trigger words first.descriptionSHOULD be <=160 chars and MUST be <=250 chars.- Frontmatter MUST include
name,description,license,metadata.author, andmetadata.version. - Use imperative instructions, not tutorials or background prose.
- Put supporting material in
assets/orreferences/, 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/orreferences/.
References
docs/skill-style-guide.md— normative LLM-first skill style guide for this repo.references/skill-style-guide.md— bundled local copy for installed global skills when the repo doc is unavailable.
Files (gentle-ai)
-
references
-
skill-style-guide.md 3.3 KB
# LLM-first Skill Style Guide Use this guide when creating or refactoring skills in this repo. A skill is a **runtime instruction contract for an LLM**, not human-facing documentation: it tells the model when to activate, what rules are non-negotiable, how to decide, what to do, and what to return. ## Required Structure Every `SKILL.md` MUST use this order unless a section is truly irrelevant: 1. **Frontmatter** — complete metadata for skill discovery. 2. **Activation Contract** — exact situations that load the skill. 3. **Hard Rules** — constraints the LLM MUST NOT violate. 4. **Decision Gates** — short tables or bullets for branching choices. 5. **Execution Steps** — ordered operational workflow. 6. **Output Contract** — required final format or artifacts. 7. **References** — local files only; supporting detail lives outside the skill. `## Compact Rules` is not required. The skill registry indexes skill names, triggers, scopes, and paths; agents load the full `SKILL.md` as the source of truth. ## Frontmatter Rules - `description` MUST be one physical line, YAML-safe, and quoted. - Put trigger words first: `"Trigger: ... . {What the skill does}."` - `description` SHOULD be <=160 chars and MUST be <=250 chars. - Include complete `name`, `description`, `license`, `metadata.author`, and `metadata.version`. - Do NOT add a `Keywords` section; discovery uses frontmatter. ## Body Budget - Target **180–450 tokens** for the skill body. - Recommended maximum: **700 tokens**. - Hard maximum: **1000 tokens**. Move examples, schemas, and background into `assets/` or `references/`. ## Writing Rules ### DO - Write imperative runtime instructions: “Load X”, “Check Y”, “Return Z”. - Lead with the activation trigger and hard constraints. - Use compact tables for decision gates. - Keep examples minimal and executable. - Link to local supporting files for details. ### DON'T - Explain history, motivation, or tutorial background. - Duplicate long docs inside the skill. - Add generic advice the LLM cannot execute. - Use external URLs as primary references. - Hide critical rules below examples. ## Supporting Files - Use `assets/` for templates, schemas, fixtures, or generated examples. - Use `references/` for local docs that explain concepts or edge cases. - Keep references stable and relative to the skill directory when possible. ## Registry Behavior - `gentle-ai skill-registry refresh` indexes skills; it does not summarize or rewrite them. - The registry records `name`, `description` trigger text, scope, and exact `SKILL.md` path. - Delegators pass matching paths to subagents, and subagents read the full skill before work. - Use `skill-improver` to audit and refactor existing skills against this guide. ## Quality Gates - Frontmatter is complete, quoted, single-line, and trigger-preserving. - Required sections exist in the expected order. - Hard rules are testable or observable. - Decision gates cover meaningful forks only. - Output contract tells the LLM exactly what to return. - References point to local files. ## Refactor Checklist - [ ] Move explanatory prose to local references. - [ ] Collapse repeated rules into one hard rule. - [ ] Replace prose branches with a decision table. - [ ] Trim examples to the smallest useful case. - [ ] Recheck description length and trigger words.
-
-
SKILL.md 3.9 KB
--- name: skill-creator description: "Trigger: new skills, agent instructions, documenting AI usage patterns. Create LLM-first skills with valid frontmatter." license: Apache-2.0 metadata: author: gentleman-programming version: "1.0" --- ## 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. - For installed global skills, use `references/skill-style-guide.md` as the bundled local copy of that guide when `docs/skill-style-guide.md` is unavailable. - If neither guide is available, 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 1. Check whether `docs/skill-style-guide.md` exists; if it does, apply it before the bundled local copy or inline fallback rules. 2. If the repo guide is unavailable, read `references/skill-style-guide.md` and apply it before the inline fallback rules. 3. Confirm the skill does not already exist and the pattern is reusable. 4. 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 ``` 5. Use this frontmatter shape: ```markdown --- name: {skill-name} description: "Trigger: {essential trigger words users or agents will say}. {What this skill does}." license: Apache-2.0 metadata: author: "{your-github-username}" version: "1.0" --- ``` 6. Write sections in this order: Activation Contract, Hard Rules, Decision Gates, Execution Steps, Output Contract, References. 7. 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: ```yaml description: "Trigger: Jira task, ticket, issue, task creation. Create Jira tasks in the team format." ``` Bad: ```yaml 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. - `references/skill-style-guide.md` — bundled local copy for installed global skills when the repo doc is unavailable.
Comments (0)
Sign in to join the conversation.
Reviews (0)
No reviews yet.
No comments yet.