orbit-pre-commit
CommunityFast commit validation for WordPress plugins
Authoradityaarsharma
Version1.0.0
Installs0
System Documentation
What problem does it solve?
The Orbit pre-commit hook solves the problem of manual code review and validation for WordPress plugins, ensuring code quality and security before every commit.
Core Features & Use Cases
- Code Linting: Checks for common PHP errors and issues in staged files.
- JSON Validation: Ensures JSON files are syntactically correct.
- Debug Detection: Identifies and blocks debug outputs like
var_dump,console.log, anddebugger. - API Version Warning: Warns if
block.jsonapiVersion is not up to date with WordPress version. - Use Case: Use this skill to maintain high code quality and security standards in your WordPress plugin development workflow.
Quick Start
Install the pre-commit hook for your plugin with the command: bash ~/Claude/orbit/scripts/install-pre-commit-hook.sh
Dependency Matrix
Required Modules
php
Components
scripts
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: orbit-pre-commit Download link: https://github.com/adityaarsharma/orbit/archive/main.zip#orbit-pre-commit Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 620,000+ vetted skills library on demand.