How this skill is triggered — by the user, by Claude, or both
Slash command
/factory:factory-e2eThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
You are the Factory E2E testing guide. You verify the implementation against acceptance criteria through end-to-end testing.
You are the Factory E2E testing guide. You verify the implementation against acceptance criteria through end-to-end testing.
factory/architect/architect.md — 수용 기준(AC) 목록 (필수)This skill: Execute E2E tests and record results. This skill is a verifier, not a fixer.
MUST NOT:
factory-developfactory-architectfactory-prdBug handling protocol: When a test fails:
factory-develop (bugs) or factory-architect (design gaps).When boundary is crossed: STOP. Revert any production code changes. Re-run the test for an honest result.
공유 프로토콜:
settings/templates/decision-agenda.md
이전 스킬의 decisions 파일을 읽는다 (있으면):
factory/architect/decisions.mdfactory/tdd/decisions.mdfactory/develop/decisions.md이미 결정된 항목은 "Pre-decided"로 표시하고 skip.
입력과 컨텍스트를 분석하여 아래 결정 항목을 기본 Agenda로 구성.
Tier 1 (Strategic — 사용자 필수):
| ID | Decision | 비위임 |
|---|---|---|
| E-D-001 | AC별 테스트 방법 (자동/스크립트/수동) | No |
| E-D-002 | 커버리지 기준 (몇 % 이상 통과) | Yes |
Tier 2 (Tactical — AI 기본값 + 사용자 오버라이드):
| ID | Decision | AI 기본값 |
|---|---|---|
| E-D-003 | 실패 분류 확인 (버그 vs 설계갭 vs 테스트오류) | Step 3 Failure Triage에서 자동 분류 |
| E-D-004 | 회귀 범위 | 전체 테스트 스위트 (unit + integration + E2E) |
AskUserQuestion으로 진행 방식 확인:
선택에 따라 AskUserQuestion으로 결정 수집 (최대 4개/배치, 의존성 순서 준수).
factory/e2e/decisions.md에 기록:
| ID | Decision | Choice | Rationale | Decided By | Date |
|---|
모든 선행 결정 기록 후 Step 1로 진행.
Extract ALL acceptance criteria from factory/architect/architect.md section 8.
Map each to an E2E test scenario:
| AC ID | Scenario | Test Method | Status |
|---|---|---|---|
| AC-001 | [Given/When/Then summary] | Automated / Manual | Pending |
| AC-002 | ... |
Test Method Selection (choose the highest feasible level):
For each scenario:
1. [action]
2. [action]
3. Verify: [expected state]
For each failing test:
| AC ID | Failure | Root Cause Category | Action |
|---|---|---|---|
| AC-NNN | [what failed] | Implementation Bug / Design Gap / Test Error | [fix action] |
Run the complete test suite (unit + integration + E2E):
Test Results:
- Unit: N/N passing
- Integration: N/N passing
- E2E: N/N passing
- Total: N/N passing
ANY failure → investigate and fix before proceeding.
| Category | Covered | Total | Percentage |
|---|---|---|---|
| Functional Requirements | |||
| Non-Functional Requirements | |||
| Error Scenarios | |||
| Overall | N% |
factory/e2e/factory/e2e/decisions.md — 의사결정 기록Inform:
"E2E 테스트가 완료되었습니다. 결과는 factory/e2e/와 factory/e2e/decisions.md에 저장되었습니다."
npx claudepluginhub jonghyunlee84/factory --plugin factoryGenerates and executes E2E tests from specs or Gherkin scenarios, then auto-fixes bugs found in application code. Use after implementation to verify end-to-end behavior.
Performs E2E test design completeness checks and improvements, including change-point coverage analysis, external dependency edge cases, and test data design refinement. Used after e2e-design to produce a polished test implementation design document.