frontend-pragmatic-architecture
Use this skill for frontend structure that stays feature-oriented and avoids UI spaghetti.
Preferred shape
- pages/screens for routing
- feature folders for behavior
- shared UI components separated from feature logic
- feature-local hooks/api/types when possible
Good default folders
app/pages/orroutes/features/components/ui/shared/
Read references when needed
references/folder-structure.mdreferences/rules.md
More from masterfermin02/agent-skills
laravel-money
Use the cknow/laravel-money package for Laravel projects that need to model, persist, cast, format, compare, or calculate money safely. Trigger when working on Laravel apps that handle currency, prices, totals, invoices, billing, checkout, discounts, taxes, balances, monetary casts, or any request mentioning money handling, currency formatting, integer minor units, Money value objects, or 'laravel-money'. Prefer this over raw floats for monetary values in Laravel.
2unit-testing
Write, review, and improve unit tests using best practices. Framework-agnostic — applies to any language or test framework (xUnit, Jest, PHPUnit, Pest, JUnit, etc.). Use when writing new unit tests, reviewing existing tests for quality, refactoring fragile or brittle tests, choosing between mocks/stubs/fakes/spies, naming tests, structuring test files, identifying anti-patterns, generating test doubles, or applying patterns like AAA, Object Mother, Builder, or Assert Object. Also triggers on phrases like generate tests for this code, my tests are brittle, tests keep breaking, how do I mock this, what is the difference between mock and stub, write a test for, add tests to, test coverage, unit test this, improve my tests, tests are hard to maintain.
1pr-review
Code review GitHub Pull Requests. Use whenever asked to review a PR, check a pull request, audit a diff, or give feedback on a GitHub PR. Triggers on: 'review this PR', 'code review', 'check this PR', 'review pull request', GitHub PR URLs (github.com/.../pull/NNN), or any request to audit code changes. Supports private repos via GitHub token. Delegates to language-specific skills (laravel-best-practices, csharp-best-practices, php-the-right-way) when applicable.
1php-update-with-rector
>
1ai-era-architecture
Define pragmatic software architecture for the AI era using rules like making important logic easy to find, keeping changes local, reducing coupling where it matters, protecting critical business rules, making debugging less painful, supporting safe iteration, and avoiding unnecessary ceremony. Use when designing project structure, evaluating whether clean architecture is worth it, or setting architecture principles for modern teams.
1php-the-right-way
PHP best practices skill based on phptherightway.com. Use whenever writing, reviewing, or refactoring PHP code to ensure it follows modern PHP standards and idioms. Triggers on: writing PHP code, reviewing PHP files, asking about PHP best practices, PHP code style (PSR-1/PSR-12/PSR-4), PHP OOP patterns, namespaces, Composer, dependency management, security (XSS, CSRF, SQL injection, password hashing), error handling, testing (PHPUnit/Pest), templating, databases, design patterns (Factory, Singleton, MVC, Strategy), functional PHP, or any question about 'the right way' to do something in PHP.
1