Skip to content

docs(repo-hygiene): name clean's successors in a Next section - #7320

Merged
kyle-sexton merged 1 commit into
mainfrom
docs/repo-hygiene-clean-next
Oct 12, 2026
Merged

kyle-sexton merged 1 commit into
mainfrom
docs/repo-hygiene-clean-next

Conversation

@kyle-sexton

Copy link
Copy Markdown
Member

No related issue: small skill-body follow-up found while running /repo-hygiene:clean from a non-repository directory.

Summary

/repo-hygiene:clean had no ## Next section, which .claude/rules/skill-bodies-state-current-rules.md requires of a skill with natural successors. No tier removes linked worktrees (git only prunes records of deleted ones), and no batch form audits branches or worktrees, so a run gave no pointer to either.

Fix

  • Adds ## Next before ## Integration (the last H2, per the rule's placement) naming /source-control:worktree cleanup --dry-run, /repo-fleet-hygiene:audit and /disk-hygiene:clean.
  • ## Integration stays: it describes what the git action invokes and the non-skill follow-ups (rebuild, reinstall, env validation) a ## Next cannot hold.
  • Patch changelog fragment under .changes/repo-hygiene/.

Verification

  • All three successor skills exist under plugins/.
  • Fragment validated by scripts/new-changelog-fragment.sh on write.

Related

.claude/rules/skill-bodies-state-current-rules.md (Successor sections).

🤖 Generated with Claude Code

https://claude.ai/code/session_011WAGt7U42mcXW8yEoWdNZ2

No clean tier removes linked worktrees and no batch form audits them, so
the skill now names /source-control:worktree cleanup,
/repo-fleet-hygiene:audit and /disk-hygiene:clean as follow-ups.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_011WAGt7U42mcXW8yEoWdNZ2
@kyle-sexton
kyle-sexton marked this pull request as ready for review October 12, 2026 16:35
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 12, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-12T16:38:29.744067Z 9438c50 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@claude

claude Bot commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @kyle-sexton's task in 39s —— View job


Security review complete

  • Gather context (PR diff, changed files)
  • Review changed files for security-relevant surface
  • Apply instruction-surface deletion lens
  • Report findings

Scope: .changes/repo-hygiene/docs-repo-hygiene-clean-next-d1ee5752.md (new changelog fragment) and plugins/repo-hygiene/skills/clean/SKILL.md (adds a ## Next section).

Findings: none. This diff is purely additive documentation — it adds a ## Next section to the clean skill naming three follow-up commands (/source-control:worktree cleanup --dry-run, /repo-fleet-hygiene:audit, /disk-hygiene:clean) and a matching changelog fragment. It contains no code, no credential/token handling, no injection surface, and no removal, narrowing, or softening of any standing instruction or guardrail — the existing ## Integration section and its content are untouched. Skip-gate condition 2 (no security-relevant surface) applies; no inline comments were posted.

claude-lane-summary: lane=claude-security-review sha=9438c50c628ac01d25ed51be9d2689b3919719b7 run=38278491236

@claude

claude Bot commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @kyle-sexton's task in 2m 11s —— View job


Review: docs(repo-hygiene): name clean's successors in a Next section

  • Gather context (diff, skill-bodies-state-current-rules.md, successor skills)
  • Verify ## Next placement against the rule
  • Verify the three successor skills exist and are described accurately
  • Verify changelog fragment format

Checks performed:

  • Placement: the rule requires ## Next before ## Gotchas, or before the last H2 when there's no ## Gotchas. This file has no ## Gotchas; the last H2 is ## Integration, and the new section is inserted directly before it — correct per the rule.
  • Content format: 3 bullets of <outcome>: /plugin:skill [args]., within the rule's allowed 2–4 range, no Skill-tool phrasing or fallback clauses.
  • All three referenced skills exist: plugins/source-control/skills/worktree (cleanup [--dry-run] — matches SKILL.md:140), plugins/repo-fleet-hygiene/skills/audit, plugins/disk-hygiene/skills/clean.
  • Cross-checked the claim "no tier removes linked worktrees" against the file's own git tier text (SKILL.md:200): the WORKTREE branch path invokes /source-control:worktree cleanup --dry-run and hands off removal rather than performing it, consistent with the new section.
  • Changelog fragment frontmatter/shape matches sibling fragments in .changes/repo-hygiene/.

No findings. Small, accurately-cited doc change; verification claims in the PR body (fragment validated via scripts/new-changelog-fragment.sh) are author-claimed and not independently re-run here.

claude-lane-summary: lane=claude-review sha=9438c50c628ac01d25ed51be9d2689b3919719b7 run=38278491294

@github-actions

Copy link
Copy Markdown
Contributor

claude-security-review has reviewed this pull request through 9438c50; a later push is reviewed from there.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 9438c50c62

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@github-actions

Copy link
Copy Markdown
Contributor

claude-review has reviewed this pull request through 9438c50; a later push is reviewed from there.

@kyle-sexton
kyle-sexton added this pull request to the merge queue Oct 12, 2026
Merged via the queue into main with commit 9ac7fbc Oct 12, 2026
31 of 32 checks passed
@kyle-sexton
kyle-sexton deleted the docs/repo-hygiene-clean-next branch October 12, 2026 16:53
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.

1 participant