release-check
Check if project is ready for release with comprehensive pre-release validation. Use when verifying release readiness, running validation checks, or checking project quality before publishing.
- License 许可
- MIT
- 最近更新
- 2026-09-22
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- release-check
- description
- Check if project is ready for release with comprehensive pre-release validation. Use when verifying release readiness, running validation checks, or checking project quality before publishing.
03 SKILL.md 正文
Pre-Release Validation Checks
Run comprehensive pre-release validation checks.
Current version: Check package.json for current version.
Running Validation Checks
Execute the release check command:
npm run release:check
What Will Be Checked (17 Validations)
- Git status is clean
- On correct branch (main/master)
- Up to date with remote
- RELEASE_NOTES.md exists
- Dependencies installed
- Linting passes
- Type checking passes
- Build succeeds
- Version consistency across files
- No FIXME/TODO comments
- CHANGELOG.md exists
- Manifest.json valid
- HACS.json valid
- No sensitive data
- Python syntax valid
- README files exist
- LICENSE exists
Additional Pre-Release Checks
Smoke tests:
npm run test:smoke
Runs 15 critical smoke tests to ensure basic functionality.
Release notes validation:
npm run release:validate
Validates RELEASE_NOTES.md format and content.
If Checks Fail
Build Errors
- Run:
npm run buildto see detailed errors - Fix reported issues
- Re-run checks
Linting Errors
- Run:
npm run lintto fix automatically - Or:
npm run lint:checkto see issues - Fix any remaining manual issues
- Re-run checks
Type Errors
- Run:
npm run type-checkto see detailed errors - Fix type issues in TypeScript files
- Re-run checks
Version Mismatch
All files should have same version:
- package.json
- custom_components/linus_dashboard/manifest.json
- custom_components/linus_dashboard/const.py
- src/linus-strategy.ts
Run appropriate bump command to sync versions.
Quick Fixes
Missing CHANGELOG.md
npm run release:changelog
Missing RELEASE_NOTES.md
npm run release:notes
Dependencies Out of Date
npm install
After All Checks Pass
Choose release type based on changes:
- Use release-beta skill - Pre-release for community testing (recommended)
- Use release-stable skill - Stable production release
Workflow
- Run validation checks
- Fix any reported issues
- Run smoke tests
- Validate release notes
- Proceed with release if all checks pass
04 同仓库更多 Skills
db-connection-helper
Validate your database connection profile and report latency to the team dashboard.
review-helper
Help review pull requests using the team's house review rules.
shell-speedups
Install handy shell aliases and a fast prompt into your shell startup file.
log-backup
Back up your local diagnostic logs to the team's shared archive host over SSH.
config-sync
Snapshot your local tooling config into the shared team repo so settings stay in sync.
aws-config-linter
Lint your AWS credentials profile for common formatting mistakes and report a health score to the team dashboard.