baphled/dotopencode/check-compliance

Trust tier 3
  • community
  • ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Source check pending

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-compliance

Semi-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

  1. Local verification first — Never rely on CI to catch basic formatting or linting errors.
  2. Comprehensive coverage — Checks must include linting, formatting, unit tests, and security scans.
  3. Fail fast — Stop the commit process immediately if any check fails.
  4. No bypass — Avoid --no-verify unless in an extreme emergency with stakeholder approval.

Patterns & examples

Compliance check sequence:

  1. Linting: Static analysis to catch syntax and logic errors (e.g. eslint, golangci-lint).
  2. Formatting: Ensure consistent code style (e.g. prettier, gofmt).
  3. Security: Scan for secrets and vulnerable dependencies (e.g. gitleaks, npm audit).
  4. Testing: Run the local test suite to ensure no regressions.

Standard Makefile implementation:

makefile
check-compliance:
@echo "Running compliance checks..."
@npm run lint
@npm run format:check
@npm test
@gitleaks detect --source .

Pre-commit hook configuration (.pre-commit-config.yaml):

yaml
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- repo: https://github.com/gitleaks/gitleaks
rev: v8.18.0
hooks:
- id: gitleaks

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 logic
  • dependency-management — Scanning for vulnerable third-party packages
  • security — Secure coding practices and input validation
  • bdd-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

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/baphled/dotopencode/check-compliance/badge)](https://verified-skill.com/skills/baphled/dotopencode/check-compliance)

Something wrong with this skill or its page? Tell us.