@relipa/ai-flow-kit 0.1.4 → 0.1.5-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -0
- package/bin/aiflow.js +0 -0
- package/bin/ak.js +0 -0
- package/custom/harness/playwright/.env.example +0 -0
- package/custom/harness/playwright/playwright.config.ts +0 -0
- package/custom/harness/playwright/tests/e2e/auth.setup.ts +0 -0
- package/custom/harness/playwright/tests/e2e/fixtures/test.ts +0 -0
- package/custom/harness/playwright/tests/e2e/pages/BasePage.ts +0 -0
- package/custom/harness/playwright/tests/e2e/support/auth.ts +0 -0
- package/custom/mcp-presets/README.md +0 -0
- package/custom/mcp-presets/backlog.json +0 -0
- package/custom/mcp-presets/figma-desktop.json +0 -0
- package/custom/mcp-presets/figma.json +0 -0
- package/custom/mcp-presets/gitnexus.json +0 -0
- package/custom/mcp-presets/google-sheets.json +0 -0
- package/custom/mcp-presets/jira.json +0 -0
- package/custom/mcp-presets/playwright.json +0 -0
- package/custom/prompts/bug-fix.md +0 -0
- package/custom/prompts/feature.md +0 -0
- package/custom/prompts/investigation.md +0 -0
- package/custom/rules/code-style.md +0 -0
- package/custom/rules/java/code-style.md +0 -0
- package/custom/rules/java/naming.md +0 -0
- package/custom/rules/java/review-checklist.md +0 -0
- package/custom/rules/java/spring-boot-examples.md +0 -0
- package/custom/rules/javascript/code-style.md +0 -0
- package/custom/rules/javascript/naming.md +0 -0
- package/custom/rules/ml-conventions.md +0 -0
- package/custom/rules/ml-review-checklist.md +0 -0
- package/custom/rules/naming.md +0 -0
- package/custom/rules/php/code-style.md +0 -0
- package/custom/rules/php/naming.md +0 -0
- package/custom/rules/project-conventions.md +67 -51
- package/custom/rules/review-checklist.md +0 -0
- package/custom/rules/test-patterns.md +0 -0
- package/custom/skills/automation-testing/SKILL.md +0 -0
- package/custom/skills/automation-testing/templates/BasePage.ts +0 -0
- package/custom/skills/automation-testing/templates/PageObject.example.ts +0 -0
- package/custom/skills/automation-testing/templates/playwright.config.ts +0 -0
- package/custom/skills/automation-testing/templates/spec.example.ts +0 -0
- package/custom/skills/ba-skills/{skill-ba-xay-dung-business-rules-v1.md → skill-ba-build-business-rules-v1.md} +0 -0
- package/custom/skills/ba-skills/{skill-ba-template-phan-tich-ban-dau-v1.md → skill-ba-initial-analysis-template-v1.md} +0 -0
- package/custom/skills/ba-skills/{skill-ba-phan-tich-ban-dau-v1.md → skill-ba-initial-analysis-v1.md} +2 -2
- package/custom/skills/ba-skills/{skill-ba-ve-luong-mermaid-v1.md → skill-ba-mermaid-flowchart-v1.md} +0 -0
- package/custom/skills/ba-skills/{skill-ba-qa-template-v1.md → skill-ba-qna-template-v1.md} +0 -0
- package/custom/skills/ba-skills/{skill-ba-qa-v1.md → skill-ba-qna-v1.md} +2 -2
- package/custom/skills/ba-skills/{skill-ba-template-uc-v1.md → skill-ba-uc-template-v1.md} +0 -0
- package/custom/skills/ba-skills/{skill-ba-prototype-v1.md → skill-ba-ui-prototype-v1.md} +2 -2
- package/custom/skills/ba-skills/{skill-ba-viet-spec-uc-v1.md → skill-ba-write-uc-spec-v1.md} +4 -4
- package/custom/skills/coverage-check/SKILL.md +0 -0
- package/custom/skills/deploy-model/SKILL.md +0 -0
- package/custom/skills/design-experiment/SKILL.md +0 -0
- package/custom/skills/evaluate-model/SKILL.md +0 -0
- package/custom/skills/evidence-aggregation/SKILL.md +0 -0
- package/custom/skills/execute-flow/SKILL.md +0 -0
- package/custom/skills/execute-flow/templates/playwright.config.ts +0 -0
- package/custom/skills/explore-data/SKILL.md +0 -0
- package/custom/skills/figma-to-component/SKILL.md +0 -0
- package/custom/skills/frame-ml-problem/SKILL.md +0 -0
- package/custom/skills/gate-review/SKILL.md +1 -1
- package/custom/skills/generate-spec/SKILL.md +99 -99
- package/custom/skills/generate-test-report/SKILL.md +0 -0
- package/custom/skills/generate-test-report/templates/test-report.md +0 -0
- package/custom/skills/generate-testcase/SKILL.md +0 -0
- package/custom/skills/generate-testcase/templates/testcase.md +0 -0
- package/custom/skills/impact-analysis/SKILL.md +0 -0
- package/custom/skills/improve-algorithm/SKILL.md +0 -0
- package/custom/skills/investigate-bug/SKILL.md +0 -0
- package/custom/skills/log-bug/SKILL.md +0 -0
- package/custom/skills/pr-impact-analysis/SKILL.md +0 -0
- package/custom/skills/read-study-requirement/SKILL.md +7 -5
- package/custom/skills/report-customer/SKILL.md +0 -0
- package/custom/skills/retest-orchestration/SKILL.md +0 -0
- package/custom/skills/review-plan/SKILL.md +194 -194
- package/custom/skills/script-sync/SKILL.md +0 -0
- package/custom/skills/test-analysis/SKILL.md +0 -0
- package/custom/skills/test-skills/categories/00-core/00.01.requirement-analysis.md +0 -0
- package/custom/skills/test-skills/categories/00-core/00.02.risk-analysis.md +0 -0
- package/custom/skills/test-skills/categories/00-core/00.03.test-scenario-builder.md +0 -0
- package/custom/skills/test-skills/categories/00-core/00.04.testcase-review.md +0 -0
- package/custom/skills/test-skills/categories/01-test-design/01.01.boundary-value-analysis.md +0 -0
- package/custom/skills/test-skills/categories/01-test-design/01.02.equivalence.partitioning.md +0 -0
- package/custom/skills/test-skills/categories/01-test-design/01.03.decision-table.md +0 -0
- package/custom/skills/test-skills/categories/01-test-design/01.04.state.transition.md +0 -0
- package/custom/skills/test-skills/categories/01-test-design/01.05.pairwise.md +0 -0
- package/custom/skills/test-skills/categories/01-test-design/01.06.error-guessing.md +0 -0
- package/custom/skills/test-skills/categories/02-ui-testing/02.01.UI-layout.md +0 -0
- package/custom/skills/test-skills/categories/02-ui-testing/02.02.form-validation.md +0 -0
- package/custom/skills/test-skills/categories/02-ui-testing/02.03.navigation.md +0 -0
- package/custom/skills/test-skills/categories/02-ui-testing/02.04.localization.md +0 -0
- package/custom/skills/test-skills/categories/02-ui-testing/02.05.accessibility.md +0 -0
- package/custom/skills/test-skills/categories/03-business-testing/03.01.CRUD-testing.md +0 -0
- package/custom/skills/test-skills/categories/03-business-testing/03.02.workflow-testing.md +0 -0
- package/custom/skills/test-skills/categories/03-business-testing/03.03.permission-testing.md +0 -0
- package/custom/skills/test-skills/categories/03-business-testing/03.04.dependency-validation.md +0 -0
- package/custom/skills/test-skills/categories/03-business-testing/03.05.notification-testing.md +0 -0
- package/custom/skills/test-skills/categories/03-business-testing/03.06.calculation.testing.md +0 -0
- package/custom/skills/test-skills/categories/04-data-testing/04.01.database-testing.md +0 -0
- package/custom/skills/test-skills/categories/04-data-testing/04.02.import-export-testing.md +0 -0
- package/custom/skills/test-skills/categories/04-data-testing/04.03.data-mapping.md +0 -0
- package/custom/skills/test-skills/categories/04-data-testing/04.04.duplicate-handling.md +0 -0
- package/custom/skills/test-skills/categories/04-data-testing/04.05.migration.md +0 -0
- package/custom/skills/test-skills/categories/05-integration/05.01.API-testing.md +0 -0
- package/custom/skills/test-skills/categories/05-integration/05.02.third-party-integration.md +0 -0
- package/custom/skills/test-skills/categories/05-integration/05.03.batch-processing.md +0 -0
- package/custom/skills/test-skills/categories/05-integration/05.04.file-upload-download.md +0 -0
- package/custom/skills/test-skills/categories/08-domain-skills/CMS.md +0 -0
- package/custom/skills/test-skills/categories/08-domain-skills/Ecommerce.md +0 -0
- package/custom/skills/test-skills/categories/99-review/99.01.coverage-review.md +0 -0
- package/custom/skills/test-skills/categories/99-review/99.02.knowledge-learning.md +0 -0
- package/custom/skills/test-skills/categories/99-review/99.03.repository-update.md +0 -0
- package/custom/skills/test-skills/categories/99-review/99.04.change-history.md +0 -0
- package/custom/skills/test-skills/rules/directory-and-naming-convention.md +158 -0
- package/custom/skills/test-skills/rules/{QA_Writing_Standards.md → qa-writing-standards.md} +0 -0
- package/custom/skills/test-skills/template/{template_testcase.md → testcase-template.md} +0 -0
- package/custom/skills/train-model/SKILL.md +0 -0
- package/custom/templates/laravel.md +0 -0
- package/custom/templates/nestjs.md +0 -0
- package/custom/templates/nextjs.md +0 -0
- package/custom/templates/nodejs-express.md +0 -0
- package/custom/templates/php-plain.md +0 -0
- package/custom/templates/php.md +0 -0
- package/custom/templates/python-django.md +0 -0
- package/custom/templates/python-fastapi.md +0 -0
- package/custom/templates/python-ml.md +0 -0
- package/custom/templates/python.md +0 -0
- package/custom/templates/reactjs.md +0 -0
- package/custom/templates/shared/coding-workflow.md +15 -0
- package/custom/templates/shared/create-spec-workflow.md +80 -89
- package/custom/templates/shared/create-testcase-workflow.md +86 -84
- package/custom/templates/shared/gate-workflow.md +64 -11
- package/custom/templates/shared/ml-gate-workflow.md +0 -0
- package/custom/templates/spring-boot.md +0 -0
- package/custom/templates/tools/claude.md +13 -13
- package/custom/templates/tools/copilot.md +12 -12
- package/custom/templates/tools/cursor.md +12 -12
- package/custom/templates/tools/gemini.md +22 -22
- package/custom/templates/tools/generic.md +17 -17
- package/custom/templates/vue-nuxt.md +0 -0
- package/docs/common/AIFLOW.md +10 -10
- package/docs/common/CHANGELOG.md +33 -9
- package/docs/common/QUICK_START.md +0 -0
- package/docs/common/ai-integration.md +53 -53
- package/docs/common/cli-reference.md +0 -0
- package/docs/common/configuration.md +0 -0
- package/docs/common/getting-started.md +0 -0
- package/docs/common/troubleshooting.md +0 -0
- package/docs/common/workflows/bug-fix.md +126 -126
- package/docs/common/workflows/feature.md +123 -123
- package/docs/common/workflows/figma.md +0 -0
- package/docs/common/workflows/impact-analysis.md +0 -0
- package/docs/common/workflows/investigation.md +0 -0
- package/docs/common/workflows/refactor.md +0 -0
- package/docs/project/ARCHITECTURE.md +0 -0
- package/index.js +0 -0
- package/package.json +1 -1
- package/scripts/checkpoint.js +0 -0
- package/scripts/config.js +0 -0
- package/scripts/context.js +0 -0
- package/scripts/create-score-excel.js +41 -47
- package/scripts/detect.js +0 -0
- package/scripts/doctor.js +0 -0
- package/scripts/gitnexus-worker.js +0 -0
- package/scripts/guide.js +0 -0
- package/scripts/hooks/block-git-write.js +0 -0
- package/scripts/hooks/session-start.js +10 -5
- package/scripts/hooks/session-stop.js +0 -0
- package/scripts/init.js +5 -0
- package/scripts/memory.js +0 -0
- package/scripts/prompt.js +0 -0
- package/scripts/remove.js +0 -0
- package/scripts/review.js +0 -0
- package/scripts/scaffold-playwright.js +0 -0
- package/scripts/task.js +69 -22
- package/scripts/telemetry/cli.js +0 -0
- package/scripts/telemetry/config.js +0 -0
- package/scripts/telemetry/crypto.js +0 -0
- package/scripts/telemetry/flush.js +0 -0
- package/scripts/telemetry/record.js +0 -0
- package/scripts/update.js +0 -0
- package/scripts/use.js +3 -2
- package/scripts/validate.js +0 -0
- package/upstream/.claude-plugin/marketplace.json +0 -0
- package/upstream/.claude-plugin/plugin.json +0 -0
- package/upstream/.codex/INSTALL.md +0 -0
- package/upstream/.cursor-plugin/plugin.json +0 -0
- package/upstream/.gitattributes +0 -0
- package/upstream/.github/FUNDING.yml +0 -0
- package/upstream/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
- package/upstream/.github/ISSUE_TEMPLATE/config.yml +0 -0
- package/upstream/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
- package/upstream/.github/ISSUE_TEMPLATE/platform_support.md +0 -0
- package/upstream/.github/PULL_REQUEST_TEMPLATE.md +0 -0
- package/upstream/.opencode/INSTALL.md +0 -0
- package/upstream/.opencode/plugins/superpowers.js +0 -0
- package/upstream/.version-bump.json +0 -0
- package/upstream/AGENTS.md +0 -0
- package/upstream/CHANGELOG.md +0 -0
- package/upstream/CLAUDE.md +0 -0
- package/upstream/CODE_OF_CONDUCT.md +0 -0
- package/upstream/GEMINI.md +0 -0
- package/upstream/LICENSE +0 -0
- package/upstream/README.md +0 -0
- package/upstream/RELEASE-NOTES.md +0 -0
- package/upstream/agents/code-reviewer.md +0 -0
- package/upstream/commands/brainstorm.md +0 -0
- package/upstream/commands/execute-plan.md +0 -0
- package/upstream/commands/write-plan.md +0 -0
- package/upstream/docs/README.codex.md +0 -0
- package/upstream/docs/README.opencode.md +0 -0
- package/upstream/docs/plans/2025-11-22-opencode-support-design.md +0 -0
- package/upstream/docs/plans/2025-11-22-opencode-support-implementation.md +0 -0
- package/upstream/docs/plans/2025-11-28-skills-improvements-from-user-feedback.md +0 -0
- package/upstream/docs/plans/2026-01-17-visual-brainstorming.md +0 -0
- package/upstream/docs/superpowers/plans/2026-01-22-document-review-system.md +0 -0
- package/upstream/docs/superpowers/plans/2026-02-19-visual-brainstorming-refactor.md +0 -0
- package/upstream/docs/superpowers/plans/2026-03-11-zero-dep-brainstorm-server.md +0 -0
- package/upstream/docs/superpowers/plans/2026-03-23-codex-app-compatibility.md +0 -0
- package/upstream/docs/superpowers/specs/2026-01-22-document-review-system-design.md +0 -0
- package/upstream/docs/superpowers/specs/2026-02-19-visual-brainstorming-refactor-design.md +0 -0
- package/upstream/docs/superpowers/specs/2026-03-11-zero-dep-brainstorm-server-design.md +0 -0
- package/upstream/docs/superpowers/specs/2026-03-23-codex-app-compatibility-design.md +0 -0
- package/upstream/docs/testing.md +0 -0
- package/upstream/docs/windows/polyglot-hooks.md +0 -0
- package/upstream/gemini-extension.json +0 -0
- package/upstream/hooks/hooks-cursor.json +0 -0
- package/upstream/hooks/hooks.json +0 -0
- package/upstream/hooks/run-hook.cmd +0 -0
- package/upstream/hooks/session-start +0 -0
- package/upstream/package.json +0 -0
- package/upstream/scripts/bump-version.sh +0 -0
- package/upstream/skills/brainstorming/SKILL.md +0 -0
- package/upstream/skills/brainstorming/scripts/frame-template.html +0 -0
- package/upstream/skills/brainstorming/scripts/helper.js +0 -0
- package/upstream/skills/brainstorming/scripts/server.cjs +0 -0
- package/upstream/skills/brainstorming/scripts/start-server.sh +0 -0
- package/upstream/skills/brainstorming/scripts/stop-server.sh +0 -0
- package/upstream/skills/brainstorming/spec-document-reviewer-prompt.md +0 -0
- package/upstream/skills/brainstorming/visual-companion.md +0 -0
- package/upstream/skills/dispatching-parallel-agents/SKILL.md +0 -0
- package/upstream/skills/executing-plans/SKILL.md +0 -0
- package/upstream/skills/finishing-a-development-branch/SKILL.md +0 -0
- package/upstream/skills/receiving-code-review/SKILL.md +0 -0
- package/upstream/skills/requesting-code-review/SKILL.md +0 -0
- package/upstream/skills/requesting-code-review/code-reviewer.md +0 -0
- package/upstream/skills/subagent-driven-development/SKILL.md +0 -0
- package/upstream/skills/subagent-driven-development/code-quality-reviewer-prompt.md +0 -0
- package/upstream/skills/subagent-driven-development/implementer-prompt.md +0 -0
- package/upstream/skills/subagent-driven-development/spec-reviewer-prompt.md +0 -0
- package/upstream/skills/systematic-debugging/CREATION-LOG.md +0 -0
- package/upstream/skills/systematic-debugging/SKILL.md +0 -0
- package/upstream/skills/systematic-debugging/condition-based-waiting-example.ts +0 -0
- package/upstream/skills/systematic-debugging/condition-based-waiting.md +0 -0
- package/upstream/skills/systematic-debugging/defense-in-depth.md +0 -0
- package/upstream/skills/systematic-debugging/find-polluter.sh +0 -0
- package/upstream/skills/systematic-debugging/root-cause-tracing.md +0 -0
- package/upstream/skills/systematic-debugging/test-academic.md +0 -0
- package/upstream/skills/systematic-debugging/test-pressure-1.md +0 -0
- package/upstream/skills/systematic-debugging/test-pressure-2.md +0 -0
- package/upstream/skills/systematic-debugging/test-pressure-3.md +0 -0
- package/upstream/skills/tdd-lean/SKILL.md +0 -0
- package/upstream/skills/test-driven-development/SKILL.md +0 -0
- package/upstream/skills/test-driven-development/testing-anti-patterns.md +0 -0
- package/upstream/skills/using-git-worktrees/SKILL.md +0 -0
- package/upstream/skills/using-superpowers/SKILL.md +0 -0
- package/upstream/skills/using-superpowers/references/codex-tools.md +0 -0
- package/upstream/skills/using-superpowers/references/copilot-tools.md +0 -0
- package/upstream/skills/using-superpowers/references/gemini-tools.md +0 -0
- package/upstream/skills/verification-before-completion/SKILL.md +0 -0
- package/upstream/skills/writing-plans/SKILL.md +0 -0
- package/upstream/skills/writing-plans/plan-document-reviewer-prompt.md +0 -0
- package/upstream/skills/writing-skills/SKILL.md +0 -0
- package/upstream/skills/writing-skills/anthropic-best-practices.md +0 -0
- package/upstream/skills/writing-skills/examples/CLAUDE_MD_TESTING.md +0 -0
- package/upstream/skills/writing-skills/graphviz-conventions.dot +0 -0
- package/upstream/skills/writing-skills/persuasion-principles.md +0 -0
- package/upstream/skills/writing-skills/render-graphs.js +0 -0
- package/upstream/skills/writing-skills/testing-skills-with-subagents.md +0 -0
- package/upstream/tests/brainstorm-server/package-lock.json +0 -0
- package/upstream/tests/brainstorm-server/package.json +0 -0
- package/upstream/tests/brainstorm-server/server.test.js +0 -0
- package/upstream/tests/brainstorm-server/windows-lifecycle.test.sh +0 -0
- package/upstream/tests/brainstorm-server/ws-protocol.test.js +0 -0
- package/upstream/tests/claude-code/README.md +0 -0
- package/upstream/tests/claude-code/analyze-token-usage.py +0 -0
- package/upstream/tests/claude-code/run-skill-tests.sh +0 -0
- package/upstream/tests/claude-code/test-document-review-system.sh +0 -0
- package/upstream/tests/claude-code/test-helpers.sh +0 -0
- package/upstream/tests/claude-code/test-subagent-driven-development-integration.sh +0 -0
- package/upstream/tests/claude-code/test-subagent-driven-development.sh +0 -0
- package/upstream/tests/explicit-skill-requests/prompts/action-oriented.txt +0 -0
- package/upstream/tests/explicit-skill-requests/prompts/after-planning-flow.txt +0 -0
- package/upstream/tests/explicit-skill-requests/prompts/claude-suggested-it.txt +0 -0
- package/upstream/tests/explicit-skill-requests/prompts/i-know-what-sdd-means.txt +0 -0
- package/upstream/tests/explicit-skill-requests/prompts/mid-conversation-execute-plan.txt +0 -0
- package/upstream/tests/explicit-skill-requests/prompts/please-use-brainstorming.txt +0 -0
- package/upstream/tests/explicit-skill-requests/prompts/skip-formalities.txt +0 -0
- package/upstream/tests/explicit-skill-requests/prompts/subagent-driven-development-please.txt +0 -0
- package/upstream/tests/explicit-skill-requests/prompts/use-systematic-debugging.txt +0 -0
- package/upstream/tests/explicit-skill-requests/run-all.sh +0 -0
- package/upstream/tests/explicit-skill-requests/run-claude-describes-sdd.sh +0 -0
- package/upstream/tests/explicit-skill-requests/run-extended-multiturn-test.sh +0 -0
- package/upstream/tests/explicit-skill-requests/run-haiku-test.sh +0 -0
- package/upstream/tests/explicit-skill-requests/run-multiturn-test.sh +0 -0
- package/upstream/tests/explicit-skill-requests/run-test.sh +0 -0
- package/upstream/tests/opencode/run-tests.sh +0 -0
- package/upstream/tests/opencode/setup.sh +0 -0
- package/upstream/tests/opencode/test-plugin-loading.sh +0 -0
- package/upstream/tests/opencode/test-priority.sh +0 -0
- package/upstream/tests/opencode/test-tools.sh +0 -0
- package/upstream/tests/skill-triggering/prompts/dispatching-parallel-agents.txt +0 -0
- package/upstream/tests/skill-triggering/prompts/executing-plans.txt +0 -0
- package/upstream/tests/skill-triggering/prompts/requesting-code-review.txt +0 -0
- package/upstream/tests/skill-triggering/prompts/systematic-debugging.txt +0 -0
- package/upstream/tests/skill-triggering/prompts/test-driven-development.txt +0 -0
- package/upstream/tests/skill-triggering/prompts/writing-plans.txt +0 -0
- package/upstream/tests/skill-triggering/run-all.sh +0 -0
- package/upstream/tests/skill-triggering/run-test.sh +0 -0
- package/upstream/tests/subagent-driven-dev/go-fractals/design.md +0 -0
- package/upstream/tests/subagent-driven-dev/go-fractals/plan.md +0 -0
- package/upstream/tests/subagent-driven-dev/go-fractals/scaffold.sh +0 -0
- package/upstream/tests/subagent-driven-dev/run-test.sh +0 -0
- package/upstream/tests/subagent-driven-dev/svelte-todo/design.md +0 -0
- package/upstream/tests/subagent-driven-dev/svelte-todo/plan.md +0 -0
- package/upstream/tests/subagent-driven-dev/svelte-todo/scaffold.sh +0 -0
- package/custom/skills/test-skills/rules/Directory_and_Naming_Convention.md +0 -257
|
@@ -1,194 +1,194 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: review-plan
|
|
3
|
-
description: Gate 4 — After AI generates code, the developer reviews source code + summary. Developer must provide APPROVED or report a bug before closing the task.
|
|
4
|
-
keywords: review, code review, approve, summary, checklist
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
# Review Plan — Gate 4
|
|
8
|
-
|
|
9
|
-
> **GATE 4: Runs after AI has completed code generation.**
|
|
10
|
-
>
|
|
11
|
-
> Principle: AI self-reviews first (verification + impact-analysis), then presents a summary to the developer. The developer decides: APPROVED or report a bug.
|
|
12
|
-
|
|
13
|
-
---
|
|
14
|
-
|
|
15
|
-
## Conditions to enter Gate 4
|
|
16
|
-
|
|
17
|
-
- ✅ Gate 1 (requirement doc) has been APPROVED
|
|
18
|
-
- ✅ Gate 2 (implementation plan) has been APPROVED
|
|
19
|
-
- ✅ AI has completed code generation (Gate 3)
|
|
20
|
-
- ✅ `superpowers:verification-before-completion` has run — tests pass
|
|
21
|
-
- ✅ `impact-analysis` skill has run
|
|
22
|
-
|
|
23
|
-
## Mode Selection
|
|
24
|
-
|
|
25
|
-
Check `mode` in `.aiflow/context/current.json`:
|
|
26
|
-
|
|
27
|
-
| Mode | Impact Analysis | Review Checklist | summary.md |
|
|
28
|
-
|------|----------------|-----------------|-----------|
|
|
29
|
-
| `fast` | Quick scan — reason from diff only | 3 items | Short format |
|
|
30
|
-
| `full` | Full grep scan across codebase | 10 items | Full format |
|
|
31
|
-
|
|
32
|
-
### Fast Track Impact Analysis (mode: fast)
|
|
33
|
-
Assess impact by reasoning about the changed files only:
|
|
34
|
-
1. List each file you modified
|
|
35
|
-
2. For each file: "Does this file have callers/dependents outside the ticket scope?"
|
|
36
|
-
3. If yes → list them and assign impact level
|
|
37
|
-
4. DO NOT run grep on the full codebase
|
|
38
|
-
|
|
39
|
-
### Fast Track Review Checklist (mode: fast)
|
|
40
|
-
- [ ] All tests pass
|
|
41
|
-
- [ ] No hardcoded credentials or secrets
|
|
42
|
-
- [ ] No SQL injection risk in new queries
|
|
43
|
-
|
|
44
|
-
## Fast Mode Output Rules (CRITICAL)
|
|
45
|
-
|
|
46
|
-
When creating `
|
|
47
|
-
- **Do not write long explanations or descriptions.**
|
|
48
|
-
- **List format only:** Bullet points with `[NEW]`, `[MODIFIED]`, `[DELETED]`.
|
|
49
|
-
- **Purpose:** Next to each file, write exactly 1 sentence explaining the *purpose* (the "why"), not the implementation details.
|
|
50
|
-
|
|
51
|
-
**Example summary.md block:**
|
|
52
|
-
```markdown
|
|
53
|
-
### Gate 3 — Code
|
|
54
|
-
- ✅ **Implemented batch endpoints**
|
|
55
|
-
- \`[NEW] src/controllers/BatchController.ts\`: Handle bulk export requests
|
|
56
|
-
- \`[MODIFIED] src/services/ExportService.ts\`: Added S3 upload integration
|
|
57
|
-
```
|
|
58
|
-
|
|
59
|
-
---
|
|
60
|
-
|
|
61
|
-
## Process
|
|
62
|
-
|
|
63
|
-
### Step 1: AI self-review (before showing the developer)
|
|
64
|
-
|
|
65
|
-
Run in the following mandatory order:
|
|
66
|
-
|
|
67
|
-
```
|
|
68
|
-
1. superpowers:verification-before-completion
|
|
69
|
-
→ All tests must PASS. If any fail → fix immediately, do not show the developer.
|
|
70
|
-
|
|
71
|
-
2. impact-analysis skill
|
|
72
|
-
→ Check for breaking changes and side effects.
|
|
73
|
-
|
|
74
|
-
3. review-checklist (.rules/review-checklist.md)
|
|
75
|
-
→ Tick each item in the checklist.
|
|
76
|
-
```
|
|
77
|
-
|
|
78
|
-
**If any step fails → fix first, do not proceed to Step 2.**
|
|
79
|
-
|
|
80
|
-
### Step 2: Create Summary Report
|
|
81
|
-
|
|
82
|
-
Create file `
|
|
83
|
-
|
|
84
|
-
```markdown
|
|
85
|
-
# Summary: [Ticket ID] — [Title]
|
|
86
|
-
|
|
87
|
-
**Date:** [YYYY-MM-DD]
|
|
88
|
-
**Status:** Waiting for DEV review
|
|
89
|
-
|
|
90
|
-
---
|
|
91
|
-
|
|
92
|
-
## Implementation Details
|
|
93
|
-
|
|
94
|
-
| File | Change | Reason |
|
|
95
|
-
|------|----------|-------|
|
|
96
|
-
| [path/to/file] | Created / Modified | [reason] |
|
|
97
|
-
|
|
98
|
-
---
|
|
99
|
-
|
|
100
|
-
## Acceptance Criteria — results
|
|
101
|
-
|
|
102
|
-
| Criteria | Status | Notes |
|
|
103
|
-
|---------|--------|---------|
|
|
104
|
-
| [Criteria 1] | ✅ Done | [implementation details] |
|
|
105
|
-
| [Criteria 2] | ✅ Done | |
|
|
106
|
-
|
|
107
|
-
---
|
|
108
|
-
|
|
109
|
-
## Tests Written
|
|
110
|
-
|
|
111
|
-
| Test file | Test cases | Coverage |
|
|
112
|
-
|-----------|-----------|---------|
|
|
113
|
-
| [file] | [N] cases | [X%] |
|
|
114
|
-
|
|
115
|
-
**Test output:**
|
|
116
|
-
```
|
|
117
|
-
[Paste test results here]
|
|
118
|
-
```
|
|
119
|
-
|
|
120
|
-
---
|
|
121
|
-
|
|
122
|
-
## Impact Analysis results
|
|
123
|
-
|
|
124
|
-
**Level:** 🟢 Low / 🟡 Medium / 🔴 High
|
|
125
|
-
|
|
126
|
-
**Impact Scope:**
|
|
127
|
-
- [File/Service A] — [reason for impact / lack of impact]
|
|
128
|
-
|
|
129
|
-
**Breaking changes:** None / [description if any]
|
|
130
|
-
|
|
131
|
-
---
|
|
132
|
-
|
|
133
|
-
## Review Checklist
|
|
134
|
-
|
|
135
|
-
- [ ] Code compiles and all tests pass
|
|
136
|
-
- [ ] No hardcoded credentials / config
|
|
137
|
-
- [ ] Security: no SQL injection, no exposure of sensitive data
|
|
138
|
-
- [ ] Impact Analysis has been run
|
|
139
|
-
- [ ] Naming and Code Style follow conventions
|
|
140
|
-
- [ ] Sufficient tests (unit + integration)
|
|
141
|
-
- [ ] No dead code / leftover console.logs
|
|
142
|
-
```
|
|
143
|
-
|
|
144
|
-
### Step 3: GATE 4 — Present to Developer
|
|
145
|
-
|
|
146
|
-
```markdown
|
|
147
|
-
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
148
|
-
⏸️ GATE 4: WAITING FOR DEV REVIEW
|
|
149
|
-
|
|
150
|
-
I have completed implementation and self-review.
|
|
151
|
-
Summary:
|
|
152
|
-
|
|
153
|
-
**Self-review results:**
|
|
154
|
-
- Tests: ✅ [N] passed / ❌ [N] failed
|
|
155
|
-
- Impact: [Low/Medium/High]
|
|
156
|
-
- Checklist: [N/N] items ✅
|
|
157
|
-
|
|
158
|
-
**You need to:**
|
|
159
|
-
1. Review the summary above
|
|
160
|
-
2. Check the source code if necessary
|
|
161
|
-
3. Run manual tests if desired
|
|
162
|
-
|
|
163
|
-
**After review, reply with one of the following:**
|
|
164
|
-
|
|
165
|
-
✅ If OK: type **"APPROVED"**
|
|
166
|
-
🐛 If there are bugs: type **"BUG: [description]"**
|
|
167
|
-
→ If a requirement bug: I will return to Gate 1
|
|
168
|
-
→ If a coding bug: I will fix and repeat Gate 4
|
|
169
|
-
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
170
|
-
```
|
|
171
|
-
|
|
172
|
-
### Step 4: Handle feedback
|
|
173
|
-
|
|
174
|
-
**If the developer types "APPROVED":**
|
|
175
|
-
→ Invoke `superpowers:requesting-code-review` to send for peer review
|
|
176
|
-
→ Guide on creating a Pull Request
|
|
177
|
-
|
|
178
|
-
**If the developer types "BUG: [description]" — coding bug:**
|
|
179
|
-
→ Analyze bug, fix, rerun verification
|
|
180
|
-
→ Repeat from Step 1 of Gate 4
|
|
181
|
-
|
|
182
|
-
**If the developer types "BUG: [description]" — requirement bug:**
|
|
183
|
-
→ Notify: "This is a requirement bug, requirement document needs update"
|
|
184
|
-
→ Return to Gate 1, update requirement.md, wait for APPROVED again
|
|
185
|
-
|
|
186
|
-
---
|
|
187
|
-
|
|
188
|
-
## Mandatory Rules
|
|
189
|
-
|
|
190
|
-
- ❌ **DO NOT** invoke `requesting-code-review` before the developer provides APPROVED
|
|
191
|
-
- ❌ **DO NOT** decide "task is done" on your own — must be confirmed by the developer
|
|
192
|
-
- ✅ **MUST** run verification + impact-analysis before showing the developer
|
|
193
|
-
- ✅ **MUST** clearly classify: requirement bug vs coding bug
|
|
194
|
-
- ✅ **MUST** update summary.md each time changes are made
|
|
1
|
+
---
|
|
2
|
+
name: review-plan
|
|
3
|
+
description: Gate 4 — After AI generates code, the developer reviews source code + summary. Developer must provide APPROVED or report a bug before closing the task.
|
|
4
|
+
keywords: review, code review, approve, summary, checklist
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Review Plan — Gate 4
|
|
8
|
+
|
|
9
|
+
> **GATE 4: Runs after AI has completed code generation.**
|
|
10
|
+
>
|
|
11
|
+
> Principle: AI self-reviews first (verification + impact-analysis), then presents a summary to the developer. The developer decides: APPROVED or report a bug.
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
## Conditions to enter Gate 4
|
|
16
|
+
|
|
17
|
+
- ✅ Gate 1 (requirement doc) has been APPROVED
|
|
18
|
+
- ✅ Gate 2 (implementation plan) has been APPROVED
|
|
19
|
+
- ✅ AI has completed code generation (Gate 3)
|
|
20
|
+
- ✅ `superpowers:verification-before-completion` has run — tests pass
|
|
21
|
+
- ✅ `impact-analysis` skill has run
|
|
22
|
+
|
|
23
|
+
## Mode Selection
|
|
24
|
+
|
|
25
|
+
Check `mode` in `.aiflow/context/current.json`:
|
|
26
|
+
|
|
27
|
+
| Mode | Impact Analysis | Review Checklist | summary.md |
|
|
28
|
+
|------|----------------|-----------------|-----------|
|
|
29
|
+
| `fast` | Quick scan — reason from diff only | 3 items | Short format |
|
|
30
|
+
| `full` | Full grep scan across codebase | 10 items | Full format |
|
|
31
|
+
|
|
32
|
+
### Fast Track Impact Analysis (mode: fast)
|
|
33
|
+
Assess impact by reasoning about the changed files only:
|
|
34
|
+
1. List each file you modified
|
|
35
|
+
2. For each file: "Does this file have callers/dependents outside the ticket scope?"
|
|
36
|
+
3. If yes → list them and assign impact level
|
|
37
|
+
4. DO NOT run grep on the full codebase
|
|
38
|
+
|
|
39
|
+
### Fast Track Review Checklist (mode: fast)
|
|
40
|
+
- [ ] All tests pass
|
|
41
|
+
- [ ] No hardcoded credentials or secrets
|
|
42
|
+
- [ ] No SQL injection risk in new queries
|
|
43
|
+
|
|
44
|
+
## Fast Mode Output Rules (CRITICAL)
|
|
45
|
+
|
|
46
|
+
When creating `04.Coding/04.Reviews/[functionId]/[ticketId].md` in **fast mode**:
|
|
47
|
+
- **Do not write long explanations or descriptions.**
|
|
48
|
+
- **List format only:** Bullet points with `[NEW]`, `[MODIFIED]`, `[DELETED]`.
|
|
49
|
+
- **Purpose:** Next to each file, write exactly 1 sentence explaining the *purpose* (the "why"), not the implementation details.
|
|
50
|
+
|
|
51
|
+
**Example summary.md block:**
|
|
52
|
+
```markdown
|
|
53
|
+
### Gate 3 — Code
|
|
54
|
+
- ✅ **Implemented batch endpoints**
|
|
55
|
+
- \`[NEW] src/controllers/BatchController.ts\`: Handle bulk export requests
|
|
56
|
+
- \`[MODIFIED] src/services/ExportService.ts\`: Added S3 upload integration
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
---
|
|
60
|
+
|
|
61
|
+
## Process
|
|
62
|
+
|
|
63
|
+
### Step 1: AI self-review (before showing the developer)
|
|
64
|
+
|
|
65
|
+
Run in the following mandatory order:
|
|
66
|
+
|
|
67
|
+
```
|
|
68
|
+
1. superpowers:verification-before-completion
|
|
69
|
+
→ All tests must PASS. If any fail → fix immediately, do not show the developer.
|
|
70
|
+
|
|
71
|
+
2. impact-analysis skill
|
|
72
|
+
→ Check for breaking changes and side effects.
|
|
73
|
+
|
|
74
|
+
3. review-checklist (.rules/review-checklist.md)
|
|
75
|
+
→ Tick each item in the checklist.
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
**If any step fails → fix first, do not proceed to Step 2.**
|
|
79
|
+
|
|
80
|
+
### Step 2: Create Summary Report
|
|
81
|
+
|
|
82
|
+
Create file `04.Coding/04.Reviews/[functionId]/[ticketId].md`:
|
|
83
|
+
|
|
84
|
+
```markdown
|
|
85
|
+
# Summary: [Ticket ID] — [Title]
|
|
86
|
+
|
|
87
|
+
**Date:** [YYYY-MM-DD]
|
|
88
|
+
**Status:** Waiting for DEV review
|
|
89
|
+
|
|
90
|
+
---
|
|
91
|
+
|
|
92
|
+
## Implementation Details
|
|
93
|
+
|
|
94
|
+
| File | Change | Reason |
|
|
95
|
+
|------|----------|-------|
|
|
96
|
+
| [path/to/file] | Created / Modified | [reason] |
|
|
97
|
+
|
|
98
|
+
---
|
|
99
|
+
|
|
100
|
+
## Acceptance Criteria — results
|
|
101
|
+
|
|
102
|
+
| Criteria | Status | Notes |
|
|
103
|
+
|---------|--------|---------|
|
|
104
|
+
| [Criteria 1] | ✅ Done | [implementation details] |
|
|
105
|
+
| [Criteria 2] | ✅ Done | |
|
|
106
|
+
|
|
107
|
+
---
|
|
108
|
+
|
|
109
|
+
## Tests Written
|
|
110
|
+
|
|
111
|
+
| Test file | Test cases | Coverage |
|
|
112
|
+
|-----------|-----------|---------|
|
|
113
|
+
| [file] | [N] cases | [X%] |
|
|
114
|
+
|
|
115
|
+
**Test output:**
|
|
116
|
+
```
|
|
117
|
+
[Paste test results here]
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
---
|
|
121
|
+
|
|
122
|
+
## Impact Analysis results
|
|
123
|
+
|
|
124
|
+
**Level:** 🟢 Low / 🟡 Medium / 🔴 High
|
|
125
|
+
|
|
126
|
+
**Impact Scope:**
|
|
127
|
+
- [File/Service A] — [reason for impact / lack of impact]
|
|
128
|
+
|
|
129
|
+
**Breaking changes:** None / [description if any]
|
|
130
|
+
|
|
131
|
+
---
|
|
132
|
+
|
|
133
|
+
## Review Checklist
|
|
134
|
+
|
|
135
|
+
- [ ] Code compiles and all tests pass
|
|
136
|
+
- [ ] No hardcoded credentials / config
|
|
137
|
+
- [ ] Security: no SQL injection, no exposure of sensitive data
|
|
138
|
+
- [ ] Impact Analysis has been run
|
|
139
|
+
- [ ] Naming and Code Style follow conventions
|
|
140
|
+
- [ ] Sufficient tests (unit + integration)
|
|
141
|
+
- [ ] No dead code / leftover console.logs
|
|
142
|
+
```
|
|
143
|
+
|
|
144
|
+
### Step 3: GATE 4 — Present to Developer
|
|
145
|
+
|
|
146
|
+
```markdown
|
|
147
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
148
|
+
⏸️ GATE 4: WAITING FOR DEV REVIEW
|
|
149
|
+
|
|
150
|
+
I have completed implementation and self-review.
|
|
151
|
+
Summary: 04.Coding/04.Reviews/[functionId]/[ticketId].md
|
|
152
|
+
|
|
153
|
+
**Self-review results:**
|
|
154
|
+
- Tests: ✅ [N] passed / ❌ [N] failed
|
|
155
|
+
- Impact: [Low/Medium/High]
|
|
156
|
+
- Checklist: [N/N] items ✅
|
|
157
|
+
|
|
158
|
+
**You need to:**
|
|
159
|
+
1. Review the summary above
|
|
160
|
+
2. Check the source code if necessary
|
|
161
|
+
3. Run manual tests if desired
|
|
162
|
+
|
|
163
|
+
**After review, reply with one of the following:**
|
|
164
|
+
|
|
165
|
+
✅ If OK: type **"APPROVED"**
|
|
166
|
+
🐛 If there are bugs: type **"BUG: [description]"**
|
|
167
|
+
→ If a requirement bug: I will return to Gate 1
|
|
168
|
+
→ If a coding bug: I will fix and repeat Gate 4
|
|
169
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
170
|
+
```
|
|
171
|
+
|
|
172
|
+
### Step 4: Handle feedback
|
|
173
|
+
|
|
174
|
+
**If the developer types "APPROVED":**
|
|
175
|
+
→ Invoke `superpowers:requesting-code-review` to send for peer review
|
|
176
|
+
→ Guide on creating a Pull Request
|
|
177
|
+
|
|
178
|
+
**If the developer types "BUG: [description]" — coding bug:**
|
|
179
|
+
→ Analyze bug, fix, rerun verification
|
|
180
|
+
→ Repeat from Step 1 of Gate 4
|
|
181
|
+
|
|
182
|
+
**If the developer types "BUG: [description]" — requirement bug:**
|
|
183
|
+
→ Notify: "This is a requirement bug, requirement document needs update"
|
|
184
|
+
→ Return to Gate 1, update requirement.md, wait for APPROVED again
|
|
185
|
+
|
|
186
|
+
---
|
|
187
|
+
|
|
188
|
+
## Mandatory Rules
|
|
189
|
+
|
|
190
|
+
- ❌ **DO NOT** invoke `requesting-code-review` before the developer provides APPROVED
|
|
191
|
+
- ❌ **DO NOT** decide "task is done" on your own — must be confirmed by the developer
|
|
192
|
+
- ✅ **MUST** run verification + impact-analysis before showing the developer
|
|
193
|
+
- ✅ **MUST** clearly classify: requirement bug vs coding bug
|
|
194
|
+
- ✅ **MUST** update summary.md each time changes are made
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/custom/skills/test-skills/categories/01-test-design/01.01.boundary-value-analysis.md
CHANGED
|
File without changes
|
package/custom/skills/test-skills/categories/01-test-design/01.02.equivalence.partitioning.md
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/custom/skills/test-skills/categories/03-business-testing/03.03.permission-testing.md
CHANGED
|
File without changes
|
package/custom/skills/test-skills/categories/03-business-testing/03.04.dependency-validation.md
CHANGED
|
File without changes
|
package/custom/skills/test-skills/categories/03-business-testing/03.05.notification-testing.md
CHANGED
|
File without changes
|
package/custom/skills/test-skills/categories/03-business-testing/03.06.calculation.testing.md
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/custom/skills/test-skills/categories/05-integration/05.02.third-party-integration.md
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
# 00. Directory Structure & File Naming Convention
|
|
2
|
+
|
|
3
|
+
## Objective
|
|
4
|
+
|
|
5
|
+
Define and standardize directory organization and file naming rules for all Artifacts generated in the QA Workflow. Ensures consistency, traceability, and maintainability across the project.
|
|
6
|
+
|
|
7
|
+
> **Important**: This document is the **mandatory reference** for the entire workflow. All generated Artifacts (Result, QA, TestCase) must strictly follow the rules defined here before executing any step in the workflow.
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## 1. Directory Overview
|
|
12
|
+
|
|
13
|
+
```text
|
|
14
|
+
03.Testing/
|
|
15
|
+
├── 01.Testcases/
|
|
16
|
+
│ └── [functionId]/
|
|
17
|
+
│ └── [functionId]_TestCase.md ← Gate 4 tạo
|
|
18
|
+
└── 07.AI-Artifacts/
|
|
19
|
+
└── [functionId]/
|
|
20
|
+
├── [functionId]_01_Requirement_Analysis_Result.md ← Gate 1 tạo
|
|
21
|
+
├── [functionId]_01_Requirement_Analysis_QA.md ← Gate 1 tạo (nếu có issue)
|
|
22
|
+
├── [functionId]_02_Test_Scenarios_Result.md ← Gate 2 tạo
|
|
23
|
+
├── [functionId]_02_Scenario_Building_QA.md ← Gate 2 tạo (nếu có issue)
|
|
24
|
+
├── [functionId]_03_Test_Cases_Draft_Result.md ← Gate 3 tạo
|
|
25
|
+
├── [functionId]_03_Test_Design_QA.md ← Gate 3 tạo (nếu có issue)
|
|
26
|
+
├── [functionId]_04_Test_Cases_Final_Result.md ← Gate 4 tạo (cùng TestCase)
|
|
27
|
+
└── [functionId]_04_Test_Review_QA.md ← Gate 4 tạo
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
Example: `functionId = AD06` → root folder is `03.Testing/`
|
|
31
|
+
|
|
32
|
+
---
|
|
33
|
+
|
|
34
|
+
## 2. 07.AI-Artifacts/ Directory Rules
|
|
35
|
+
|
|
36
|
+
- **Root path**: `03.Testing/07.AI-Artifacts/[functionId]/`
|
|
37
|
+
- **Purpose**: Store all official result artifacts and QA tracking files generated at each workflow gate.
|
|
38
|
+
|
|
39
|
+
### 2.1. File Naming Convention
|
|
40
|
+
|
|
41
|
+
Files are placed under `03.Testing/07.AI-Artifacts/[functionId]/` with the `[functionId]` as prefix:
|
|
42
|
+
|
|
43
|
+
```
|
|
44
|
+
[functionId]_[step]_Result.md
|
|
45
|
+
[functionId]_[step]_QA.md
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
### 2.2. File Name Table by Gate
|
|
49
|
+
|
|
50
|
+
| Gate | Step Name | Result File Name | QA File Name (if issues) |
|
|
51
|
+
| :---: | :--- | :--- | :--- |
|
|
52
|
+
| **01** | `01_Requirement_Analysis` | `[functionId]_01_Requirement_Analysis_Result.md` | `[functionId]_01_Requirement_Analysis_QA.md` |
|
|
53
|
+
| **02** | `02_Test_Scenarios` | `[functionId]_02_Test_Scenarios_Result.md` | `[functionId]_02_Scenario_Building_QA.md` |
|
|
54
|
+
| **03** | `03_Test_Cases_Draft` | `[functionId]_03_Test_Cases_Draft_Result.md` | `[functionId]_03_Test_Design_QA.md` |
|
|
55
|
+
| **04** | `04_Test_Cases_Final` | `[functionId]_04_Test_Cases_Final_Result.md` | `[functionId]_04_Test_Review_QA.md` |
|
|
56
|
+
|
|
57
|
+
### 2.3. Full Path Examples
|
|
58
|
+
|
|
59
|
+
```
|
|
60
|
+
03.Testing/07.AI-Artifacts/AD06/AD06_01_Requirement_Analysis_Result.md
|
|
61
|
+
03.Testing/07.AI-Artifacts/AD06/AD06_01_Requirement_Analysis_QA.md
|
|
62
|
+
03.Testing/07.AI-Artifacts/AD06/AD06_02_Test_Scenarios_Result.md
|
|
63
|
+
03.Testing/07.AI-Artifacts/AD06/AD06_03_Test_Cases_Draft_Result.md
|
|
64
|
+
03.Testing/07.AI-Artifacts/AD06/AD06_04_Test_Cases_Final_Result.md
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
> QA files are only created when there are issues (Critical/Major block, or Minor carry-forward).
|
|
68
|
+
|
|
69
|
+
---
|
|
70
|
+
|
|
71
|
+
## 3. 01.Testcases/ Directory Rules
|
|
72
|
+
|
|
73
|
+
- **Root path**: `03.Testing/01.Testcases/[functionId]/`
|
|
74
|
+
- **Purpose**: Store the final test case artifact ready for execution. This file contains only the **test case tables** (not review summaries, findings, or coverage validation) and is generated **simultaneously** with `04_Test_Cases_Final_Result.md` at the end of Gate 4.
|
|
75
|
+
|
|
76
|
+
### 3.1. File Naming Convention
|
|
77
|
+
|
|
78
|
+
```
|
|
79
|
+
[functionId]_TestCase.md
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
### 3.2. Full Path Example
|
|
83
|
+
|
|
84
|
+
```
|
|
85
|
+
03.Testing/01.Testcases/AD06/AD06_TestCase.md
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
### 3.3. File Content
|
|
89
|
+
|
|
90
|
+
The TestCase file follows the **standard template** at `.claude/skills/test-skills/template/testcase-template.md` and **only includes**:
|
|
91
|
+
|
|
92
|
+
- **Section 1**: General Information (fill in functionId, creation date)
|
|
93
|
+
- **Section 2**: Test Execution Summary (reset to 0, waiting for execution)
|
|
94
|
+
- **Section 3**: Detailed Test Cases (all 5 groups and test case tables)
|
|
95
|
+
|
|
96
|
+
> **Does NOT include**: Review Summary, Review Findings, Coverage Validation (RTM), Sign-off Status — these belong in `04_Test_Cases_Final_Result.md` within `07.AI-Artifacts/[functionId]/`.
|
|
97
|
+
|
|
98
|
+
### 3.4. Generation Timing
|
|
99
|
+
|
|
100
|
+
The TestCase file is generated **simultaneously** with `04_Test_Cases_Final_Result.md` at the end of Gate 4, after all Critical/Major issues are resolved and the test case set has been signed off.
|
|
101
|
+
|
|
102
|
+
---
|
|
103
|
+
|
|
104
|
+
## 4. Full Artifact Matrix
|
|
105
|
+
|
|
106
|
+
| Gate | Description | Result Artifact | QA Artifact | TestCase Artifact |
|
|
107
|
+
| :---: | :--- | :--- | :--- | :--- |
|
|
108
|
+
| **01** | Requirement & Risk Analysis | `[fId]_01_Requirement_Analysis_Result.md` | `[fId]_01_Requirement_Analysis_QA.md` | — |
|
|
109
|
+
| **02** | Scenario Building | `[fId]_02_Test_Scenarios_Result.md` | `[fId]_02_Scenario_Building_QA.md` | — |
|
|
110
|
+
| **03** | Test Case Design | `[fId]_03_Test_Cases_Draft_Result.md` | `[fId]_03_Test_Design_QA.md` | — |
|
|
111
|
+
| **04** | Review & Optimization | `[fId]_04_Test_Cases_Final_Result.md` | `[fId]_04_Test_Review_QA.md` | `[fId]_TestCase.md` |
|
|
112
|
+
|
|
113
|
+
> `[fId]` = `[functionId]`
|
|
114
|
+
|
|
115
|
+
---
|
|
116
|
+
|
|
117
|
+
## 5. Additional Rules
|
|
118
|
+
|
|
119
|
+
### 5.1. Update Rule
|
|
120
|
+
|
|
121
|
+
- If a file already exists, **update and overwrite** with the latest content.
|
|
122
|
+
- **Do not create duplicate files** with version suffixes (e.g. `_v1`, `_v2`, `_final`, `_new`).
|
|
123
|
+
|
|
124
|
+
### 5.2. functionId Naming
|
|
125
|
+
|
|
126
|
+
- Use the **exact functionId** determined in Gate 1 Pre-flight (e.g. `AD06`, `AD10`, `LOGIN`).
|
|
127
|
+
- Valid examples: `AD06`, `AD10_Create_Product`, `LOGIN`, `ORD002`
|
|
128
|
+
- **Invalid**: `product`, `login`, `tag_feature` (custom names diverging from the functionId)
|
|
129
|
+
- The workflow **MUST** strictly require a `functionId` before starting.
|
|
130
|
+
|
|
131
|
+
### 5.3. Consistency Principle
|
|
132
|
+
|
|
133
|
+
- `07.AI-Artifacts/` and `01.Testcases/` artifacts for the same functionId **must all use the same functionId prefix** and be grouped in a `[functionId]` subfolder.
|
|
134
|
+
- This ensures fast cross-lookup and traceability.
|
|
135
|
+
|
|
136
|
+
---
|
|
137
|
+
|
|
138
|
+
## 6. Application Checklist
|
|
139
|
+
|
|
140
|
+
Before starting any workflow gate, verify:
|
|
141
|
+
|
|
142
|
+
- [ ] functionId has been confirmed in Gate 1 Pre-flight?
|
|
143
|
+
- [ ] Root folder `03.Testing/` exists?
|
|
144
|
+
- [ ] `07.AI-Artifacts/[functionId]/` subfolder exists?
|
|
145
|
+
- [ ] Result file name follows pattern `[functionId]_[step]_Result.md`?
|
|
146
|
+
- [ ] QA file name follows pattern `[functionId]_[step]_QA.md`?
|
|
147
|
+
- [ ] (After Gate 4) `01.Testcases/[functionId]/` subfolder exists?
|
|
148
|
+
- [ ] (After Gate 4) TestCase file name follows pattern `[functionId]_TestCase.md`?
|
|
149
|
+
- [ ] (After Gate 4) TestCase file contains only Section 1+2+3 per template (no review metadata)?
|
|
150
|
+
- [ ] No duplicate or incorrectly named files?
|
|
151
|
+
|
|
152
|
+
---
|
|
153
|
+
|
|
154
|
+
## 7. References
|
|
155
|
+
|
|
156
|
+
- `create-testcase-workflow.md` — Full 4-Gate QA workflow definition
|
|
157
|
+
- `.claude/skills/test-skills/template/testcase-template.md` — Standard test case template
|
|
158
|
+
- `.claude/skills/test-skills/rules/qa-writing-standards.md` — QA writing standards
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|