gwt-execute
Standardizes the execution lane for implementation tasks starting from GitHub Issues.
Install
mkdir -p .claude/skills/gwt-execute && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/19110" && unzip -o skill.zip -d .claude/skills/gwt-execute && rm skill.zipInstalls to .claude/skills/gwt-execute
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Use when execution should start from a GitHub Issue, gwt-spec Issue, or approved standalone task through one build/test/verify loop.Key capabilities
- →Initiate development from GitHub Issues
- →Execute build-test-verify loops
- →Manage design-gated TDD cycles
- →Adopt and recover execution sessions
- →Verify PR readiness
How it works
The skill uses a unified execution lane that maps tasks to GitHub issues or standalone items. It enforces a strict Red-Green-Refactor TDD loop and requires verification evidence before PR creation.
Inputs & outputs
When to use gwt-execute
- →Implementing a feature from a GitHub issue
- →Running a test-driven development loop
- →Advancing a task through build phases
- →Resolving standalone development items
About this skill
gwt-execute
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.
Execution ownership
Once started, keep moving until one of these is true:
- the scoped tasks are complete
- a real product or scope decision blocks the next task
- a merge conflict or reviewer request cannot be resolved with high confidence
- required auth or tooling is unavailable
- a spec-implementation mismatch is discovered that changes the design surface
(not just a typo fix) - use
gwt-discussionto investigate and discuss
Use 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.
gwtd resolution
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.
Lifecycle
Use the existing build lifecycle JSON operations for every implementation mode. The operation names and state file remain compatibility surfaces.
build.startwithparams.spec:<n>when the owner is a gwt-spec tagged Issue orparams.task:<description>for standalone work.build.phasewithparams.label:"red"|"green"|"refactor"|"verify"|"pr"at each TDD milestone.build.completeonly after verification passed and the Ready PR Gate is satisfied for a releaseable slice.build.abortwith 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):
- done and verified: JSON operation
execution.complete(a successfulbuild.completesettles the record too), or - blocked by the environment or missing verification: JSON operation
execution.blockedwith a non-emptyparams.reasonand optionalparams.missing_verification. Blocked is not done — report the blocker.
execution.blocked is a terminal outcome, not a pause. Never use it while
waiting for a temporary question, owner decision, or verification that can
still proceed in the current execution. Continue the discussion/workflow
instead.
If the same owning session later resolves a genuine terminal blocker, recover
without rewriting trusted state or relaunching: register the changed-surface
matrix through verify.plan with params.derive:true, run the entire
post-block matrix through verify.run, then call execution.reopen with a
non-empty params.reason. Reopen requires the exact immutable derived-plan
snapshot, fresh passing evidence that started after the block, the same
session/owner/worktree fingerprint, and valid integrity hashes. It appends a
recovery audit entry and returns the execution to Active; it does not claim
completion. Completed executions remain immutable. Another session must use
audited execution.adopt only while the record is Active. Blocked and
Completed records are terminal and cannot be adopted; another session must
use a fresh linked-owner launch.
Completion and Ready PR handoffs consume tool-generated verification
evidence (SPEC-3248 P8b): run the verification matrix through JSON operation
verify.plan first, then through 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. Adopt requires a valid integrity record. An
integrity-failed record cannot be repaired in the same execution lifetime
without risking audit loss; use a fresh linked-owner launch instead.
Mode detection
- If the invocation includes
#Nor an Issue URL, read the Issue with JSON operationsissue.view,issue.comments, andissue.linked_prs. - If the Issue has a case-insensitive
gwt-speclabel, use design-gated mode. - If the Issue has no
gwt-speclabel, use direct mode. - If no owner Issue exists, use standalone mode.
design-gated mode
Use this for gwt-spec tagged Issues.
- Read SPEC sections with JSON operations
issue.spec.readorissue.spec.section. - If
planortasksis missing or incomplete, stop before production edits and route togwt-plan-spec. - Run the Board active-claim preflight for the owner before choosing a task slice.
- Select the next incomplete task in dependency order.
- Execute strict TDD: write the RED test first, confirm it fails for the expected reason, implement the minimum GREEN change, then refactor.
- Update the owner Issue tasks section through
issue.spec.editas tasks are completed.
direct mode
Use this for non-gwt-spec Issues.
- Establish the issue facts from JSON operations
issue.view,issue.comments, andissue.linked_prs. - For bugs, prove the root cause before editing production code. Do not guess-fix.
- Classify
Spec Status:ALIGNED,IMPLEMENTATION-GAP,SPEC-GAP, orSPEC-AMBIGUOUS. - If the intended behavior needs design ownership first, route to
gwt-discussionorgwt-register-issue; otherwise continue in direct mode. - Execute strict TDD with the same Red-Green-Refactor loop.
- After verification and PR handoff, post the durable closure comment with root cause, changed files, verification evidence, PR link, and remaining work if any.
standalone mode
Use this when the user provides an approved implementation task without an owner Issue.
- Capture the task description, acceptance criteria, and target files.
- Identify the narrowest test location from the existing codebase.
- Execute strict TDD with the same Red-Green-Refactor loop.
- Do not create Issues or SPECs unless the work proves to need durable design ownership.
Verification and PR gate
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.
Legacy aliases
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.
When not to use it
- →Spec-implementation mismatches requiring design discussion
- →Environments with missing auth or tooling
- →Tasks requiring design ownership before implementation
Prerequisites
Limitations
- →Requires GWT_BIN resolution before execution
- →Blocked by missing verification evidence
- →Cannot proceed if design surface changes significantly
How it compares
It integrates design-gated mode for spec-tagged issues, ensuring that production edits only occur after design verification, unlike generic task runners.
Compared to similar skills
gwt-execute side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| gwt-execute (this skill) | 0 | 9d | No flags | Intermediate |
| testing-workflow | 16 | 9mo | Review | Intermediate |
| dev | 2 | 5mo | Review | Advanced |
| overnight-development | 1 | 10d | Review | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by akiojin
View all by akiojin →You might also like
testing-workflow
amo-tech-ai
Comprehensive testing workflow for E2E, integration, and unit tests. Use when testing applications layer-by-layer, validating user journeys, or running test suites.
dev
atopile
LLM-focused workflow for working in this repo: compile Zig, run the orchestrated test runner, consume test-report.json/html artifacts, and discover/debug ConfigFlags.
overnight-development
jeremylongshore
Automates software development overnight using git hooks to enforce test-driven Use when appropriate context detected. Trigger with relevant phrases based on skill purpose.
resolve-checks
flowglad
Resolve all failing CI checks and address PR review feedback on the current branch's PR. Runs tests locally, fixes failures, incorporates valid review comments, and resolves addressed feedback. Use when CI is red, after receiving PR feedback, or before merging.
sprint
meta-pytorch
Work on a batch of GitHub issues in parallel using Agent Teams. Creates one worktree per issue with TDD enforcement, coordinates via a lead agent, then produces stacked PRs.
testing
hw-native-sys
Testing guide and pre-commit testing strategy for PTO Runtime. Use when running tests, adding tests, or deciding what to test before committing.