agentsclimarketplace

Pre commit

Skill undeadlist/claude-code-agents/skills/pre-commit

Run code quality checks and tests before committingFrom its SKILL.md

Install
npx -y skills add undeadlist/claude-code-agents --skill pre-commit

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

SKILL.md

0.9 KB, as published. Nobody here has run it

Pre-Commit Workflow

Run before every commit to catch issues early.

Execution (Sequential)

Step 1: Code Audit

Spawn code-auditor on staged/changed files:

  • Check for any types, empty catch blocks, console.logs, obvious bugs
  • Focus only on files being committed

Step 2: Test Run

Spawn test-runner:

  • Run the full test suite
  • Report any failures

Step 3: Decision

  • All pass -> "Ready to commit"
  • Any fail -> "Fix before committing" with specific issues listed

Expected Output

# Pre-Commit Check

## Status: PASS / FAIL

### Code Quality
- [x] No new `any` types
- [x] No empty catch blocks
- [x] No console.logs in production code

### Tests
- [x] All tests pass
- [x] No regressions

## Verdict
Ready to commit / Fix issues first

Keep looking

Skills are one crate of 621,573. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.