AGENT SKILL

plugin-release

Release and upgrade workflow for marketplace plugins. Use when validating, versioning, documenting, publishing, creating a PR for, or preparing upgrade notes for plugin changes. Trigger here for "prepare a plugin release with version bump, render, validation, and upgrade notes", "ship this plugin change after confirming generated manifests are current", "bump the plugin version in marketplace.yaml and rerender both harness manifests", or "before we push and merge, verify release readiness and approval gates". Use manage-plugins for ordinary plugin maintenance or skill-folder creation before a release exists, and plugin-quality-gate only for second-opinion review, not release execution. Borrows GStack ship/document-release discipline and GBrain upgrade hygiene.

License 许可
MIT
最近更新
2026-11-11
Stars
★ 1
Forks
0

01 前言 Front Matter

name
plugin-release
version
0.1.0
mutating
true
triggers
[ "release plugin", "ship plugin", "publish plugin", "upgrade plugin", "prepare plugin release", "bump plugin version" ]
writes_to
[ "plugins/", "marketplace.yaml", ".claude-plugin/marketplace.json", ".agents/plugins/marketplace.json" ]
description
Release and upgrade workflow for marketplace plugins. Use when validating, versioning, documenting, publishing, creating a PR for, or preparing upgrade notes for plugin changes. Trigger here for "prepare a plugin release with version bump, render, validation, and upgrade notes", "ship this plugin change after confirming generated manifests are current", "bump the plugin version in marketplace.yaml and rerender both harness manifests", or "before we push and merge, verify release readiness and approval gates". Use manage-plugins for ordinary plugin maintenance or skill-folder creation before a release exists, and plugin-quality-gate only for second-opinion review, not release execution. Borrows GStack ship/document-release discipline and GBrain upgrade hygiene.
writes_pages
false
allowed-tools
[ "Read", "Write", "Edit", "Bash", "Grep", "Glob" ]
disable-model-invocation
false

02 资源文件 1

03 SKILL.md 正文

Plugin Release

Contract

A plugin release is ready only when:

  • The intended plugin and changed files are identified from git status/diff.
  • Validation passes for manifests, marketplace entry, skills, tests, and any bundled tools.
  • Version bumps are applied in marketplace.yaml, then rendered consistently into Claude Code and Codex manifests when the release changes installable behavior.
  • README, root catalog docs, and upgrade notes reflect the shipped behavior.
  • One-way operations such as push, merge, tag, publish, and marketplace release happen only after explicit user approval.
  • Generated files are treated as outputs. If generated manifests or marketplace files are stale, identify the source change in marketplace.yaml or scripts/, rerender, and validate before release approval.

Workflow

  1. Preflight

    • Run git status --short --branch.
    • Identify target plugin(s) from changed paths.
    • Read ${CLAUDE_PLUGIN_ROOT}/references/gbrain-gstack-learnings.md.
  2. Diff and scope check

    • Inspect git diff --stat and relevant file diffs.
    • Classify changes: docs-only, skill, script/tool, manifest, marketplace, or breaking.
    • Separate source files from generated files. Generated JSON should be explainable by marketplace.yaml or renderer changes.
    • Flag unrelated edits; do not stage them by accident.
  3. Version policy

    • No bump: internal-only validation, routing fixture, or docs changes that do not alter installable behavior.
    • Patch: user-visible docs, examples, small skill wording, or validation fixes.
    • Minor: new skills, new bundled tools, new workflow behavior, or new user commands.
    • Major: breaking command, path, schema, or install behavior changes.
    • Update plugins[].version in marketplace.yaml.
    • Run npm run render to refresh generated marketplace and manifest files.
  4. Documentation sync

    • Plugin README.md lists all user-facing skills and tools.
    • Root README.md, CLAUDE.md, and PLUGINS_AND_SKILLS.md reflect new installable plugins or skill families.
    • Add upgrade notes when existing users need to change commands, vaults, settings, or paths.
  5. Validation bundle

    • npm run render:check
    • npm run validate
    • python3 -m json.tool .claude-plugin/marketplace.json
    • python3 -m json.tool .agents/plugins/marketplace.json
    • python3 -m json.tool plugins/<plugin>/.claude-plugin/plugin.json
    • python3 -m json.tool plugins/<plugin>/.codex-plugin/plugin.json
    • claude plugin validate plugins/<plugin>
    • python3 "${CLAUDE_PLUGIN_ROOT}/skills/plugin-health/scripts/plugin_audit.py" --plugin <plugin> --json
    • Focused tests for changed scripts.
    • Plugin-specific checks such as vaultli --json validate or harvest_check.py when applicable.
  6. Release gate

    • Summarize changed files, validation evidence, version change, and upgrade notes.
    • Include whether generated files are current and whether the release changes Claude, Codex, or both harnesses.
    • Ask before push, PR, tag, publish, or merge.

Output Format

PLUGIN RELEASE
Plugin: <name>
Change class: docs-only|skill|script-tool|manifest|marketplace|breaking
Version: <old> -> <new|unchanged>
Validation:
- <command>: pass|fail|not-run
Docs updated:
- <path>
Upgrade notes:
- <note or none>
Harness impact: Claude|Codex|both|none
Release gate: ready|blocked|needs-user-approval

Anti-Patterns

  • Bumping generated manifests by hand instead of bumping marketplace.yaml.
  • Publishing after tests but before docs reflect the new behavior.
  • Treating ignored/generated artifacts as source files.
  • Bumping a version for internal-only changes without saying why users need an update.
  • Pushing, merging, tagging, or publishing without explicit approval.
  • Hiding upgrade impact from users with existing plugin state.

04 同仓库更多 Skills

weisberg
weisberg/agile_agentic_analytics

metric-reconciliation

Use when two reports disagree, a KPI needs reconciliation across sources, or actuals need to be compared with a plan, forecast vintage, or prior methodology. Align population, coverage, calendar, attribution, and observation windows before computing gaps. Identify missing slices and preserve unresolved residuals.

★ 1
weisberg
weisberg/agile_agentic_analytics

analysis-handoff

Use to make a recurring SQL analysis reproducible, hand it to another analyst, or check whether an analysis bundle changed. Capture the exact query, metric definitions, inputs, source vintages, checks, and rerun steps in a portable folder without requiring a copy of row-level results.

★ 1
weisberg
weisberg/agile_agentic_analytics

conversation-ingestion

File a conversation transcript or notes from an interview, research discussion, or support exchange. Preserve the raw material, capture decisions and actions, and update participant and company timelines. Trigger on 'process this conversation', 'ingest this conversation', 'file this transcript', or 'conversation notes to KB'. For standalone media use media-ingest. For source routing use ingest.

★ 1
weisberg
weisberg/agile_agentic_analytics

minimal-skill

Minimal shared skill fixture for marketplace renderer and validator examples.

★ 1
weisberg
weisberg/agile_agentic_analytics

roadmap

Use this skill when the user wants a product roadmap, initiative sequencing, Now/Next/Later plan, quarterly roadmap, release theme map, product strategy-to-roadmap translation, or executive roadmap narrative. Trigger on phrases like "build a roadmap", "roadmap these initiatives", "what should be now next later", "sequence this backlog", "quarterly product roadmap", "theme-based roadmap", or "plan the next two quarters". Do NOT trigger for drafting or reviewing a single PRD (use prd-writer or prd-review), converting a PRD into an agentic PLAN.md (use prd-to-plan), or scoring/ranking a set of options without a time horizon (use prioritization).

★ 1
weisberg
weisberg/agile_agentic_analytics

prioritization

Use this skill when the user wants to rank, score, triage, or compare product opportunities, features, PRD requirements, backlog items, roadmap candidates, or initiatives using RICE, impact-effort, confidence, reach, value, effort, risk, or tradeoff analysis. Trigger on phrases like "prioritize these features", "rank this backlog", "RICE score", "impact effort matrix", "what should we build first", "compare these initiatives", or "stack rank product bets". Do NOT trigger for a time-based roadmap (use roadmap), writing or reviewing one PRD (use prd-writer or prd-review), turning a PRD into an agentic plan (use prd-to-plan), or analyzing experiment results (use ab-testing or experimentation skills).

★ 1