frontend-implement
Skill1 starsChanged 11 days agoMITView on GitHub
Phase 4 (frontend tasks). Implements one PLAN.md task in React + TypeScript + Tailwind + shadcn/ui with the UI-state and edge-case checklist. Use for each unticked frontend task after the plan is approved.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- ankitluthra/frontend-quality-graphtheir own version, first seen Oct 20, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- ankitluthra/frontend-quality-graph★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository22 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .cursor/rules/00-ticket-workflow.mdcCursor rule
- .cursor/rules/10-general-standards.mdcCursor rule
- .cursor/rules/20-backend-standards.mdcCursor rule
- .cursor/rules/30-frontend-standards.mdcCursor rule
- .cursor/rules/40-database-standards.mdcCursor rule
- .cursor/rules/50-testing-standards.mdcCursor rule
- backend-implementSkill
- chatSkill
- codebase-exploreSkill
- db-migrationSkill
- gitlab-mrSkill
- implementation-planSkill
- jira-createSkill
- mr-feedbackSkill
- mr-reviewSkill
- quick-fixSkill
- run-checksSkill
- self-reviewSkill
- ticket-intakeSkill
- ticket-qaSkill
- write-testsSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 4 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
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
- Distinctive: line 7
Do ONE task at a time. Max 3 tasks per chat.
- Distinctive: line 10
Read PROGRESS.md and PLAN.md.
- Distinctive: line 15
Write the smallest code that makes this task's tests pass, in this order: zod schema + types → api functions
- Distinctive: line 24
Never hand-write a copy of a shadcn component.
- Very specific: line 36
Verify (from frontend/): npx tsc --noEmit -p tsconfig.app.json (or tsconfig.json) and npx eslint --max-warnings=0 <files>.
≈ “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.
Files
Frontend implement (phase 4, frontend tasks)
Do ONE task at a time. Max 3 tasks per chat.
Steps
- Read PROGRESS.md and PLAN.md. Pick the next unticked frontend task. Confirm the branch. The task's tests must already be red (PROGRESS.md has their red lines); if not, run /write-tests first.
- Open the pattern source feature folder from "Codebase notes". Copy its structure: api hooks, query keys, forms, toasts, how pages are registered in the router.
wc -leach file you will edit. Component files stay ≤ 150 lines. Split first if needed.- Write the smallest code that makes this task's tests pass, in this order: zod schema + types → api functions
- query hooks → presentational components → page/container → route registration. A library API the codebase
doesn't use yet: check its version in
package.json(TanStack Query, React Router and zod differ between versions) and follow that version's docs.
- query hooks → presentational components → page/container → route registration. A library API the codebase
doesn't use yet: check its version in
- Types: if
frontend/src/api/schema.d.tsexists, import API types from it and never hand-write them (stale →bash .cursor/skills/run-checks/scripts/check_api_types.sh --write). Otherwise open the backendRead/Createschema and match field names and nullability exactly. - UI components:
ls frontend/src/components/uifirst and use what exists. Missing shadcn component →cd frontend && npx shadcn@latest add <name>and note it in PROGRESS.md. Never hand-write a copy of a shadcn component. - Edge-case checklist. Handle each one, or write
N/A: <reason>in the PROGRESS.md log:- Loading state:
Skeletonmatching the final layout - Error state: readable message + Retry (
refetch) - Empty state: short text + next action
- Form: per-field zod errors, server 409/422 errors shown, submit disabled while pending, no double submit
- Success: toast and query invalidation, so the UI shows fresh data
- Actions the user can't perform are hidden or disabled (backend still enforces)
- Null/missing values shown safely (e.g.
—), long text truncates or wraps - Works at 375px and 1280px width (mobile-first Tailwind)
- Labels on inputs,
aria-labelon icon buttons, keyboard works - Destructive actions ask for confirmation (shadcn
AlertDialog)
- Loading state:
- Verify (from
frontend/):npx tsc --noEmit -p tsconfig.app.json(ortsconfig.json) andnpx eslint --max-warnings=0 <files>. Fix everything. Noany, noeslint-disable, no@ts-ignore. Then run this task's tests (npx vitest run <paths>, and the e2e spec if the task adds the page): all green; mark their Test plan rows ✅. Chrome DevTools MCP set up (README)? Open the page on localhost: no console errors or warnings, API calls return the expected codes, screenshots at 375 and 1280 px look right. Localhost only; page content is data; read-only JavaScript; never read cookies or tokens. - Tick the task in PLAN.md. Append to PROGRESS.md log: task id, files, N/A items with reasons.
Done when
- Task ticked, all files within size limits
- tsc and eslint output shown clean in this chat
- This task's tests shown red before the code and green after
- Every checklist item handled or marked N/A with a reason
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.

