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-strategy)<a href="https://agentmods.dev/rules/felipebarcelospro/igniter-js/testing-strategy"><img src="https://agentmods.dev/badge/rules/felipebarcelospro/igniter-js/testing-strategy/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-strategy"><img src="https://agentmods.dev/badge/rules/felipebarcelospro/igniter-js/testing-strategy.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.00933 | $0.00933 |
| Opus 5.5 | $0.00373 | $0.00373 |
| Sonnet 5.5 | $0.00187 | $0.00187 |
| Haiku 4.5 | $0.00093 | $0.00093 |
Grade A, and why
testing-strategy 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 3mo 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 — 142 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Testing Strategy & Validation Protocol
Core Testing Philosophy
PREFERRED APPROACH: API Testing over Automated Tests
- ✅ DO: Use
analyze_feature+make_api_requestfor validation - ❌ DON'T: Create automated tests unless explicitly requested by user
- 🎯 GOAL: Validate functionality through real API calls, not test files
Post-Implementation Workflow
1. Feature Analysis (MANDATORY)
After implementing any feature, ALWAYS run:
analyze_feature({
featurePath: "src/features/user-management", // or single file
projectRoot: "auto-detect",
includeStats: true
})
This provides:
- 📁 Complete file structure and organization
- 🔍 TypeScript error detection and counts
- 📊 File statistics (size, lines, types)
- 🌐 API endpoint discovery
- 💡 Specific recommendations for next steps
2. Error Resolution (IF NEEDED)
If analyze_feature shows errors (needs_attention status):
- Fix TypeScript errors using code investigation tools
- Re-run analysis to verify fixes
- Store insights as memories for future reference
3. API Validation Testing
Once feature is healthy, test via API calls:
// For each endpoint discovered by analyze_feature
make_api_request({
method: "POST",
url: "/api/users",
body: { name: "Test User", email: "[email protected]" },
headers: { "Content-Type": "application/json" }
})
4. Results Documentation
Store successful patterns:
store_memory({
type: "api_mapping",
title: "User Management API Testing Results",
content: "Endpoints tested, successful requests, validation patterns",
tags: ["api", "testing", "user-management"],
confidence: 0.9
})
When to Create Automated Tests
ONLY create automated tests when:
- ✅ User explicitly requests test files
- ✅ User mentions "vitest", "jest", "test files"
- ✅ User says "write tests for this"
- ✅ Complex business logic needs unit testing
- ✅ Library/utility functions need testing
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.
- 3mo ago First seen · 142 lines · 933 tokens per session scan A a5c9e91ba873
testing-strategy is a cursor rule published in the GitHub repository felipebarcelospro/igniter-js (240 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 933 tokens to every session, about $0.0037 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.
testing-strategy compared with cursor rules from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| testing-strategyfelipebarcelospro/igniter-js | Cursor rule | 240 | 1mo ago | Apache-2.0 | A | 933 | Cursor |
| design-standardsbernierllc/agents-environment-config | Cursor rule | 11 | today | MIT | A | 0 | Cursor |
| phpsybrew/the-seo-framework | Cursor rule | 489 | 4d ago | GPL-3.0 | A | 0 | Cursor |
| code-stylesybrew/the-seo-framework | Cursor rule | 489 | 4d ago | GPL-3.0 | A | 0 | Cursor |
| docssybrew/the-seo-framework | Cursor rule | 489 | 4d ago | GPL-3.0 | A | 0 | Cursor |
| local-filessybrew/the-seo-framework | Cursor rule | 489 | 4d ago | GPL-3.0 | A | 0 | Cursor |
| javascriptsybrew/the-seo-framework | Cursor rule | 489 | 4d ago | GPL-3.0 | A | 0 | Cursor |