/frontend-craft:fec-tdd-workflowfrom frontend-craft
Guides frontend TDD workflow: RED→GREEN→REFACTOR for new behavior, GREEN→REFACTOR→GREEN for refactoring. Maps test types (unit, integration, E2E) to frontend layers like components, hooks, API clients, and route guards.
Ships in frontend-craft. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Follow the common TDD method. Use RED → GREEN → REFACTOR for new behavior and GREEN → REFACTOR → GREEN for pure structural refactoring.
User-visible UI, component props/emits, hook/composable return values, route guards, API client output/errors, events, side effects and asynchronous states.
| Risk | Preferred validation |
|---|---|
| utils, schemas, state calculations | Unit tests |
| hooks/composables | Unit or lightweight integration |
| Component props, emits, interactions and states | Existing Testing Library / Vue Test Utils component tests |
| Router, Provider and Store collaboration | Lightweight integration |
| Cross-page login, payment, permission and CRUD journeys | Existing Playwright/Cypress E2E |
Select the closest meaningful layer: pure permission logic does not require E2E merely because it is permission-related. Keep existing frameworks and report observed red/green evidence and coverage boundaries through the common method.
What SKILL.md sets; muted values are Claude Code's defaults
Generated from the plugin's indexed repository (bovinphang/frontend-craft) — no native marketplace selected
npx claudepluginhub p/bovinphang-frontend-craft53 skills in this plugin
/fec-accessibility-checkUse when reviewing or improving frontend accessibility, semantic structure, keyboard support, focus management, ARIA labels, screen reader behavior, WCAG 2.2 issues, touch accessibility, or assistive-technology regressions; Chinese triggers include accessibility, accessibility, a11y, WCAG, screen reader./fec-alchemyUse when absorbing ideas, capabilities, workflows, architecture, quality systems, ecosystem extensions, or engineering practices from any reference system into the current project through original, project-native redesign rather than copying./fec-api-integrationUse when designing, implementing, or reviewing frontend-to-backend API integration, typed API clients, REST/tRPC/OpenAPI client choices, auth refresh, API error mapping, upload flows, SSE/WebSocket/polling choices, CORS-facing frontend behavior, or cross-boundary loading/error states. Do not use for backend-only service architecture or TanStack Query cache policy alone; Chinese triggers include API integration, front-end and back-end joint debugging, typed API client, Interface error handling, SSE, WebSocket./fec-backend-requirements-handoffUse when frontend work needs to communicate data, action, state, permission, validation, or business-rule needs to backend teams without dictating endpoint design, field names, database shape, or implementation details; Chinese triggers include front-end and back-end requirements handover, back-end requirements, API requirements clarification, data requirements description./fec-browser-storageUse when choosing, implementing, or reviewing browser storage such as localStorage, sessionStorage, IndexedDB, cookies, client persistence, offline data, secure storage, or cleanup strategy; Chinese triggers include browser storage, client persistence./fec-canvas-threejsUse when building or reviewing Canvas 2D, Three.js/WebGL, React Three Fiber, GLSL shaders, ShaderToy-to-WebGL adaptation, 2D/3D visualization, game rendering, animation loops, GPU resource cleanup, or rendering performance. Do not use for standard DOM UI, charts already covered by a chart library, or non-graphical performance work; Chinese triggers include Canvas, Three.js, WebGL, GLSL, Shader, 3D, data visualization, games.Other plugins' skills for the same job