Physical-AI-Operating-System / rules
Cursor rule552 starsChanged 8 months agoApache-2.0View on GitHub
Testing conventions
2 other projects use a version of this.
Adopted by
Most recently taken up by
- autonomous-ai/lampOSword for word, first seen Oct 15, 2026
- autonomous-ai/autonomous-osword for word, first seen Mar 30, 2026
Other versions2 projects use a version of this.
Word for word · 2
- autonomous-ai/autonomous-os★ 552100% same
- autonomous-ai/lampOS★ 552100% same
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,183 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 repository34 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .cursor/rules/architecture.mdcCursor rule
- .cursor/rules/docs-on-code-change.mdcCursor rule
- .cursor/rules/multi-ide.mdcCursor rule
- agent-managementSkill
- audioSkill
- cameraSkill
- claude-buddySkill
- computer-useSkill
- connectorsSkill
- displaySkill
- emotionSkill
- environmentSkill
- face-enrollSkill
- faqSkill
- guardSkill
- habitSkill
- harness-useSkill
- input-branchingSkill
- led-controlSkill
- moodSkill
- musicSkill
- music-suggestionSkill
- sceneSkill
- sensingSkill
- sensing-trackSkill
- servo-controlSkill
- servo-trackingSkill
- skill-creatorSkill
- speaker-recognizerSkill
- user-emotion-detectionSkill
- voiceSkill
- wellbeingSkill
The file
We split this testing.mdc into the rules it gives an agent
5 rules. About 0 are common, 1 is distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 10
Test files live next to the code they test: internal/led/engine_test.go
- Very specific: line 11
Use standard testing package — no external test frameworks
- Very specific: line 26
Test function names: TestMethodName_Scenario (e.g.
- Very specific: line 27
Use t.Errorf or t.Fatalf — not panic or log.Fatal in tests
- Distinctive: line 28
Test exported behavior, not internal implementation details
≈ “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
--- description: Testing conventions alwaysApply: true --- # Testing Rules ## Test Files - Test files live next to the code they test: `internal/led/engine_test.go` - Use standard `testing` package — no external test frameworks - Table-driven tests preferred for multiple cases ## Running Tests ```bash go test ./... # All tests go test ./internal/led/... # Single package go test -run TestFunctionName # Single test go test -v ./... # Verbose output go test -race ./... # Race detector ``` ## Conventions - Test function names: `TestMethodName_Scenario` (e.g. `TestEncodeColors_BufferLength`) - Use `t.Errorf` or `t.Fatalf` — not `panic` or `log.Fatal` in tests - Test exported behavior, not internal implementation details - Mock external dependencies (shell commands, hardware), not internal services
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.

