All skills
Skillintermediate
Repository Health Verification Protocol
This command outlines a comprehensive protocol for verifying and maintaining a repository's health.
Claude Code Knowledge Pack7/10/2026
Overview
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.