一键导入
gwt-execute
Use when execution should start from a GitHub Issue, gwt-spec Issue, or approved standalone task through one build/test/verify loop.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when execution should start from a GitHub Issue, gwt-spec Issue, or approved standalone task through one build/test/verify loop.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when implementation should proceed from an approved SPEC or approved standalone task, and the work should run through the build/test/verify loop.
Use when the user wants to create, inspect, update, or unblock a pull request and expects one visible entrypoint for the PR lifecycle.
Use when implementation needs verification before completion or before opening a PR. Defines a project-agnostic Generic Verification Contract: classify changed surfaces, autodetect the project's test runners from manifests (Cargo.toml / package.json / pyproject.toml / go.mod / ProjectSettings / *.sln / etc.), run the appropriate unit / integration / E2E / visual tests for the project, emit an evidence bundle that lists exactly which tests were executed, then hand off to the user with a 4-step 導線 (build → launch → navigate → observe) and check items before declaring Overall: PASS. Triggers: 'verify', 'run tests', 'pre-PR check', 'gwt-verify'.
Use when an idea, spec question, or implementation gap needs investigation and discussion before deciding how work should proceed.
Use when the user wants to resolve an existing GitHub Issue by number or URL, especially when the workflow should continue through a direct fix unless a SPEC is needed.
Use when the user wants to register new work from a bug report, idea, or task description and an existing GitHub Issue number is not already known.
| name | gwt-execute |
| description | Use when execution should start from a GitHub Issue, gwt-spec Issue, or approved standalone task through one build/test/verify loop. |
Unified Execute-lane entrypoint for implementation work. Treat every owner as a
Work Item: a GitHub Issue number plus labels and artifacts. gwt-spec is a
design-required tag, not a separate execution kind.
Once started, keep moving until one of these is true:
gwt-discussion to investigate and discussUse the current user's language for task summaries, completion reports, task check updates, and any user-facing text generated while executing the workflow, unless an existing artifact must keep its established language.
Before executing any gwtd ... command from this skill, resolve GWT_BIN
first: executable GWT_BIN_PATH, then command -v gwtd, then
$GWT_PROJECT_ROOT/target/debug/gwtd or ./target/debug/gwtd. Run the command
as "$GWT_BIN" ...; if none exists, stop with an actionable gwtd not found
error.
Use the existing build lifecycle JSON operations for every implementation mode. The operation names and state file remain compatibility surfaces.
build.start with params.spec:<n> when the owner is a gwt-spec tagged Issue
or params.task:<description> for standalone work.build.phase with params.label:"red"|"green"|"refactor"|"verify"|"pr" at
each TDD milestone.build.complete only after verification passed and the Ready PR Gate is
satisfied for a releaseable slice.build.abort with a concrete reason when implementation cannot proceed.Linked-owner Execution launches also carry an Execution Control Record
(SPEC-3248 P8a) written at launch, and Stop stays blocked until the record is
settled — even when build.start was never called (plain-Issue fixes
included):
execution.complete (a successful
build.complete settles the record too), orexecution.blocked with a non-empty params.reason and optional
params.missing_verification. Blocked is not done — report the blocker.Completion and Ready PR handoffs consume tool-generated verification
evidence (SPEC-3248 P8b): run the verification matrix through JSON operation
verify.run with params.commands:[...] so gwtd itself executes and records
it. execution.complete, the execution settlement inside build.complete,
non-draft pr.create, and pr.ready refuse when the latest record is
missing, failing, stale (worktree changed after the run), from another
session, or for another owner. Draft PRs stay available mid-work.
When resuming or recovering another session's execution (crash, closed
window), take over the record explicitly with JSON operation
execution.adopt and a non-empty params.reason — takeovers are audited as
an ownership transfer chain, and adopt is also the repair path when the
record fails integrity validation.
#N or an Issue URL, read the Issue with JSON
operations issue.view, issue.comments, and issue.linked_prs.gwt-spec label, use design-gated mode.gwt-spec label, use direct mode.Use this for gwt-spec tagged Issues.
issue.spec.read or
issue.spec.section.plan or tasks is missing or incomplete, stop before production edits
and route to gwt-plan-spec.issue.spec.edit as tasks are
completed.Use this for non-gwt-spec Issues.
issue.view,
issue.comments, and issue.linked_prs.Spec Status: ALIGNED, IMPLEMENTATION-GAP, SPEC-GAP, or
SPEC-AMBIGUOUS.gwt-discussion or gwt-register-issue; otherwise continue in direct mode.Use this when the user provides an approved implementation task without an owner Issue.
Phase 3 delegates to gwt-verify --mode full. Record the selected commands and
results in the evidence bundle. UI-affecting work requires a concrete user
verification handoff and a User Verification Result.
PR work goes through gwt-manage-pr. Do not create or update a Ready PR until
pre-PR verification passes and the User Verification Result is confirmed or
n/a.
During the transition, $gwt-build-spec SPEC-N and $gwt-fix-issue #N are
accepted only as aliases. Continue as $gwt-execute #N and use the mode rules
above. Do not split behavior by SPEC versus Issue once the owner number is
known.