ワンクリックで
x4-apply
Implement a change for X4 Station Calculator. Trigger with /x4:apply <change-name>.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Implement a change for X4 Station Calculator. Trigger with /x4:apply <change-name>.
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-apply |
| description | Implement a change for X4 Station Calculator. Trigger with /x4:apply <change-name>. |
| metadata | {"version":"1.0"} |
This skill is the single implementation entry for /x4:apply.
It extends openspec-apply-change with X4-specific bug discipline.
It supports TDD (test-driven development) during apply, including running individual unit tests, but must not execute E2E tests or full test suite runs.
change-name (optional; supports abbreviation token such as std)x4-user-workflow "Change Name Resolution" ruleschange-name using x4-user-workflow rules before any action.Resolved change: <change-name>..trae/skills/openspec-apply-change/SKILL.md as the base implementation workflow.tasks.md./tdd flag), follow TDD tracer-bullet loop per task:
npm run test:unit -- tests/unit/<file>)- [ ] -> - [x]).npm run build发现 Bug -> 记录到 bugs.md -> 修复 Bug(实现层)
-> 在 /x4:verify 执行验证
Required actions:
openspec/changes/<change-name>/bugs.md./x4:apply; execute verification in /x4:verify.npm run test:unit -- tests/unit/...) are allowed during apply.If a discovered bug is out of current change scope:
fix-<bug-name>./x4:apply is implementation-focused./x4:apply as final full verification./x4:verify./x4:apply runs build validation after code modifications.npm run test:unit -- tests/unit/<path>) is allowed during apply for individual unit tests.playwright, npm run test:e2e) or full unit test suites during apply.npm run test:unit without path, npm run test:e2e) or playwright in /x4:apply.npm run test:unit -- tests/unit/<specific-file>.openspec/changes/<change-name>/tasks.md.bugs.md when bug workflow was triggered.