bmad-testarch-framework
/bmad-testarch-framework
Initialize test framework with Playwright or Cypress. Use when the user says "lets setup test framework" or "I want to initialize testing framework
- Author
- ph1996-cn ↗
- Repository
- dsh-BMAD-Method ↗
- Licence
- MIT
- Last repository change
- 06.11.2026
Assessment and security
- Files in this package
- 76
- Scripts
- 1
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 06.11.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
- 1 scripts in this package. Review them before installing, as Claude may execute them.
Scripts: resources/hooks/tea-enforce.cjs
What it does and when to use it
Initialize test framework with Playwright or Cypress. Use when the user says "lets setup test framework" or "I want to initialize testing framework
Triggers from the description
Original author description
Initialize test framework with Playwright or Cypress. Use when the user says "lets setup test framework" or "I want to initialize testing framework
How it works
- Conventions
- On Activation
- Workflow Architecture
- Initialization Sequence
SKILL.md preview
---
name: bmad-testarch-framework
description: 'Initialize test framework with Playwright or Cypress. Use when the user says "lets setup test framework" or "I want to initialize testing framework"'
---
# 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: `uv run {project-root}/_bmad/scripts/resolve_customization.py --skill {skill-root} --project-root {project-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`
Files in this package (76)
- SKILL.md 3 KB
- checklist.md 14 KB
- customize.toml 1 KB
- instructions.md 1 KB
- workflow.yaml 2 KB
- resources/framework-setup-progress.example.md 11 KB
- resources/tea-index.csv 16 KB
- resources/hooks/tea-enforce.cjs 40 KB
- resources/knowledge/adr-quality-readiness-checklist.md 25 KB
- resources/knowledge/api-request.md 17 KB
- resources/knowledge/api-testing-patterns.md 27 KB
- resources/knowledge/auth-session.md 16 KB
- resources/knowledge/burn-in.md 6 KB
- resources/knowledge/ci-burn-in.md 22 KB
- resources/knowledge/component-tdd.md 18 KB
- resources/knowledge/confidence-gate.md 4 KB
- resources/knowledge/contract-testing.md 41 KB
- resources/knowledge/data-factories.md 17 KB
- resources/knowledge/email-auth.md 24 KB
- resources/knowledge/error-handling.md 22 KB
- resources/knowledge/evidence-integrity.md 25 KB
- resources/knowledge/feature-flags.md 23 KB
- resources/knowledge/file-utils.md 13 KB
- resources/knowledge/fixture-architecture.md 12 KB
- resources/knowledge/fixtures-composition.md 11 KB
- resources/knowledge/intercept-network-call.md 13 KB
- resources/knowledge/library-integration-mandate.md 8 KB
- resources/knowledge/log.md 11 KB
- resources/knowledge/maestro-flows.md 29 KB
- resources/knowledge/mobile-ci-device-lab.md 35 KB
- resources/knowledge/mobile-test-strategy.md 14 KB
- resources/knowledge/network-error-monitor.md 12 KB
- resources/knowledge/network-first.md 16 KB
- resources/knowledge/network-recorder.md 15 KB
- resources/knowledge/nfr-criteria.md 26 KB
- resources/knowledge/overview.md 10 KB
- resources/knowledge/pact-broker-webhooks.md 15 KB
- resources/knowledge/pact-consumer-di.md 12 KB
- resources/knowledge/pact-consumer-framework-setup.md 36 KB
- resources/knowledge/pact-mcp.md 11 KB
- resources/knowledge/pactjs-utils-consumer-helpers.md 16 KB
- resources/knowledge/pactjs-utils-mandate.md 16 KB
- resources/knowledge/pactjs-utils-overview.md 12 KB
- resources/knowledge/pactjs-utils-provider-verifier.md 22 KB
- resources/knowledge/pactjs-utils-request-filter.md 7 KB
- resources/knowledge/pactjs-utils-zod-to-pact.md 12 KB
- resources/knowledge/playwright-cli.md 15 KB
- resources/knowledge/playwright-config.md 21 KB
- resources/knowledge/playwright-utils-mandate.md 13 KB
- resources/knowledge/probability-impact.md 19 KB
- resources/knowledge/recurse.md 13 KB
- resources/knowledge/risk-governance.md 21 KB
- resources/knowledge/selective-testing.md 21 KB
- resources/knowledge/selector-resilience.md 19 KB
- resources/knowledge/test-healing-patterns.md 21 KB
- resources/knowledge/test-levels-framework.md 14 KB
- resources/knowledge/test-priorities-matrix.md 12 KB
- resources/knowledge/test-quality.md 34 KB
- resources/knowledge/timing-debugging.md 18 KB
- resources/knowledge/visual-debugging.md 17 KB
- resources/knowledge/webhook-module-setup.md 6 KB
- resources/knowledge/webhook-providers.md 6 KB
- resources/knowledge/webhook-risk-guidance.md 6 KB
- resources/knowledge/webhook-template-matchers.md 6 KB
- resources/knowledge/webhook-testing-fundamentals.md 3 KB
- resources/knowledge/webhook-timeout-error.md 6 KB
- resources/knowledge/webhook-waiting-querying.md 7 KB
- steps-c/step-01-preflight.md 5 KB
- steps-c/step-01b-resume.md 4 KB
- steps-c/step-02-select-framework.md 4 KB
- steps-c/step-03-scaffold-framework.md 26 KB
- steps-c/step-04-docs-and-scripts.md 10 KB
- steps-c/step-05-validate-and-summary.md 2 KB
- steps-e/step-01-assess.md 1 KB
- steps-e/step-02-apply-edit.md 1 KB
- steps-v/step-01-validate.md 4 KB
Versions
The database has no other skills named bmad-testarch-framework.
Database snapshot: 13.11.2026 · package version 9257e4092d84 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100bmad-tea-framework
Initialize test framework and CI/CD setup for browser, backend or mobile stacks. Use when the user says "lets setup test framework" or "I want to initialize testing framework - 90bmad-testarch-test-review
Review test quality using best practices validation. Use when user says "lets review tests" or "I want to evaluate test quality - 90bmad-testarch-test-design
Create system-level or epic-level test plans. Use when the user says "lets design test plan" or "I want to create test strategy - 100gds-test-framework
Initialize game test framework for Unity, Unreal, or Godot. Use when the user says "test framework" or "set up testing - 90test-framework-migration-skill
Migrates and converts test automation scripts between Selenium, Playwright, Puppeteer, and Cypress. Use when the user asks to migrate, convert, or port tests from one framework to another; rewrite tests in a different framework; or switch from Selenium to Playwright, Playwright… - 100cypress-expert
Expert in Cypress testing framework, custom commands, fixtures, plugins, visual testing, and component testing. Use when the user mentions testing, end-to-end tests, QA, automation, end-to-end testing, or Cypress commands, or when the task involves Cypress Framework, Test…