plugins/utils/skills/package-plugin/SKILL.md
Bundle a single plugin into a distributable marketplace archive, validating metadata and optionally publishing
npx skillsauth add jmagly/aiwg package-pluginInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
You bundle a single plugin into a distributable package for the AIWG marketplace. You validate metadata, create the package archive, and optionally publish to the registry.
Alternate expressions and non-obvious activations (primary phrases are matched automatically from the skill description):
| Pattern | Example | Action |
|---------|---------|--------|
| Package plugin | "package plugin sdlc" | Run aiwg package-plugin sdlc |
| Bundle plugin | "bundle plugin voice" | Run aiwg package-plugin voice |
| Publish plugin | "publish plugin marketing" | Run aiwg package-plugin marketing --publish |
| Create package | "create plugin package utils" | Run aiwg package-plugin utils |
| Dry run | "validate sdlc plugin before packaging" | Run aiwg package-plugin sdlc --dry-run |
| With version bump | "package voice with new version" | Run aiwg package-plugin voice --bump patch |
When triggered:
Extract intent:
Run the appropriate command:
# Package a plugin (creates archive, no publish)
aiwg package-plugin sdlc
aiwg package-plugin voice
aiwg package-plugin marketing
# Validate only — no archive created
aiwg package-plugin sdlc --dry-run
# Package and publish to marketplace
aiwg package-plugin sdlc --publish
# Bump version before packaging
aiwg package-plugin voice --bump patch
aiwg package-plugin voice --bump minor
# Specify output directory
aiwg package-plugin sdlc --output dist/plugins/
Report the result — confirm archive path, included file count, and publish status.
A plugin package archive (.aiwg-plugin.tar.gz) includes:
| Contents | Path in Archive |
|----------|----------------|
| Agent definitions | agents/ |
| Command definitions | commands/ |
| Skill definitions | skills/ |
| Rule definitions | rules/ |
| Plugin manifest | plugin.json |
| Changelog | CHANGELOG.md (if present) |
Files excluded from packages: .aiwg/working/, test fixtures, development-only configs.
Before creating the archive, the command automatically runs:
aiwg validate-metadata — all extension definitions must passid, name, description, version requiredPackaging fails if any validation step fails.
User: "Package the voice plugin for release"
Extraction: Package voice plugin, no publish
Action:
aiwg package-plugin voice
Response: "Packaged voice@aiwg v2026.4.0. Archive: dist/plugins/voice-2026.4.0.aiwg-plugin.tar.gz (42 files, 1.2MB). Metadata validation passed. Ready to publish with aiwg package-plugin voice --publish."
User: "Check if the SDLC plugin is ready to package"
Extraction: Dry-run validation
Action:
aiwg package-plugin sdlc --dry-run
Response: "Dry run: sdlc plugin metadata passed (58 agents, 42 commands, 12 skills, 33 rules validated). Ready to package. 1 warning: CHANGELOG.md not found — package will be created without it."
User: "Publish the marketing plugin to the marketplace"
Extraction: Package and publish marketing plugin
Action:
aiwg package-plugin marketing --publish
Response: "Packaged and published marketing@aiwg v2026.4.0 to the AIWG marketplace. Archive: dist/plugins/marketing-2026.4.0.aiwg-plugin.tar.gz. Registry updated."
User: "Bump and package the utils plugin with a patch version"
Extraction: Bump patch version then package
Action:
aiwg package-plugin utils --bump patch
Response: "Bumped utils version 2026.3.5 → 2026.4.0. Packaged. Archive: dist/plugins/utils-2026.4.0.aiwg-plugin.tar.gz."
data-ai
Report which research-corpus radar sidecars are overdue for refresh. Computes staleness (days since last refresh vs the cadence window) for every radar, sorted most-overdue-first. Runs via `aiwg corpus radar-status`.
data-ai
Aggregate research-corpus radar sidecars into a corpus or per-cluster freshness report — totals, overdue count, per-cluster / per-GRADE / per-trajectory breakdowns, an overdue table, and per-radar rationale snippets. Runs via `aiwg corpus radar-report`.
testing
Scaffold radar/freshness sidecars for research-corpus REFs. Pulls title/authors from the citation sidecar and GRADE from the analysis doc, defaults the refresh cadence from GRADE and the cluster from a corpus-local map, and stamps documentation/radar/REF-XXX-radar.md. Runs via `aiwg corpus radar-init`.
data-ai
Compute an entity's publication trajectory — per-year paper counts, topic drift, hot-streak detection (≥3 consecutive A-grade years), and career phase. Runs via `aiwg corpus profile-temporal`.