
asyrafhussin/agent-skills
5 skills5.7k installs210 starsGitHub
Install
npx skills add https://github.com/asyrafhussin/agent-skillsSkills in this repo
1Php Best PracticesPHP Best Practices is an agent skill for solo and indie builders maintaining Laravel, Symfony, or custom PHP backends who want reviews grounded in the runtime they actually ship. Before any recommendation it instructs the agent to read composer.json and php -v so advice never suggests PHP 8.3 enums on a ^8.1 project. The body organizes fifty-one rules around the modern type system, PSR coding style, and SOLID structure, with explicit version gates from 8.0 constructor promotion through 8.2 readonly classes and beyond. Invoke during pull-request review, pre-release audits, or when refactoring legacy PHP toward strict types. It complements generic code-review skills by encoding PHP-community conventions rather than language-agnostic linting. Outputs are actionable findings tied to rule categories, not a formatter replacement.1.9kinstalls2React Vite Best PracticesReact + Vite Best Practices is a version 2.0 MIT reference skill that gives solo builders and agent-assisted teams a prioritized checklist for React apps on Vite—not generic React advice divorced from the bundler. Six sections span build optimization, code splitting, development server performance, assets, environment configuration, and bundle analysis, totaling 23 rules with explicit impact tiers so agents fix CRITICAL items first. Expect guidance on manual chunk splitting, minification choices, sourcemaps, tree shaking, content hashing, route and component-level lazy loading, Suspense placement, heavy library dynamic imports, optimizeDeps, and Fast Refresh pitfalls. Use during initial Vite scaffolding, before first production deploy, or when Lighthouse or bundle reports show regressions. The skill is a checker-style rule catalog agents can walk file-by-file against vite.config and route structure, aligned with official Vite, React, and Rollup documentation links in the source.1.5kinstalls3Laravel Best Practiceslaravel-best-practices is a comprehensive agent-oriented guide for solo and indie builders shipping Laravel 13 applications on PHP 8.3+. It encodes community conventions as 31 rules sorted into seven categories—from critical architecture and database patterns through high-priority controllers, validation, and requests, down to incremental performance tweaks. Each rule explains why it matters, shows wrong versus right implementations, and cites impact so your agent does not reinvent anti-patterns during greenfield APIs or SaaS backends. You invoke it when scaffolding modules, reviewing generated PHP, or tightening Eloquent usage before production. It complements generic PHP linting by teaching Laravel-specific structure: dedicated service classes, form request validation, eager loading against N+1 queries, and API resources for consistent JSON. The skill is documentation-heavy procedural knowledge, not a live integration; expect the agent to apply rules inline while editing your repo. Advanced builders maintaining multi-tenant or high-traffic apps benefit most when they want opinionated Laravel 13 alignment without hiring a senior reviewer for every PR.995installs4Laravel Inertia ReactLaravel Inertia React packages opinionated patterns for solo builders shipping a modern monolith: server-driven routing and validation from Laravel, SPA-like navigation from Inertia, and React for UI. The skill splits guidance into six categories, elevating page components and forms to CRITICAL priority because most bugs and UX regressions concentrate there. Agents reference it when creating pages, wiring useForm submissions, configuring shared props, preserving scroll, or handling flash and validation messages consistently. It also covers Head metadata for SEO-facing pages, layout persistence, and TypeScript interfaces that extend Inertia’s PageProps. You still need a running Laravel app with Inertia middleware configured; the skill does not replace official docs but compresses recurring decisions into enforceable rules your agent can apply file by file.717installs5Clean Code Principlesclean-code-principles packages mature software craftsmanship for agent-assisted development. Solo builders install it when they want consistent architecture feedback without binding to one language linter. The skill encodes SOLID tenancy, core principles like DRY and YAGNI, and selected patterns with prioritized sections so agents surface CRITICAL issues first during reviews or refactors. It activates on natural phrases such as review architecture, code smells, and best practices, making it useful long after the first scaffold—during Build when shaping modules, Ship when reviewing diffs, and Operate when paying down debt. Because guidance is procedural rather than tool-specific, it complements formatter and test skills instead of replacing them. Expect opinionated design teaching aimed at maintainable SaaS, API, and CLI codebases maintained by one person wearing many hats.664installs