/h2t-dev:milestone-closurefrom h2t-dev
This skill should be used when all issues in a GitHub milestone are closed and the phase is complete. Triggers on "close milestone", "milestone done", "phase complete", "закрыть milestone", or when the last issue in a milestone is closed.
Ships in h2t-dev. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Close a GitHub milestone as a Lifecycle OS phase boundary.
This skill is a thin orchestrator. Deterministic state is gathered by
h2t-milestone-closure.
Run this before any other command of this skill:
h2t-ops version --expect 4.1.3 --json
Act on the result, in this order:
"ok": true — continue."ok": false — show the user error.hint as it is and stop this skill until
it is resolved. Do not run anything the hint names unless the user asks you to: on
reason: path it is a command for the user to decide on. error.details.reason names the
case: not_installed, version or path.command not found — read ~/.h2t/run/install.env
(grep -E '^(STATE|H2T_HOOK)=' ~/.h2t/run/install.env). With STATE=ready the install
is fine and PATH does not reach it: show the directory of the H2T_HOOK= path, ask the
user to restart the harness, and offer uv tool update-shell for them to run. Without
it there is no install: give the user uvx --isolated --python 3.12.11 --managed-python -c "https://github.com/lichtpfad/h2t-skills/releases/download/v4.1.3/constraints.txt" --from "h2t-ops @ https://github.com/lichtpfad/h2t-skills/releases/download/v4.1.3/h2t_ops-4.1.3-py3-none-any.whl" h2t-setup sync.uvx --isolated --python 3.12.11 --managed-python -c "https://github.com/lichtpfad/h2t-skills/releases/download/v4.1.3/constraints.txt" --from "h2t-ops @ https://github.com/lichtpfad/h2t-skills/releases/download/v4.1.3/h2t_ops-4.1.3-py3-none-any.whl" h2t-setup sync.Ask the user for the milestone title or GitHub milestone API number if it is not already explicit.
h2t-milestone-closure --repo-root "$(pwd)" --milestone "{milestone}" --json
Read the JSON:
status == "blocked": show open-issue count and stop.status == "error": show error and stop.docs_lint.status != "ok": summarize docs-lint plan and ask what to do.Run docs cleanup manually through unified docs-lint:
h2t-docs-lint plan --root "$(pwd)" --json
h2t-docs-lint fix-index --root "$(pwd)"
fix-index without --apply is dry-run. Ask before using --apply.
Do not call standalone docs-index. It is no longer user-facing.
Do not archive, move, delete, or rename files without explicit user approval.
Ask the user to confirm the exact milestone title.
h2t-milestone-closure --repo-root "$(pwd)" --milestone "{milestone}" --close --confirm-title "{exact title}" --json
If status == "partial": the GitHub API PATCH failed — show close_result.stderr from the report and stop. Do not treat partial as success.
Show:
refs;next_open_items from real GitHub state if available.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub lichtpfad/h2t-skills --plugin h2t-dev5 skills in this plugin
/docs-lintAudit and maintain documentation/structure health in h2t-stack repos. Full pipeline: sniff → gate → analyze → plan → issues → fixes → validate. Scoped to repos using Claude Code + h2t standards./docs-sync-labelsSync canonical GitHub labels (from references/standards/labels.json) to the repositories you name, or those in your repo mapping, via gh CLI. Triggers on "sync labels", "update labels", "apply labels to repos", "docs-sync-labels"./github-issuesThis skill should be used when creating or updating GitHub issues. The issue contract itself lives in the repository's issue forms; this skill covers what the forms cannot — sizing, labels, milestones, duplicate check, and the gh command shape. Triggers on "create issue", "add to backlog", "github issue"./pre-merge-checkThis skill should be used before merging a feature branch to main or creating a PR. Triggers on "pre-merge", "ready to merge", "готов к мерджу", or when superpowers finishing-a-development-branch is about to run. Runs security, test, and build gates.