SKILL.md
Prepare Pull Request
Prepare all work before creating a pull request. If an issue number is provided in $ARGUMENTS, use it. If no issue is provided, continue without requiring one.
Workflow
Follow these steps:
- Check current git status and branch information
- Run git status and git branch to understand the current state
- Create branch if needed
- If no branch name is provided and we are on the main branch, create a branch based on the code changes - If working on a worktree, create a branch based on the worktree branch, don't change the name - Otherwise, work on the current branch
- Review commit history and code differences
- Run git log and git diff main...HEAD to understand all changes from the main branch
- Add changeset record if necessary
- Manually add a file in .changeset/ directory following changeset convention - Changeset summary should use conventional commit style and should match the descriptive PR title - Versioning rules: - patch (0.0.x) — Users barely notice - Bug fixes - Small feature enhancements (e.g., drag-and-drop reordering) - UI tweaks, performance optimizations - Refactors, code cleanup - i18n additions - Adding a single config toggle - minor (0.x.0) — Users can clearly perceive "something new" - Independent, complete new features (e.g., subtitle translation, TTS) - New AI provider support - Major UI overhaul (new pages/panels) - New user-facing configuration system (not just a single toggle) - major (x.0.0) — Users need to pay attention / adapt. Almost never use. Must ask user for explicit approval before using. - Config format incompatibility (cannot auto-migrate) - Removal of existing features - API/storage structure breaking changes - Fundamental migrations (e.g., Manifest V2 → V3)
- Ensure all changes are committed
- Stage and commit any uncommitted changes - Do not commit the PR description markdown created under docs/; it is for local copy/paste only - If a docs/pr-*.md file was accidentally staged, remove it from the index before committing while keeping the local file - Branch should be ready for PR
- Push the branch to remote
- Run git push -u origin <branch-name> if needed
- Create Markdown for PR Description
- Create a markdown file in docs/ folder which only contains the description of the PR and for me later to copy paste: - Comprehensive PR description following the template at .github/PULLREQUESTTEMPLATE.md - If an issue number was provided, include it in the PR description using Closes #<issue-number> - If no issue number was provided, search for a relevant issue only if it is easy to identify; otherwise leave the issue field empty instead of blocking the workflow - Leave the file uncommitted; it should stay local even after the branch is pushed
Commit Convention
Follow these commit types:
feat: New featuresfix: Bug fixesdocs: Documentation changesstyle: Code style changesrefactor: Code refactoringtest: Adding or updating testschore: Maintenance tasksbuild: Build system changesci: CI/CD changesperf: Performance improvementsrevert: Reverting previous commitsi18n: Internationalization changesai: AI-related features
Format: type(scope): description
References
- PR Template:
.github/PULLREQUESTTEMPLATE.md - Project Guidelines:
CLAUDE.md