| name | LightSpeedWP Release Skill |
|---|---|
| description | Comprehensive release management for WordPress block plugins and themes |
| version | 1.0.0 |
| updated | 2026-10-30 |
Automated release orchestration for WordPress block plugins and block themes, with semantic versioning, changelog enforcement, GitHub publishing, and WordPress.org directory preparation.
cd your-plugin-or-theme-repo
/release --dry-run # Check everything
/release --scope=patch # Execute patch release/release --dry-run --scope=minor
/release --scope=minor/release --dry-run --scope=major
/release --scope=major # Requires manual approval- ✅ Validates tests pass and code lints
- ✅ Checks version alignment (VERSION file is source of truth)
- ✅ Audits changelog for completeness and format
- ✅ Confirms WordPress compliance (headers, readme.txt, etc)
- ✅ Reviews documentation quality
- ✅ Assesses repository health and git state
- ✅ Produces pre-release checklist and risk score
- 🔧 Determines next version using SemVer
- 📝 Updates VERSION, plugin headers, theme metadata, readme.txt
- 📋 Manages changelog (moves Unreleased to dated version)
- 🏷️ Creates annotated git tag (vX.Y.Z)
- 🚀 Publishes GitHub Release with notes and assets
- 📦 Prepares WordPress.org SVN sync package
- 👥 Compiles contributor credits from PR history
- 📊 Generates release audit log
- 📄 Creates handoff documentation for next maintainer
- 📋 Plans next development cycle
- 🔄 Verifies branch sync (main/develop)
- ✨ Suggests follow-up issues and tasks
release/
├── README.md # This file
├── SKILL.md # Main skill definition
├── agents/
│ └── release-agent.md # Agent instructions
├── skills/
│ ├── github-release/
│ │ └── SKILL.md # GitHub tag and release publishing
│ ├── release-qa/
│ │ └── SKILL.md # Quality gates and validation
│ └── release-handoff-generator/
│ └── SKILL.md # Post-release documentation
├── prompts/
│ ├── release.prompt.md # Release orchestration prompt
│ └── changelog.prompt.md # Changelog entry guidelines
└── docs/ # [To be added from .github]
# 1. On develop branch, add changelog entries as you work
# Edit CHANGELOG.md:
# ## [Unreleased]
# ### Added
# - New feature X
# ### Fixed
# - Bug fix Y
# 2. When ready to release, run dry-run first
/release --dry-run
# Review the checklist, risk assessment, and proposed changes
# 3. Execute the release
/release --scope=patch
# Agent asks for confirmation at each step
# 4. After merge, review GitHub Release
# https://github.com/lightspeedwp/your-project/releases/tag/vX.Y.Z
# 5. Monitor for issues (first 24 hours critical)Patch Release (Bug fix):
/release --scope=patch
# Fast, auto-approves if risk score ≤ 0.3Minor Release (New feature):
/release --scope=minor
# Requires manual review of new features
# Risk score guides approvalMajor Release (Breaking changes):
/release --scope=major
# Always requires manual review
# Must include migration guide
# Creates detailed breaking changes callout# Delete tag and release
git tag -d vX.Y.Z
git push origin --delete vX.Y.Z
gh release delete vX.Y.Z
# Revert main
git revert <COMMIT_SHA>
git push origin main
# Issue emergency patch when ready
/release --scope=patch --notes="Emergency rollback and fix"Before running /release, ensure:
- On
developbranch - Working tree is clean (
git status) - Tests pass (
npm test) - Lint passes (
npm run lint) - Changelog has [Unreleased] entries
- VERSION file is correct
- Plugin/theme headers are up to date
- Documentation is current
- README has setup instructions
- Contributing guidelines exist (if open source)
The skill automatically detects your project type:
Plugin: Looks for Plugin Name: in root PHP file
Theme: Looks for Theme Name: in style.css
Create/update VERSION file in repository root:
1.2.3
This is the source of truth for all versioning.
Maintain CHANGELOG.md in Keep a Changelog format:
## [Unreleased]
### Added
- New feature
### Fixed
- Bug fix
## [1.2.3] - 2026-10-29
### Added
- Previous featureThe skill enforces these gates before release:
| Gate | Requirement | Fix |
|---|---|---|
| Tests | All pass | npm test or composer test |
| Lint | 0 errors | npm run lint or composer run phpcs |
| Versions | All match VERSION file | Update headers |
| Changelog | Valid format, has Unreleased | Fix markdown, add entries |
| WordPress | Headers present, readme.txt valid | Add missing fields |
| Documentation | README, LICENSE, Contributing | Create/update files |
| Repository | Clean tree, branches in sync | Commit, pull/push |
✅ Plugin Name: header with user-facing name
✅ Version matches VERSION file
✅ readme.txt with Stable tag: matching version
✅ License: GPL v2 or compatible
✅ Text Domain for translations
✅ Minimum WordPress and PHP versions declared
✅ Tested up to: current WordPress version
✅ style.css header with Theme Name:
✅ theme.json for block themes (if applicable)
✅ Version matches VERSION file
✅ Screenshot.png (1200×900px)
✅ readme.txt or CHANGELOG.md
✅ License: GPL v2 or compatible
✅ Minimum WordPress and PHP versions
After release is published, the skill generates:
-
Release Audit Log (
.github/RELEASE_AUDIT_LOG.json)- Timestamp, version, scope, duration
- Contributors, test metrics, risk score
- WordPress.org compliance status
-
Handoff Document (
docs/HANDOFF_vX.Y.Z.md)- Release summary and timeline
- Quality metrics and contributor credits
- What to monitor after release
- Rollback plan if needed
- Next cycle recommendations
-
Next Cycle Plan (
.github/NEXT_CYCLE_PLAN.md)- Recommended priorities from open issues
- Milestone planning
- Team assignments
-
Follow-Up Issues (
.github/RELEASE_FOLLOWUP_ISSUES.json)- Suggested work for next cycle
- Documentation updates needed
- Testing recommendations
npm test # Run tests with verbose output
npm test -- --watch # Run in watch mode and fix issues
npm test -- --updateSnapshot # Update snapshots if intentionalThe skill will report which files don't match VERSION.
Fix by editing each file and updating the version to match.
# Common issues:
# - "## [unreleased]" should be "## [Unreleased]" (case-sensitive)
# - Section name "## Bugs" should be "### Fixed"
# - Missing entries under sectionsThe skill will list missing or invalid headers.
Review WordPress Plugin Guidelines or Theme Guidelines
git status # Check working tree status
git log --oneline -5 # View recent commits
git branch -vv # Check branch tracking
git pull origin develop # Update develop branch/release --version=2.1.0Skip SemVer calculation and use explicit version.
/release --org-onlyCreate WordPress.org package without GitHub release.
/release --verify --version=1.2.3Audit previous release (check tag, notes, wordpress.org ready).
/release --dry-run --scope=majorRead-only analysis with no changes. Always run before actual release.
This skill consists of three coordinated sub-skills:
Handles git tagging, GitHub Release publishing, and asset generation.
See: skills/github-release/SKILL.md
Performs seven quality gates and produces risk assessment.
See: skills/release-qa/SKILL.md
Creates post-release documentation and audit trail.
See: skills/release-handoff-generator/SKILL.md
Orchestrates the complete release workflow, coordinating all sub-skills.
See: agents/release-agent.md
Step-by-step prompt for release orchestration, version management, and git operations.
Guidelines for writing user-facing changelog entries and Keep a Changelog format.
- SKILL.md — Full skill specification
- Release Agent — Agent instructions
- GitHub Release Skill
- Release QA Skill
- Release Handoff Skill
- Semantic Versioning
- Keep a Changelog
- WordPress Plugin Guidelines
- WordPress Theme Guidelines
For issues or questions:
- Check Troubleshooting section above
- Review relevant skill documentation
- Check GitHub issues in this repository
- Contact LightSpeedWP release team
These release utilities are part of the LightSpeedWP organization's internal toolkit.
Version: 1.0.0
Updated: 2026-10-30
Maintained by: LightSpeedWP Release Team