mirror of
https://github.com/mvanhorn/cli-printing-press.git
synced 2026-09-14 15:38:08 +08:00
0260d68603
* fix(skills): detect installed skill drift after binary upgrades Add a skill-too-old-for-binary floor so a 4.32+ binary cannot silently run a pre-rewrite printing-press skill. Bump skill version to 3.0.0, compare it to MinSkillVersion in preflight, and fail closed on [skill-stale] with a skills-only reinstall path. Closes #4484 Co-authored-by: Trevin Chow <tmchow@users.noreply.github.com> * fix(cli): report worst skill drift and fail-closed stale gate Scan every discovered printing-press install so a current ~/.claude copy cannot mask a stale sibling. Make the [skill-stale] preflight branch exit non-zero like other hard gates, and restore PLUGIN-DEV.md in the developer-doc index. Co-authored-by: Trevin Chow <tmchow@users.noreply.github.com> --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: Trevin Chow <tmchow@users.noreply.github.com>
1.9 KiB
1.9 KiB
Doc Authoring Rules
These rules cover AGENTS.md and the extracted developer docs it points to.
Editing AGENTS.md
The "Code & Comment Hygiene" rules apply to docs too:
- No dates, incidents, or ticket numbers in rules. Justification belongs in the PR introducing the rule, not embedded in it.
- Do not defend the doc's structure inside the doc. Write the rule and the pointer; skip narration about why the file is arranged that way.
- Make rules applicable at the moment they fire. Keep the inline
AGENTS.mdrule command-shaped: trigger, required action or prohibition, concrete values, then the pointer to the longer doc. - Examples should be generic or anti-pattern-shaped, not lifted from the specific incident that prompted the rule.
Pointer-rot rule
When an extracted doc's applicability changes, update the inline trigger sentence in AGENTS.md in the same PR. Applicability changes include a new fire condition, a removed fire condition, or a changed prohibition, enum, file path, test name, or required value.
Developer-doc surface
The extracted developer docs are:
docs/GOLDEN.md— golden harness rubric and fixture conventionsdocs/GLOSSARY.md— naming conventions, disambiguation defaults, and the implementation reference behind the concepts inCONCEPTS.mddocs/RELEASE.md— release-please / goreleaser flowdocs/ATTRIBUTION.md— creator + contributors attribution modeldocs/ARTIFACTS.md— local library, manuscripts, and public-library flowdocs/CODEX.md— installing and using Printing Press skills in Codexdocs/CURSOR.md— using printed CLIs and skills in Cursordocs/DOCS.md— this doc-authoring guidancedocs/PLUGIN-DEV.md— persistent local plugin development setupdocs/SKILLS.md— skill authoring: install targets, workflow parity,version:/MinSkillVersion,context: fork/user-invocable