designing-functional-tests
БесплатноБез исполняемых скриптовНе проверенDesigns risk-based functional test plans, manual test cases, regression slices, and automation handoff packs from requirements, URLs, or exploratory notes…
от jaktestowac★ 124 звезды на GitHubОб этом скилле
Designing Functional Tests
Use this skill when the goal is to turn product intent into tester-ready coverage rather than directly generating automation. It helps produce plans and cases that are clear enough for manual execution and clean enough to hand off to automation later.
When to Use
- create a risk-based functional test plan
- turn acceptance criteria into manual test cases
- convert exploratory notes into reusable scenario packs
- prepare a regression slice for a bug fix or small feature
- identify which scenarios should move into automated tests first
Core Rules
- No silent invention - missing behavior becomes a question or an explicit assumption.
- Risk decides depth - high-risk flows deserve positive, negative, boundary, permission, and recovery coverage.
- One case proves one thing - avoid giant cases that validate five behaviors at once.
- Stable IDs matter - use durable IDs for scenarios and cases so they can be referenced later.
- Manual first, automation second - good automation starts with stable, observable manual intent.
Workflow
Phase 0: Frame the deliverable
Decide which artifact is needed:
- Full plan - scope, priorities, scenario catalog, risks, open questions
- Manual cases - detailed steps and expected results
- Regression slice - the smallest believable retest pack after a change
If the user did not specify the artifact, choose the lightest format that still solves the task.
Phase 1: Run the test-readiness gate
Before writing cases, confirm the test basis gives enough signal to work with.
Minimum signal:
- the feature or flow being tested
- the actor or user role
- the starting state or preconditions
- an observable success outcome
If any of these are missing:
- Ask targeted questions.
- If the user wants to move fast, proceed with an Assumptions section instead of inventing hidden requirements.
- Tag affected scenarios or cases with
ASSUMPTION.
Do not write confident-looking expected results for behavior that is still unknown.
Phase 2: Map the coverage lenses
For each high-value flow, check these lenses:
| Lens | What to cover |
|---|---|
| Happy path | Baseline success path |
| Negative | Invalid inputs, rejected actions, failures |
| Boundary | Empty, min, max, off-by-one, format edges |
| Permissions | Wrong role, wrong state, missing access |
| Recovery | Retry, refresh, session loss, partial failure |
| Data / State | Persistence, deduplication, conflicting updates |
| Accessibility smoke | Keyboard reachability, labels, error visibility |
Not every flow needs the same depth. Apply full coverage to risky flows and lighter smoke coverage to low-risk areas.
Phase 3: Prioritize before expanding
Use a simple three-level priority scale:
- High - critical business path, security-sensitive area, money/data movement, or frequent user action
- Medium - important supporting workflow or high-change area
- Low - secondary behavior, visual polish, or low-impact option
High-priority flows should include at least:
- one happy path
- one negative case
- one boundary or permission case
- one recovery or state-handling case
Phase 4: Produce the requested artifact
Full plan
Use ./resources/test-plan-template.md when possible.
A good plan includes:
- scope and exclusions
- risks and priorities
- scenario catalog with IDs like
SCN-001 - assumptions and open questions
- automation handoff notes
Manual test cases
Use ./resources/manual-test-cases-template.md when possible.
Case rules:
- Use IDs like
MTC-001 - Keep steps observable and short
- Write specific expected results, not "works correctly"
- Include case type tags such as
happy,negative,boundary,permission,recovery,a11y-smoke - Add an Automation Candidate value:
high,medium, orlow
Regression slice
For small changes or bug fixes, produce:
- changed surface
- must-retest scenarios
- adjacent risk areas
- optional "do later" scenarios if time is tight
Phase 5: Prepare the handoff
Before finishing, decide what should happen next:
- send risky edge cases into the
/qa-strategyprompt for adversarial expansion - send stable, repeatable scenarios into the
/test-generatoror/playwright-generate-testprompts - send requirements-heavy work into
requirements-test-coverage-mapperwhen traceability matters more than step-by-step execution
Output Standards
Always include:
- clear scope
- priority or risk signal
- explicit assumptions or open questions
- scenario or case IDs
- enough detail for another tester to execute without a live explanation
Good output is handoff-ready, not just impressive-looking.
Common Failure Modes
- writing a plan that only covers happy paths
- burying critical assumptions inside prose
- mixing multiple assertions into one giant test case
- using vague expected results such as "data saved successfully"
- generating every possibl
Установить designing-functional-tests в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл designing-functional-tests?
Designs risk-based functional test plans, manual test cases, regression slices, and automation handoff packs from requirements, URLs, or exploratory notes. Use when preparing manual QA coverage before automation, turning feature descriptions into scenario catalogs, or converting exploratory findings into structured test assets.
Как установить скилл designing-functional-tests?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл designing-functional-tests запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic