Skip to content

Fold Insights follow-ups into CLAUDE.md, add make preflight and /ship - #82

Merged
AdamClemens merged 2 commits into
mainfrom
docs/insights-followups
Sep 8, 2026
Merged

Fold Insights follow-ups into CLAUDE.md, add make preflight and /ship#82
AdamClemens merged 2 commits into
mainfrom
docs/insights-followups

Conversation

@AdamClemens

Copy link
Copy Markdown
Owner

Summary

Folds six follow-ups from the 2026-09-08 Claude Code Insights usage report into CLAUDE.md, the Makefile, and a new /ship skill.

  • CLAUDE.md: adds a Feature Verification Before Reporting Done section (after Merge Gate), a Tooling Gotchas section (Formatter Hook Interaction + Shell Usage/Git Bash), and a Documentation Blast Radius subsection under Documentation.
  • The proposed standalone "Branch & PR Workflow" section overlapped almost entirely with the existing same-day Branch Discipline section, so its content (the CLAUDE.md-only exception, PR/merge/cleanup steps, the preflight-before-commit requirement) was folded into Branch Discipline instead of creating a duplicate, conflicting heading.
  • Makefile: adds make preflight — regenerates the docs index and repository inventory, then runs the link checker, check-manifest/check-references, lint, typecheck, and the test suite, failing fast. Deliberately narrower than make ci; not a substitute for it before merge.
  • .claude/skills/ship/SKILL.md: the /ship skill — branch → TDD → blast-radius propagation → preflight → ci → PR → merge — with every numbered step citing the CLAUDE.md section it restates, so the two can't quietly diverge.

Blast radius

Adding .claude/skills/ and .claude/skills/ship/ triggered this repo's own KA-038 rule (every directory needs a CLAUDE.md), bumping the tracked count from 47 to 49. Fixing that count surfaced and corrected two pre-existing drifts in the same commit:

  • docs/repository-manifest.md's own copy of the CLAUDE.md count had been stale at 45 since 2026-08-23 — two updates behind docs/planning/roadmap.md's copy.
  • The roadmap's own "N carry real content" arithmetic no longer matched its stated total (44 implied, 42 stated).

Test plan

  • make ci green: 1142 passed, 21 skipped, 99% coverage; all structural checks (check-graph, check-manifest, check-references, check-scenarios, check-stages, check-documents, check-status, check-dates, check-benchmark-report) green
  • make -n preflight confirms the new target's prerequisite chain resolves correctly

🤖 Generated with Claude Code

AdamClemens and others added 2 commits September 8, 2026 13:22
Adds four process rules from the 2026-09-08 Claude Code Insights report
to root CLAUDE.md: a Feature Verification section (run the real command
before calling a user-facing feature done), a Tooling Gotchas section
(the formatter hook stripping unused-looking imports, Git Bash mangling
heredocs), and a Documentation Blast Radius subsection under
Documentation. The proposed "Branch & PR Workflow" section overlapped
almost entirely with the same-day Branch Discipline section, so its
content (the CLAUDE.md-only-edit exception, the PR/merge/cleanup steps,
the make-preflight-before-commit requirement) was folded into Branch
Discipline instead of duplicating it under a second heading.

Adds `make preflight`: docs/inventory regeneration, the link checker,
the two structural-consistency checks fast enough for a local gate
(check-manifest, check-references), lint, typecheck, and the test
suite -- a faster pre-commit gate than full `make ci`, which it does not
replace.

Adds `.claude/skills/ship/SKILL.md`, a checklist for the branch -> TDD ->
blast-radius -> preflight -> ci -> PR -> merge loop that every numbered
step cites back to the CLAUDE.md section it restates.

Blast radius: creating `.claude/skills/` and `.claude/skills/ship/`
brought the tracked CLAUDE.md count from 47 to 49, which required
updating docs/planning/roadmap.md's TASK-009 row and regenerating
docs/repository-inventory.md and docs/planning/status.md. While fixing
that count, found and corrected two pre-existing drifts: docs/
repository-manifest.md's own copy of the same count had been stale at
45 since 2026-08-23 (two updates behind roadmap.md), and the roadmap's
"N carry real content" arithmetic no longer matched its own total (44
implied, 42 stated). Both corrected in this change.

make ci: 1142 passed, 21 skipped, 99% coverage; all structural checks
(check-graph, check-manifest, check-references, check-scenarios,
check-stages, check-documents, check-status, check-dates,
check-benchmark-report) green.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
# Conflicts:
#	docs/planning/status.md
#	docs/repository-inventory.md
#	docs/repository-manifest.md
@AdamClemens
AdamClemens merged commit b66439c into main Sep 8, 2026
2 checks passed
@AdamClemens
AdamClemens deleted the docs/insights-followups branch September 8, 2026 17:14
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