agentleFS
EzraAppleEzraApple/skills-init/skills/writing-skills/SKILL.md

writing-skills

Skill2 starsChanged 50 days agoMITView on GitHub

Create, revise, or consolidate agent skills. Use when changing skill instructions, discovery descriptions, or supporting resources.

191 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use chinese-code-review, chinese-commit-conventions 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.
  • Leodorareluctant259Skill

    chinese-code-review

    中文代码审查规范——在保持专业严谨的同时,用符合国内团队文化的方式给出有效反馈

    Also in 8 projects that use this

  • Leodorareluctant259Skill

    chinese-commit-conventions

    中文 Git 提交规范 — 适配国内团队的 commit message 规范和 changelog 自动化

    Also in 8 projects that use this

  • obraSkill

    diagnosing-superpowers

    Use when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.

    Also in 22 projects that use this

  • aaddrickSkill

    writing-agents

    Use when creating new agents, editing existing agents, or defining specialized subagent roles for the Task tool

    Also in 3 projects that use this

  • AWSSkill

    condition-based-waiting

    Replace arbitrary sleeps in tests with polling for the ACTUAL condition — a waitFor(() => predicate, description, timeoutMs) helper that polls every 10 ms, calls the getter inside the loop (no stale cache), and throws a clear error on timeout. Use when a test uses setTimeout / sleep / time.sleep, is flaky (passes on fast machines, fails under load or in CI), times out when run in parallel, or waits for an async operation, event, state, count, or file to appear. Do NOT use when the test genuinely exercises timing behavior (debounce / throttle) — then wait for the triggering condition FIRST and comment WHY the timed wait is justified. Trigger on "flaky test", "race condition in tests", "why does this pass locally and fail in CI", or any `await new Promise(r => setTimeout(r, N))` in a test.

    Also in 3 projects that use this

  • MicrosoftSkill

    using-skills

    Describes how to use abilities. Read before any conversation.

    Also in 4 projects that use this

  • +3 more from Leodorareluctant259

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 181 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Before adding a skill, define its intended outcome, a realistic request it improves, and a nearby request it should leave alone.

    line 12
  2. Distinctive:

    Before revising, read the existing skill and its linked resources.

    line 18
  3. Very specific:

    Use name and description in YAML frontmatter.

    line 24
  4. Distinctive:

    Keep the main instructions self-contained when they are short.

    line 29
  5. Very specific:

    Use .agents/skills when this package owns project installation.

    line 34
  6. Distinctive:

    Keep changes supported by observed behavior.

    line 48

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

Write useful skills

Assume the agent can already plan, code, and check its work. Keep guidance that changes a decision, supplies missing operational knowledge, or prevents a demonstrated failure. Delete generic encouragement and duplicated process.

Before adding a skill, define its intended outcome, a realistic request it improves, and a nearby request it should leave alone. Prefer an existing skill's reference for a specialized variant. Use code, types, or lint for mechanically enforceable rules. Keep broad project conventions in the repository's existing agent guidance.

Before revising, read the existing skill and its linked resources. Identify the mechanism, constraints, and outputs that make it useful. Preserve them when shortening it, or make the intended behavior change explicit.

Make discovery precise

Use name and description in YAML frontmatter. The name should match the directory. Describe the capability and actual triggering task briefly. Add an exclusion only when it prevents likely misrouting; avoid lists of loosely related keywords. Preserve supported metadata and the user's invocation preferences.

Keep the main instructions self-contained when they are short. For distinct operating modes, link focused references and say when to read each. Do not move text out merely to force the agent to read it all through links. Put repeatable mechanics in scripts only when they earn their maintenance cost.

Use .agents/skills when this package owns project installation. Respect an existing source of truth elsewhere; do not create competing copies or rewrite unrelated host configuration.

Check what changed

Validate metadata, local links, and any executable helpers. A linter proves structure, not usefulness. Review the instructions for clear scope and duplicated guidance.

For a new skill or a changed description or reference route, compare a realistic request that should use it with a nearby request that should not. Trace which instructions or references each request would reach.

Keep changes supported by observed behavior. If existing guidance was present but missed, fix discovery or placement before adding another instruction.

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.