endpoint-validator
Automates validation of MikoPBX API endpoints for schema compliance and parameter consistency.
Install
mkdir -p .claude/skills/endpoint-validator && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/6398" && unzip -o skill.zip -d .claude/skills/endpoint-validator && rm skill.zipInstalls to .claude/skills/endpoint-validator
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Валидация REST API эндпоинтов на соответствие OpenAPI схеме и консистентность параметров. Использовать при реализации эндпоинтов, ревью кода или перед слиянием изменений API.Key capabilities
- →Verifies DataStructure.php parameter definitions
- →Checks SaveRecordAction.php for 7-phase pattern compliance
- →Validates OpenAPI schema consistency
- →Generates API compliance reports
- →Tests strict schema validation modes
How it works
Runs regex and file parsing scripts against specific PHP files to verify structural adherence to a pattern.
Inputs & outputs
When to use endpoint-validator
- →Validate new API endpoints
- →Check DataStructure.php for consistency
- →Review API code before merging
- →Verify schema validation mode settings
About endpoint-validator
Validates DataStructure.php and SaveRecordAction.php files to ensure they meet MikoPBX coding standards and OpenAPI requirements. It checks for parameter completeness and proper implementation of the 7-phase action pattern.
Валидация REST API эндпоинтов на соответствие OpenAPI схеме и консистентность параметров. Использовать при реализации эндпоинтов, ревью кода или перед слиянием изменений API.
When not to use it
- →Non-MikoPBX codebases
- →Frontend-only code reviews
Prerequisites
Limitations
- →Limited to MikoPBX file naming conventions
- →Requires specific file location structure
How it compares
It programmatically enforces API design rules rather than relying on manual code review checklists.
Compared to similar skills
endpoint-validator side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| endpoint-validator (this skill) | 1 | 10mo | Review | Intermediate |
| php-best-practices | 15 | 2mo | No flags | Beginner |
| woocommerce-code-review | 6 | 4mo | No flags | Intermediate |
| php-pro | 13 | 5mo | No flags | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by mikopbx
View all by mikopbx →You might also like
php-best-practices
HoangNguyen0403
PHP best practices, PSR standards, and code quality guidelines.
woocommerce-code-review
woocommerce
Review WooCommerce code changes for coding standards compliance. Use when reviewing code locally, performing automated PR reviews, or checking code quality.
php-pro
sickn33
Write idiomatic PHP code with generators, iterators, SPL data structures, and modern OOP features. Use PROACTIVELY for high-performance PHP applications.
php-guidelines-from-spatie
freekmurze
Describes PHP and Laravel guidelines provided by Spatie. These rules result in more maintainable, and readable code.
woocommerce-backend-dev
woocommerce
Add or modify WooCommerce backend PHP code following project conventions. Use when creating new classes, methods, hooks, or modifying existing backend code. **MUST be invoked before writing any PHP unit tests.**
laravel-specialist
Jeffallan
Use when building Laravel 10+ applications requiring Eloquent ORM, API resources, or queue systems. Invoke for Laravel models, Livewire components, Sanctum authentication, Horizon queues.