pekral/cursor-rules

PHP and Laravel Cursor rules — coding standards, testing, and conventions for the Cursor editor. Install via Composer.

This repository also configures its own agents. See what cursor-rules tells them →

11Stars on the repository
73Mods indexed here, across every type
19d agoLast push, which is what freshness is scored on
MITLicence, which decides whether bodies are shown

frontend-a11y

25

pekral/cursor-rules

Skill Claude CodeCodex

Use when building or reviewing accessible UI in a Laravel app — semantic Blade markup, accessible forms, keyboard navigation with Alpine, focus and live-region management for Livewire updates, contrast, and Filament accessibility.

not rated 11 19d ago A 46 tokens original MIT

pekral/cursor-rules

Skill Claude CodeCodex

Use when the work is not just making UI function but making it feel purposeful and polished — choosing a deliberate design direction for a Laravel/Blade/Livewire/Filament interface.

not rated 11 19d ago A 40 tokens original MIT

frontend-patterns

27

pekral/cursor-rules

Skill Claude CodeCodex

Use when building Livewire/Blade/Alpine UI in a Laravel app — component composition, state placement, performance, forms, and loading/empty/error states.

not rated 11 19d ago A 37 tokens original MIT

frontend-slides

28

pekral/cursor-rules

Skill Claude CodeCodex

Use when building standalone HTML/CSS/JS presentation slide decks — self-contained single-file decks with viewport-fit layout, keyboard navigation, and browser Print-to-PDF export.

not rated 11 19d ago A 38 tokens original MIT

git-workflow

29

pekral/cursor-rules

Skill Claude CodeCodex

Use when choosing a Git branching strategy or handling merge vs rebase, conflicts, stashing, undoing mistakes, and release tagging — complementing the commit/PR conventions in the git rules.

not rated 11 19d ago A 43 tokens original MIT

pekral/cursor-rules

Skill Claude CodeCodex

Use when reviewing authorization / access control in a Laravel project — find IDOR / broken object-level authorization (BOLA), audit which routes are unprotected, check policy / gate coverage, or sanity-check a new endpoint in a PR. Walks the authorization chain of every HTTP route (middleware → authorize/policy/gate…

not rated 11 19d ago A SkillSpector: warn 124 tokens original MIT

laravel-security

31

pekral/cursor-rules

Skill Claude CodeCodex

Use when building, configuring, or hardening security-sensitive Laravel features — authentication, authorization, Eloquent safety, CSRF/XSS, API security, file uploads, secrets, and production configuration. Provides condensed, copy-ready secure defaults for Laravel 11 / PHP 8.3.

not rated 11 19d ago A 61 tokens original MIT

laravel-telescope

32

pekral/cursor-rules

Skill Claude CodeCodex

Use when analyzing Laravel Telescope requests from URL and DB. Loads Telescope entries, matches the same request in database tables, and proposes practical optimizations.

not rated 11 19d ago A 34 tokens original MIT

pekral/cursor-rules

Skill Claude CodeCodex

Use when working on latency-sensitive Laravel paths — realtime dashboards, streaming, queues, caches, or execution gateways — where p95 latency and data freshness matter.

not rated 11 19d ago A 37 tokens original MIT

merge-github-pr

34

pekral/cursor-rules

Skill Claude CodeCodex

Use when safely merge GitHub pull requests that are ready.

not rated 11 19d ago A 16 tokens original MIT

mysql-patterns

35

pekral/cursor-rules

Skill Claude CodeCodex

Use when designing MySQL schema features or applying advanced MySQL patterns in Laravel — upserts, JSON columns, full-text search, partitioning, replication/read-write splitting, and deadlock handling — beyond the query tuning already in the SQL rules.

not rated 11 19d ago A 53 tokens original MIT

pekral/cursor-rules

Skill Claude CodeCodex

Use when analyze real MySQL query and schema problems using code inspection, schema review, and EXPLAIN when available.

not rated 11 19d ago A 29 tokens original MIT

penetration-tester

37

pekral/cursor-rules

Skill Claude CodeCodex

Use when the user explicitly requests a penetration test (pentest, ethical hacking, active exploitation, red-team assessment) against an authorized in-scope target — and only then. Runs a methodology-driven offensive assessment that validates exploitability with safe proofs of concept and delivers a risk-rated…

not rated 11 19d ago A 81 tokens original MIT

postgres-patterns

38

pekral/cursor-rules

Skill Claude CodeCodex

Use when designing PostgreSQL schema features or applying advanced Postgres patterns in Laravel — GIN/BRIN/partial/covering indexes, jsonb, ON CONFLICT upserts, SKIP LOCKED queue workers, cursor pagination, RLS, and timestamptz/numeric typing — beyond the query tuning already in the SQL rules.

not rated 11 19d ago A 73 tokens original MIT

pekral/cursor-rules

Skill Claude CodeCodex

Use when a large pull request should be merged and deployed in safe parts instead of all at once. Analyzes every commit in the PR, groups them into atomic logical units that each ship independently without downtime, orders the units by dependency and rollback risk, proposes squashes for a clean human-readable history…

not rated 11 19d ago A 97 tokens original MIT

pr-summary

40

pekral/cursor-rules

Skill Claude CodeCodex

Use when summarizing current PR changes for the development and product team. Analyzes all commits in the current branch, explains the purpose of changes, and produces a clear human-readable report that can be posted either as a GitHub PR comment (Markdown) or as a JIRA comment (Wiki Markup).

not rated 11 19d ago A 65 tokens original MIT

pekral/cursor-rules

Skill Claude CodeCodex

Use when preparing data and context before /resolve-issue, TDD, or CR runs. Loads the assignment, extracts every concrete user scenario from the task description and acceptance criteria, maps each scenario to the codebase, seeds the development database with the records needed to reproduce the bug or feature…

not rated 11 19d ago A 81 tokens original MIT

process-code-review

42

pekral/cursor-rules

Skill Claude CodeCodex

Use when processing pull request code review feedback. Finds the latest PR for a task, resolves review comments, updates review status, and triggers the next review cycle.

not rated 11 19d ago A SkillSpector: warn 36 tokens original MIT

product-capability

43

pekral/cursor-rules

Skill Claude CodeCodex

Use when a PRD or product intent is clear but the implementation constraints are not — turns a vague capability ask into an engineering-ready plan that exposes invariants, interfaces, and unresolved decisions before any code is written.

not rated 11 19d ago A 47 tokens original MIT

production-audit

44

pekral/cursor-rules

Skill Claude CodeCodex

Use when asked whether a change or app is production-ready, what could break in production, or for a ship/block decision before a release — assess readiness from cheap local git, code, CI, and config evidence and return a scored verdict with specific fixes.

not rated 11 19d ago A 55 tokens original MIT

pekral/cursor-rules

Skill Claude CodeCodex

Use when a task has converged (end of resolve-issue, process-code-review, or the final orchestrator report) and a durable, reusable lesson was learned. Distils only the lessons that clear a strict promotion bar and appends them — after a dedup/supersede/prune curation pass — to the per-project compound memory file…

not rated 11 19d ago A 86 tokens original MIT

redis-patterns

46

pekral/cursor-rules

Skill Claude CodeCodex

Use when using Redis in a Laravel app — caching strategies, atomic/distributed locks, rate limiting, stampede protection, pub/sub, pipelines, and key/TTL design beyond raw query tuning.

not rated 11 19d ago A 43 tokens original MIT

pekral/cursor-rules

Skill Claude CodeCodex

Use when refactoring controller, job, command, listener, or Livewire entry-point logic into a dedicated Action class while preserving behavior and response contracts.

not rated 11 19d ago A 37 tokens original MIT

refresh-claude-md

48

pekral/cursor-rules

Skill Claude CodeCodex

Use when the project's CLAUDE.md is stale or missing and must be regenerated from the current codebase — re-detect tech stack, commands, conventions, and structure, then update CLAUDE.md while preserving every human-authored customization. Adapted from the ECC codebase-onboarding skill.

not rated 11 19d ago A 66 tokens original MIT

At most 3 mods per repository are shown here, and a mod shipped inside a plugin is left to that plugin's page — the rest are on their repository pages: