FR

frontend-test-workflow

Full-cycle frontend testing workflow combining planning and implementation.

Install

mkdir -p .claude/skills/frontend-test-workflow && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/14848" && unzip -o skill.zip -d .claude/skills/frontend-test-workflow && rm skill.zip

Installs to .claude/skills/frontend-test-workflow

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Orchestrates a complete frontend testing workflow by combining qa-test-planner (strategy) and frontend-testing (implementation). Use this when you need to rigorously test a component or feature from scratch.
207 chars✓ has a “when” trigger
Intermediate

Key capabilities

  • Add tests to a specific feature or component
  • Ensure tests cover edge cases and safety requirements
  • Generate Vitest/RTL tests for a component
  • Run generated tests using npm
  • Analyze target components for testing
  • Review test plans for coverage

How it works

This skill orchestrates a frontend testing workflow by first planning the test strategy using `qa-test-planner` and then implementing the tests using `frontend-testing`.

Inputs & outputs

You give it
A specific frontend component or feature to be tested
You get back
Generated Vitest/RTL tests and a verified test pass rate

When to use frontend-test-workflow

  • Test new frontend components
  • Add edge-case coverage
  • Implement comprehensive testing

About this skill

Frontend Test Workflow Skill

This skill orchestrates the end-to-end process of adding high-quality tests to the Bloom Mindful Companion frontend. It chains the strategic planning of qa-test-planner with the tactical implementation of frontend-testing.

When to Use

Use this skill when:

  • You need to add tests to a specific feature or component.
  • You want to ensure tests cover edge cases and safety requirements (essential for mental health apps).
  • You want a reliable, standardized process for testing.

Workflow Steps

Follow these steps sequentially. Do not skip the planning phase.

Phase 1: Strategy & Planning (qa-test-planner)

  1. Analyze the Target: Identify the component, hook, or flow to be tested.
  2. Trigger qa-test-planner: Explicitly ask the planner to "Create a test plan for [Target]".
    • Prompt: "Using qa-test-planner, create a test plan for the [Component/Feature]."
  3. Review the Plan: Ensure the plan covers:
    • Happy Path: Standard usage.
    • Edge Cases: Empty states, errors, loading.
    • Safety/Privacy: PII handling, verified outcomes.
    • Database State: If applicable (Supabase integration).

Phase 2: Implementation (frontend-testing)

  1. Refactor for Testability (If needed):
    • Extract complex logic into pure utility functions (e.g., src/utils/).
    • Ensure components are isolated or mockable.
  2. Trigger frontend-testing: Explicitly ask the testing skill to generate the code.
    • Prompt: "Using frontend-testing, generate Vitest/RTL tests for [Component] following the test plan."
  3. Incremental Creation:
    • Create [Component].spec.tsx.
    • DO NOT generate all tests at once if complex. Start with rendering, then interaction.

Phase 3: Verification & Execution

  1. Run Tests:
    • Command: npm test src/path/to/test.spec.tsx
  2. Fix & Iterate:
    • If tests fail, analyze the failure.
    • Adjust code or test expectations.
  3. Final Polish:
    • Ensure no lint errors in test files.
    • Verify 100% pass rate for the target.

Example Usage

"Run the frontend-test-workflow for the EmergencySOS component."

Agent Action:

  1. Call qa-test-planner to list scenarios (Trigger: "Pressing SOS button", "Network failure during SOS").
  2. Call frontend-testing to write EmergencySOS.spec.tsx.
  3. Run npm test to verify.

Limitations

  • The workflow requires sequential execution of planning and implementation phases.
  • Complex tests should be created incrementally, starting with rendering.

How it compares

This workflow combines strategic planning and tactical implementation, providing a structured approach to testing compared to ad-hoc test creation.

Compared to similar skills

frontend-test-workflow side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
frontend-test-workflow (this skill)05moNo flagsIntermediate
playwright-pro83moReviewIntermediate
webapp-testing3533moReviewIntermediate
ui-ux-expert-skill919moReviewAdvanced

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

playwright-pro

alirezarezvani

Production-grade Playwright testing toolkit. Use when the user mentions Playwright tests, end-to-end testing, browser automation, fixing flaky tests, test migration, CI/CD testing, or test suites. Generate tests, fix flaky failures, migrate from Cypress/Selenium, sync with TestRail, run on BrowserStack. 55 templates, 3 agents, smart reporting.

828

webapp-testing

anthropics

Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.

353585

ui-ux-expert-skill

fercracix33

Technical workflow for implementing accessible React user interfaces with shadcn/ui, Tailwind CSS, and TanStack Query. Includes 6-phase process with mandatory Style Guide compliance, Context7 best practices consultation, Chrome DevTools validation, and WCAG 2.1 AA accessibility standards. Use after Test Agent, Implementer, and Supabase agents complete their work.

91244

accessibility

tech-leads-club

Audit and improve web accessibility following WCAG 2.1 guidelines. Use when asked to "improve accessibility", "a11y audit", "WCAG compliance", "screen reader support", "keyboard navigation", or "make accessible".

42174

playwright-browser-automation

lackeyjb

Complete browser automation with Playwright. Auto-detects dev servers, writes clean test scripts to /tmp. Test pages, fill forms, take screenshots, check responsive design, validate UX, test login flows, check links, automate any browser task. Use when user wants to test websites, automate browser interactions, validate web functionality, or perform any browser-based testing.

29146

svelte-expert

Raudbjorn

Expert Svelte/SvelteKit development assistant for building components, utilities, and applications. Use when creating Svelte components, SvelteKit applications, implementing reactive patterns, handling state management, working with stores, transitions, animations, or any Svelte/SvelteKit development task. Includes comprehensive documentation access, code validation with svelte-autofixer, and playground link generation.

11107

Search skills

Search the agent skills registry