Unopim code review
Code review for UnoPim. Activates when reviewing code changes, checking standards compliance, flagging violations, or performing PR reviews; or when the user mentions review, standards, conventions, best practices, violations, or code quality.From its SKILL.md
npx -y skills add unopim/agent-skills --skill unopim-code-reviewAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its file declares
Copied from the file, not written here
The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.
SKILL.md
3.4 KB, 695 tokens by cl100k_base, as published. Nobody here has run it
UnoPim Code Review
Review code changes against UnoPim coding standards and conventions.
Critical Violations to Flag
Backend PHP Code
Consult the unopim-backend-dev skill for detailed standards. Flag these violations:
Architecture & Structure:
- Missing Concord proxy model for new Eloquent models
- Repository not extending
Webkul\Core\Eloquent\Repository - Code placed outside the correct
packages/Webkul/{Package}/src/directory - Missing interface/contract for new models
- Direct
new Model()instantiation instead of using repository pattern
Naming & Conventions:
- Class names not in PascalCase
- Methods/variables not in camelCase
- Event names not following
{domain}.{entity}.{action}.{before|after}pattern - Route names not following dot-separated convention
- Missing namespace declaration
Documentation:
- Missing docblocks on public/protected methods
- Missing
@param/@returnannotations - Verbose docblocks (keep concise, one line ideal)
- Inline comments that narrate what the code does (the code already says it — delete them)
- Multi-line comment blocks / essays inside a method body (move a genuine why to the PHPDoc, one line)
- Section-divider comments inside methods (
// Views,// Credentials,// ----)
Data Integrity:
- Missing validation before data modification
- Using
$guarded = []on models - Missing CSRF protection on POST/PUT/DELETE routes
- Unsanitized user input in queries
- Missing ACL checks on admin routes
Testing:
- No tests for new functionality
- Tests missing
beforeEachlogin setup - Missing database assertions (
assertDatabaseHas/assertDatabaseMissing) - Test not following Pest
it()/describe()pattern
Service Provider:
- Missing route loading in
boot() - Missing config merges in
register()(menu, acl, importers, exporters) - Missing migration loading
- Missing translation/view namespace registration
Frontend Code
- Missing
<x-admin::component usage (using raw HTML instead) - Vue components not following project patterns
- Missing translations (
@lang()/trans()) - Hardcoded strings in UI — including dropdown placeholder
<option>text,title=""tooltips, JS alert/error messages, and "Loading…" / "No results" status text. Every user-visible string must be a translation key (see unopim-backend-dev/coding-conventions.md → "Translations" section) - Translation key added to
en_US/app.phponly — must propagate to all 32 other locales with natural translations (not English copies); verify withphp artisan unopim:translations:checkshowing 100% per locale
Review Approach
- Scan for critical violations listed above
- Cite specific skill files when flagging issues
- Provide correct examples from the skill documentation
- Group related issues for clarity
- Be constructive — explain why the standard exists
Output Format
For each violation found:
[Issue Type]: [Specific problem]
Location: [File path and line number]
Standard: [Link to relevant skill file]
Fix: [Brief explanation or example]
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.