baphled/dotopencode/check-compliance
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Checking that the SKILL.md file is still in the repository.
Run full compliance checks before and after changes
Install
npx vskill@latest install baphled/dotopencode/check-complianceSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
Skill: check-compliance
What I do
I ensure all code changes meet project standards for quality, security, and licensing before they reach the repository. I enforce a "verify before you commit" discipline that prevents broken builds and security regressions.
When to use me
- Before staging changes for a new commit
- After finishing a feature or bug fix to verify integration
- When a pre-commit hook fails and requires manual investigation
- To ensure local environments match CI/CD gate requirements
Core principles
- Local verification first — Never rely on CI to catch basic formatting or linting errors.
- Comprehensive coverage — Checks must include linting, formatting, unit tests, and security scans.
- Fail fast — Stop the commit process immediately if any check fails.
- No bypass — Avoid --no-verify unless in an extreme emergency with stakeholder approval.
Patterns & examples
Compliance check sequence:
- Linting: Static analysis to catch syntax and logic errors (e.g. eslint, golangci-lint).
- Formatting: Ensure consistent code style (e.g. prettier, gofmt).
- Security: Scan for secrets and vulnerable dependencies (e.g. gitleaks, npm audit).
- Testing: Run the local test suite to ensure no regressions.
Standard Makefile implementation:
Pre-commit hook configuration (.pre-commit-config.yaml):
Anti-patterns to avoid
- ❌ Committing with failures — Fixing "later" leads to broken main branches and technical debt.
- ❌ Inconsistent local/CI checks — If it passes locally but fails in CI, the local checks are incomplete.
- ❌ Manual-only checks — If checks aren't automated via a command or hook, they won't be run consistently.
KB Reference
~/vaults/baphled/3. Resources/Knowledge Base/AI Development System/Skills/Code-Quality/Check Compliance.md
Related skills
static-analysis— Deep analysis of code quality and logicdependency-management— Scanning for vulnerable third-party packagessecurity— Secure coding practices and input validationbdd-workflow— Running behavioural tests as part of compliance
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/check-compliance/SKILL.md
Popularity
- Repository stars
- 1
- Repository forks
- 1
- 7-day trend score
- 8
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Extension points
hookPre/post lifecycle hooks
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/baphled/dotopencode/check-compliance)