Przejdź do treści
Biblioteka skilli
Programowanie · Budowanie i kod

frontend-implement

/frontend-implement

Wdraża jedno zadanie frontendowe z planu w React, TypeScript, Tailwind i shadcn/ui, sprawdzając stany interfejsu i przypadki brzegowe.

Repozytorium
sdlc-kit ↗
Licencja
MIT
Ostatnia zmiana repozytorium
08.11.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 08.11.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Wdraża jedno zadanie frontendowe z planu w React, TypeScript, Tailwind i shadcn/ui, sprawdzając stany interfejsu i przypadki brzegowe.

Oryginalny opis (EN)

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.

Jak działa

  1. Steps
  2. Done when
Sekcje z nagłówków SKILL.md, w oryginale · 45 linii, 521 słów
Podgląd SKILL.md
---
name: frontend-implement
description: 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.
---
# Frontend implement (phase 4, frontend tasks)

Do ONE task at a time. Max 3 tasks per chat.

## Steps
1. 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.
2. 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.
3. `wc -l` each file you will edit. Component files stay ≤ 150 lines. Split first if needed.
4. 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.
5. Types: if `frontend/src/api/schema.d.ts` exists, 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 backend `Read`/`Create` schema and match field names and nullability exactly.
6. UI components: `ls frontend/src/components/ui` first 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.
7. Edge-case checklist. Handle each one, or write `N/A: <reason>` in the PROGRESS.md log:
   - [ ] Loading state: `Skeleton` matching 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-label` on icon buttons, keyboard works
   - [ ] Destructive actions ask for confirmation (shadcn `AlertDialog`)
8. Verify (from `frontend/`): `npx tsc --noEmit -p tsconfig.app.json` (or `tsconfig.json`) and
   `npx eslint --max-warnings=0 <files>`. Fix everything. No `any`, no `eslint-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.
9. 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

Wersje

RepozytoriumWynikLicencja
Ta strona · aniketshukla1/sdlc-kit100MIT
madappgang/magus100MIT

Migawka bazy z 13.11.2026 · wersja paczki 60b5f6003b5a (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100react-frontend-patterns
    Przegląda i buduje komponenty React 19 z Tailwind CSS i shadcn/ui, z naciskiem na dostępność, formularze i stan aplikacji.
  • 100backend-implement
    Implementuje jedno zadanie backendu w FastAPI według wzorca warstw i listy przypadków brzegowych po zatwierdzeniu planu.
  • 100frontend-react
    Wspiera tworzenie aplikacji React z Next.js, React Server Components, Tailwind CSS i shadcn/ui oraz złożonym zarządzaniem stanem.
  • 100senior-frontend
    Buduje komponenty React i Next.js w TypeScript i Tailwind, optymalizuje wielkość bundla i sprawdza dostępność interfejsu.
  • 100frontend-react
    Wspiera tworzenie aplikacji React z Next.js, React Server Components, Tailwind CSS i shadcn/ui oraz obsługę złożonego zarządzania stanem.
  • 100oma-frontend
    Wspiera pracę nad frontendem w React, Next.js i TypeScript z architekturą FSD-lite, shadcn/ui i spójnością z systemem projektowym, w tym komponenty, strony, układy i Tailwind.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.