| name | github-harness-workflow |
| description | Use when planning, executing, or reviewing work through GitHub Discussion, issue, PR, and evidence comments. |
GitHub Harness Workflow
Run AI work through GitHub surfaces instead of long chat.
When To Use
Use this Skill when:
- starting a new project task;
- turning a loose request into work;
- splitting a Discussion into issues;
- completing an issue;
- deciding whether to close or continue.
Inputs
- Demand Discussion, issue, PR, or user request.
- Existing repo files and relevant comments.
- Acceptance criteria or human review expectation.
Flow
-
Locate the source
- If there is a Discussion, read it first.
- If there is an issue, read its goal, scope, acceptance, and comments.
- If there is no durable source, ask to create a demand Discussion or task issue.
-
Confirm the demand
- Identify target user, first version goal, in scope, out of scope, acceptance, and open questions.
- If working inside a Discussion, write a demand confirmation commit.
-
Split execution
- Convert confirmed demand into one or more task issues.
- Each issue must be executable and reviewable.
- Choose the issue layer by size:
task — one executable unit, default for small work.
parent Epic — a big goal's control surface; hang sub-issues as native sub-issues (not loose checklists), progress auto-sums 0/N.
sub-task — an executable slice under a parent Epic; PR uses Closes #sub.
truth-source — frozen standing brief (product / contract / architecture / plan); never enters the claim→close loop, never auto-closed.
-
Execute one task
- Work only inside the issue scope.
- If scope changes, stop and return to Discussion or split a new issue.
- Branch naming:
feat/<issue>-<slug>; PR targets main; body uses Closes #<task/sub> for execution issues, Refs #<parent/truth-source> for control surfaces (never Closes on a parent or truth-source — prevents auto-closing the control plane).
-
Provide evidence
- Write an evidence comment:
completion-comment (verified) when a task is done and ready to close — what changed, where to review, what was not done, recommendation.
exploration-comment (exploration) when only recording a judgment — not a completion, does not close anything.
- Include changed files, PR, screenshots, command output, or links as appropriate.
-
Recommend next step
close: acceptance met and evidence is reviewable.
continue: same issue needs more work.
split: new task is needed.
return-to-discussion: requirements changed.
Output Contract
Every work cycle should leave one of these:
- demand confirmation commit;
- task issue;
- PR description;
- evidence comment;
- review checklist result.
Do Not
- Start implementation from a vague chat request when no durable source exists.
- Close an issue without evidence.
- Treat a Discussion as an execution task.
- Hide missing requirements inside a confident summary.
- Use
Closes #<parent> or Closes #<truth-source> in a PR — use Refs instead; control surfaces must not be auto-closed.
- Claim a
truth-source issue or build a feat branch off it — it is frozen; daily work goes to the matching task issue.
- Use a loose checklist to fake parent/child hierarchy — use native sub-issues so progress sums automatically.