Sub-skill of clean-code: Pre-commit Integration.
Scanned 9/9/2026
Install to Claude Code
npx -y skills add vamseeachanta/workspace-hub --skill pre-commit-integration --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Pre Commit Integration?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/vamseeachanta-pre-commit-integration)More formats (shields.io, HTML) on the badges page.
---
name: clean-code-pre-commit-integration
description: 'Sub-skill of clean-code: Pre-commit Integration.'
version: 2.1.0
category: workspace
type: reference
scripts_exempt: true
---
# Pre-commit Integration
## Pre-commit Integration
Add to `.pre-commit-config.yaml` to catch new violations before they land:
```yaml
repos:
- repo: local
hooks:
- id: file-size-check
name: Python file size check (400 line limit)
language: system
entry: bash -c 'find src/ -name "*.py" -exec wc -l {} + | awk "$1 > 400 {print $1, $2; found=1} END {exit found+0}" | sort -rn'
pass_filenames: false
types: [python]
- id: validate-file-placement
name: Validate file placement
language: system
entry: bash scripts/operations/validate-file-placement.sh
pass_filenames: false
```
---
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!
Use this skill when developing or maintaining browser extension code in the `browser/` directory, including Chrome/Firefox/Edge compatibility, content scripts, background scripts, or i18n updates.