1.2 KiB
1.2 KiB
description, author, author-url, version
| description | author | author-url | version |
|---|---|---|---|
| Sets up and manages Husky Git hooks by configuring pre-commit hooks, establishing commit message standards, integrating with linting tools, and ensuring code quality on commits. | evmts | https://github.com/evmts | 1.0.0 |
Repository Health Verification Protocol
This command outlines a comprehensive protocol for verifying and maintaining a repository's health.
Key Goals
- Verify repo is in a working state
- Run CI checks
- Fix any identified issues
- Prepare files for staging
Main Steps
- Update dependencies with
pnpm i - Run linter checks
- Verify builds and types
- Run test coverage
- Sort package.json
- Lint packages
- Double-check all previous steps
- Stage files (avoiding git submodules)
Error Handling Protocol
- Explain why something broke
- Propose and implement a fix
- Check for similar issues elsewhere
- Clean up debugging code
Important Guidelines
- Never commit, only stage files
- Run tests package-by-package
- Be willing to make necessary fixes
- Use typescript and tests as safeguards
The document emphasizes a methodical approach to maintaining code quality and resolving issues systematically.