skill-creator

GitHub

指导 Agent 创建或更新 LLM-first 技能文件。依据规范检查现有指南,确定触发场景,按标准结构编写 SKILL.md 并注册,确保格式合规且内容精简。

internal/assets/skills/skill-creator/SKILL.md Gentleman-Programming/gentle-ai

Trigger Scenarios

需要创建新的 AI 技能 编写 Agent 指令 文档化 AI 使用模式

Install

npx skills add Gentleman-Programming/gentle-ai --skill skill-creator -g -y
More Options

Non-standard path

npx skills add https://github.com/Gentleman-Programming/gentle-ai/tree/main/internal/assets/skills/skill-creator -g -y

Use without installing

npx skills use Gentleman-Programming/gentle-ai@skill-creator

指定 Agent (Claude Code)

npx skills add Gentleman-Programming/gentle-ai --skill skill-creator -a claude-code -g -y

安装 repo 全部 skill

npx skills add Gentleman-Programming/gentle-ai --all -g -y

预览 repo 内 skill

npx skills add Gentleman-Programming/gentle-ai --list

SKILL.md

Frontmatter
{
    "name": "skill-creator",
    "license": "Apache-2.0",
    "metadata": {
        "author": "gentleman-programming",
        "version": "1.0"
    },
    "description": "Trigger: new skills, agent instructions, documenting AI usage patterns. Create LLM-first skills with valid frontmatter."
}

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
  1. 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"
---
  1. Write sections in this order: Activation Contract, Hard Rules, Decision Gates, Execution Steps, Output Contract, References.
  2. 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.
  • references/skill-style-guide.md — bundled local copy for installed global skills when the repo doc is unavailable.

Version History

  • e01b114 Current 2026-07-25 07:00

Same Skill Collection

internal/assets/skills/_shared/SKILL.md
internal/assets/skills/branch-pr/SKILL.md
internal/assets/skills/chained-pr/SKILL.md
internal/assets/skills/cognitive-doc-design/SKILL.md
internal/assets/skills/comment-writer/SKILL.md
internal/assets/skills/gentle-ai-bench/SKILL.md
internal/assets/skills/go-testing/SKILL.md
internal/assets/skills/hermes-ephemeral-delegation/SKILL.md
internal/assets/skills/issue-creation/SKILL.md
internal/assets/skills/judgment-day/SKILL.md
internal/assets/skills/rdd-defect-workflow/SKILL.md
internal/assets/skills/sdd-archive/SKILL.md
internal/assets/skills/sdd-design/SKILL.md
internal/assets/skills/sdd-explore/SKILL.md
internal/assets/skills/sdd-init/SKILL.md
internal/assets/skills/sdd-onboard/SKILL.md
internal/assets/skills/sdd-propose/SKILL.md
internal/assets/skills/sdd-spec/SKILL.md
internal/assets/skills/sdd-tasks/SKILL.md
internal/assets/skills/skill-improver/SKILL.md
internal/assets/skills/skill-registry/SKILL.md
internal/assets/skills/systemic-issue-triage/SKILL.md
internal/assets/skills/work-unit-commits/SKILL.md
skills/branch-pr/SKILL.md
skills/chained-pr/SKILL.md
skills/cognitive-doc-design/SKILL.md
skills/comment-writer/SKILL.md
skills/gentle-ai-bench/SKILL.md
skills/gentle-ai-collab-perfect/SKILL.md
skills/issue-creation/SKILL.md
skills/issue-root-resolution/SKILL.md
skills/rdd-advisory-transport/SKILL.md
skills/rdd-defect-workflow/SKILL.md
skills/systemic-issue-triage/SKILL.md
skills/work-unit-commits/SKILL.md

Metadata

Files
0
Version
35deba3
Hash
2e560aec
Indexed
2026-07-25 07:00

inicio - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-20 07:16
浙ICP备14020137号-1 $mapa de visitantes$