GitHub Closing Draft
Purpose
Create target-specific draft artifacts for qualified codex-profiles leads and
leave them approval-gated in the outreach tracker. This skill drafts only; it never opens,
posts, submits, comments, emails, or sends anything externally.
Required Context
Read README.md, policy gates in ops/outreach/launch.md, the live tracker
target, and the target's contribution rules or submission guidelines. Load
references/draft-rules.md before writing copy.
Boundaries
- Consume only tracker targets with
ICP: yes.
- Use
Log.Workflow = closing for every meaningful draft decision.
- Update the tracker with the draft, evidence, and approval blocker.
- Set
Next Action = Await approval to submit draft after a draft is ready.
- Follow the target repository's conventions over
codex-profiles conventions.
- Do not perform lead discovery.
- Do not qualify
ICP: maybe or ICP: no targets; route unclear fit back to
lead qualification.
- Do not submit, open, post, comment, email, DM, or otherwise contact externally.
Accepted Input
- Consume only
Status = Backlog targets with ICP: yes recorded in Notes
and Next Action = Run closing draft.
- Never draft for
ICP: maybe, ICP: no, Deferred, Declined, or Dead
targets; route unclear evidence back to lead qualification.
Tracker Protocol
Create a unique run-<UTC-timestamp>-<random-suffix> <run-id>, select the
eligible target, inspect it, and acquire its lease before drafting:
node scripts/outreach-tracker.mjs list --status Backlog --json
node scripts/outreach-tracker.mjs get <key> --json
node scripts/outreach-tracker.mjs claim <key> --by <run-id>
If claim exits 3, skip the target without writing or contacting externally.
Store the draft or its repo-local path in Notes, hold it for approval, log the
stable phase label, and always release:
node scripts/outreach-tracker.mjs upsert <key> \
--next-action "Await approval to submit draft" \
--notes "<draft text or repo-local artifact path plus evidence>"
node scripts/outreach-tracker.mjs log --target <key> \
--workflow closing --action Rechecked \
--result "Draft prepared; explicit approval required" --link "<target-url>"
node scripts/outreach-tracker.mjs release <key> --by <run-id>
Workflow
- Select tracker targets marked
ICP: yes with Next Action = Run closing draft.
- Recheck duplicate PRs, issues, or existing listings before drafting.
- Read contribution rules, templates, accepted examples, and target scope.
- Identify the target repository's file ordering, wording, commit conventions,
branch conventions, PR title format, validation commands, and maintainer
preference for issue-first vs PR-first.
- Choose the draft route:
- Clear awesome-list fit: prepare a PR diff and PR body draft.
- Ambiguous scope: prepare an issue-first draft.
- Directory: prepare listing copy only when guidelines allow CLI or devtool
projects.
- Forum, social, or manual-gated target: prepare copy only and hold.
- Keep claims narrow and source-backed using
references/draft-rules.md.
- Update the tracker with the draft artifact location or text, set the approval
next action, and append a
closing log entry.
Output
Return drafts grouped by target, the exact approval action needed, and any
targets routed back to qualification or monitoring.
1---2name: github-closing-draft3description: Use when drafting GitHub PRs, issues, listing copy, or maintainer requests for qualified codex-profiles tracker targets. Not for discovery, qualification, monitoring, outreach, or submission.4---567# GitHub Closing Draft89## Purpose1011Create target-specific draft artifacts for qualified `codex-profiles` leads and12leave them approval-gated in the outreach tracker. This skill drafts only; it never opens,13posts, submits, comments, emails, or sends anything externally.1415## Required Context1617Read `README.md`, policy gates in `ops/outreach/launch.md`, the live tracker18target, and the target's contribution rules or submission guidelines. Load19`references/draft-rules.md` before writing copy.2021## Boundaries2223- Consume only tracker targets with `ICP: yes`.24- Use `Log.Workflow = closing` for every meaningful draft decision.25- Update the tracker with the draft, evidence, and approval blocker.26- Set `Next Action = Await approval to submit draft` after a draft is ready.27- Follow the target repository's conventions over `codex-profiles` conventions.28- Do not perform lead discovery.29- Do not qualify `ICP: maybe` or `ICP: no` targets; route unclear fit back to30 lead qualification.31- Do not submit, open, post, comment, email, DM, or otherwise contact externally.3233## Accepted Input3435- Consume only `Status = Backlog` targets with `ICP: yes` recorded in `Notes`36 and `Next Action = Run closing draft`.37- Never draft for `ICP: maybe`, `ICP: no`, `Deferred`, `Declined`, or `Dead`38 targets; route unclear evidence back to lead qualification.3940## Tracker Protocol4142Create a unique `run-<UTC-timestamp>-<random-suffix>` `<run-id>`, select the43eligible target, inspect it, and acquire its lease before drafting:4445```sh46node scripts/outreach-tracker.mjs list --status Backlog --json47node scripts/outreach-tracker.mjs get <key> --json48node scripts/outreach-tracker.mjs claim <key> --by <run-id>49```5051If claim exits 3, skip the target without writing or contacting externally.52Store the draft or its repo-local path in `Notes`, hold it for approval, log the53stable phase label, and always release:5455```sh56node scripts/outreach-tracker.mjs upsert <key> \57 --next-action "Await approval to submit draft" \58 --notes "<draft text or repo-local artifact path plus evidence>"59node scripts/outreach-tracker.mjs log --target <key> \60 --workflow closing --action Rechecked \61 --result "Draft prepared; explicit approval required" --link "<target-url>"62node scripts/outreach-tracker.mjs release <key> --by <run-id>63```6465## Workflow66671. Select tracker targets marked `ICP: yes` with `Next Action = Run closing draft`.682. Recheck duplicate PRs, issues, or existing listings before drafting.693. Read contribution rules, templates, accepted examples, and target scope.704. Identify the target repository's file ordering, wording, commit conventions,71 branch conventions, PR title format, validation commands, and maintainer72 preference for issue-first vs PR-first.735. Choose the draft route:74 - Clear awesome-list fit: prepare a PR diff and PR body draft.75 - Ambiguous scope: prepare an issue-first draft.76 - Directory: prepare listing copy only when guidelines allow CLI or devtool77 projects.78 - Forum, social, or manual-gated target: prepare copy only and hold.796. Keep claims narrow and source-backed using `references/draft-rules.md`.807. Update the tracker with the draft artifact location or text, set the approval81 next action, and append a `closing` log entry.8283## Output8485Return drafts grouped by target, the exact approval action needed, and any86targets routed back to qualification or monitoring.