Skip to content

feat(docs-hygiene): add a grounding rule to write-for-humans - #12098

Merged
melodic-automation-lanes[bot] merged 1 commit into
mainfrom
work-resolve-issue/issue-12085-41344557143-1
Nov 1, 2026
Merged

melodic-automation-lanes[bot] merged 1 commit into
mainfrom
work-resolve-issue/issue-12085-41344557143-1

Conversation

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

Refs: #12085

Summary

Opened by the work-resolve-issue lane. The run's own summary:

write-for-humans now has a fourth rule that holds under any declared style guide: introduce each concept before a sentence relies on it, or name it as assumed knowledge. The rule has a test a writer can apply and a stash example. I put it in the rules that survive a declared guide, not in the fallback layers, because the probe failure was about the reader's understanding, not about style. The rule went in as row 4, so the existing 'third rule' references still point at the right row. A new eval case, grounds-each-concept-before-relying-on-it, covers the rule. The with-plugin probe reruns that would show the change fixes the failure could not run in this lane, so the issue stays open for them.

Remaining work

  • Rerun the #12025 probe with the plugin on this change: wfh-grounding-readme must pass the terms-grounded grader in 3 of 3 runs, and wfh-grounding-howto must still pass, recorded with run-validity.py VALID.

Not verified

  • Done-when item 2: running wfh-grounding-readme and wfh-grounding-howto with the plugin (3 runs, terms-grounded grader, run-validity.py VALID) needs a host Claude Code eval run that this lane cannot make. Neither case exists in this repository, so the probe from #12025 has to be rerun where it lives.
  • Tidy did not run every pass. Pass 5 skipped the deterministic ai-slop detector (detect.sh), which is not a wrapper this lane may run; its rubric was applied by reading and found nothing. Pass 4 on the changelog fragment applied write-for-humans from the skill text already read this session instead o
  • The CI-only checks check-affected listed (evals-schema, purged-em-dashes, portability-lint and others) are left to the PR's CI
  • typos is not installed in the lane, so check-affected skipped it

Fix

  • plugins/docs-hygiene/skills/write-for-humans/SKILL.md: section heading and intro now say four rules; new table row for the grounding rule with its test and example
  • plugins/docs-hygiene/skills/write-for-humans/evals/evals.json: new eval case id 7, grounds-each-concept-before-relying-on-it
  • .changes/docs-hygiene/work-resolve-issue-issue-12085-41344557143-1-2e018b33.md: new minor changelog fragment for the rule and its eval

Verification

The runner ran each check from the base copy against 4016ece:

  • scripts/check-changelog-fragments.sh --check: passed
  • scripts/check-changed-skills.sh --merge-base: passed

The run reports:

  • check-changelog-fragments: all 6 fragments valid (run before and after the review fixes)
  • check-changed-skills: write-for-humans PASS, 0 errors, 3 warnings (description and body length over Pocock's measured max, body grew by 1 line)
  • check-affected: 11 passed, 7 skipped, 0 failed over 3 changed files
  • check-evals-quality on write-for-humans/evals/evals.json: PASS, 0 warnings
  • fresh-context review subagent: no high findings; fixed the medium and low findings (the example contradicted itself and broke the goal-first address rule, the test sentence was over the 20-word instruction cap, the bold rule dropped the assumed-knowledge alternative, the eval prompt left the retenti
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/41344557143

Left out: the items under Not verified.

Related

#12085

Lane-Activity: work-resolve-issue/resolve-issue
@github-actions

github-actions Bot commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

claude-security-review reviewed 4016ece861294d7eb750980bc07638a733eb8f4f: read 3 of 3 changed file(s); 0 finding(s), 0 as inline comments.

Security review: no security issues found

I read every hunk in all 3 changed files. None of them matches a trusted-path glob.

  • plugins/docs-hygiene/skills/write-for-humans/SKILL.md adds a fourth writing-style rule that holds under any declared style guide (introduce each concept before a sentence relies on it, or name it as assumed knowledge). The section heading and intro now say "four" instead of "three." I checked it under the instruction-surface lens because a skill body is a standing instruction. The change only adds guidance and removes, narrows or softens no rule. The existing line "the project's guide wins" is unchanged. It grants no tool, permission or action.
  • plugins/docs-hygiene/skills/write-for-humans/evals/evals.json adds eval case 7 with a static prompt and expectations. Nothing in it runs code or handles a credential.
  • .changes/docs-hygiene/...md is a new changelog fragment (bump: minor) with prose only.

The diff changes no plugin manifest, workflow, trust control, token scope, kill switch or merge hold. The PR context has no embedded directives aimed at the review lane.

critical-findings: 0

@github-actions

github-actions Bot commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

claude-review reviewed 4016ece861294d7eb750980bc07638a733eb8f4f: read 3 of 3 changed file(s); 0 finding(s), 0 as inline comments.

Code review: PR #12098, write-for-humans grounding rule

No findings. I read every hunk in all 3 changed files.

What the PR changes

  • plugins/docs-hygiene/skills/write-for-humans/SKILL.md: adds a fourth rule to the rules that still apply under a project's own style guide. The heading and intro now say "four". The new rule went in as row 4, so the existing "the third rule's test misses" text (line 53) and "per the third rule above" text (line 110) still point at the right row ("Write the real name, and the real number"). I checked both against the head file.
  • plugins/docs-hygiene/skills/write-for-humans/evals/evals.json: adds eval case id: 7. It continues the id sequence (1–6) and uses the same shape as the other cases (name, prompt, expected_output, files, expectations). Each expectation checks the new rule, covering stash, vault, archive and the retention window.
  • .changes/docs-hygiene/...2e018b33.md: a bump: minor changelog fragment. The skill gains new behavior, so minor is the right level.

Criteria checked

  • Closing issue: the PR body says Refs: #12085 and the context file has no closing-issue section, so this PR closes no issue and I had no acceptance criteria to check. The PR says the issue stays open for the follow-up probe reruns.
  • Path-scoped rules: .claude/rules/skill-bodies-state-current-rules.md, .claude/rules/cost-claims.md and .claude/rules/eval-case-transcripts.md match changed files. Neither the new skill row nor the eval case breaks them. The new row restates no upstream fact that could go out of date, makes no cost claim, and the eval prompt is synthetic, not a transcript.
  • Plugin manifests: no plugin.json or marketplace.json changes, so I had no manifest items to check.
  • Prior findings: 0 earlier rounds; the round cap is 3 and was not reached.

Not verified: the PR body's check results (check-changelog-fragments, check-changed-skills, check-evals-quality, check-affected) come from the PR author, and this lane did not run them. The PR also says the with-plugin probe reruns for wfh-grounding-readme and wfh-grounding-howto did not run.

Spend: the new eval case adds one case to any eval run of this skill, which uses prepaid API credit. This is not a hold.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The unattended merge path armed native auto-merge at head 4016ece861294d7eb750980bc07638a733eb8f4f.

@melodic-automation-lanes
melodic-automation-lanes Bot added this pull request to the merge queue Nov 1, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Nov 1, 2026
@melodic-automation-lanes
melodic-automation-lanes Bot added this pull request to the merge queue Nov 1, 2026
Merged via the queue into main with commit 24c6e71 Nov 1, 2026
43 checks passed
@melodic-automation-lanes
melodic-automation-lanes Bot deleted the work-resolve-issue/issue-12085-41344557143-1 branch November 1, 2026 21:11
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The post-merge check verified merge commit 24c6e71e077b1c93145d2ac11729d88cf53e0cc1; later checks count it verified from this comment.

kyle-sexton added a commit that referenced this pull request Nov 1, 2026
… descriptions

The write-for-humans grounding rule ships since #12098, so both case
descriptions now say so, and the how-to probe line names the rule as
loaded, matching the README record.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants