petrvs-backend-laravel

Official

Safely evolve Petrvs Laravel backends

Authorgestaogovbr
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps teams implement, refactor, debug, and review a Petrvs backend built with Laravel by providing consistent, tenant-aware development and verification guardrails.

Core Features & Use Cases

  • Backend-focused workflow: Guides how to inspect affected code, choose the right reference (commands, testing, repository pattern, PHPStan, SIAPE), and keep changes aligned with existing Laravel architecture.
  • Separation of responsibilities: Keeps controllers focused on request/response while moving business logic to Services and collaborators, using contracts, DTOs, validators, jobs, policies, resources, and repositories where the codebase already follows those patterns.
  • Tenant and security safety: Preserves tenant context and log/audit behavior, and flags sensitive areas such as authorization, tenant isolation, CPF/personal data handling, SIAPE payloads, SQL usage, mass assignment, and downloads.
  • Correct verification loop: Encourages adding/adjusting Pest tests (with clear suite choice) and running PHPStan on the altered paths to confirm correctness.

Quick Start

Use this skill to guide a backend Laravel change by first reading AGENTS.md files, inspecting the targeted code, choosing the most relevant references, then updating Services/repositories/DTOs with tenant-aware behavior and verifying the result with the narrower Pest suite and a PHPStan run on the modified paths.

Dependency Matrix

Required Modules

None required

Components

references

💻 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: petrvs-backend-laravel
Download link: https://github.com/gestaogovbr/pgd-petrvs-publico/archive/main.zip#petrvs-backend-laravel

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.