agentleFS
XData-siXData-si/xdata-agenthub/skills/skill-authoring/SKILL.md

skill-authoring

Skill1 starsChanged 33 days agoMITView on GitHub

Write or improve an agent skill (SKILL.md) so that agents load it at the right time and follow it reliably — trigger-focused description, scoped procedure, examples, acceptance checks and safety boundaries. Use when creating a new skill for this hub or a private catalog, or when a skill is ignored or misapplied.

92 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 9 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

  • +6 more from TencentCloudBase

The file

We split this skill into the rules it gives an agent

2 rules. 0 are common, 2 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 83 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Every procedure step is actionable.

    line 37
  2. Distinctive:

    Do not copy third-party skills without a compatible licence and attribution.

    line 45

“Common” is measured: kept by at least 6 in 10 of the 83 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

Goal

A skill that an agent selects when — and only when — it is relevant, and that turns into consistent, verifiable work.

Inputs

  • The recurring task the skill should cover, examples of good and bad results, and the target clients (Claude Code, Codex, OpenCode or generic).
  • Existing skills, to avoid overlap (xah search <keyword>).

Procedure

  1. Scope one job. A skill covers one kind of task (for example "review OAuth integrations"), not a whole domain. Split when the procedure branches into unrelated paths.
  2. Frontmatter. name in lowercase-hyphen form that matches the directory; description states what the skill does and when to use it, with the words a user would actually type (technologies, symptoms, artefacts). Agents decide from the description alone whether to load the skill.
  3. Body structure (see docs/SKILL_QUALITY_STANDARD.md): Goal; When to use (optional); Inputs; Procedure with numbered, imperative steps and decision points; Example fixture; Acceptance checks including negative cases; Output; Safety.
  4. Be concrete. Commands, thresholds, file names and formats instead of adjectives ("TLS 1.2+", "batch of 10 000 rows", "p95 latency"). Explain the why when a step is non-obvious, so the agent can adapt rather than follow blindly.
  5. Keep the main file short (roughly under 150 lines); move long checklists, tables or templates into references/ or assets/ and link them, so they load only when needed.
  6. Make it verifiable. Acceptance checks are observable (a test, a command output, a file) and include at least one negative case; ask the agent to report NOT RUN rather than guessing.
  7. Set boundaries. What the skill must never do (production changes without approval, exposing secrets, running untrusted code), and when to stop and ask.
  8. Stay portable. Plain Markdown; no client-specific syntax unless the skill targets one client; no hidden instructions, remote includes or scripts that run automatically.
  9. Test it with the scenario in the fixture on at least one real client; record the client and version, observed behaviour and fixes (see docs/AGENT_RUNTIME_TESTS.md).

Example fixture

# Weak
description: Helps with databases.
# Strong
description: Plan and review schema and data migrations that deploy without downtime or data loss, using expand-contract, batching and tested rollback. Use when adding, renaming or removing columns, tables, indexes or constraints, or backfilling data.

Acceptance checks

  • The description names concrete triggers; a reviewer can predict three prompts that should and one that should not load the skill.
  • Every procedure step is actionable; no step depends on unstated context.
  • At least one negative acceptance check and an explicit safety section exist.
  • xah doctor passes and the catalog entry matches the directory and frontmatter name.

Output

skills/<id>/SKILL.md (plus optional references/), a catalog entry, and a short test record.

Safety

Do not copy third-party skills without a compatible licence and attribution; do not embed credentials, internal hostnames or personal data in public skills.

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.