Repository navigation
chore(docs): update AGENTS.md to reflect recent changes - #241
RedStar071 wants to merge 1 commit into
Conversation
Review of PRs merged in the last 7 days surfaced two established conventions missing from AGENTS.md: the knip unused-code/dependency check (devDependency and CI job since the repo's first commit, touched again in #232) has no root script and was undocumented, and recent structural-change PRs (#206, #218, and earlier parity work) consistently link a plan/spec under docs/superpowers/ that AGENTS.md never mentioned.
|
Note The title starts with
|
There was a problem hiding this comment.
ℹ️ No critical issues — the doc changes are accurate; one PR body rule violation and one optional consistency note.
Reviewed changes
Reviewed the single-commit docs change to AGENTS.md, checking each new claim against knip.json, .github/workflows/ci.yml, root package.json and docs/superpowers/.
knipdocumented — added to Stack, the quality gates (as gate 5) and the Commands block. Verified:knipis a root devDependency, there is no root script, CI job🧹 Unused code checkrunspnpm exec knip, andknip.jsonhas thepackages/plugin-loggersrc/assertions.tsentry.- Design-doc convention — new Conventions bullet for
docs/superpowers/plans/anddocs/superpowers/specs/. Verified: the naming patterns match the existing files, and the example2026-10-05-message-types-parity-design.mdexists. - "Done means" wording — "the four quality gates" became "the quality gates", so it no longer goes stale. No other "four gates" text remains in the repo.
ℹ️ PR body carries a second attribution footer
The PR body ends with _Generated by [Claude Code](https://claude.ai/code)_ after the disclosure line. AGENTS.md says the disclosure line is the only AI attribution a PR body may carry and that nothing may follow it, so the footer and the --- rule above it should be removed.
Technical details
# Remove trailing attribution from the PR body
## Affected sites
- PR #241 body — ends with `---` and `_Generated by [Claude Code](https://claude.ai/code)_` after the `🤖 AI disclosure:` line.
## Required outcome
- The body has exactly one disclosure line and nothing after it (see the "AI disclosure" bullet in `AGENTS.md` Conventions).ℹ️ implement-issue skill's gate chain omits knip
.claude/skills/implement-issue/SKILL.md:74 still lists pnpm lint && pnpm build && pnpm typecheck && pnpm test, while AGENTS.md now lists knip as the fifth gate, so an agent following that skill won't run it. The skill is shared with stars-components, so this is optional and may be better as a follow-up.
claude-sonnet-5-5 | 𝕏

🔗 Linked issue
N/A — found while running the weekly "Maintain AGENTS.md" routine.
🧭 Context
Reviewed the pull requests merged into
mainin the last 7 days (Oct 4–9) and the source/config files they touched, to check whetherAGENTS.mdstill documents the repo's actual conventions. Most recent docs/convention PRs (#199, #200, #204, #205, #211–#215) already keepAGENTS.mdcurrent. Two gaps were still missing though:knip(the unused-code/dependency checker) has been a devDependency and CI job (🧹 Unused code check) since the repo's first commit, and feat(plugin-logger): rework the sentry, evlog and winston transports #232 touchedknip.jsonagain (adding aplugin-loggerentry point) — but it was never mentioned anywhere inAGENTS.md.bulkDelete/Messageparity, feat(plugin-gateway)!: align equals() with discord.js across structures #218equals()parity, and earlier parity work going back to late September) consistently write a design plan/spec underdocs/superpowers/plans/anddocs/superpowers/specs/and link it from the PR description instead of re-explaining the design — an established, repo-wide pattern with 8+ plans and 14+ specs, but likewise undocumented.📚 Description
knipto the Stack list, the quality gates list, and the Commands block, noting it has no rootpackage.jsonscript (pnpm exec knipdirectly) and pointing atknip.jsonfor per-workspace overrides.docs/superpowers/plans/+docs/superpowers/specs/design-doc pattern for non-trivial structural work, with the naming convention and an example.No other gaps found: package descriptions, engines ranges (
plugin-apistill>=20.18.1after the undici v8 bump in #181), thetypecheckscript's consumption-test list, and the PR/commit conventions sections all still match the current code.Key changes
knipknipas a stack tool, 5th quality gate, andpnpm exec knipcommanddocs/superpowers/{plans,specs}/conventionType of Change
Pre-flight Checklist
pnpm changeset(orpnpm changeset add --emptyif no release is needed). See .changeset/README.md.Generated by Claude Code