Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By mooktakimv0.21.1MITIn 1 marketplace
Per-section design-system docs for Rails apps on Tailwind v4: role tokens, component specs, page patterns, drift auditing, edit-time enforcement, and a design-reviewer agent
Claude hands work to one, or you mention it with @.
2 cautions to review before installing
A hook runs when Claude uses the Bash tool
A hook runs when Claude writes or edits files
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Codifies a Rails app's UI into a design system that every future view is built against - so the whole application stays visually consistent as it grows. It generates agent-facing specs under docs/design-system/, then keeps them maintained and enforced as the views change.
/plugin marketplace add mooktakim/skills
/plugin install rails-design-system@mooktakim
In the target app, under docs/design-system/:
README.md - the router: the protocol agents follow before building any view, the sharing model, plus the section index.conventions.md - the rules every section follows: text case, how each state is shown, money and date formats, icons, action wording.admin/, marketing/, app/...) - independent UI contexts detected from layouts, controller namespaces, and routes. Each holds:
design.md - the section's aesthetic direction and do/don't rules.tokens.md - role-named tokens (surface, primary, border...) per dimension, compiled to a Tailwind v4 @theme block.components/<name>.md - one spec per component: a closed contract (variant/size/tone axes, six mandatory states) and a canonical HTML recipe in token utilities.patterns/<name>.md - page archetypes (index page, form page, app shell...) composing components by reference; app-shell.md defines the page frames the others name.divergences.md - the migration backlog: every off-system value found, and what it should become.Plus, outside docs/: a design-system block in the root AGENTS.md (which the root CLAUDE.md imports) so agents load the standard before any view work; bin/audit_design - a drift script (plain Ruby, no gem dependencies) that flags raw hex, arbitrary [...] values, and literal palette classes; and a CI step (bin/audit_design --strict, or --changed <branch> while old drift remains). Enforcement during Claude Code sessions needs no wiring in the app: the plugin ships the hooks - a PostToolUse hook on every Write/Edit and on Bash commands that change a view file, plus Stop/SubagentStop hooks that catch edits made by generators or anything else - and runs its own copy of the audit (also for an app at any depth in a larger repository, such as apps/server/, found once per session from the Rails apps git sees), so a fix to the checks reaches every app when the plugin updates. Violations go back to the agent as blocking errors. Only lines added since the last commit are checked, so old drift never blocks an unrelated edit.
How a view change is checked:
flowchart TD
edit["Agent edits a view"] --> hook["Hook audits the added lines"]
hook -->|"raw hex, palette class,<br/>arbitrary value"| block["Blocking error:<br/>the agent fixes it"]
block --> edit
hook -->|"clean"| rev["design-reviewer checks the<br/>change against the specs"]
rev -->|"a finding that<br/>keeps coming back"| rule["New audit-rules line"]
rule -.->|"enforced from then on"| hook
rev --> ci["CI runs<br/>bin/audit_design --strict"]
shared/ tokens and components that sections build on), and a single section can adopt an external library as-is (its palette classes allowed on its paths only). The choice is made once in the plan and recorded in the design system's README; maintenance runs respect it.conventions.md holds what every section must agree on - text case, how each status is shown, money and date formats - and each section's app shell owns its page frame (width, padding, top spacing), so a rule like "status tags never show a dot" or "same top margin on every page" is one edit, not one per section.A curated component catalog ships with the skill (buttons, forms, tables, navigation, overlays, page patterns...) as role-tokenized raw material - specs are adapted from it to each section's tokens, never pasted.
npx claudepluginhub mooktakim/skills --plugin rails-design-systemBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground