vibes-plug / rules
Cursor rule129 starsChanged 10 days agoMITView on GitHub
Vibes-Plug Testing & Verification Standards — Autonomous TDD, Vitest, Playwright, zero mocks in production, and invariant assertions
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,373 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 repository372 other files it gives its agents.
- AGENTS.mdAGENTS.md
- rules/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .cursor/rules/vibes-plug-anti-slop.mdcCursor rule
- .cursor/rules/vibes-plug-backend.mdcCursor rule
- .cursor/rules/vibes-plug-core.mdcCursor rule
- .cursor/rules/vibes-plug-devops.mdcCursor rule
- .cursor/rules/vibes-plug-frontend.mdcCursor rule
- .cursor/rules/vibes-plug-mcp.mdcCursor rule
- .cursor/rules/vibes-plug-skills.mdcCursor rule
- llms-full.txtllms.txt
- llms.txtllms.txt
- showcase/llms-full.txtllms.txt
- showcase/llms.txtllms.txt
- a2a-agent-protocol-expertSkill
- accessibility-testing-expertSkill
- adaptive-model-cascadeSkill
- affective-computing-emotion-aiSkill
- agentic-coding-workflow-expertSkill
- agentic-m2m-settlementSkill
- agentic-memory-architectSkill
- agentic-micro-economy-architectSkill
- ai-code-review-autonomousSkill
- ai-llm-integration-expertSkill
- ai-media-generation-expertSkill
- ai-prompt-engineering-expertSkill
- ai-safety-governance-expertSkill
- angular-expertSkill
- anti-slopSkill
- api-design-expertSkill
- api-gateway-proxy-expertSkill
- app-analyzer-optimizerSkill
- apple-ecosystem-expertSkill
- app-promo-media-expertSkill
- astro-framework-expertSkill
- async-queue-temporal-expertSkill
- authentication-identity-expertSkill
- autonomous-api-drift-healerSkill
- autonomous-red-teamerSkill
- autonomous-tdd-debuggerSkill
- biome-linter-formatter-expertSkill
- blockchain-web3-expertSkill
- brainstormingSkill
- browser-automation-expertSkill
- browser-extension-mv3-proSkill
- bun-runtime-expertSkill
- chatbot-messaging-expertSkill
- ci-cd-devops-architectSkill
- cloudflare-workers-expertSkill
- cloud-hosting-expertSkill
- coderabbitSkill
- compliance-gdpr-privacy-expertSkill
- composable-mach-architectSkill
- computer-use-os-agent-expertSkill
- context-window-engineerSkill
- cron-scheduler-expertSkill
- database-orm-expertSkill
- data-pipeline-etl-expertSkill
- data-telemetry-expertSkill
- data-visualization-expertSkill
- The first 60 shown.
The file
We split this vibes-plug-testing.mdc into the rules it gives an agent
4 rules. About 0 are common, 3 are distinctive, and 1 is 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.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 9
When writing or executing tests, Cursor AI MUST enforce these standards:
- Distinctive: line 12
Test-First Execution: When implementing new features, write failing tests first (Red), implement the minimum code to pass (Green), then …
- Distinctive: line 15
Coverage Criteria: Test both the happy path and edge cases: invalid inputs, boundary values, permission denials, and network failure modes.
- Very specific: line 16
E2E Standards: Use ARIA role selectors (getByRole, getByLabel) rather than brittle CSS or XPath selectors.
≈ “Common” is an estimate: at least 1 in 5 of the 7,324 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
---
alwaysApply: false
description: "Vibes-Plug Testing & Verification Standards — Autonomous TDD, Vitest, Playwright, zero mocks in production, and invariant assertions"
globs: "**/*.{test,spec}.{ts,js,py,go},tests/**,cypress/**,e2e/**"
---
# Vibes-Plug Testing & Verification Standards (2026 Edition)
When writing or executing tests, Cursor AI MUST enforce these standards:
## 1. Autonomous TDD & Quality Gate
- **Test-First Execution**: When implementing new features, write failing tests first (Red), implement the minimum code to pass (Green), then refactor (Clean).
- **Zero Mocks in Production Logic**: Mocks are strictly confined to test fixtures. Never commit fake mocks or in-memory array stubs into production service code.
- **Determinism**: Eliminate flaky tests by utilizing deterministic clocks (`vi.useFakeTimers()` or Playwright Clock API) and avoiding non-deterministic `sleep()` intervals.
- **Coverage Criteria**: Test both the happy path and edge cases: invalid inputs, boundary values, permission denials, and network failure modes.
- **E2E Standards**: Use ARIA role selectors (`getByRole`, `getByLabel`) rather than brittle CSS or XPath selectors.
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.

