finalize
Installation
SKILL.md
Finalize
Usage
/finalize [commit-message] [--skip-docs] [--skip-lint] [--skip-types] [--skip-build] [--dry-run] [--no-push]
Workflow Pipeline
- Update documentation (.md files) with latest changes
- Detect Next.js version from package.json
- If Next.js < 16: Run
bun lintfor code quality validation - Run
bun typefor TypeScript type checking - Run
bun buildfor compilation verification - Generate structured commit message if not provided
- Git add, commit, and push if all gates pass
Note: Next.js 16+ removed
next lint. The command auto-detects the version and skips linting for Next.js 16+.