ai-context-engineering-for-frontend
CLAUDE.md2 starsChanged 8 months agoUnlicenseView on GitHub
AI-driven frontend template for Vue 3 / React 18. Every code-generating skill requires react or vue as input.
In this repository70 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- .cursor/rules/00-project-context.mdcCursor rule
- .cursor/rules/01b-component-gen-next.mdcCursor rule
- .cursor/rules/01-component-gen.mdcCursor rule
- .cursor/rules/02-component-tests.mdcCursor rule
- .cursor/rules/03b-vue-doctor.mdcCursor rule
- .cursor/rules/03-react-doctor.mdcCursor rule
- .cursor/rules/04-ui-tweak.mdcCursor rule
- .cursor/rules/05-refactor.mdcCursor rule
- .cursor/rules/06-frontend-code-review.mdcCursor rule
- .cursor/rules/07-fe-repo-scout.mdcCursor rule
- .cursor/rules/08-be-repo-scout.mdcCursor rule
- .cursor/rules/09-web-vitals.mdcCursor rule
- .cursor/rules/10-browser-check.mdcCursor rule
- .cursor/rules/11-api-bind.mdcCursor rule
- .cursor/rules/12-e2e-tests.mdcCursor rule
- .cursor/rules/13-api-mocks.mdcCursor rule
- agents-checkerSkill
- api-bindSkill
- api-mocksSkill
- be-repo-scoutSkill
- browser-checkSkill
- component-gen-nextSkill
- component-genSkill
- component-testsSkill
- curate-lessonsSkill
- e2e-testsSkill
- fe-repo-scoutSkill
- fix-markdownSkill
- frontend-code-reviewSkill
- init-agentSkill
- init-projectSkill
- init-skillSkill
- prSkill
- react-doctorSkill
- refactorSkill
- setup-configsSkill
- skill-auditSkill
- spec-auditSkill
- ui-tweakSkill
- update-ai-setupSkill
- vue-doctorSkill
- web-vitalsSkill
- agents-checkerSkill
- api-bindSkill
- api-mocksSkill
- be-repo-scoutSkill
- browser-checkSkill
- component-gen-nextSkill
- component-genSkill
- component-testsSkill
- curate-lessonsSkill
- e2e-testsSkill
- fe-repo-scoutSkill
- fix-markdownSkill
- frontend-code-reviewSkill
- init-agentSkill
- init-projectSkill
- init-skillSkill
- The first 60 shown.
The file
Files
Frontend Context Engineering
AI-driven frontend template for Vue 3 / React 18. Every code-generating skill requires react or vue as input.
Tech Stack
| Concern | React | Vue | BANNED |
| Language | TypeScript strict | TypeScript strict | any, as any |
| Styling | Tailwind CSS | Tailwind CSS | inline style={} for layout |
| State (local) | useState / useReducer | ref / reactive | class components |
| State (global) | Zustand | Pinia | Redux Toolkit (unless specified) |
| Server state | TanStack Query (React) | TanStack Query (Vue) | raw fetch in component body |
| Build | Vite | Vite | CRA, Webpack (unless specified) |
| Testing unit | Vitest + @testing-library/react | Vitest + @testing-library/vue | Jest (unless specified) |
| Testing E2E | Playwright | Playwright | Cypress (unless specified) |
| API Client | HeyAPI / openapi-ts | HeyAPI / openapi-ts | raw axios without types |
| Linter | Biome | Biome | mixed ESLint + Prettier configs |
Commands
| Action | Command |
| Dev server | npm run dev |
| Build | npm run build |
| Type check | npm run typecheck (fallback: npx tsc --noEmit) |
| Lint | npx biome check . |
| Test unit | npx vitest run |
| Test E2E | npx playwright test |
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
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.

