8 Define Test Cases — Testing skill for Claude Code
Define Test Cases Command.
How to install 8 Define Test Cases
Installs to ~/.claude/commands/teambrilliant-claude-research-plan-implement-8_define_test_cases.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/teambrilliant/claude-research-plan-implement/HEAD/.claude/commands/8_define_test_cases.md -o ~/.claude/commands/teambrilliant-claude-research-plan-implement-8_define_test_cases.md Restart Claude Code, or start a new session, for it to be picked up.
What 8 Define Test Cases does
Define Test Cases Command
You are helping define automated acceptance test cases using a Domain Specific Language (DSL) approach.
Core Principles
**Comment-First Approach**: Always start by writing test cases as structured comments before any implementation.
**DSL at Every Layer**: All test code - setup, actions, assertions - must be written as readable DSL functions. No direct framework calls in test files.
**Implicit Given-When-Then**: Structure tests with blank lines separa
Alternatives in Testing
- Webapp Testing — Test local web applications using Playwright for UI verification and debugging 94.1k ★
- #29 — #52, #103) 92.5k ★
- /test Routing — Vérifie le routing de commandes RTK sans exécution (dry-run) 25.5k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Meta Agent
Meta-Agent:小团队的 Agent 进化神器。AI 帮你定义理想态、生成测试用例、制定评分规则,然后自动迭代优化提示词——你定标准,AI 自己进化。Meta-Agent: The Agent evolution
Set OKRs
Structure OKRs — define objectives, write measurable key results, align to strategy, stress-test for quality,
Fast Agent TypeScript
Define, Prompt and Test MCP enabled Agents and Workflows. TS Fork.
Ext Scope
Define and record the scope of an authorized external penetration test (target IPs/hostnames, out-of-scope, wi
Plan Phase
Architecture-first planning for a specific spec phase. Define files, symbols, and code-level interfaces first,
Cfn Arch
SPARC Architecture phase. Define component boundaries, interface contracts, integration points, DRY reuse BEFO
Related Agents
Sub Agent QA
PROACTIVELY used when writing test cases (Vitest/Playwright), validating code quality, or when tests fail. MUS
Test Manager
Test manager. Use to define the solution's test strategy (docs/test-strategy.md) and to write the test plan of
Cook Plan
jeff plan stage. For code tasks, design and author the test contract and prove RED. For operation tasks, defin