mirror of
https://github.com/dnlbauer/dotfiles.git
synced 2026-09-11 05:55:29 +00:00
feat: add claude commands
This commit is contained in:
27
dot_claude/commands/check.md
Normal file
27
dot_claude/commands/check.md
Normal file
@@ -0,0 +1,27 @@
|
||||
# Check
|
||||
|
||||
Perform comprehensive code quality checks and tests.
|
||||
Do not make any code changes during this process.
|
||||
|
||||
Exception: Fixing lint errors, type errors, formatting issues and failing unit tests.
|
||||
|
||||
## Common Checks Include
|
||||
|
||||
1. **Linting**: Code style and syntax errors
|
||||
2. **Type Checking**: Type errors
|
||||
3. **Unit Tests**: Unit and integration tests
|
||||
4. **Security Scan**: Vulnerability scan
|
||||
5. **Code Formatting**: Style consistency
|
||||
6. **Build Verification**: Compilation errors
|
||||
|
||||
## Process
|
||||
|
||||
1. Run the check command.
|
||||
2. Analyze output for errors and warnings
|
||||
3. Fix issues in priority order:
|
||||
- Build-breaking errors first
|
||||
- Test failures
|
||||
- Linting and type errors
|
||||
- Warnings
|
||||
4. Re-run checks after applying a fix
|
||||
5. Continue until all checks pass
|
||||
Reference in New Issue
Block a user