BM

bmad-testarch-framework

Automates the setup of Playwright or Cypress testing architectures, including fixtures and configuration files.

Install

mkdir -p .claude/skills/bmad-testarch-framework && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/14895" && unzip -o skill.zip -d .claude/skills/bmad-testarch-framework && rm skill.zip

Installs to .claude/skills/bmad-testarch-framework

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.

Initialize test framework with Playwright or Cypress. Use when the user says "lets setup test framework" or "I want to initialize testing framework"
148 chars✓ has a “when” trigger
Intermediate

Key capabilities

  • Initialize Playwright test framework
  • Initialize Cypress test framework
  • Resolve configuration files from base, team, and user overrides
  • Execute prepend steps before main workflow
  • Load persistent facts from project files
  • Greet the user in their configured language

How it works

The skill resolves workflow blocks by merging configuration files from skill defaults, team overrides, and personal overrides, then executes a sequence of prepend steps, loads facts, and greets the user before proceeding to the main workflow.

Inputs & outputs

You give it
User request to set up a test framework
You get back
Initialized test framework with resolved configurations and executed steps

When to use bmad-testarch-framework

  • Set up a new Playwright project with custom fixtures
  • Initialize a Cypress testing environment for a web application
  • Apply team-specific test configurations during project bootstrap
  • Configure test environment helpers and paths for consistent execution

About this skill

Test Framework Setup

Goal: Initialize a production-ready test framework architecture (Playwright or Cypress) with fixtures, helpers, and configuration.

Role: You are the Master Test Architect.

You will continue to operate with your given name, identity, and communication_style, merged with the details of this role description.

Conventions

  • Bare paths (e.g. instructions.md) resolve from the skill root.
  • {skill-root} resolves to this skill's installed directory (where customize.toml lives).
  • {project-root}-prefixed paths resolve from the project working directory.
  • {skill-name} resolves to the skill directory's basename.
  • Resolve sibling workflow files such as instructions.md, checklist.md, steps-c/..., steps-e/..., steps-v/..., and templates from {skill-root}.

On Activation

Step 1: Resolve the Workflow Block

Run: python3 {project-root}/_bmad/scripts/resolve_customization.py --skill {skill-root} --key workflow

If the script fails, resolve the workflow block yourself by reading these three files in base → team → user order and applying the same structural merge rules as the resolver:

  1. {skill-root}/customize.toml — defaults
  2. {project-root}/_bmad/custom/{skill-name}.toml — team overrides
  3. {project-root}/_bmad/custom/{skill-name}.user.toml — personal overrides

Any missing file is skipped. Scalars override, tables deep-merge, arrays of tables keyed by code or id replace matching entries and append new entries, and all other arrays append.

Step 2: Execute Prepend Steps

Execute each entry in {workflow.activation_steps_prepend} in order before proceeding.

Step 3: Load Persistent Facts

Treat every entry in {workflow.persistent_facts} as foundational context you carry for the rest of the workflow run. Entries prefixed file: are paths or globs resolved from {project-root} — expand them and load every matching file in lexical path order as facts. All other entries are facts verbatim.

Step 4: Load Config

Load config from {project-root}/_bmad/tea/config.yaml and resolve:

  • user_name
  • communication_language

Step 5: Greet the User

Greet {user_name}, speaking in {communication_language}.

Step 6: Execute Append Steps

Execute each entry in {workflow.activation_steps_append} in order.

Activation is complete. Begin the workflow below.

Workflow Architecture

This workflow uses tri-modal step-file architecture:

  • Create mode (steps-c/): primary execution flow for new runs and resume continuation
  • Validate mode (steps-v/): validation against checklist
  • Edit mode (steps-e/): revise existing outputs

Initialization Sequence

1. Mode Determination

"Welcome to the workflow. What would you like to do?"

  • [C] Create — Run the workflow from the beginning
  • [R] Resume — Resume an interrupted Create workflow
  • [V] Validate — Validate existing outputs
  • [E] Edit — Edit existing outputs

2. Route to First Step

  • If C: Load {skill-root}/steps-c/step-01-preflight.md
  • If R: Load {skill-root}/steps-c/step-01b-resume.md (Create-mode continuation)
  • If V: Load {skill-root}/steps-v/step-01-validate.md
  • If E: Load {skill-root}/steps-e/step-01-assess.md

When not to use it

  • When only needing to set up a test framework without custom configurations
  • When the project does not require Playwright or Cypress
  • When the user does not want to initialize a testing framework

Limitations

  • Only supports Playwright or Cypress frameworks
  • Relies on specific file paths for configuration and scripts
  • Requires manual resolution of workflow block if the script fails

How it compares

This approach uses a tri-modal step-file architecture and a structured configuration resolution process to ensure consistent, customizable test framework setups across different projects and users.

Compared to similar skills

bmad-testarch-framework side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
bmad-testarch-framework (this skill)03moNo flagsIntermediate
webapp-testing3533moReviewIntermediate
ui-ux-expert-skill919moReviewAdvanced
skill-creator1283moReviewAdvanced

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

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

skill-creator

anthropics

Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.

128200

python-testing-patterns

wshobson

Implement comprehensive testing strategies with pytest, fixtures, mocking, and test-driven development. Use when writing Python tests, setting up test suites, or implementing testing best practices.

77204

dependency-upgrade

wshobson

Manage major dependency version upgrades with compatibility analysis, staged rollout, and comprehensive testing. Use when upgrading framework versions, updating major dependencies, or managing breaking changes in libraries.

26240

playwright-mcp

sfc-gh-dflippo

Browser testing, web scraping, and UI validation using Playwright MCP. Use this skill when you need to test Streamlit apps, validate web interfaces, test responsive design, check accessibility, or automate browser interactions through MCP tools.

33197

Search skills

Search the agent skills registry