Issue 444
Epic: Tools that check our rules automatically
Back to our planOpen
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:
| Tool | Decision | Why |
|---|---|---|
| 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 plugin | Add (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 PRs | Add (sub-issue) | The owner's own convention (2026-10-26); actions/labeler is already set up. |
| eslint-plugin-boundaries | Already in place | #137, eslint.boundaries.config.mjs. |
| dependency-cruiser, archprint | Skip | Same job as the boundaries lint we already enforce; archprint is a 7-star project. |
| Zod, one schema for client and server | Already in place | Form.client.tsx, contact/ui/formSchema.ts, account actions. |
| Tailwind v4 tokens, theme swap | Already in place | #146, decisions 0006 and 0012. |
| Issue forms, sub-issues, project board | Already in place | .github/ISSUE_TEMPLATE/, project-tracking skill. |
code-review, pr-review-toolkit plugins | Skip | They overlap the repo's own self-review and pr-review skills, which apply this repo's rules. |
| CODEOWNERS requiring the owner's review | Not now | Agents 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.mdlists each new tool where it belongs.
Generated by Claude Code, opens in a new tab