agentleFS
redhat-developerredhat-developer/rhdh-skills/skills/meta/skill-authoring/SKILL.md

skill-authoring

Skill20 starsChanged 20 days agoApache-2.0View on GitHub

Creates, audits, and consolidates Agent Skills that follow the Agent Skills open standard, and hands back a drafted or repaired skill with the review checklist for its branch applied. Use for "create a skill", "draft a SKILL.md", "package this expertise as a skill", "why does this skill never trigger", "audit this SKILL.md", "improve this skill", or merging overlapping skills into fewer deeper modules. Covers frontmatter, descriptions that trigger, progressive disclosure, completion criteria, and bundled scripts.

89 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use cloud-api-recipe-authoring, codebuddy-ide-mcp-upgrade and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • TencentCloudBaseSkill

    cloud-api-recipe-authoring

    Author or revise a cloud-api-operations recipe (config/source/skills/cloud-api-operations/references/recipes/). Encodes why the long tail of control-plane capabilities is deliberately NOT wrapped as MCP/CLI tools, the API-first admission test for whether a capability deserves a recipe, the negative and positive lists, the fixed recipe structure, the writing rules distilled from writing-for-agents, the user-facing copy red lines, and the product regeneration/verification pipeline. Also routes contributors (and their agents) to the contribution flow and the pre-PR self-test protocol in references/contributing.md. Use when adding a recipe, judging whether a scenario belongs in the recipe set, updating the recipes index, re-checking existing recipes against the admission test, or onboarding someone who wants to submit one.

    Also in 3 projects that use this

  • TencentCloudBaseSkill

    codebuddy-ide-mcp-upgrade

    升级 CodeBuddy IDE(genie 扩展)内置的 CloudBase MCP,以及 MCP 发版时同步 IDE 侧白名单。当用户提到「更新 IDE 里的 MCP」「内置 MCP 版本太老」「IDE 集成的 CloudBase 功能不足」「改工具白名单 toolWhiteList」「把新 bundle 打进 CodeBuddy」「白名单漂移」「MCP 发版要同步什么」时使用。覆盖:解包定位内置 bundle 与内嵌配置、重新构建 mcp bundle、生成新的工具白名单与系统提示词、安全注入 IDE 并备份、用 MCP 协议验证工具清单、人工端到端验收、一键回滚。

    Also in 3 projects that use this

  • DIL8654Skill

    api-contract-review

    Review ASP.NET Core Web API contracts for HTTP semantics, versioning, backward compatibility, and response consistency. Use when the user asks to review an API, check endpoints, validate REST behavior, or before releasing contract changes.

    Also in 5 projects that use this

  • zaxbysauceSkill

    pr-review-fix

    Codex adapter for addressing pull request review feedback in opencode-swarm. Use when the user asks to fix PR review comments, requested changes, reviewer findings, CI-review notes, or a pasted review summary with low false-positive tolerance.

    Also in 3 projects that use this

  • albertdobmeyerSkill

    git-workflows

    Advanced git operations beyond add/commit/push. Use when rebasing, bisecting bugs, using worktrees for parallel development, recovering with reflog, managing subtrees/submodules, resolving merge conflicts, cherry-picking across branches, or working with monorepos.

    Also in 3 projects that use this

  • rogue-dev-studioSkill

    frontend-engineering

    Expert frontend application engineering: accessible UI structure, state and data-fetching discipline, form/validation UX, responsive layouts, performance budgets, and integration with API contracts. Use when building or refining SPA/web screens, design-system consumption, client-side routing, or fixing UI reliability (loading, empty, and error states).

    Also in 3 projects that use this

  • +6 more from TencentCloudBase

The file

We split this skill into the rules it gives an agent

12 rules. 0 are common, 8 are distinctive, and 4 are very specific to this project.

  • 0

    Common

    Most of the 80 edited versions we read keep these.

  • 8

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Create predictable Agent Skills through progressive disclosure, strong context pointers, checkable completion criteria, and single-sourced …

    line 16
  2. Distinctive:

    A skill needing a disambiguating sub-command is two skills: If the body opens by asking which mode the user wants, the router should have …

    line 30
  3. Very specific:

    Keep every-branch steps in SKILL.md.

    line 32
  4. Distinctive:

    Keep references one level deep and independently usable.

    line 34
  5. Very specific:

    Keep descriptions below 1024 characters and skill bodies below 500 lines.

    line 35
  6. Distinctive:

    Put deterministic validation and transformation in scripts.

    line 41
  7. Distinctive:

    Prompt duplication is forbidden: When the same instructions, protocol, or domain rule would appear in two skills: extract a reference skill …

    line 47
  8. Distinctive:

    Ask what the skill is *about*, and let the answer decide the name.

    line 67
  9. Distinctive:

    Before designing a skill, read whatever conventions the repository states — typically AGENTS.md, a glossary, and any decision records.

    line 85
  10. Very specific:

    Read references/create.md to interview, draft, and review a new skill from scratch — "create a skill", "draft a SKILL.md", "package this …

    line 106
  11. Very specific:

    Read references/audit.md to review, repair, or diagnose an existing skill — "why does this never trigger", "check this SKILL.md", "improve …

    line 109
  12. Distinctive:

    Read references/consolidation-guide.md to merge overlapping skills into fewer, or to test whether a merge already went too far.

    line 112

“Common” is measured: kept by at least 6 in 10 of the 80 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Skill Authoring

Create predictable Agent Skills through progressive disclosure, strong context pointers, checkable completion criteria, and single-sourced behavior.

Principles

  • One skill per trigger phrase. A skill claims one thing a user would say. Two skills that would answer the same utterance are one skill; one skill that answers several unrelated utterances is several skills.
  • Split by verb, never by noun. Verbs route; nouns collide. create and refine are two skills. Feature, Epic, and Story are one skill that infers the type, because the user often does not know which they want.
  • Weight the split by what a misroute costs. Merge where a misroute produces a wrong write; split where it produces an obvious wrong answer. A read-only misroute is visible immediately; a wrong mutation is not.
  • A skill needing a disambiguating sub-command is two skills. If the body opens by asking which mode the user wants, the router should have decided.
  • Keep every-branch steps in SKILL.md; disclose branch-only reference behind a pointer that says when to read it.
  • Keep references one level deep and independently usable.
  • Keep descriptions below 1024 characters and skill bodies below 500 lines. The body limit governs SKILL.md only — measure the whole directory too, and settle it with the question the line count only hints at: which of these vocabularies does a caller have to learn? One trigger phrase commits the caller to one. Two skills in this pack reached 4,029 and 7,784 total lines while their SKILL.md files stayed comfortably compliant.
  • Put deterministic validation and transformation in scripts.

Duplication

Judge it by layer, not by volume.

Prompt duplication is forbidden. When the same instructions, protocol, or domain rule would appear in two skills: extract a reference skill when nothing owns it, enforce the existing interface when a module already does, or document it once when it is a rule rather than a capability. Two callers is the threshold for extracting; one caller means it belongs inside its owner.

Code duplication is expected. Bundled scripts are self-contained so a skill can be installed alone. Copy the helper rather than reaching across a seam.

A rule the agent needs at runtime, in whatever repository it is working in, has to live in a skill. A repository's own AGENTS.md, decision records, and glossary govern work inside that checkout and do not travel with an installed skill — so a skill that cites them is broken for everyone who installs it.

Naming

A name describes its subject. Name by domain then verb, matching the trigger phrase the skill claims: <domain>-create, <domain>-review. Sibling skills use the same word for the same thing.

Ask what the skill is about, and let the answer decide the name. A skill about one product or system takes that product's name; a skill that is genuinely generic takes a generic name, even when it is published alongside product-specific ones. A prefix that overstates scope is worse than none — it promises knowledge the skill does not have.

Names are read by people, in a flat list where the folder is gone. Routing is a separate problem, solved by the description: keep the literal proper nouns — project keys, repository names, file names, tool names, an example identifier — because a literal token is the strongest anchor available.

That anchoring works on presence, so never put a literal in a description in order to disclaim it. "A key such as ABC-123 is not a sprint" makes the skill a candidate for exactly the request it is refusing. State the exclusion without the token: "works on a team and a board, never on a single issue key".

Working inside a host repository

Before designing a skill, read whatever conventions the repository states — typically AGENTS.md, a glossary, and any decision records. Those bind the skill you are about to write. They do not bind the skill once installed, so nothing you write into the skill may depend on being able to read them.

Where the repository publishes a collection, expect it to define: which skills are human-invoked, whether a name prefix applies, how skills compose, where the membership manifest lives, and what the tests protect. Follow its answers.

Interview dependency

Creating or interviewing for a skill requires an interview skill that stress-tests scope before drafting — /grilling in this collection. If the host cannot invoke it by name, stop before drafting anything and say that creation is gated on it. Audit and consolidation do not require it unless they open an interview.

Conditional references

Load exactly one branch. Its own pointers name any specification, description, architecture, script, or quality reference needed later.

  • Read references/create.md to interview, draft, and review a new skill from scratch — "create a skill", "draft a SKILL.md", "package this expertise".
  • Read references/audit.md to review, repair, or diagnose an existing skill — "why does this never trigger", "check this SKILL.md", "improve this skill".
  • Read references/consolidation-guide.md to merge overlapping skills into fewer, or to test whether a merge already went too far. Finish through the Phase 5 review in references/create.md.

Completion

Work is complete when the selected branch's review checklist passes, every referenced resource resolves, no behavior remains duplicated under an old skill name, and every changed .py file passes the host linter.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.