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/frontend)<a href="https://agentmods.dev/rules/felipebarcelospro/igniter-js/frontend"><img src="https://agentmods.dev/badge/rules/felipebarcelospro/igniter-js/frontend/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/frontend"><img src="https://agentmods.dev/badge/rules/felipebarcelospro/igniter-js/frontend.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.06832 | $0.06832 |
| Opus 5.5 | $0.02733 | $0.02733 |
| Sonnet 5.5 | $0.01366 | $0.01366 |
| Haiku 4.5 | $0.00683 | $0.00683 |
Grade A, and why
frontend 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 — 988 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Front-End Development Workflow
This rule provides comprehensive guidance for front-end development in Igniter.js + Next.js + Shadcn UI projects, ensuring consistent architecture, component patterns, and seamless integration with existing workflows.
1. Project Architecture & File Organization
1.1 Mandatory Project Structure
Presentation Layer Organization:
src/features/[feature]/presentation/
├── components/ # UI components (client/server)
│ ├── [component].tsx
│ ├── [component].client.tsx # Client-only components
│ └── [component].server.tsx # Server-only components
├── hooks/ # React hooks (useXxx patterns)
│ ├── use-[feature].tsx
│ └── use-[feature]-form.tsx
├── contexts/ # React contexts for state management
│ └── [feature]-context.tsx
├── utils/ # Pure utility functions
│ └── [specific-util-for-feature].ts // 1 util per file
└── types/ # Local type definitions
└── [feature]-types.ts
Component File Naming Convention:
// ✅ CORRECT - Consistent naming
src/features/auth/presentation/
├── components/
│ ├── login-form.client.tsx # Client component
│ ├── signup-form.client.tsx # Client component
│ └── user-avatar.server.tsx # Server component
├── hooks/
│ ├── use-auth-context.tsx # Context hook
│ └── use-auth-form.tsx # Form hook
└── contexts/
└── auth-context.tsx # React context
1.2 Component Architecture Patterns
Server vs Client Components:
// ✅ CORRECT - Server component (default)
export default function BoardList({ boards }: { boards: Board[] }) {
return (
<div>
{boards.map(board => (
<BoardCard key={board.id} board={board} />
))}
</div>
)
}
// ✅ CORRECT - Client component (interactive)
'use client'
export function BoardCard({ board }: { board: Board }) {
const [isEditing, setIsEditing] = useState(false)
return (
<Card onClick={() => setIsEditing(true)}>
{/* Interactive content */}
</Card>
)
}
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 · 988 lines · 6,832 tokens per session scan A 93b24b082eb1
frontend is a cursor rule published in the GitHub repository felipebarcelospro/igniter-js (240 stars, last pushed 13d ago), licensed Apache-2.0. It adds 6,832 tokens to every session, about $0.0273 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
upgrade-tests
// ✅ CORRECT: Upgrade package pattern await using ctx = testReactResource(appRouter, { server: { // server configuration }, client(opts) { return { links: [ httpLink({ url: opts.httpUrl, // client configuration }), ], }; }, }).
react-query-tests
// ✅ CORRECT: Legacy React Query pattern const ctx = konn() .beforeEach(() => createAppRouter()) .afterEach((ctx) => ctx?.close?.()) .done().
tanstack-react-query-tests
// ✅ CORRECT: Use await using for automatic cleanup await using ctx = testReactResource(appRouter, { server: { // server configuration }, client(opts) { return { links: [ httpLink({ url: opts.httpUrl, // client configuration }), ], }; }, }).
pnpm
Always use pnpm as a package manager instead of yarn, bun, or npm.
react-vite-web
Cursor rule "react-vite-web" from WellApp-ai/Well, covering web rules (react + vite), routing, component structure, state management and api integration.
01-web
Next.js 15 App Router, React, UI patterns.