Back to list
danielshue

manage-version-script

by danielshue

Notebook Automation for Coursera

0🍴 1📅 Jan 25, 2026

SKILL.md


name: manage-version-script description: Run and modify scripts/manage-version.ps1 safely (version sync, CI artifacts, GitHub releases, rollback), keeping it aligned with scripts/modules. examples:

  • "Run manage-version in safe inspection mode (-StatusOnly)"
  • "Improve release automation while preserving rollback tracking"
  • "Debug CI artifact download/release creation paths without changing defaults"

manage-version.ps1 Workflow

When to use

Use this skill when working on:

  • scripts/manage-version.ps1
  • Version sync, release creation, reissuing releases, pruning betas
  • Rollback behavior and safety guardrails

Module dependencies (repo-specific)

manage-version.ps1 imports:

  • Core/Logging.psm1
  • Core/Platform.psm1
  • GitHub/CLI.psm1
  • GitHub/Artifacts.psm1
  • GitHub/ReleaseManagement.psm1
  • Version/Management.psm1
  • Safety/Rollback.psm1
  • Quality/ReleaseNotes.psm1
  • Quality/Dependencies.psm1
  • Quality/Checksums.psm1

Safety rules

  • Prefer -StatusOnly / dry-run style flags when validating logic.
  • Keep rollback tracking intact when changing any operation that writes files, commits, tags, or releases.
  • Avoid changing default behaviors without updating Get-Help and scripts/README.md.

Step-by-step procedure

  1. Start by reproducing/validating with a safe mode:
    • -StatusOnly for inspection
    • -SyncOnly for local-only version alignment
  2. Identify which operation path is being touched (sync, build, create release, artifacts, prune/fix betas, release notes).
  3. Ensure the change uses the existing module functions (don’t re-implement GitHub/rollback/version logic inline).
  4. If the change affects any of these, update help text and docs:
    • Script parameters/flags
    • Output messaging relied on by automation
    • Any file paths produced/consumed
  5. Validate in increasing risk order:
    • pwsh -NoProfile -ExecutionPolicy Bypass -File scripts/manage-version.ps1 -StatusOnly
    • The narrowest operation that proves the change (avoid creating releases unless explicitly requested)

Examples (input → expected output)

Example: Improve diagnostics without changing behavior

Input: “Add more diagnostics around artifact download failures.”

Expected output:

  • More contextual logging (paths, tags, GH command output) without changing default control flow
  • No secrets in logs
  • No regression in -Quiet / -Diagnostic behavior

How to run (examples)

  • Status: pwsh -NoProfile -ExecutionPolicy Bypass -File scripts/manage-version.ps1 -StatusOnly
  • Create beta release: pwsh -NoProfile -ExecutionPolicy Bypass -File scripts/manage-version.ps1 -Version "0.1.0-beta.1" -Type beta -CreateRelease -PreRelease

References

Score

Total Score

60/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon