♿️ feat: improve form accessibility for screen readers
Example of splitting commits:
First commit: ✨ feat: add new solc version type definitions
Second commit: 📝 docs: update documentation for new solc versions
Third commit: 🔧 chore: update package.json dependencies
Fourth commit: 🏷️ feat: add type definitions for new API endpoints
Fifth commit: 🧵 feat: improve concurrency handling in worker threads
Sixth commit: 🚨 fix: resolve linting issues in new code
Seventh commit: ✅ test: add unit tests for new solc version features
Eighth commit: 🔒️ fix: update dependencies with security vulnerabilities
Command Options
--no-verify
Skip running the pre-commit checks (lint, build, generate:docs)
Branch Naming Convention
When committing on
master
or
main
, the command will ask if you want to create a new branch. If yes, it creates a branch following this pattern:
//
Components:
The commit type (feature, fix, docs, refactor, perf, test, chore, etc.)
Your git username (obtained from
git config user.name
or the system username)
A kebab-case description of the change (e.g.,
add-user-auth
,
fix-login-bug
)
Examples:
feature/leovs09/add-new-command
fix/johndoe/resolve-memory-leak
docs/alice/update-api-docs
refactor/bob/simplify-error-handling
chore/charlie/update-dependencies
Workflow:
Command detects you're on
master
or
main
Asks: "You're on the main branch. Do you want to create a separate branch?"
If "No": Proceeds with commit on current branch
If "Yes": Analyzes your changes to determine the type, asks for a brief description, creates the branch, and proceeds with commit
Important Notes
By default, pre-commit checks (
pnpm lint
,
pnpm build
,
pnpm generate:docs
) will run to ensure code quality
If these checks fail, you'll be asked if you want to proceed with the commit anyway or fix the issues first
If specific files are already staged, the command will only commit those files
If no files are staged, it will automatically stage all modified and new files
The commit message will be constructed based on the changes detected
Before committing, the command will review the diff to identify if multiple commits would be more appropriate
If suggesting multiple commits, it will help you stage and commit the changes separately
Always reviews the commit diff to ensure the message matches the changes