docs: add design guidelines, design-engineer principles, and CLAUDE.md#473
Open
veksen wants to merge 1 commit into
Open
docs: add design guidelines, design-engineer principles, and CLAUDE.md#473veksen wants to merge 1 commit into
veksen wants to merge 1 commit into
Conversation
Add the web interface guidelines (a per-PR checklist adapted from Vercel's, tuned to this Gatsby + styled-components stack) and the design engineer operating principles, plus a CLAUDE.md that points agents at them so they load every session. The mechanical rules in the checklist are enforced in .eslintrc.js. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
✅ Deploy Preview for tph ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds design reference docs to the repo (previously kept only as a local working copy under the gitignored
.context/), plus aCLAUDE.mdto wire them into agent sessions.What's here
docs/design/web-interface-guidelines.md— a per-PR checklist adapted from Vercel's Web Interface Guidelines, tuned to this Gatsby + styled-components stack (interactivity, motion, a11y, color, content/state, performance).docs/design/design-engineer.md— operating principles from Vercel's Design Engineer page, plus the enforcement ladder (prose → context-injection → lint → CI gates).CLAUDE.md— points agents (and humans) at the two docs and states the two load-bearing rules: don't change visual design without sign-off; ship green, one improvement per commit.Why
Prose guidelines are the weakest form of enforcement — an agent has to choose to read them.
CLAUDE.mdmakes them load every session, and the mechanical rules are already enforced in.eslintrc.js(a companion change on the website branch) so CI blockstransition: all, bare:focus, and unguardedoutline: none.Notes
CLAUDE.mdis the only opinionated addition — if you'd rather land just the two docs, drop that file and the PR still stands.🤖 Generated with Claude Code