本文へ移動
cccskills
無料GitHub で公開

pre-release

Run a comprehensive pre-release validation checklist for bashdep

日本語の概要は準備中です。原文の説明を表示しています。

Chemaclass/bashdepスター 19(GitHub 19 + cccskills 0)

実行スコア 未検証

インストール方法を見る

含まれるファイル(1)

  • SKILL.md2.7 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

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 ✅.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

コメント

ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。

まだコメントはありません。最初のコメントを書いてみませんか。

送信するとすぐに公開されます。メールアドレスや電話番号などの個人情報は書かないでください。URL は 2 つまでです。

0 / 1000 文字

このフォームは reCAPTCHA で保護されており、Google のプライバシーポリシーと利用規約が適用されます。

同じリポジトリのスキル

Add a new bashdep:: lifecycle command with TDD

日本語の概要は準備中です。原文の説明を表示しています。

Chemaclass/bashdep192026年10月20日 更新

commit

無料

Stage and commit changes using conventional commits format

日本語の概要は準備中です。原文の説明を表示しています。

Chemaclass/bashdep192026年10月20日 更新

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

日本語の概要は準備中です。原文の説明を表示しています。

Chemaclass/bashdep192026年10月20日 更新

fix-test

無料

Debug and fix failing bashdep tests systematically

日本語の概要は準備中です。原文の説明を表示しています。

Chemaclass/bashdep192026年10月20日 更新

gh-issue

無料

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

日本語の概要は準備中です。原文の説明を表示しています。

Chemaclass/bashdep192026年10月20日 更新

pr

無料

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

日本語の概要は準備中です。原文の説明を表示しています。

Chemaclass/bashdep192026年10月20日 更新

Chemaclass のスキルをすべて見る

このスキルの問題を報告する