---
title: "Repository Health Verification Protocol"
description: "This command outlines a comprehensive protocol for verifying and maintaining a repository's health."
type: skill
canonical_url: https://claudary.paisolsolutions.com/skills/husky-1
source: "Claudary"
difficulty: intermediate
author: "Claude Code Knowledge Pack"
date: 2026-07-10T11:25:17.039Z
license: CC-BY-4.0
attribution: "Repository Health Verification Protocol — Claudary (https://claudary.paisolsolutions.com/skills/husky-1)"
---

# Repository Health Verification Protocol
This command outlines a comprehensive protocol for verifying and maintaining a repository's health.

## Overview

---
description: 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.
author: evmts
author-url: https://github.com/evmts
version: 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
1. Update dependencies with `pnpm i`
2. Run linter checks
3. Verify builds and types
4. Run test coverage
5. Sort package.json
6. Lint packages
7. Double-check all previous steps
8. Stage files (avoiding git submodules)

## Error Handling Protocol
1. Explain why something broke
2. Propose and implement a fix
3. Check for similar issues elsewhere
4. 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.

---

Source: [Claudary](https://claudary.paisolsolutions.com/skills/husky-1) · https://claudary.paisolsolutions.com
