Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/felipebarcelospro/igniter-jsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/rules/felipebarcelospro/igniter-js/testing)<a href="https://agentmods.dev/rules/felipebarcelospro/igniter-js/testing"><img src="https://agentmods.dev/badge/rules/felipebarcelospro/igniter-js/testing/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/rules/felipebarcelospro/igniter-js/testing"><img src="https://agentmods.dev/badge/rules/felipebarcelospro/igniter-js/testing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.03773 | $0.03773 |
| Opus 5.5 | $0.01509 | $0.01509 |
| Sonnet 5.5 | $0.00755 | $0.00755 |
| Haiku 4.5 | $0.00377 | $0.00377 |
Grade A, and why
testing scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 489 lines — stays where its author put it; the contents beside it link to each section on GitHub.
API Validation Workflow Integration
This rule defines how API validation tools (get_openapi_spec and make_api_request) should be integrated into the development workflow to enable autonomous testing and continuous validation of implemented features.
1. Development Cycle Integration
1.1 Workflow Phases with API Validation
graph TB
A[Requirements Gathering] --> B[Planning]
B --> C[Waiting Approval]
C --> D[Work Phase]
D --> E{Validation Phase}
E --> F[API Testing]
F --> G{Tests Pass?}
G -->|Yes| H[Revise & Document]
G -->|No| I[Debug & Fix]
I --> F
H --> J[Feedback]
J --> K[Learn & Improve]
style F fill:#e1f5fe
style G fill:#fff3e0
1.2 Mandatory Integration Points
During Work Phase:
- After implementing each endpoint
- After modifying API data structures
- Before marking tasks as complete
During Validation Phase:
- Complete validation of implemented feature
- Testing success and error scenarios
- API contract validation
During Revise Phase:
- Re-testing after fixes
- Regression validation
2. Tool Usage Protocols
2.1 get_openapi_spec Protocol - MANDATORY FIRST STEP
🚨 CRITICAL REQUIREMENT: This is the FIRST STEP for ALL testing scenarios
When to use:
- MANDATORY: At the beginning of EVERY testing session
- MANDATORY: Before ANY API request testing
- MANDATORY: To verify if application is online and accessible
- After generating or modifying controllers
- Before implementing client/frontend code
- To understand existing API contracts
CRITICAL VALIDATION WORKFLOW:
// 1. FIRST: Investigate the default server port and check if it's already running.
// If the server is not running, only then proceed to start it.
// 2. ONLY THEN proceed with other testing.
// 3. Store insights about the API.
Server Startup Protocol:
- If
get_openapi_specfails after initial investigation: Automatically start development server. - Wait for server initialization: Allow 2-3 seconds for server to be ready.
- Retry validation: Confirm server is accessible before proceeding.
- Document server status: Store server startup patterns for future reference.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago First seen · 489 lines · 3,773 tokens per session scan A 94ea643a407e
testing is a cursor rule published in the GitHub repository felipebarcelospro/igniter-js (241 stars, last pushed 8d ago), licensed Apache-2.0. It adds 3,773 tokens to every session, about $0.0151 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-01.
Other cursor rules, from other repositories
design-standards
API design standards, HTTP status codes, error handling, and client usage patterns.
upgrade-tests
// ✅ CORRECT: Upgrade package pattern await using ctx = testReactResource(appRouter, { server: { // server configuration }, client(opts) { return { links: [ httpLink({ url: opts.httpUrl, // client configuration }), ], }; }, }).
chassis
Chassis conventions — decorator-driven Express 5 + TypeScript.
aom
API Object Model (AOM) standards and patterns.
ponytail
Ponytail, lazy senior dev mode. Always pick the simplest solution that works.
angular-20
This rule provides comprehensive best practices and coding standards for Angular development, focusing on modern TypeScript, standalone components, signals, and performance optimizations.