agentsclimarketplace

Writing skills

Skill NjoyimPeguy/augments/plugins/augments/skills/writing-skills

Use when creating or editing a skill in this library — the lean format, progressive disclosure, and how to prove a skill works. For AUTHORING skills, not using them.From its SKILL.md

Install
npx -y skills add NjoyimPeguy/augments --skill writing-skills

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

4.4 KB, 978 tokens by cl100k_base, as published. Nobody here has run it

Writing Skills

Skills are tools, not pipelines. Each one loads into context every time it fires, so every line costs tokens on every use. Write the minimum that changes behavior; push the rest to sibling files.

When to use

  • Creating or editing a skill under skills/<phase>/<name>/.
  • Skip when you're using a skill — this is only for authoring.

Skill types

Match the form to the need (see references/reference.md for how much detail each needs):

  • Instruction — a prose procedure. Most skills.
  • Template — ships a {{placeholder}} file to copy (like references/skill-template.md).
  • Script — bundles a tested, deterministic script when prose would be error-prone.
  • Reference — a doc loaded on demand for lookup; large is fine, it isn't always-loaded.

The format (non-negotiable)

  1. Frontmatter: name (kebab-case, matches the directory) and description (capability + "Use when…" trigger, ≤1024 chars, third person, never a workflow summary). Add disable-model-invocation: true only for pure prompt-injection skills with no agentic steps (e.g. a one-line zoom-out).
  2. Body ≤ ~80 lines (capability skills; discipline skills are the exception — see below). Intent + procedure only. Cut marketing ("why this matters") and long worked examples.
  3. Progressive disclosure. Templates, long examples, lookup tables, scripts → sibling files under references/. SKILL.md links to them; it never inlines them.
  4. Complexity gate up top. State when to skip the skill. Ceremony must scale down with task size.
  5. Lint-clean markdown. Fill-in placeholders use {{double-curly}}<angle> brackets render as HTML and trip linters. Fence code blocks with a language. Blank lines around lists.

Discipline skills are the exception

A few skills exist to hold an agent to a discipline it is tempted to skip under pressure (TDD, verifying-completion, systematic debugging, receiving-code-review). For these only:

  • Keep the rationalization table (each tempting excuse → its rebuttal) and red-flag list in the body, never a sibling — a tempted agent won't choose to load a sibling file, and the counter must be in context when the temptation hits. You cannot lazy-load willpower.
  • They may exceed ~80 lines. Each extra line must earn its place by passing a pressure test (references/testing.md), not by sounding good.
  • Everything else (capability, template, reference, meta) has no temptation to counter — keep it lean.

Procedure

  1. Confirm it should be a skill — and whether it's one. Write one only if an agent reliably gets this wrong without guidance. Plain prompt text or a one-off? Don't. Needs an exact, deterministic sequence? Bundle a script, not prose. A needless skill taxes every session it fires. If a phase has several activities, decide one cohesive skill vs several — see docs/augments/skill-granularity.md.
  2. Choose the phase folder (planningmaintenance) or common/, create skills/<phase>/<name>/, and copy references/skill-template.md to start.
  3. Write description as a trigger first. Test it: does it say when, not how? If it lists steps, rewrite.
  4. Write the body: When to use (incl. Skip), Procedure (numbered), Common mistakes.
  5. Move anything heavy to sibling files under references/.
  6. Verify (below), then prove it works with a subagent test — see references/testing.md.

Verify before done

  • wc -l SKILL.md ≤ ~80 · description ≤ 1024 chars · directory name == frontmatter name.
  • Markdown lints clean · description states triggers, not a summary.

Common mistakes

  • A body that reads like documentation — it reloads into context every invocation.
  • A description that summarizes the workflow → the model follows the summary and skips the skill body.
  • Inlining templates/examples that belong in sibling files.
  • No complexity gate → ceremony on trivial tasks (the #1 complaint about heavy skill libraries).
  • Shipping a skill you never watched fail without — you don't know it prevents the right failure.

See references/reference.md for examples and reasoning, and references/testing.md for proving a skill actually changes behavior.

What ships with it: 3 files

7.8 KB alongside SKILL.md

references/

Gives 0 of the 12 instructions most docs writing skills give in 978 tokens

Counted across 1,637 of the 3,044 authors here whose files we hold, read 2026-08-07

  • Announce the skill at startin 54 of 1637, across 26 files
  • Convert legacy doc files before editingin 45 of 1637, across 7 files
  • Predict questions readers might askin 42 of 1637, across 4 files
  • Generate clarifying questions for initial contextin 42 of 1637, across 3 files
  • Create document scaffold with placeholder textin 42 of 1637, across 3 files
  • Brainstorm content options for each sectionin 42 of 1637, across 3 files
  • Test the document with a fresh context-less instancein 42 of 1637, across 3 files
  • Include exact file paths in every taskin 42 of 1637, across 15 files
  • Ask interview questions one at a timein 42 of 1637, across 27 files
  • Apply surgical edits during refinementin 41 of 1637, across 2 files
  • Offer structured workflow or freeformin 40 of 1637, across 1 file
  • Ask for document meta-contextin 40 of 1637, across 2 files

Said here and by no other author read

  • Write minimum text that changes behavior
  • Push heavy content to sibling reference files
  • Use double-curly braces for fill-in placeholders
  • State when to skip the skill up front
  • Confirm the task actually requires a skill
  • Run markdown linting before finishing

Grouped from the skills themselves: near-identical wordings counted once, and counted by distinct author, so one author publishing three of these counts once. Length counted with cl100k_base; the agent that loads this file may tokenize it differently.

Keep looking

Skills are one crate of 326,569. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.