Skip to content
cccskills
FreePublished on 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.

The English summary is being prepared. Showing the original description.

Works withGitHub
See how to install

Files included (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 (original)

Review the instructions the agent will receive before you install.

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

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

allow1

Free

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

The English summary is being prepared. Showing the original description.

tim-hub/powerball-harness35Updated Aug 5, 2026

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.

The English summary is being prepared. Showing the original description.

tim-hub/powerball-harness35Updated Aug 5, 2026

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.

The English summary is being prepared. Showing the original description.

tim-hub/powerball-harness35Updated Aug 5, 2026

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

The English summary is being prepared. Showing the original description.

tim-hub/powerball-harness35Updated Aug 5, 2026

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

The English summary is being prepared. Showing the original description.

tim-hub/powerball-harness35Updated Aug 5, 2026

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

The English summary is being prepared. Showing the original description.

tim-hub/powerball-harness35Updated Aug 5, 2026

See all skills by tim-hub

Report a problem with this skill