release

Solid

Publish packages to registries (npm, CDN, etc.). Discovers repo structure, scaffolds build/release scripts if missing, runs tests, updates changelog, publishes, and tags. Supports monorepos and semver with prereleases. Triggers on: release, publish, ship, npm publish, cut a release.

AI & Automation 11 stars 6 forks Updated today Apache-2.0

Install

View on GitHub

Quality Score: 78/100

Stars 20%
36
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Release Publish packages to their registries. Works with single packages and monorepos. ## Arguments `$ARGUMENTS` may contain: - A version number: `1.2.3`, `1.2.3-alpha.1`, `patch`, `minor`, `major` - A package path for monorepos: `rush/app`, `harness-ui` - Flags: `--skip-tests`, `--skip-build`, `--force` If no version is given, analyze what's needed and suggest one. --- ## Phase 1: Discovery Before doing anything, check for project-specific release instructions. ### 1.1 Check for project-level overrides ```bash # Project-level release skill takes precedence ls .agents/skills/release/ 2>/dev/null # Check for release instructions in project docs grep -l -i "release\|publish\|deploy" README.md CLAUDE.md AGENTS.md .agents/*.md 2>/dev/null | head -5 ``` If `.agents/skills/release/` exists in the project, defer to it completely. Read those instructions and follow them instead of this skill. ### 1.2 Detect repo structure ```bash # Is this a monorepo? if [[ -f "package.json" ]]; then # Check for workspaces jq -e '.workspaces' package.json 2>/dev/null && echo "MONOREPO: npm/bun workspaces" fi [[ -f "pnpm-workspace.yaml" ]] && echo "MONOREPO: pnpm workspaces" [[ -f "lerna.json" ]] && echo "MONOREPO: lerna" # Find all package.json files fd -t f package.json --max-depth 3 | head -20 ``` ### 1.3 Identify publishable packages ```bash # List packages that are NOT private fd -t f package.json --max-depth 3 -x sh -c ' name=$(jq -r ".name // empty" "{}") private=$(j...

Details

Author
phnx-labs
Repository
phnx-labs/agents-cli
Created
3 months ago
Last Updated
today
Language
TypeScript
License
Apache-2.0

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category