agentleFS
AlizHarbAlizHarb/agent-skills/skills/review-feature/SKILL.md

review-feature

Skill1 starsChanged 5 months agoMITView on GitHub

Use when reviewing a Laravel feature for architecture, authorization, validation, testing, API readiness, performance, security, and maintainability.

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

7 rules. About 0 are common, 6 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill for code review, pre-merge review, AI-generated feature review, or refactor assessment.

    line 13
  2. Distinctive:

    Check authorization and validation.

    line 24
  3. Very specific:

    Check dependency injection and flag unnecessary app() or service-locator usage.

    line 25
  4. Distinctive:

    Check whether Laravel 13 and PHP 8.3+ attributes would make framework metadata clearer.

    line 26
  5. Distinctive:

    Check error handling, API readiness, performance, security, and maintainability.

    line 27
  6. Distinctive:

    Check tests for success, failure, authorization, validation, and regression paths.

    line 28
  7. Distinctive:

    Treat missing authorization, unsafe input, sensitive data exposure, and unsafe external calls as high priority.

    line 52

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Review Feature

When To Use

Use this skill for code review, pre-merge review, AI-generated feature review, or refactor assessment.

Inputs Needed

  • Changed files, intended behavior, routes, clients, data model, risks, and test results.

Workflow

  1. Understand the intended behavior.
  2. Inspect changed files and adjacent conventions.
  3. Check architecture boundaries.
  4. Check authorization and validation.
  5. Check dependency injection and flag unnecessary app() or service-locator usage.
  6. Check whether Laravel 13 and PHP 8.3+ attributes would make framework metadata clearer.
  7. Check error handling, API readiness, performance, security, and maintainability.
  8. Check tests for success, failure, authorization, validation, and regression paths.
  9. Report findings by severity with file and line references.

Files That May Be Created

  • None unless asked to fix findings.

Files That May Be Modified

  • None during review-only work.

Architecture Rules

  • Controllers, Livewire, routes, Blade, and models stay thin.
  • Business logic lives in reusable classes.
  • Dependencies are injected unless the code is at a framework boundary.
  • Attributes express metadata; they do not hide business behavior.

Testing Requirements

  • Identify missing tests and risky untested paths.

Security Requirements

  • Treat missing authorization, unsafe input, sensitive data exposure, and unsafe external calls as high priority.

Review Checklist

  • Architecture compliance.
  • Authorization.
  • Validation.
  • Testing.
  • Error handling.
  • API readiness.
  • Performance.
  • Security.
  • Maintainability.
  • Dependency injection.
  • Modern Laravel/PHP feature usage.

Common Mistakes

  • Leading with style before correctness.
  • Ignoring failure paths.
  • Accepting duplicated client-layer logic.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.