Skip to content
cccskills
FreePublished on GitHub

pre-release

Run a comprehensive pre-release validation checklist for bashdep

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

Chemaclass/bashdep19 stars(GitHub 19 + cccskills 0)

Run score Not tested

See how to install

Files included (1)

  • SKILL.md2.7 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Pre-Release Validation

Run all checks before releasing a new bashdep version.

Checklist

1. Version Consistency

grep -n 'BASHDEP_VERSION="' bashdep
awk '/^## \[/{print; exit}' CHANGELOG.md
git tag --list --sort=-v:refname | head -3

bashdep's BASHDEP_VERSION is the source of truth. The release script bumps it; verify it matches the intended target version.

2. Full Test Suite

make test

Run 3-5 times to catch flaky tests. All must pass.

3. Static Analysis & Lint

make sa      # ShellCheck - zero warnings
make lint    # editorconfig-checker - clean

4. Documentation

  • CHANGELOG.md ## [Unreleased] section is complete and reflects every user-visible change since the last tag
  • docs/api.md reflects every public bashdep::* function
  • docs/behavior.md reflects current lockfile / dev-dep / error semantics
  • docs/releasing.md is current
  • README.md examples copy-paste cleanly
  • No remaining TODO / FIXME in docs

5. Bash 3.2+ Compatibility (must return no results)

grep -nE 'declare -A' bashdep
grep -nE '\$\{[A-Za-z_][A-Za-z0-9_]*,,\}'  bashdep
grep -nE '\$\{[A-Za-z_][A-Za-z0-9_]*\^\^\}' bashdep
grep -nE '\bmapfile\b|\breadarray\b' bashdep
grep -nE '&>>' bashdep
grep -nE '\$\{[A-Za-z_][A-Za-z0-9_]*\[-1\]\}' bashdep

6. Runtime Dependency Audit

grep -nwE 'jq|python|node|yq' bashdep || echo "OK"

Library code must only call curl / awk / mktemp / POSIX builtins.

7. Mode-Flag Coverage

Every public mutating command honors BASHDEP_DRY_RUN, BASHDEP_SILENT, BASHDEP_VERBOSE, BASHDEP_FORCE. Spot-check each in the test suite:

grep -nE 'BASHDEP_(DRY_RUN|SILENT|VERBOSE|FORCE)=true' tests/unit/bashdep_test.sh

8. Release Script Dry Run

./release.sh --dry-run

Verify:

  • Version bump target matches expectation
  • CHANGELOG roll preview is correct
  • Compare links at the bottom of CHANGELOG would update correctly

9. Breaking Changes

Review git log <last-tag>..HEAD for any breaking changes. Each must be called out in CHANGELOG.md under ### Changed or ### Removed with a brief migration note.

10. Git & CI Status

  • Working tree clean (git status --short empty)
  • On main
  • All CI checks green: gh run list --limit 5 --branch main
  • Target tag does not yet exist: git tag --list <X.Y.Z> returns empty

11. Smoke Test

( cd "$(mktemp -d)" \
  && cp /path/to/bashdep . \
  && source ./bashdep \
  && bashdep::version )

Output

Report each check as ✅ pass / ❌ fail / ⚠️ warning. Only proceed to /release when all checks are ✅.

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

Add a new bashdep:: lifecycle command with TDD

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

Chemaclass/bashdep19Updated Oct 20, 2026

commit

Free

Stage and commit changes using conventional commits format

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

Chemaclass/bashdep19Updated Oct 20, 2026

Coverage gap analysis for the bashdep public API plus a bashdep::doctor audit

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

Chemaclass/bashdep19Updated Oct 20, 2026

Debug and fix failing bashdep tests systematically

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

Chemaclass/bashdep19Updated Oct 20, 2026

Fetch a GitHub issue, create a branch, plan and implement with TDD, then open a PR

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

Chemaclass/bashdep19Updated Oct 20, 2026

pr

Free

Push branch and create a GitHub PR following the bashdep PR template

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

Chemaclass/bashdep19Updated Oct 20, 2026

See all skills by Chemaclass

Report a problem with this skill