Skip to content
SprecherEast
Issue 444

Epic: Tools that check our rules automatically

Back to our plan
Open
ciprocesstoolingpriority: high

Summary

Plug in a few well-known tools now so the rules we already have are checked by machines on every change, not only remembered by agents. We are refactoring a lot (epic #163), which is when dead code, shared-component breakage and security slips sneak in.

Summary of the owner's request (2026-10-26, Claude Code session): if something important should be plugged in now, while the project is young, stop all current work, file a few GitHub issues or an epic, and plug in everything that suits the context and the project's aims and will pay off both soon and over time.

Details

The owner's research list, checked against the repo:

ToolDecisionWhy
knip (unused files, exports, dependencies)Add (sub-issue)Nothing in the repo finds dead code across files; ESLint only sees one file. Migrations in #163 already left dead files by hand.
Claude Code hooks (format and lint after each edit)Add (sub-issue)Hooks always run; instructions in CLAUDE.md can be skipped.
Anthropic's official security-guidance pluginAdd (same sub-issue)Free, from Anthropic; checks each edit and each commit for security mistakes before CodeQL sees them.
"Watch out" label for shared-component PRsAdd (sub-issue)The owner's own convention (2026-10-26); actions/labeler is already set up.
eslint-plugin-boundariesAlready in place#137, eslint.boundaries.config.mjs.
dependency-cruiser, archprintSkipSame job as the boundaries lint we already enforce; archprint is a 7-star project.
Zod, one schema for client and serverAlready in placeForm.client.tsx, contact/ui/formSchema.ts, account actions.
Tailwind v4 tokens, theme swapAlready in place#146, decisions 0006 and 0012.
Issue forms, sub-issues, project boardAlready in place.github/ISSUE_TEMPLATE/, project-tracking skill.
code-review, pr-review-toolkit pluginsSkipThey overlap the repo's own self-review and pr-review skills, which apply this repo's rules.
CODEOWNERS requiring the owner's reviewNot nowAgents work through the owner's account, and GitHub won't let an account approve its own PR, so every merge would block. Revisit with #106.

Acceptance criteria

  • Not done: All sub-issues are closed.
  • Not done: docs/project.md lists each new tool where it belongs.

Generated by Claude Code, opens in a new tab

See it on GitHub, opens in a new tab