Easy PRD Testing
Role
This root SKILL.md makes the repository installable as a standalone Codex skill from the repository root. The same repository also works as a Codex plugin through .codex-plugin/plugin.json.
When this skill is installed from the repository root, use the stage instructions under skills/ as local references:
- Intake:
skills/prd-intake/SKILL.md
- Planning:
skills/test-planning/SKILL.md
- Optional XMind test-case export:
skills/xmind-export/SKILL.md
- Execution gate:
skills/execution-gate/SKILL.md
- Test execution:
skills/test-execution/SKILL.md
- Regression testing:
skills/regression-testing/SKILL.md
- Result aggregation:
skills/result-aggregation/SKILL.md
- Complete installation updates:
skills/self-update/SKILL.md
Read the relevant stage file before executing that stage.
Stage Routing
- Source material analysis or unclear PRD/prototype input: follow
skills/prd-intake/SKILL.md.
- Planning artifact generation or updates: follow
skills/test-planning/SKILL.md.
- Optional native XMind generation or refresh for
02-测试用例.md: follow skills/xmind-export/SKILL.md.
- Execution prerequisite confirmation: follow
skills/execution-gate/SKILL.md.
- Browser verification, field comparison, evidence capture, or priority execution: follow
skills/test-execution/SKILL.md.
- Root execution or defect summary generation: follow
skills/result-aggregation/SKILL.md.
- Defect fix verification, rerun after bug fix, regression script execution, or regression status update: follow
skills/regression-testing/SKILL.md.
- Easy PRD Testing Skill or Plugin version checks, updates, upgrades, or latest-release requests: follow
skills/self-update/SKILL.md.
Hard Gates
- Do not generate planning artifacts without PRD, prototype, field baseline, or user-provided product notes.
- Do not create a module artifact directory before the module name is known.
- Do not create testing artifacts before the output root directory is confirmed.
- Do not enter execution gates until
01-04 planning artifacts exist and the user explicitly confirms them.
- Do not execute pages until environment address, test path, login mode, account handling, execution mode, and high-risk authorization are confirmed.
- Do not let child agents write outside their assigned priority directory.
- Do not start regression testing until a defect ID, test case ID, priority, or explicit user-confirmed regression scope is known.
- Do not update the installed Skills while this conversation is in execution-gate, test-execution, result-aggregation, or regression-testing.
Visible Task List
During a full workflow, maintain a user-visible task list.
Allowed statuses:
pending: not started.
in_progress: current active step.
blocked: waiting for one user input, environment, account, permission, test data, or dependency.
completed: actually completed.
skipped: explicitly skipped by the user for this run.
Default tasks:
- Collect PRD, prototype, field baseline, or product notes.
- Confirm module name.
- Confirm output root directory.
- Analyze materials and collect clarification questions.
- Generate
01-04 planning artifacts.
- Offer the optional XMind test-case export; add its task only after the user opts in.
- Wait for explicit user confirmation of
01-04.
- Confirm environment address and test path.
- Confirm login mode, account, password retrieval, and permission scope.
- Confirm execution mode and high-risk action authorization.
- Execute P0/P1/P2/P3 cases.
- Aggregate execution and defect records.
- Report final conclusion and evidence index.
- Confirm regression target after defect fixes when requested.
- Run Playwright Test regression scripts when available.
- Recheck unclear regression failures with
agent-browser.
- Update regression records and defect statuses.
Update the task list whenever a stage starts, completes, becomes blocked, resumes, or is skipped. A task must not be marked completed until the related user confirmation, generated artifact, execution result, or summary exists.
Output Path Contract
All generated module artifacts live under:
<output-root>/easy-prd-testing/testing/<module-name>/
The easy-prd-testing directory name is fixed.
02-测试用例.xmind is an optional one-way derivative of 02-测试用例.md. It is never required by the 01-04 execution gate.
Stop Conditions
Stop and ask the user when the earliest required input is missing. Ask only for that one input. Record later information if the user volunteered it, but continue from the earliest missing gate.
1---2name: easy-prd-testing3description: Use when PRD or prototype based module self-testing needs a complete Codex workflow for intake, clarification, planning documents, optional native XMind test-case export, execution gates, priority-based execution, evidence, aggregation, regression testing, or a safe update of the complete Easy PRD Testing installation.4---56# Easy PRD Testing78## Role910This root `SKILL.md` makes the repository installable as a standalone Codex skill from the repository root. The same repository also works as a Codex plugin through `.codex-plugin/plugin.json`.1112When this skill is installed from the repository root, use the stage instructions under `skills/` as local references:1314- Intake: `skills/prd-intake/SKILL.md`15- Planning: `skills/test-planning/SKILL.md`16- Optional XMind test-case export: `skills/xmind-export/SKILL.md`17- Execution gate: `skills/execution-gate/SKILL.md`18- Test execution: `skills/test-execution/SKILL.md`19- Regression testing: `skills/regression-testing/SKILL.md`20- Result aggregation: `skills/result-aggregation/SKILL.md`21- Complete installation updates: `skills/self-update/SKILL.md`2223Read the relevant stage file before executing that stage.2425## Stage Routing2627- Source material analysis or unclear PRD/prototype input: follow `skills/prd-intake/SKILL.md`.28- Planning artifact generation or updates: follow `skills/test-planning/SKILL.md`.29- Optional native XMind generation or refresh for `02-测试用例.md`: follow `skills/xmind-export/SKILL.md`.30- Execution prerequisite confirmation: follow `skills/execution-gate/SKILL.md`.31- Browser verification, field comparison, evidence capture, or priority execution: follow `skills/test-execution/SKILL.md`.32- Root execution or defect summary generation: follow `skills/result-aggregation/SKILL.md`.33- Defect fix verification, rerun after bug fix, regression script execution, or regression status update: follow `skills/regression-testing/SKILL.md`.34- Easy PRD Testing Skill or Plugin version checks, updates, upgrades, or latest-release requests: follow `skills/self-update/SKILL.md`.3536## Hard Gates37381. Do not generate planning artifacts without PRD, prototype, field baseline, or user-provided product notes.392. Do not create a module artifact directory before the module name is known.403. Do not create testing artifacts before the output root directory is confirmed.414. Do not enter execution gates until `01-04` planning artifacts exist and the user explicitly confirms them.425. Do not execute pages until environment address, test path, login mode, account handling, execution mode, and high-risk authorization are confirmed.436. Do not let child agents write outside their assigned priority directory.447. Do not start regression testing until a defect ID, test case ID, priority, or explicit user-confirmed regression scope is known.458. Do not update the installed Skills while this conversation is in execution-gate, test-execution, result-aggregation, or regression-testing.4647## Visible Task List4849During a full workflow, maintain a user-visible task list.5051Allowed statuses:5253- `pending`: not started.54- `in_progress`: current active step.55- `blocked`: waiting for one user input, environment, account, permission, test data, or dependency.56- `completed`: actually completed.57- `skipped`: explicitly skipped by the user for this run.5859Default tasks:60611. Collect PRD, prototype, field baseline, or product notes.622. Confirm module name.633. Confirm output root directory.644. Analyze materials and collect clarification questions.655. Generate `01-04` planning artifacts.666. Offer the optional XMind test-case export; add its task only after the user opts in.677. Wait for explicit user confirmation of `01-04`.688. Confirm environment address and test path.699. Confirm login mode, account, password retrieval, and permission scope.7010. Confirm execution mode and high-risk action authorization.7111. Execute P0/P1/P2/P3 cases.7212. Aggregate execution and defect records.7313. Report final conclusion and evidence index.7414. Confirm regression target after defect fixes when requested.7515. Run Playwright Test regression scripts when available.7616. Recheck unclear regression failures with `agent-browser`.7717. Update regression records and defect statuses.7879Update the task list whenever a stage starts, completes, becomes blocked, resumes, or is skipped. A task must not be marked `completed` until the related user confirmation, generated artifact, execution result, or summary exists.8081## Output Path Contract8283All generated module artifacts live under:8485```text86<output-root>/easy-prd-testing/testing/<module-name>/87```8889The `easy-prd-testing` directory name is fixed.9091`02-测试用例.xmind` is an optional one-way derivative of `02-测试用例.md`. It is never required by the `01-04` execution gate.9293## Stop Conditions9495Stop and ask the user when the earliest required input is missing. Ask only for that one input. Record later information if the user volunteered it, but continue from the earliest missing gate.