agentsclimarketplace

Dev release candidate

Skill acumen-ai-org/agent-skills/skills/dev-release-candidate

Builds a release candidate for the current repository, driven by a dev-process.json config file. Creates the release candidate branch from origin/main, computes the main↔production scope, runs the configured analysis and review tools in parallel (delegating heavy or skill-kind tools to isolated sub-agents), optionally generates changelog/release notes and an aggregated report viewer, and makes the release-candidate commit. It does not freeze main, notify, or push — it can describe those steps when asked. Use when preparing or refreshing a release candidate.From its SKILL.md

Install
npx -y skills add acumen-ai-org/agent-skills --skill dev-release-candidate

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

10.9 KB, as published. Nobody here has run it

dev-release-candidate

A thin orchestrator. Every deterministic action is a script in the plugin's scripts/ directory; the Skill itself only fans analysis out to sub-agents (B1) and invokes a configured generator/aggregator skill (B2/B3).

This Skill performs: create the release candidate branch + scope (A), analysis/review (B1), changelog/notes (B2), aggregate reports (B3), the release-candidate commit (B4).

This Skill does not perform the merge freeze, stakeholder notification, or the push to origin. Those are real steps in the wider process — when the user asks for the full process, describe them from Full process. Companion Skill: dev-release-publish.

Config

Behavior is read from dev-process.json at the consuming repo root. The field-by-field contract is references/dev-process-config.md. scripts/dev_process.py init writes a documented default dev-process.json if the file is absent; it never auto-commits. The JSON Schema ships bundled with the plugin; python3 scripts/dev_process.py schema prints it on demand.

Ensure the consuming repo gitignores reports.outputDir (default .agents/release-reports) so report artifacts never get swept into a stray git add -A.

Inputs

EnvDefaultNotes
CLAUDE_PLUGIN_ROOTplugin rootLocates scripts/.
DEV_RELEASE_REPO.The consuming repository to operate on.
DEV_RELEASE_CONFIG$DEV_RELEASE_REPO/dev-process.jsonConfig path.

S="$CLAUDE_PLUGIN_ROOT/scripts" below. All scripts share one exit-code vocabulary (see Exit codes).

Procedure

- [ ] A.  Create release candidate branch → release_candidate_branch.sh + scope.sh
- [ ] B1. Analysis + review               → analysis_plan.py + (sub-agents | run_tool.sh) + analysis_gate.py + build-status.json
- [ ] B2. Changelog / notes               → configured generator, else skip
- [ ] B3. Aggregate reports               → overview → status → modules.py list → dev-report-build
- [ ] B4. Release candidate commit        → release_candidate_commit.sh

A. Create the release candidate branch

Bootstrap/validate config, branch from latest origin/main, compute scope:

python3 "$S/dev_process.py" check || python3 "$S/dev_process.py" init
bash "$S/release_candidate_branch.sh"
bash "$S/scope.sh"

If init wrote a new dev-process.json, tell the operator to review and commit it before a real release. The release candidate branch is, in practice, just origin/main at branch time. release_candidate_branch.sh exit 2 → uncommitted tracked changes or missing origin/main. scope.sh writes scope.json/commits.txt/changed-files.txt; a root fallback warning means the whole history is in scope — confirm that is intended.

B1. Run analysis + review in parallel

Build the run plan, then fan out. This is the one irreducible agent step.

OUT="$DEV_RELEASE_REPO/$(python3 "$S/dev_process.py" emit | python3 -c 'import json,sys;print(json.load(sys.stdin)["reports"]["outputDir"])')"
python3 "$S/dev_process.py" emit | python3 "$S/analysis_plan.py" > "$OUT/_plan.jsonl"

Each line of _plan.jsonl is one entry: {id,kind,run,heavy,blocking,advisory,timeoutSeconds,report,...}. Dispatch all entries concurrently in a single batch:

  • kind:"command" and not heavy → run directly: bash "$S/run_tool.sh" <id> "<run>" "<reports.outputDir>" <report> <timeoutSeconds> (it writes OUT/<report> and OUT/<id>.exit).
  • kind:"skill" or heavy:true → delegate to an isolated agent (the Agent tool, general-purpose). Resolve run first: python3 "$S/resolve_producer.py" "<run>". Exit 0 prints the internal producer directory (one of the eight first-party dev-analysis-* / dev-test-contracts producers, bundled inside dev-report-framework) — the agent's task is then cd to that printed directory, then perform the workflow in its PRODUCER.md, with args and the scope range from scope.json. Exit 2 means run is not a first-party producer (a consumer's own custom skill/agent) — the agent's task is the entry's run verbatim, exactly as before. Either way, capture output verbatim to OUT/<report> and write the agent's success/failure as 0/1 to OUT/<id>.exit.

When every entry has an OUT/<id>.exit:

python3 "$S/analysis_gate.py" "$OUT/_plan.jsonl" "$OUT"

Exit 3 → a non-advisory blocking tool failed: stop, keep all report files, surface OUT/_summary.md. Exit 0 → gate passed (an empty plan passes — a zero-tool repo still produces a valid release candidate).

Then write build-status.json into the work dir $OUT (the parent that holds the per-producer OUT/<id>.exit files — not the staging fragments dir, which the validator globs for *.json). One row per producer entry, schema dev-report-build-status/v1:

{ "schema": "dev-report-build-status/v1", "release": "<release-id>",
  "generated_at": "<ISO-8601>",
  "producers": [ { "skill": "<entry skill>", "fragment_id": "<entry report id>",
    "status": "ok|failed|skipped", "exit_code": <int from OUT/<id>.exit>,
    "message": "<the producer's trailing stderr / last captured line>" } ] }

Map each OUT/<id>.exit code: 0 → ok; the documented tool/Docker-missing code 3 → skipped; any other non-zero → failed. message is the last line you already captured for that producer in OUT/<report>. This file is the input to the dev-report-status step below.

B2. Generate changelog & release notes

Read releaseNotes.generate. If run is set:

  • kind:"command" → bash "$S/run_tool.sh" release-notes "<run>" "<reports.outputDir>" release-notes.md <timeout>
  • kind:"skill" → invoke that skill (isolated agent); write its output to releaseNotes.path / releaseNotes.changelogPath.

If run is null/empty: log B2 skipped — no releaseNotes.generate configured and continue. A real no-op, not a failure.

B3. Aggregate reports

The report pipeline is fixed-order: every dev-analysis-*/dev-test-* producer first (B1), then dev-report-overview, then dev-report-status last, then dev-report-build. Run them in exactly that order — the overview reads every producer fragment, and dev-report-status reports whether they ran, so both must come after the producers and dev-report-status after the overview.

  1. Overview. Run the internal producer ${CLAUDE_PLUGIN_ROOT}/skills/dev-report-framework/producers/dev-report-overview — cd there first (per the framework's invocation contract), then follow its PRODUCER.md against the staging fragments dir; it stages overview.fragment.json.

  2. Status. Run the internal producer ${CLAUDE_PLUGIN_ROOT}/skills/dev-report-framework/producers/dev-report-status (cd there first, follow its PRODUCER.md) with the build-status.json written in B1 and the same staging fragments dir; it stages report-status.fragment.json. Run it after the overview and before the build.

  3. Modules. Resolve the module set before building:

    python3 "${CLAUDE_PLUGIN_ROOT}/scripts/modules.py" list \
      --config "$DEV_RELEASE_REPO/dev-process.json" --repo "$DEV_RELEASE_REPO"
    

    It prints one module id per line. Pass them to dev-report-build verbatim as a comma-separated --modules list. Omitting --modules when dev-process.json modules is non-empty is a defect — the module filter would be missing from the report.

  4. Build. Run the configured reports.aggregate command/skill (it should read reports.outputDir, write reports.viewerPath, and invoke dev-report-build with the --modules list from step 3). When reports.designDoc is set, the aggregate step must also forward it as --design <file> to dev-report-build, mirroring how --modules is passed; omitting --design when dev-process.json designDoc is non-null is a defect — the report would render with the default theme instead of the configured one. If reports.aggregate is not configured, log B3 skipped — no reports.aggregate configured and continue. A real no-op, not a failure.

B4. Create the release-candidate commit

bash "$S/release_candidate_commit.sh"

Commits the configured release notes / changelog. Report artifacts are not committed here — dev-release-publish decides per persistInRepo what to keep versus upload. "nothing to commit" is a clean exit 0.

Full process (when asked)

The skills automate only part of the release. When the user asks for the whole process, describe it; do not perform the external steps here.

StepWho
A create release candidate branch + scopethis Skill
B0 freeze merges to main for the release windowexternal — your team's mechanism (a committed lock file + CI check, GitHub branch protection, or convention); exempt feedback PRs by an agreed label/branch
B1–B3 analysis, review, changelog, aggregatethis Skill
B4 release-candidate committhis Skill
D notify stakeholders the candidate is readyexternal — your team's channel/comms tooling
E collect feedback, then push the candidate to origin (force-push, overwriting the prior one)external/manual — feedback lands as PRs to main exempt from the freeze; push the branch so dev-release-publish can verify it
F production release (tag + update production branch)external — see dev-release-publish "Full process"
G merge production back to main, lift the freezeexternal/manual

Outputs

  • Local release-candidate branch with the release-candidate commit.
  • reports.outputDir/: scope.json, commits.txt, changed-files.txt, per-tool reports, _plan.jsonl, _gate.json, _summary.md, build-status.json (the per-producer outcome roll-up dev-report-status consumes — work dir, never the staging fragments dir).

Failure modes

  • Config invalid → exit 2 with JSON-path errors; fix dev-process.json.
  • Blocking analysis failure → gate exit 3; reports kept; fix the tool or mark the entry advisory:true.
  • Dirty tracked tree / no origin/main → release_candidate_branch.sh exit 2.

Exit codes

Shared across all scripts/: 0 ok · 1 usage · 2 precondition unmet · 3 blocking failure · 4 remote operation failed.

Keep looking

Skills are one crate of 607,533. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.