본문으로 건너뛰기
cccskills
무료GitHub에 공개

release-this

Orchestrates the full powerball-harness plugin release with build, validation, version bump, CHANGELOG, tag, and GitHub Release. Use when releasing this plugin.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

연동 도구GitHub
설치 방법 보기

포함된 파일(9)

  • SKILL.md6.9 KB
  • references/versioning-rules.md2.5 KB
  • references/writing-changelog.md2.9 KB
  • scripts/bench-residue.sh1.2 KB
  • scripts/check-consistency.sh19.7 KB
  • scripts/check-residue.py16.2 KB
  • scripts/release-preflight.sh12.2 KB
  • scripts/sync-version.sh6.6 KB
  • scripts/validate-release-notes.sh2.4 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Release This Plugin

Project-specific release orchestrator for the claude-code-harness plugin. Runs all plugin-specific checks (build, consistency, validation, Codex templates, version sync), then handles the full release: version bump, CHANGELOG update, commit/tag/push, and GitHub Release creation.

Quick Reference

ArgumentBehavior
patchPatch version bump (bug fixes, x.y.Z+1)
minorMinor version bump (new features, x.Y+1.0)
majorMajor version bump (breaking changes, X+1.0.0)
--dry-runRun steps 1–5 only; print what would happen; skip publishing
--completeMark release complete only (step 7 — empty commit + push)

Execution Flow

Step 1: Cross-platform binary build if there are changes in go/ since the last release

Run make build-all to compile darwin-arm64, darwin-amd64, and linux-amd64 binaries unless there are no changes in go/ source files since the last release. This ensures that any build issues are caught before proceeding with release validation or publishing steps.

make build-all

Fail immediately if make build-all exits non-zero. Do not proceed to step 2.

Step 2: Plugin consistency checks

Run the 13 plugin-specific consistency checks. These verify symlink integrity, template consistency, version alignment, and structural invariants.

bash "${CLAUDE_SKILL_DIR}/scripts/check-consistency.sh"

Step 3: Full plugin validation

bash ./tests/validate-plugin.sh

This runs all CI-gated checks: marketplace.json structure, skill frontmatter, hook schemas, section 9 migration residue scan, and section 10 skill-description audit.

Step 4: Codex template verification

Verify that the Codex CLI configuration templates and the Codex-specific skill bodies are present and readable. Missing files would ship a broken Codex experience to users.

4a. Codex CLI config templates (harness/templates/codex/):

ls -la harness/templates/codex/

Confirm AGENTS.md, README.md, config.toml, .codexignore, and rules/ are all present.

4b. Codex skill bodies (harness/templates/codex-skills/):

ls -la harness/templates/codex-skills/
ls harness/templates/codex-skills/*/SKILL.md

Confirm each subdirectory (breezing, harness-schedule-run, harness-work) contains a SKILL.md. A missing SKILL.md means that Codex-variant skill is broken.

Step 5: Version sync check

Verify that harness/VERSION and harness/harness.toml agree before proceeding.

HARNESS_RELEASE_EXTRA_VERSION_FILES="harness/harness.toml" bash "${CLAUDE_SKILL_DIR}/scripts/sync-version.sh" check

If there is a mismatch, stop and ask the user to run:

HARNESS_RELEASE_EXTRA_VERSION_FILES="harness/harness.toml" bash "${CLAUDE_SKILL_DIR}/scripts/sync-version.sh" sync

or manually reconcile the files before proceeding.


Dry-run stops here. In --dry-run mode, steps 1–5 run normally but no release is published, no files are written, and no git commits or tags are created. Report what the release would contain and what the new version would be, then exit.


Step 6: Release phases (preflight → CHANGELOG → commit/tag/push → GitHub Release)

Create the wrapper lock:

mkdir -p .claude/state && touch .claude/state/harness-release-wrapper.lock

Phase 0–2 (preflight + version bump): Delegate to releaser agent via setup invocation:

Agent(
  subagent_type: "releaser",
  description: "run preflight and bump version",
  prompt: "{\"schema_version\":\"releaser-request.v1\",\"invocation\":\"setup\",\"bump_type\":\"<patch|minor|major>\"}"
)

Parse new_version from the releaser-response.v1 response. If status is "error", surface the error field and abort.

Phase 3 (CHANGELOG): Move [Unreleased] content into ## [X.Y.Z] - YYYY-MM-DD. Keep empty ## [Unreleased] above it. Format rules: references/writing-changelog.md.

Phase 3.5 (Validate release notes): Validate CHANGELOG and release notes:

bash "${CLAUDE_SKILL_DIR}/scripts/validate-release-notes.sh"

Phase 4–5 (commit/tag/push): Delegate to releaser agent via finalize invocation:

Agent(
  subagent_type: "releaser",
  description: "commit, tag, push release v<new_version>",
  prompt: "{\"schema_version\":\"releaser-request.v1\",\"invocation\":\"finalize\",\"version\":\"<new_version>\"}"
)

Parse git_hash from the response. If status is "error", surface the error and changes fields.

Phase 6 (GitHub Release): Create the GitHub Release:

gh release create "v${NEW_VERSION}" \
  --title "v${NEW_VERSION} - <one-line summary>" \
  --notes "$(cat <<'EOF'
## What's Changed
...
EOF
)"

Wait for GitHub Release creation to succeed before proceeding to step 7.

Step 7: Completion marking commit

After step 6 finishes, create an empty commit to mark the release as fully complete, then push it. Remove the wrapper lock when done.

NEW_VERSION=$(cat harness/VERSION)
git commit --allow-empty -m "chore: mark v${NEW_VERSION} release complete"
git push origin "$(git rev-parse --abbrev-ref HEAD)"
rm -f .claude/state/harness-release-wrapper.lock

This empty commit is the explicit record that "all release work is done." It is separate from the chore: release vX.Y.Z commit created by the releaser agent.


--complete Mode

When called with --complete, execute only step 7 (the completion marking commit). Use this if step 6 already finished but the completion commit was not created.

NEW_VERSION=$(cat harness/VERSION)
# Verify a GitHub Release exists for this version before marking complete
gh release view "v${NEW_VERSION}" || { echo "ERROR: GitHub Release v${NEW_VERSION} not found. Create it first."; exit 1; }
git commit --allow-empty -m "chore: mark v${NEW_VERSION} release complete"
git push origin "$(git rev-parse --abbrev-ref HEAD)"

Related Skills

  • harness-review — Run before release to catch issues early
  • harness-plan — Plan the next release tasks
  • harness-work — Work on tasks

Related Rules and References

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

allow1

무료

Use when generating, vectorizing, or converting images to SVG — logos, icons, illustrations, or 'allow1'/'quiver' references.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

tim-hub/powerball-harness352026년 8월 5일 업데이트

breezing

무료

Use when running the full team/breezing flow end-to-end — all tasks with parallel workers. Do NOT load for: single-task implementation, planning, review, release, or setup.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

tim-hub/powerball-harness352026년 8월 5일 업데이트

Reviews PRs that modify the Feature Table in CLAUDE.md. Use when a PR adds CC version rows or modifies docs/CLAUDE-feature-table.md.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

tim-hub/powerball-harness352026년 8월 5일 업데이트

Use when researching Claude Code or Codex upstream releases, selecting adaptations, or preparing Harness upgrades. Local-only; not for distribution.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

tim-hub/powerball-harness352026년 8월 5일 업데이트

Creates a single project slide or one-page visual summary for a repo. Use when generating a project intro image or promotional slide.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

tim-hub/powerball-harness352026년 8월 5일 업데이트

Generates product demo videos and release walkthroughs via Remotion. Use when creating video documentation or animated demos.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

tim-hub/powerball-harness352026년 8월 5일 업데이트

tim-hub의 스킬 모두 보기

이 스킬의 문제 신고