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

analyze-problem

01

pekral/cursor-rules

Skill Claude CodeCodex

Use when structured problem analysis for debugging, root cause identification, and breaking down complex issues before proposing solutions.

not rated 11 19d ago C 25 tokens original MIT

api-review

02

pekral/cursor-rules

Skill Claude CodeCodex

Use when reviewing HTTP API design in a PR or change set — endpoints, routes, HTTP methods, status codes, idempotency, and input validation. Treats the API as a consumer-facing contract and flags resource-orientation, method-semantics, status-code, and trust-boundary violations. Read-only.

not rated 11 19d ago A 66 tokens original MIT

article-writing

03

pekral/cursor-rules

Skill Claude CodeCodex

Use when writing articles, guides, blog posts, tutorials, newsletter issues, or other long-form content longer than a paragraph, especially when voice consistency, structure, and credibility matter. Produces polished prose in a distinctive voice derived from supplied examples or a default operator voice.

not rated 11 19d ago A 57 tokens original MIT

pekral/cursor-rules

Skill Claude CodeCodex

Use when checking that the pull request implementation actually fulfills the business requirements stated in the linked issue or task. Returns a plain-language markdown block that is the Functional review half of the two-part CR output (@rules/code-review/general.mdc Two-part CR output — Technical & Functional…

not rated 11 19d ago A 135 tokens original MIT

pekral/cursor-rules

Skill Claude CodeCodex

Use when you need an evidence-first, read-only inventory of every automation in this repo (GitHub Actions, Claude Code hooks/settings, MCP servers, composer scripts, the bundled CLI installer, the skills catalog, scheduler/cron) before changing any of them, classifying each as live, broken, or redundant and…

not rated 11 19d ago A 78 tokens original MIT

autonomous-loops

06

pekral/cursor-rules

Skill Claude CodeCodex needs its repo

Use when choosing how to run Claude Code autonomously on this project — from a single sequential pipeline to multi-agent DAG orchestration. A reference catalog of loop patterns anchored to this repo's real tooling (resolve-issue, code-review-github, process-code-review, merge-github-pr, /loop), with composer build /…

not rated 11 changed 18d ago A 80 tokens original MIT

pekral/cursor-rules

Skill Claude CodeCodex

Use when a goal is vague speed ("make it faster", "reduce p95", "cut query time") and you need a bounded, measured loop that promotes only verified, correctness-preserving wins instead of guessed micro-tweaks.

not rated 11 19d ago A 52 tokens original MIT

benchmark

08

pekral/cursor-rules

Skill Claude CodeCodex

Use when measuring performance baselines or detecting regressions before and after a change in a Laravel app — page Core Web Vitals, API latency percentiles, build/test velocity, and DB query timing, stored as git-tracked baselines for team comparison.

not rated 11 19d ago A 53 tokens original MIT

blueprint

09

pekral/cursor-rules

Skill Claude CodeCodex

Use when a single objective is too large for one pull request and must span multiple sessions or PRs. Turns the objective into a sequenced construction plan of 3-12 one-PR steps, each with a cold-start context brief, dependency edges, and exit criteria, then reviews it adversarially and registers it as Markdown.

not rated 11 19d ago A 70 tokens original MIT

class-refactoring

10

pekral/cursor-rules

Skill Claude CodeCodex

Use when refactor PHP classes to improve structure, readability, and maintainability while preserving behavior.

not rated 11 19d ago A 22 tokens original MIT

pekral/cursor-rules

Skill Claude CodeCodex

Use when cleaning up local Git branches after origin pruning. Deletes local branches whose upstream was deleted on origin (marked gone) and local branches with no origin counterpart that have been inactive for more than six months, while always protecting the current branch and the default branches. Previews every…

not rated 11 19d ago A 65 tokens original MIT

code-review-bugsnag

12

pekral/cursor-rules

Skill Claude CodeCodex

Use when run code review for a Bugsnag error and publish results to the linked GitHub PR and the Bugsnag error.

not rated 11 19d ago A 30 tokens original MIT

code-review-github

13

pekral/cursor-rules

Skill Claude CodeCodex

Use when perform code review for GitHub pull requests and post findings as PR comments plus a non-technical summary to every linked issue.

not rated 11 19d ago A 31 tokens original MIT

code-review-jira

14

pekral/cursor-rules

Skill Claude CodeCodex

Use when run code review for JIRA issues and publish results to GitHub PR and JIRA.

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

code-review

15

pekral/cursor-rules

Skill Claude CodeCodex

Use when senior PHP code review focused on architecture, business logic, and risk detection. Read-only.

not rated 11 19d ago A 23 tokens original MIT

pekral/cursor-rules

Skill Claude CodeCodex

Use when the user asks for an audit of the codebase or decides to refactor a part of it, and wants the cleanest achievable answer rather than a quick opinion. Runs a coordinator-driven, read-only sweep for materially useful simplifications in data structures, state representation, control flow, algorithms, and…

not rated 11 19d ago A 100 tokens original MIT

composer-update

17

pekral/cursor-rules

Skill Claude CodeCodex

Use when analyze composer update results, detect conflicts, and summarize changelogs of updated dependencies.

not rated 11 19d ago A 21 tokens original MIT

create-issue

18

pekral/cursor-rules

Skill Claude CodeCodex

Use when create a single issue from provided text without modifying its content.

not rated 11 19d ago A 17 tokens original MIT

pekral/cursor-rules

Skill Claude CodeCodex

Reads your pull request code review, verifies that all recommended test coverage is implemented in the codebase, and adds missing tests using the create-test skill. Use when a PR review already exists and missing tests must be completed with 100% coverage for current changes.

not rated 11 19d ago A 59 tokens original MIT

create-test

21

pekral/cursor-rules

Skill Claude CodeCodex

Use when create or update tests to ensure full coverage for current changes.

not rated 11 19d ago A 16 tokens original MIT

design-system

22

pekral/cursor-rules

Skill Claude CodeCodex needs its repo

Use when generating, auditing, or reviewing the visual design system of a Laravel app — Tailwind tokens, Filament theming, Blade/Livewire component consistency, and visual-polish audits.

not rated 11 19d ago A 42 tokens original MIT

docker-patterns

23

pekral/cursor-rules

Skill Claude CodeCodex needs its repo

Use when writing or reviewing Docker and docker-compose setups for a Laravel application — multi-stage PHP-FPM images, services (nginx, MySQL, Redis, queue worker, scheduler, Vite build), healthchecks, secrets, and image hardening.

not rated 11 19d ago A 55 tokens original MIT

e2e-testing

24

pekral/cursor-rules

Skill Claude CodeCodex needs its repo

Use when writing or stabilizing Playwright end-to-end browser tests against a Laravel app — but only when the project already has Playwright; otherwise defer to manual testing or Pest/Dusk.

not rated 11 19d ago A 43 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: