agentleFS
calebnewtonusccalebnewtonusc/Chewbacca/skills/stack-rules/SKILL.md

stack-rules

Skill8 starsChanged 3 months agoMITView on GitHub

Enforces this kit's standards for Next.js, React, Supabase and Vercel work. Use when writing or reviewing UI components, API routes, database schemas or queries, deployment config, styling, animations, accessibility, performance, state management or tests, or when running a pre-ship audit. Covers shadcn/ui patterns, Zod-validated App Router routes, RLS policies, Core Web Vitals budgets and WCAG contrast.

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read the specific file before writing code in its area.

    line 19
  2. Very specific:

    When a task spans areas, read each relevant file.

    line 43

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Stack rules

Twelve standards files for the stack this kit assumes. They load only when the work actually touches the relevant area, which is the point: importing all of them on every session costs roughly 12,500 tokens, and a Python service that will never render a button should not pay for the Tailwind rules.

The six genuinely universal standards (git, security, writing, naming, typescript, review-discipline) are not here. Those are @-imported by CLAUDE.md and always in context, at about 3,700 tokens.

Which file to read

Read the specific file before writing code in its area. Do not read all twelve.

Working onRead
React components, shadcn/ui, loading/empty statesreferences/components.md
API routes, Zod validation, error shapesreferences/api.md
Supabase schema, RLS, migrations, queriesreferences/database.md
Vercel deploys, env vars, pre-deploy checksreferences/deployment.md
Color, typography, spacing, the visual systemreferences/design.md
Images, fonts, bundle size, Core Web Vitalsreferences/performance.md
React Query, URL state, Zustand, form statereferences/state.md
Semantic HTML, focus, ARIA, WCAG contrastreferences/accessibility.md
Scroll animations, parallax, reveal effectsreferences/scroll-effects.md
Unit, integration, and E2E testsreferences/testing.md
Hick's, Fitts's, Miller's, layout decisionsreferences/ux-laws.md
Pre-ship audit across all six lensesreferences/audit.md

How to apply them

These are standards, not suggestions. When a file says "never build a custom button, use shadcn/ui," that is the expected output, not one option among several. If a rule genuinely does not fit the project, say so and explain why rather than quietly ignoring it.

When a task spans areas, read each relevant file. Building a settings page that saves to Supabase means components.md, state.md, and database.md, plus accessibility.md before it ships.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.