Repository navigation
feat(writing-for-agents): add a skill for writing text agents read - #40
Merged
Merged
Conversation
Covers SKILL.md files, AGENTS.md and CLAUDE.md, system prompts, subagent briefs and tool descriptions. It keeps only the rules that change what an agent does: cut lines the agent doesn't need, phrase each rule as what to do with its reason, set strictness by the cost of a mistake, load detail only when needed, and check the draft before handing it over. Rewrites list what was cut, added or loosened. Three eval cases: trimming a bloated AGENTS.md, briefing a research subagent, and drafting a release skill with an irreversible publish. Bumps the plugin to 0.18.0.
mastro993
marked this pull request as ready for review
November 28, 2026 11:24
Contributor
There was a problem hiding this comment.
✅ No new issues found.
Approach: sound — a standalone, self-contained skill that follows the layout of the existing skills (SKILL.md, agents/openai.yaml, evals/<case>/{case.yaml,prompt.md,graders,place-files.sh}), with no changes to other skills.
Reviewed changes: the full diff of the single commit, plus a check of the repo's conventions and version consistency.
writing-for-agents/SKILL.md: 60-line skill in five parts. The frontmatter description is trigger-only, has no#or:YAML hazards, and is well under 1,024 characters. The body follows its own rules.- Evals: three cases (research-subagent brief, release skill draft, bloated
AGENTS.mdtrim) with 23 graders. They use the sameschema_version: "1.1", grader frontmatter andplace-files.shscaffold pattern aspr-open's evals. Thefiles/package.jsonpackageManagercorrectly backs the pnpm-only grader. - Version bump to 0.18.0: grep shows
.claude-plugin/plugin.json,plugin.json,gemini-extension.jsonand the README badge all agree, which is what the Manifests workflow checks. - README: new "Agent instructions" row linking the skill.
claude-sonnet-5-5 | 𝕏
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Why
Agents read SKILL.md files, AGENTS.md and CLAUDE.md, system prompts, subagent briefs and tool descriptions, and they try to follow every line. When these files are padded, shout in capitals, or contradict themselves, agents take longer and do worse. fstack had no skill for writing them.
What
A new
writing-for-agentsskill. Its 60-line SKILL.md keeps only the rules with the most effect:Three eval cases come with it: trimming a bloated AGENTS.md, writing a brief for a research subagent, and drafting a release skill whose publish step can't be undone. The README gets an "Agent instructions" row, and the plugin moves to 0.18.0 in every manifest and the badge.
Merge danger
Reversible: yes. A revert removes the skill and restores 0.17.2; nothing is stored or migrated.
Blast radius: contained. The skill loads only when its description matches a request about text for agents. No other skill refers to it, and no existing skill changes.
How to test
Automated: none run. The Manifests workflow checks that the four version strings match.
Evals: each case ran once with the skill and once without, scored by a grader who didn't know which run was which.
The first round showed one problem: the AGENTS.md rewrite with the skill quietly loosened its
legacy/rule. Part 5 now asks a rewrite to keep each rule's meaning and to list anything added or loosened. A rerun of that case kept the rule strict and listed its two additions.Manual
writing-for-agents.