unopim-code-review

Review code changes against UnoPim coding standards and conventions.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "unopim-code-review" with this command: npx skills add unopim/unopim/unopim-unopim-unopim-code-review

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 /@return annotations

  • Verbose docblocks (keep concise, one line ideal)

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 beforeEach login 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

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]

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

unopim-plugin-dev

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

unopim-dev-cycle

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

unopim-backend-dev

No summary provided by upstream source.

Repository SourceNeeds Review
General

unopim-git

No summary provided by upstream source.

Repository SourceNeeds Review