Skip to content
Back to skills

Fec Tdd Workflow

ASecurity

Use when implementing new observable frontend behavior or fixing a behavior-changing bug where a failing test can describe the missing or incorrect behavior first. Apply to components, hooks/composables, utilities, API clients, route guards, or user workflows; pure behavior-preserving refactoring uses an already-green contract instead.

  • 24 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added May 26, 2026
developmentvuetestingrefactoringgitapifrontend

Works with

  • cli
  • api

Security analysis

A100/100

Scanned November 17, 2026

npx -y skills add bovinphang/frontend-craft --skill fec-tdd-workflow --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Fec Tdd Workflow?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Fec Tdd Workflow
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/bovinphang-fec-tdd-workflow/badge)](https://www.skillsdirectory.com/skills/bovinphang-fec-tdd-workflow)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: fec-tdd-workflow
description: Use when implementing new observable frontend behavior or fixing a behavior-changing bug where a failing test can describe the missing or incorrect behavior first. Apply to components, hooks/composables, utilities, API clients, route guards, or user workflows; pure behavior-preserving refactoring uses an already-green contract instead.
---

# Frontend test-driven development

Follow the [common TDD method](https://github.com/bovinphang/craft-common/blob/v2.1.0/methods/tdd.md). Use RED → GREEN → REFACTOR for new behavior and GREEN → REFACTOR → GREEN for pure structural refactoring.

## Frontend observable contracts

User-visible UI, component props/emits, hook/composable return values, route guards, API client output/errors, events, side effects and asynchronous states.

## Frontend test selection

| 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.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.