Skip to content

docs(claude): install agent skills + slim CLAUDE.md#71

Merged
themightychris merged 2 commits into
mainfrom
docs/install-skills-slim-claudemd
May 19, 2026
Merged

docs(claude): install agent skills + slim CLAUDE.md#71
themightychris merged 2 commits into
mainfrom
docs/install-skills-slim-claudemd

Conversation

@themightychris
Copy link
Copy Markdown
Member

Two-commit PR.

1. chore: install specops + backend-fastify + frontend-shadcn skills

Brings the three skills used to build this project under version control. Pinned via skills-lock.json.

2. docs(claude): slim CLAUDE.md, defer spec/plan workflow to specops skill

CLAUDE.md was duplicating ~70% of specops's skill body. Trims that out and replaces it with a short skills-inventory, plus fills the gaps a fresh contributor would actually trip over:

  • Three-repo map (this repo / codeforphilly-data / cfp-sandbox-cluster)
  • Runtime data flow (push daemon, reconciler, hot-reload webhook)
  • "Working laterally on the data repo" — read its CLAUDE.md + gitsheets skill first
  • Local setup walkthrough (.env.example, sibling clone of data repo)
  • CI @cfp/shared pre-emptive-build gotcha
  • Merge convention (rebase + gh pr merge --merge, never --rebase or --squash)
  • Co-Authored-By trailer convention

Also fixes stale claims: importer "not yet implemented" (it's built + merged), codeforphilly-data-snapshot reference (the model moved to branches on codeforphilly-data).

Net: 153 lines → 102 lines, none duplicating any installed skill.

🤖 Generated with Claude Code

themightychris and others added 2 commits May 19, 2026 13:40
Brings the three skills used to build this project under version control
in .agents/skills/, with .claude/skills/<name> symlinks for Claude Code
to discover. skills-lock.json pins each skill's source + content hash so
they sync deterministically.

- specops — spec-driven workflow + plans protocol (replaces the manual
  recap of these conventions that lives in .claude/CLAUDE.md; that
  trimming follows in the next commit)
- backend-fastify — Fastify + TS patterns, plugin order, env validation
- frontend-shadcn — Vite + React 19 + shadcn/ui + Tailwind v4 + React
  Router v7 patterns

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
CLAUDE.md was duplicating ~70% of what the specops skill (just installed)
already covers — the spec-driven philosophy and the plans-protocol
ritual. With the skill present, that duplication will rot and confuse.

Trims that content out and replaces it with a short "Skills available in
this repo" inventory pointing at the three skills now installed. Also:

- Fix stale claims: importer "not yet implemented" (it's been built and
  rewritten via gitsheets transact; merged); `codeforphilly-data-snapshot`
  (no longer the model — single repo `codeforphilly-data` with branches
  empty/fixture/legacy-import/published)
- Add "Three repos in this project" diagram so a fresh contributor can
  map this repo to `codeforphilly-data` and `cfp-sandbox-cluster`
- Add "Runtime data flow" callout for the push daemon + reconciler +
  hot-reload webhook — significant runtime architecture that wasn't
  surfaced anywhere a new agent would find it
- Add "Working laterally on the data repo" callout reminding agents to
  read the data repo's own `.claude/CLAUDE.md` + the gitsheets skill it
  ships when reaching across
- Add "Local setup" walkthrough — `.env.example`, clone data repo as
  sibling, where `CFP_DATA_REPO_PATH` should point
- Add "CI" subsection explaining the `@cfp/shared` pre-emptive build (a
  gotcha that bit us before)
- Document the merge convention (rebase locally + `gh pr merge --merge`,
  never `--rebase` or `--squash`)
- Document the Co-Authored-By trailer
- Rephrase "Per the user's global rules" → "Project conventions"

Net: 153 lines → 102 lines, none of which duplicate any installed skill.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@themightychris themightychris merged commit 628208d into main May 19, 2026
1 check failed
@themightychris themightychris deleted the docs/install-skills-slim-claudemd branch May 19, 2026 17:43
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