Install any skill in seconds. Free to start, no credit card required.
Get Started Free →tobihagemann/simplify-docs
Run a multi-agent review of code comments and markdown documentation for unnecessary content, then fix the issues. Covers what-restating comments, name-mirroring doc comments, status-update prose, and other documentation noise.
Passed 5 of 13 test cases with the skill, and 4 of 13 without it.
and 2 more in the full report
4 fixed5 passed either way11 still failing2 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 4 test cases the skill fixed. Same model, same prompt, with and without the skill.
In `docs/cli.md`, a line contains `- **--verbose** — enables detailed debug logging`. Does this line violate the punctuation chain rule against multiple em dashes, colons, or semicolons?
| Checked | Without skill | With skill |
|---|---|---|
| Treats label separators matching - **Term** — description format as non-chain exceptions. | Missed | Passed |
The instructions your model reads when the skill loads.
Review code comments and markdown documentation for unnecessary content, then fix the issues.
Determine what to review:
git diff --cached), use that.git diff, git diff --cached, git diff HEAD) based on the current git state. When the branch is an open pull request, resolve its base with gh pr view --json baseRefName --jq '.baseRefName', run git fetch origin <base-branch>, and diff against origin/<base-branch>...HEAD: a local branch of the same name can sit behind the remote, which puts the merge base before an already-merged pull request and pulls merged work into the scope. If there are no git changes, default to a full-tree sweep of source files plus top-level markdown.State the resolved file list before launching the agents: add --name-only to a diff command, or list the files for a file or directory scope.
Launch both agents below with spawn_agent / wait_agent using inherited model defaults, issuing every call in one batch. Do not issue one and await its result before issuing the rest. Pass the scope from Step 1 to each agent. Every sub-agent's prompt must direct it to treat the shared working tree and its git index as read-only and to reach its findings by reading and reasoning; fixes happen in Step 3. HEAD stays where it is: read other refs with git show <ref>:<path> rather than git checkout or git switch.
Confine the sub-agent's prompt to what to review, plus the conventions and factual properties that bear on it. Pass a property of the existing prose as a fact the sub-agent weighs, such as "the file documents non-obvious third-party behavior". Leave out any statement that tells the sub-agent what verdict to reach about that property, such as "the file is deliberately comment-dense, judge against that established bar", because it binds the sub-agent to accept the very property the review exists to assess.
Both sub-agent prompts must also carry the readability criteria below and the constraint that follows them, applied to the prose that survives that agent's own list:
- **Term** — description label separator is not a chain.Every split above keeps its connectives. Leave clauses joined when their relationship is the point (cause and effect, condition and consequence, contrast, qualification, scope) and separating them would make the reader rebuild the connection.
Review code files in scope. Beyond the auto-loaded instruction files, walk each directory that is an ancestor of a reviewed file, from the project root down, and read its AGENTS.override.md when one is present, otherwise its AGENTS.md — a directory's file governs only the files at or below it, and an override replaces that directory's AGENTS.md rather than adding to it. Flag a comment when it misdescribes the code, or when it adds no information beyond what the code already says:
test cases passed, vs 4 / 13 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.