pekral/cursor-rules

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

6Stars on the repository
60Mods indexed here, across every type
7d 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.

6 7d 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.

6 7d 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.

6 7d 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…

6 7d 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…

6 7d ago A 78 tokens original MIT

autonomous-loops

06

pekral/cursor-rules

Skill Claude CodeCodex

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, autoresolve-oldest-github-issue, code-review-github, process-code-review…

6 7d ago A 89 tokens original MIT

pekral/cursor-rules

Skill Claude CodeCodex

Use when autonomously resolving the oldest open GitHub issue end-to-end. Picks the oldest open issue (optionally filtered by label, default ResolvebyAI), delegates resolution to resolve-issue, then runs code-review-github, process-code-review, and merge-github-pr on the resulting pull request. Stops and reports any…

6 7d ago A 103 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.

6 7d ago A 52 tokens original MIT

benchmark

09

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.

6 7d ago A 53 tokens original MIT

blueprint

10

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.

6 7d ago A 70 tokens original MIT

class-refactoring

11

pekral/cursor-rules

Skill Claude CodeCodex

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

6 7d 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…

6 7d ago A 65 tokens original MIT

code-review-bugsnag

13

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.

6 7d ago A 30 tokens original MIT

code-review-github

14

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.

6 7d ago A 31 tokens original MIT

code-review-jira

15

pekral/cursor-rules

Skill Claude CodeCodex

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

6 7d ago A 24 tokens original MIT

code-review

16

pekral/cursor-rules

Skill Claude CodeCodex

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

6 7d 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…

6 7d ago A 100 tokens original MIT

composer-update

18

pekral/cursor-rules

Skill Claude CodeCodex

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

6 7d ago A 21 tokens original MIT

create-issue

19

pekral/cursor-rules

Skill Claude CodeCodex

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

6 7d 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.

6 7d ago A 59 tokens original MIT

create-test

22

pekral/cursor-rules

Skill Claude CodeCodex

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

6 7d ago A 16 tokens original MIT

design-system

23

pekral/cursor-rules

Skill Claude CodeCodex

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.

6 7d ago A 42 tokens original MIT

docker-patterns

24

pekral/cursor-rules

Skill Claude CodeCodex

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.

6 7d ago A 55 tokens original MIT