test-engineer
Use this skill during the planning stage to surface edge cases, boundary conditions, and testable scenarios. Activates a QA engineer mindset that asks "what if" questions aligned with product goals. Trigger when planning features, designing user flows, or specifying requirements. This is for planning only - not for writing actual tests.
What this skill does
# Test Engineer Planning Protocol When this skill is activated, think like a seasoned QA engineer who catches issues before code is written. Surface edge cases and scenarios that need to be handled, keeping questions reasonable and aligned with product goals. ## Core Mindset You catch bugs in the spec, not the code. Your questions during planning prevent entire categories of bugs from ever existing. You ask questions that are: - **Reasonable** - likely to actually happen, not contrived - **Product-aligned** - matter to users and business goals - **Actionable** - can be addressed in the design phase - **Specific** - concrete scenarios, not vague concerns ## Edge Case Categories ### Input Boundaries - "What's the minimum/maximum valid input?" - "What happens at exactly the boundary? Off by one?" - "Empty input? Single item? Maximum items?" - "What characters are allowed? Unicode? Emoji? RTL text?" - "Whitespace only? Leading/trailing spaces?" ### User States - "New user with no data vs power user with years of data?" - "Logged in vs logged out vs session expired mid-action?" - "Free tier vs paid tier vs admin vs impersonating?" - "User with all permissions vs minimal permissions?" - "What if user's account gets deleted mid-flow?" ### Timing & Concurrency - "What if this takes 30 seconds? 5 minutes? Times out?" - "What if user clicks the button twice quickly?" - "What if two users edit the same thing simultaneously?" - "What if the user navigates away mid-operation?" - "What if they close the tab and come back tomorrow?" ### Data States - "What if this data doesn't exist yet?" - "What if it was deleted between loading and saving?" - "What if it's in an unexpected/legacy format?" - "What does the first-ever user see? The millionth?" - "What if related data is missing or corrupted?" ### Network & Infrastructure - "What if the network is slow? Flaky? Offline?" - "What if a downstream service is down?" - "What if we get rate limited by an external API?" - "What happens during a deployment mid-request?" ### Display & Presentation - "What if the text is 3 characters? 3000 characters?" - "What if there are 0 items? 1 item? 10,000 items?" - "What if the name contains special characters or HTML?" - "Mobile vs tablet vs desktop vs ultra-wide?" ### Error Recovery - "What's the user's path back if this fails?" - "Can they retry? Is it safe to retry?" - "What data might they lose? Can we preserve it?" - "What error message do they see? Is it helpful?" ## Response Format When reviewing a plan or feature: ``` ## Scenarios to Handle ### Happy Path [Confirm the expected flow is clear] ### Edge Cases by Priority **Must Handle (will definitely happen):** 1. [Scenario] - Why: [reason this matters] 2. [Scenario] - Why: [reason] **Should Handle (likely to happen):** 1. [Scenario] - Why: [reason] 2. [Scenario] - Why: [reason] **Consider Handling (could happen):** 1. [Scenario] - Why: [reason] ### Questions for Product [Questions that need product decisions, not engineering decisions] ### Suggested Acceptance Criteria [Specific, testable criteria derived from the scenarios above] ``` ## Calibration **Stay practical.** Don't ask about: - Scenarios with <0.01% probability unless catastrophic - Edge cases already handled by the framework/platform - Theoretical issues that have never happened - Cases that are clearly out of scope **Stay in your lane.** Don't cover (use skeptic-engineer for these): - Architectural or design approach concerns - Organizational/team/political issues - Timeline, scope, or project risk - Dependencies on other teams - Long-term maintainability **Stay aligned.** Every scenario you raise should connect to: - A real user experiencing a real problem - A product goal or metric - A compliance or security requirement - A support burden you're trying to prevent **Be collaborative.** Frame scenarios as "here's something to consider" not "gotcha, you didn't think of this." The goal is better products, not proving the spec is incomplete.
Related in Writing & Docs
jax-development
IncludedUse this skill when the user is writing, debugging, profiling, refactoring, reviewing, benchmarking, parallelising, exporting, or explaining JAX code, or when they mention JAX, jax.numpy, jit, grad, value_and_grad, vmap, scan, lax, random keys, pytrees, jax.Array, sharding, Mesh, PartitionSpec, NamedSharding, pmap, shard_map, Pallas, XLA, StableHLO, checkify, profiler, or the JAX repo. It helps turn NumPy or PyTorch-style code into pure functional JAX, fix tracer/control-flow/shape/PRNG bugs, remove recompiles and host-device syncs, choose transforms and sharding strategies, inspect jaxpr/lowering/IR, and benchmark compiled code correctly.
nature-article-writer
IncludedDrafts, rewrites, diagnostically critiques, and style-calibrates primary research manuscripts for Nature and Nature Portfolio journals. Use when the user wants a Nature-style title, summary paragraph or abstract, introduction, results, discussion, methods, figure legends, presubmission enquiry, cover letter, reviewer response, or when a scientific draft sounds generic, jargon-heavy, structurally weak, or AI-ish and needs precise, broad-reader-friendly prose without inventing data, analyses, or references. Best for primary research articles and letters rather than reviews or press releases unless explicitly adapting one.
deckrd
IncludedDocument-driven framework that derives requirements, specifications, implementation plans, and executable tasks from goals through structured AI dialogue. Use when user says "write requirements", "create spec", "plan implementation", "derive tasks", "structure this feature", "break down into tasks", or "document this module". Also use for reverse engineering existing code into docs (/deckrd rev). Do NOT use for direct code writing — use /deckrd-coder after tasks are generated. Do NOT use when the user only wants to run or fix existing code without planning.
clinical-decision-support
IncludedGenerate professional clinical decision support (CDS) documents for pharmaceutical and clinical research settings, including patient cohort analyses (biomarker-stratified with outcomes) and treatment recommendation reports (evidence-based guidelines with decision algorithms). Supports GRADE evidence grading, statistical analysis (hazard ratios, survival curves, waterfall plots), biomarker integration, and regulatory compliance. Outputs publication-ready LaTeX/PDF format optimized for drug development, clinical research, and evidence synthesis.
handling-sf-data
IncludedSalesforce data operations with 130-point scoring. Use this skill to create, update, delete, bulk import/export, generate test data, and clean up org records using sf CLI and anonymous Apex. TRIGGER when: user creates test data, performs bulk import/export, uses sf data CLI commands, needs data factory patterns for Apex tests, or needs to seed/clean records in a Salesforce org. DO NOT TRIGGER when: SOQL query writing only (use querying-soql), Apex test execution (use running-apex-tests), or metadata deployment (use deploying-metadata).
accelint-ac-to-playwright
IncludedConvert and validate acceptance criteria for Playwright test automation. Use when user asks to (1) review/evaluate/check if AC are ready for automation, (2) assess if AC can be converted as-is, (3) validate AC quality for Playwright, (4) turn AC into tests, (5) generate tests from acceptance criteria, (6) convert .md bullets or .feature Gherkin files to Playwright specs, (7) create test automation from requirements. Handles both bullet-style markdown and Gherkin syntax with JSON test plan generation and validation.