documenting-qa

Generate adversarial QA plans from PR summaries and code diffs.

2|Updated Jan 10, 2026
One-click install
npx skills add https://github.com/lwndev/lwndev-marketplace --skill documenting-qa
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: documenting-qa
Source: https://github.com/lwndev/lwndev-marketplace/tree/main/plugins/lwndev-sdlc/skills/documenting-qa
Command: npx skills add https://github.com/lwndev/lwndev-marketplace --skill documenting-qa

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires jq, and includes scripts (resource) and assets (resource) components.

What problem does it solve?

Builds an adversarial QA test plan from the user-facing summary of a change and the code that implements it, not from the requirements doc, to surface failure modes engineers might overlook.

Core Features & Use Cases

  • Generates a structured QA plan from the PR summary, the PR diff, and a capability report.
  • Organizes scenarios by adversarial dimensions: inputs, state transitions, environment, dependency failure, and cross-cutting concerns.
  • Produces a plan artifact at qa/test-plans/QA-plan-{ID}.md ready for stop-hook validation and downstream QA work.

Quick Start

Provide a PR title/body or a requirement ID to generate a targeted adversarial QA plan.

Frequently Asked Questions about documenting-qa

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate an adversarial QA plan from a PR summary and code diff?

To generate an adversarial QA plan, provide the PR title, body, and diff. The skill constructs failure scenarios across five dimensions and outputs the plan artifact to qa/test-plans/QA-plan-{ID}.md.

What is adversarial testing for failure modes in state transitions and dependencies?

Adversarial testing targets failure modes across five dimensions: inputs, state transitions, environment, dependency failure, and cross-cutting concerns. It surfaces edge cases engineers overlook by analyzing actual code diffs rather than requirements docs.

Can I use a user story to create an automated QA test plan if no PR exists?

Yes, you can generate a QA plan from a requirement ID and user story when no PR exists. The skill operates from the requirements user story in the absence of a PR summary.

Do I need jq installed to automate QA plan generation with frontmatter validation?

Yes, jq is a required dependency. The skill uses jq to process inputs and ensures the generated QA plan artifact includes proper frontmatter and passes stop-hook validation.

What's the best way to structure QA test scenarios across cross-cutting concerns?

The best way is organizing scenarios by adversarial dimensions: inputs, state transitions, environment, dependency failure, and cross-cutting concerns. This structure surfaces failure modes missed by standard requirement-based testing.

Why should I build a QA plan from code diffs instead of requirements documentation?

Building a QA plan from code diffs surfaces failure modes engineers might overlook. It reflects actual implementation behavior rather than intended requirements, revealing hidden state transitions and dependency failures.