codemini / rules
Cursor rule0 starsChanged 6 months agoMITView on GitHub
PHP testing extending common rules
19 other projects use a version of this.
Adopted by
Steady: 0 new projects took it in the last 4 weeks, none the 4 weeks before.thin data
Most recently taken up by
- Rojios/everything-claude-codeword for word, first seen Nov 8, 2026
- Fmarzochi/EGCword for word, first seen Sep 16, 2026
- affaan-m/ECCword for word, first seen Aug 31, 2026
- siva323388/claudeCodeword for word, first seen Aug 31, 2026
- ysyecust/everything-claude-codeword for word, first seen Jun 11, 2026
- mturac/everything-openai-codexword for word, first seen May 18, 2026
Other versions19 projects use a version of this.
Word for word · 19
- affaan-m/ECC★ 246k100% same
- loulanyue/awesome-claude-notes★ 272100% same
- tpavanipradeep/everything-claude-code★ 104100% same
- mturac/everything-openai-codex★ 89100% same
- mit-network/everything-claude-code★ 76100% same
- Fmarzochi/EGC★ 61100% same
- ysyecust/everything-claude-code★ 44100% same
- Infopibe/everything-claude-code★ 8100% same
- yapota2018/affaan-m-everything-claude-code★ 4100% same
- ArogyaReddy/https-github.com-affaan-m-everything-claude-code1★ 2100% same
9 more not listed
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
Where files are headingNew Cursor rule files have more rules about planning and tracking tasks, and fewer about code style.
Of the Cursor rule files we read, the 4,187 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository90 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .codex/AGENTS.mdAGENTS.md
- .claude/CLAUDE.mdCLAUDE.md
- .cursor/rules/common-agents.mdCursor rule
- .cursor/rules/common-coding-style.mdCursor rule
- .cursor/rules/common-development-workflow.mdCursor rule
- .cursor/rules/common-git-workflow.mdCursor rule
- .cursor/rules/common-hooks.mdCursor rule
- .cursor/rules/common-patterns.mdCursor rule
- .cursor/rules/common-performance.mdCursor rule
- .cursor/rules/common-security.mdCursor rule
- .cursor/rules/common-testing.mdCursor rule
- .cursor/rules/golang-coding-style.mdCursor rule
- .cursor/rules/golang-hooks.mdCursor rule
- .cursor/rules/golang-patterns.mdCursor rule
- .cursor/rules/golang-security.mdCursor rule
- .cursor/rules/golang-testing.mdCursor rule
- .cursor/rules/kotlin-coding-style.mdCursor rule
- .cursor/rules/kotlin-hooks.mdCursor rule
- .cursor/rules/kotlin-patterns.mdCursor rule
- .cursor/rules/kotlin-security.mdCursor rule
- .cursor/rules/kotlin-testing.mdCursor rule
- .cursor/rules/php-coding-style.mdCursor rule
- .cursor/rules/php-hooks.mdCursor rule
- .cursor/rules/php-patterns.mdCursor rule
- .cursor/rules/php-security.mdCursor rule
- .cursor/rules/python-coding-style.mdCursor rule
- .cursor/rules/python-hooks.mdCursor rule
- .cursor/rules/python-patterns.mdCursor rule
- .cursor/rules/python-security.mdCursor rule
- .cursor/rules/python-testing.mdCursor rule
- .cursor/rules/swift-coding-style.mdCursor rule
- .cursor/rules/swift-hooks.mdCursor rule
- .cursor/rules/swift-patterns.mdCursor rule
- .cursor/rules/swift-security.mdCursor rule
- .cursor/rules/swift-testing.mdCursor rule
- .cursor/rules/typescript-coding-style.mdCursor rule
- .cursor/rules/typescript-hooks.mdCursor rule
- .cursor/rules/typescript-patterns.mdCursor rule
- .cursor/rules/typescript-security.mdCursor rule
- .cursor/rules/typescript-testing.mdCursor rule
- accessibilitySkill
- agent-harness-constructionSkill
- agentic-engineeringSkill
- agent-introspection-debuggingSkill
- ai-first-engineeringSkill
- ai-regression-testingSkill
- api-designSkill
- architecture-decision-recordsSkill
- backend-patternsSkill
- benchmarkSkill
- brandkitSkill
- browser-qaSkill
- industrial-brutalist-uiSkill
- coding-standardsSkill
- deep-researchSkill
- deployment-patternsSkill
- design-systemSkill
- dmux-workflowsSkill
- docker-patternsSkill
- The first 60 shown.
The file
We split this php-testing.md into the rules it gives an agent
3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
Use PHPUnit as the default test framework.
- Distinctive: line 25
Use factory/builders for fixtures instead of large hand-written arrays.
- Distinctive: line 26
Keep HTTP/controller tests focused on transport and validation.
≈ “Common” is an estimate: at least 1 in 5 of the 6,668 Cursor rule files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
PHP Testing
This file extends the common testing rule with PHP specific content.
Framework
Use PHPUnit as the default test framework. Pest is also acceptable when the project already uses it.
Coverage
vendor/bin/phpunit --coverage-text
# or
vendor/bin/pest --coverageTest Organization
- Separate fast unit tests from framework/database integration tests.
- Use factory/builders for fixtures instead of large hand-written arrays.
- Keep HTTP/controller tests focused on transport and validation; move business rules into service-level tests.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

