Skip to content
Agentmart
Submit a tool

repo-health--helpers

INTERNAL SUBSKILL of repo-health.

Skill by handbrianc

IndexedMIT
Write a review

Chalk Labs

Need help deploying repo-health--helpers?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/handbrianc-repo-health-helpers

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

INTERNAL SUBSKILL of repo-health. Grading rubric and script reference for the repo-health audit. Not for direct invocation.

Use cases: security

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md and code. Checked Nov 2, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/repo-health-helpers

What's inside

Skill name
repo-health--helpers
Description
INTERNAL SUBSKILL of repo-health. Grading rubric and script reference for the repo-health audit. Not for direct invocation.
License
MIT
Instructions
186 lines in SKILL.md · view on GitHub

Agent Skills spec issues

  • name: only lowercase letters, digits and single hyphens allowed

Files (1)

  • SKILL.md

SKILL.md (first lines)

# repo-health Helpers

Internal reference data for the repo-health audit orchestrator. This subskill is callable only by the orchestrator.

## Scripts Directory

```text
skills/repo-health/scripts/
├── audit-dependency-usage.sh     # Import-graph dependency audit
├── check-doc-links.sh            # Link-rot checker for markdown docs
├── compare-specs.sh              # Archived vs current spec comparator
├── detect-dead-code.sh           # Static dead-code detector
├── find-duplicates.sh            # Text-similarity duplicate finder
├── find-uncovered.sh             # Uncovered line finder
├── fix-doc-links.sh              # (FIX) Check + report broken doc links
├── fix-env-example.sh            # (FIX) Generate/update .env.example
├── fix-lint.sh                   # (FIX) Auto-fix lint violations
├── fix-rollback.sh               # (FIX) Snapshot rollback + regression detection
├── install-missing-tools.sh      # (INSTALL) OS-agnostic tool installer
├── parse-test-results.sh         # Test output parser
├── run-scan-suite.sh             # Master script — runs all deterministically
├── scan-12factor.sh              # Twelve-Factor App compliance checks
├── scan-cognitive-complexity.sh  # Cyclomatic+cognitive metric scanner
├── scan-complexity.sh            # Cyclomatic complexity + duplication analysis
├── scan-docs.sh                  # Documentation inventory and accuracy
├── scan-environment.sh           # Tool detection + transient file inventory
├── scan-licenses.sh              # SPDX license risk assessor
├── scan-linters.sh               # Multi-language linter detection and run
├── scan-sbom.sh                  # SBOM generation and license compliance
├── scan-security.sh              # Vulnerability scan, SAST, secrets, credentials
├── scan-secrets.sh               # Secret/credential scanner
├── scan-setup.sh                 # Project discovery and spec inventory
├── scan-tech-debt.sh             # Technical debt profile analysis
└── scan-tests.sh                 # Test suite health checks

lib/
├── common.sh                     # Shared library (sourced by all scan scripts)
└── fix-common.sh                 # Shared library (sourced by all fix scripts)
```text

Scan scripts accept `$1` as target directory. Exceptions: `scan-licenses.sh` (SBOM file path), `parse-test-results.sh` (test output file), `find-uncovered.sh` (coverage report path).

Fix scripts accept `--dry-run` for safe preview. `fix-rollback.sh` accepts `--list`, `--restore`, `--check`, `--clean` subcommands.

## Determinism Guarantee

1. Always operate on committed HEAD
2. Pin all tool versions in `package.json`'s `engines` or `.nvmrc`/`.python-version`
3. Capture environment with version commands
4. Log scanner stderr separately
5. Reproducibility: running twice against same commit → identical findings

If a finding cannot be deterministically reproduced, mark it `[NON-DETERMINISTIC — CONFIRM MANUALLY]`.

## Grading Rubric

### ⚠️ NITPICK-Aware Scoring (MANDATORY)

The grade is computed against **ACTIONABLE findings only**. NITPICK-classified findings MUST
be excluded from deductions. This prevents the grade from being misleading — a project
with only cosmetic NITPICK findings scores 100/100 (A), not 89/100 (B) or worse.

### Scoring Deductions (ACTIONABLE findings only)

| Finding Type | Points Deducted |
| --- | --- |
| CRITICAL (ACTIONABLE) | -25 |
| HIGH (ACTIONABLE) | -10 |
| MEDIUM (ACTIONABLE) | -3 |
| LOW (ACTIONABLE) | -1 |

**NITPICK findings (regardless of original severity) are NOT deducted.** See the
NITPICK test below for classification rules.

### Bonuses

| Condition | Points Added |
| --- | --- |
| Clean test run (0 failed/errors) | +5 |
| Line coverage >= 80% | +3 |
| Line coverage >= 90% | +3 (additional, stacks with >=80%) |
| Zero CRITICAL findings (ACTIONABLE only) | +2 |
| Zero HIGH findings (ACTIONABLE only) | +2 |
| Linter configured and clean (0 violations on source AND test code) | +2 |
| Type checker (tsc/mypy) configured and passing | +1 |
| Zero 12-Factor FAIL findings (actionable) | +2 |
| All 12-Factor factors PASS or N/A with rationale | +3 |

### Grade Computation

```text
1. COUNT actionable findings by severity:
     C = count of CRITICAL findings classified ACTIONABLE
     H = count of HIGH findings classified ACTIONABLE
     M = count of MEDIUM findings classified ACTIONABLE
     L = count of LOW findings classified ACTIONABLE

2. COMPUTE deductions:
     POINTS = 100
     POINTS -= (C × 25) + (H × 10) + (M × 3) + (L × 1)

3. ADD bonuses (each applies at most once):
     POINTS += BONUSES as applicable

4. CLAMP to valid range:
     POINTS = max(POINTS, 0)
     POINTS = min(POINTS, 100)

5. MAP to letter grade:
     GRADE = POINTS >= 90 ? "A"
           : POINTS >= 70 ? "B"
           : POINTS >= 50 ? "C"
           : POINTS >= 25 ? "D"
           : "F"

6. OUTPUT:
     **Overall Grade:** {GRADE} ({POINTS}/100)
     **Actionable:** C CRITICAL, H HIGH, M MEDIUM, L LOW
     **NITPICK:** N findings excluded from grade

From handbrianc/skill-library, MIT.

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Sep 27, 2026 (1 month ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get repo-health--helpers running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying repo-health--helpers?

CallGet help
Cite this page

repo-health--helpers skill. Agent Mart. https://agentmart.dev/skills/handbrianc-repo-health-helpers (last updated 2026-10-24)