/gh-projects:scaffold-repo --org <login> --template "<golden template title>" --title "<new project title>" [--repo owner/name] [--team <slug>] (add --force only after reviewing the dry run)from gh-projects
Stand up a new GitHub Project + repo templates for the gh-projects lifecycle by copying the org golden template and installing per-repo automation. Use when the user says "scaffold the board", "set up gh-projects for <repo>", "stand up the project", "copy the golden template", or "bootstrap a repo for the board". Dry-by-default — previews the full change manifest and mutates nothing until you re-run with --force. Does NOT do intake, routing, or signals (those are other gh-projects skills); does NOT author specs (that is spec-ops).
Ships in gh-projects. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Stand up one new org Project from the named golden template and install the
per-repo templates + deterministic automation. This skill is a thin orchestrator
over the deterministic engine — all load-bearing logic lives in
${CLAUDE_PLUGIN_ROOT}/lib/scaffold.py, which carries the same dry-by-default /
--force rail that ${CLAUDE_PLUGIN_ROOT}/lib/engine.sh enforces for the core
gh.py read verbs (it mutates nothing without --force). Leave no decision logic
in this prose.
Let SCAFFOLD=${CLAUDE_PLUGIN_ROOT}/lib/scaffold.py. Read-only checks (e.g.
bash ${CLAUDE_PLUGIN_ROOT}/lib/engine.sh resolve …) still go through the engine.
--force, the engine prints the full change
manifest and mutates nothing. Only --force after the user
confirms.GH_APP_TOKEN, or APP_ID+APP_PRIVATE_KEY), never
GITHUB_TOKEN. The token is never printed.copyProjectV2 from the NAMED template, then re-resolve against the COPY.
Field/option/iteration ids are re-resolved from the copy, never the template.
Views + Insights charts ride along in the copy — they are not
API-creatable. The engine verifies field presence (by re-resolve), the
view-catalog presence (a read-only projectV2.views diff against the 8 in
project/views.json) — and that each of the 8 views
resolves its documented filter / group / slice (verify_views): a
read-only pass that confirms every filter qualifier maps to a native qualifier
or a field present on the copy and each documented group/slice is reflected by
a non-empty live groupByFields / verticalGroupByFields. A missing view or
an unresolved filter/group/slice fails loudly (exit 3) before any per-repo
install under --force — the remedy is always fix the golden template and
re-copy (views aren't API-mutable). Insights charts have no API at all, so
they stay a human checklist item.iterationConfiguration
— the engine diffs and SKIPs unchanged iterations.You need the org login, the golden-template Project title (exact, marked
an org template), a title for the new project, optionally the
owner/name repo to install templates into + link to the Project, and
optionally an org --team slug to link the Project to. If any required input
is missing, ask with AskUserQuestion. Confirm the App token is available in the
environment (GH_APP_TOKEN or APP_ID+APP_PRIVATE_KEY); the engine fails with
a usage error (exit 2) if not.
python3 "$SCAFFOLD" scaffold --org <login> --template "<golden template title>" \
--title "<new project title>" [--repo owner/name] [--team <slug>]
The engine prints the full change manifest to stderr:
copyProjectV2 source→destination and the new project number,project/views.md),project/views.json (a missing view ⇒ same remedy: fix the template + re-copy),ALL RESOLVE or the per-view
UNRESOLVED: lines; any defect blocks the --force apply (exit 3),install/skip per destination path,linkProjectV2ToRepository, idempotent — skip
when the repo is already linked) when --repo is given, and the
installed per-repo add-to-project.yml auto-add workflow (SHA-pinned
actions/add-to-project, App-token auth, no metered AI),linkProjectV2ToTeam, write-to-team) when --team
is given, plus the base-role manual step — setting the org base role to
Read is UI-only with no API, so the engine emits it as a manual
checklist item rather than attempting a mutation,--team was given).Show the user this manifest verbatim. The machine-readable result JSON on stdout
carries copy, fields_present/missing, views_present/missing,
views_resolve_ok, views_resolve_errors, iteration_mutations, files,
issue_types, issue_fields. If views_resolve_ok is false, the --force
apply will fail (exit 3) — fix the golden template and re-copy first.
Use AskUserQuestion to confirm (this mutates the org + repo). On confirmation,
re-run with --force:
python3 "$SCAFFOLD" scaffold --org <login> --template "<golden template title>" \
--title "<new project title>" [--repo owner/name] [--team <slug>] --force
The result JSON's files_written lists exactly what changed; applied:true
confirms mutation.
State: the new project number + title, fields present/missing, the 8-view
catalog present/missing AND whether all 8 views resolved their filter/group/
slice (and the remedy if any are missing/unresolved — fix the template,
re-copy), the iteration decision (skipped vs
diff-added), files installed (including add-to-project.yml), Issue Types/Fields
ensured, the no-squash setting, the repo→Project link (link/skip) and the
Project→team link when --team was given, and the human checklist items
(eyeball the 3 Insights charts — the engine cannot verify them, Insights has no
API; and set the org base role to Read in the UI when --team was given —
base role has no API). If you re-ran on an already-scaffolded repo, confirm
it was a no-op (empty install manifest, zero iteration mutations, repo link
skip).
--force only after the user confirms.gh to mutate the board directly — go through scaffold.py
(Projects/org/repo writes) or engine.sh (read verbs).What SKILL.md sets; muted values are Claude Code's defaults
claude-opus-4-8mediumnpx claudepluginhub zakattack9/agentic-coding --plugin gh-projects8 skills in this plugin
/analyze-boardRead the whole gh-projects board through one strategic lens and tell the PM/CTO what matters — the rollup health, the critical chain (release-blockers that are themselves blocked), overdue × high-blast-radius items, intake-hygiene gaps (Ready items missing an AC table / Size / Target date), unassigned in-sprint work, stalled epics, and every item whose Decision needed ≠ No decision — each line carrying its evidence and the one-command skill that resolves it. Use when the user asks to "analyze the board", "what needs my attention", "what's at risk", "give me the program rollup", "what should I decide", or wants a whole-program digest instead of reading eight views. READ-ONLY — it never writes a field, posts a Status update, emits/posts a digest anywhere, or schedules a cron. Does NOT plan the sprint (plan-sprint), file issues (create-issues), or recompute signals (sync-signals)./analyze-sprintRead the current iteration through a tactical lens and tell the PM what the sprint will actually deliver — per-assignee working-day capacity vs assigned load, who is over-allocated, which items won't land this sprint, and a suggested rebalancing. Use when the user asks to "analyze the sprint", "is this sprint overloaded", "who's over capacity", "what won't land this sprint", "check the sprint load", or wants a current-iteration health read. READ-ONLY — it never writes a field, posts a Status update, emits/posts a digest anywhere, or schedules a cron. Reuses the working-day capacity engine. Does NOT schedule the sprint or rebalance the board (plan-sprint), file issues (create-issues), or recompute signals (sync-signals).