agentleFS
holland-builtholland-built/no-yolo/skills/writing/SKILL.md

writing

Skill0 starsChanged 7 days agoMITView on GitHub

Use when creating or changing a file an AI reads as instructions (a SKILL.md, CLAUDE.md, an output style or a memory file), or when the user says the instructions are not working.

67 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use addskill, apply-firmware 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.
  • ryanportfolioSkill

    addskill

    Create, import, update, or install repo or personal skills: runtime ownership, resources, discovery checks.

    Also in 6 projects that use this

  • ryanportfolioSkill

    apply-firmware

    Bring current folder (plain folder, existing repo, old or partial firmware copy) up to full Harness Firmware in place. Mirror external repo → adopt-repo.

    Also in 6 projects that use this

  • +10 more from ryanportfolio

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 61 edited versions we read keep these.

  • 2

    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:

    Test a skill against no skill: Run two or three prompts the user would really type, once with the skill and once without (for a changed …

    line 56
  2. Very specific:

    Lay a skill out so it gets read: Keep a SKILL.md under 500 lines and link every other file straight from it, one level deep.

    line 63
  3. Distinctive:

    Ask what each line is doing before cutting it, and sort it into one of two piles.

    line 76
  4. Very specific:

    When a cut is contested, /claude-api prompt-audit is the careful version of this — it reads the file against Anthropic's own dated-pattern …

    line 85

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

writing

The one thing that has changed

Most instruction files on the internet were written for models that under-delivered, and the habits that fixed those models now make current ones worse. Anthropic's own guidance says prompts written for prior models are often too prescriptive and reduce output quality. So the default shape is constraints and a definition of done, not a numbered procedure.

The constraints

No numbered steps for judgment work. A step list narrows the model to the author's version of the job, and the model's own plan is usually better. Keep numbered steps only where order is genuinely load-bearing — a destructive command, an auth flow, a sequence where doing two before one breaks something.

Normal volume. No CRITICAL, no shouted MUST or NEVER. Current models are highly responsive to instructions, so emphasis over-applies and an anxious file produces an anxious, hedging model. Say the constraint plainly and say why it exists.

Describe success, not a list of failures. A run of prohibitions anchors toward the very failure it names. Keep a prohibition while the failure it prevents still happens here, and put the reason beside it: what goes wrong, and for whom. A rule written as a story of one bad session gets applied to that session's problem only.

Give the reason with every rule. On any real task there are dozens of small unstated decisions, and the reason is what lets the model make them the way the user would. A rule with no "because" is a rule that gets applied in the wrong place.

Say when to stop. These models expand scope on their own, and the fix is an explicit definition of done, not more instructions. Every instruction file ends with what finished looks like, in terms that can be checked.

Never ask for the reasoning to be shown. Current Claude models read that as an attempt to extract the chain of thought and can return an outright refusal — a real API error, not a style issue.

No length caps, no narration bans, no thinking prompts. A word or sentence cap starves hard answers, a "don't narrate" line makes the model go quiet mid-task, and thinking is always on, so "think step by step" does nothing. Describe the reader and what they need instead. Leave model names and dates out of rules, because both go stale.

Frontmatter is routing, and routing is allowed to be keen. The description decides whether the skill is reached for at all, and skills under-trigger more often than they over-trigger. Name the situations plainly, including the words the user actually uses.

When the output shape keeps coming out slightly wrong, show it. Add one to five real examples of finished output from runs the user accepted, instead of another rule, because a shape is easier to copy than to describe. Make them differ, because a model copies a single example closely. Take out names and private details first, because skills here are published.

Test a skill against no skill. Run two or three prompts the user would really type, once with the skill and once without (for a changed skill, against the old copy), and compare the results. A skill whose output is no better than the bare model's is only costing context. When skills overlap or a description changes, also check the near-misses, prompts that share words with the skill but belong to a neighbour, with skill-audit's trigger_test.py, because a keener description can quietly take requests from the skill next to it.

Lay a skill out so it gets read. Keep a SKILL.md under 500 lines and link every other file straight from it, one level deep. Claude previews a long or nested file instead of reading all of it, so a rule at the bottom of a chain can go unseen; a reference file over 100 lines starts with a contents list for the same reason. Where a step must run the same way every time (money, deletion, a migration), make it a script, because a script runs identically on every model, and put its install line beside it so the skill works on a fresh machine.

Match the house style. Everything the user reads is governed by ~/.claude/output-styles/action-first.md — next action first, no preamble or recap, literal words. An instruction file that ignores it teaches the model to ignore it.

Before changing an existing file

Ask what each line is doing before cutting it, and sort it into one of two piles. Context stays — the audience, the environment, the quality bar, tool mechanics, and the reason behind any rule, because only the user knows those. Behaviour goes when the model would do it unprompted anyway. Length is not the test, and when a line could plausibly sit in either pile, it stays.

A prohibition stays when the failure it prevents still happens here. Delete it only when you can say what changed.

When a cut is contested, /claude-api prompt-audit is the careful version of this — it reads the file against Anthropic's own dated-pattern list and hands back a report and a proposed diff without applying anything.

Done

Done is a file where the reasons are attached to the rules, nothing restates a trained default, and the last section says how the work will be judged.

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.