dokan-code-review
OfficialAudit Dokan code for standards and security.
Authorgetdokan
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Review Dokan code changes and pull requests for coding standards, security practices, and architectural compliance. Use when reviewing PRs, performing code audits, or checking code quality.
Core Features & Use Cases
- Architecture & Structure: REST controllers must extend Dokan base controllers and use prepare_item_for_response, not WP_REST_Controller directly.
- Naming & Conventions: Enforce snake_case methods/variables, proper namespaces under WeDevs\Dokan, and dokan-lite text domain; ensure dokan_ prefix on all hooks.
- Security: Require permission callbacks on all REST routes, sanitize inputs, escape outputs, and use prepared statements for dynamic SQL.
- Documentation: Require @since tags and PHPDoc on methods/hooks/filters.
Quick Start
Run a review of a Dokan PR focusing on REST patterns, security callbacks, and naming conventions.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 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: dokan-code-review Download link: https://github.com/getdokan/dokan/archive/main.zip#dokan-code-review 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 223,000+ vetted skills library on demand.