원클릭으로
x4-bug
Report and track bugs for X4 project. Invoke /x4:bug to record issues and sync bug artifacts (no source-code fix in this skill).
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Report and track bugs for X4 project. Invoke /x4:bug to record issues and sync bug artifacts (no source-code fix in this skill).
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Use when x4-e2e-test-doc-details needs fixture patch rules or helper guidance for X4 E2E test data.
Use when refining X4 `e2e_tests.md` into detailed E2E task, fixture, and implementation knowledge documents before Playwright implementation.
Use when creating or updating only the high-level X4 E2E test plan `e2e_tests.md` before detail expansion.
Review X4 E2E test documentation draft and gate x4-e2e-test-doc completion. Must run in a dedicated isolated subagent. Trigger with /x4:e2e-test-doc-viewer <change-name>.
Implement Playwright E2E tests for X4 changes from `e2e_test_tasks.md` and validate task-to-test mapping. Trigger with /x4:e2e-test-impl <change-name>.
Run change-scoped X4 Playwright E2E tests and validate implementation coverage against `e2e_test_tasks.md`. Trigger with /x4:e2e-test-run <change-name>.
| name | x4-bug |
| description | Report and track bugs for X4 project. Invoke /x4:bug to record issues and sync bug artifacts (no source-code fix in this skill). |
This skill is report-only for /x4:bug.
It records bug artifacts and owns bug tracking state.
Status note:
bugs.md status is informational metadata for human readability.test_tasks.md and test results, not by bug status text.change-name (optional; supports abbreviation token such as std)x4-user-workflow "Change Name Resolution" rulesbug-description (optional free text)change-name using x4-user-workflow rules before any action.Resolved change: <change-name>./x4:bug [change-name] [bug-description]/x4:bug MUST:
bugs.md/x4:bug MUST NOT:
test_tasks.md / knowledge.mdsrc/**Single-phase execution rule:
/x4:bug is report-only and single-phase./x4:bug invocation, do not continue into /x4:bug-fix behavior (root-cause implementation, source edits, fix verification)./x4:bug-fix.Documentation ownership rule:
/x4:test-doc.x4-test-doc remains the authority for test_tasks.md / knowledge.md.When target descriptions are ambiguous or conflicting:
x4-user-workflow change resolver.bugs.md)openspec/changes/<change-name>/bugs.md
## Bug: [Bug Name]
- **ID**: BUG-001
- **Description**: [Detailed description]
- **Steps to Reproduce**: [Step-by-step instructions]
- **Expected Behavior**: [What should happen]
- **Actual Behavior**: [What actually happens]
- **Status**: [New | Confirmed | Fixed | Verified | Rejected]
- **Related Test**: [Link to test_tasks.md item]
bugs.mdNew unless already in a later state/x4:test-doc (do not edit directly in this skill)bugs.md via **Related Test**bugs.md onlyIf the reproduction task is Web Integration, delegate knowledge.md updates to /x4:test-doc.
/x4:bug-fix.Run a final scope check before responding (delta-only, not whole dirty tree):
# At start of /x4:bug invocation
git status --porcelain > /tmp/x4_bug_before.txt
# Before final response
git status --porcelain > /tmp/x4_bug_after.txt
python3 - <<'PY'
from pathlib import Path
before = set(Path('/tmp/x4_bug_before.txt').read_text().splitlines())
after = set(Path('/tmp/x4_bug_after.txt').read_text().splitlines())
delta = sorted(after - before)
print('\n'.join(delta))
PY
Pass condition:
openspec/changes/<change-name>/bugs.md).Fail condition:
src/**, tests/**, or non-target change docs during /x4:bug.BLOCKED: scope violation, list offending files, and stop without claiming bug fixed.If a reported bug is unrelated to any existing change:
fix-<bug-name>.bugs.md under that change./x4:test-doc.bugs.md as bug catalog/reference; avoid using its status as execution gate./x4:bug output.Related Test is unknown after report step, mark as PENDING (/x4:test-doc) instead of vague placeholders like 待添加.Resolved change: <change-name>.Related Test linkage result per bug:
PENDING (/x4:test-doc) when not yet linked./x4:test-doc for reproduction/task linkage/x4:bug-fix for implementation phase