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.
npx skills add punkadillo/figma-code-composer --skill nextjs-react-redux-typescript-cursor-rulesgit clone --depth 1 https://github.com/punkadillo/figma-code-composerWrote 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/skills/punkadillo/figma-code-composer/nextjs-react-redux-typescript-cursor-rules)<a href="https://agentmods.dev/skills/punkadillo/figma-code-composer/nextjs-react-redux-typescript-cursor-rules"><img src="https://agentmods.dev/badge/skills/punkadillo/figma-code-composer/nextjs-react-redux-typescript-cursor-rules.svg" alt="Measured on agentmods" 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.00037 | $0.01132 |
| Opus 5 | $0.00018 | $0.00566 |
| Sonnet 5 | $0.00007 | $0.00226 |
| Haiku 4.5 | $0.00004 | $0.00113 |
Grade A, and why
nextjs-react-redux-typescript-cursor-rules 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 4d 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.
This is a copy
100% identical to nextjs-react-redux-typescript-cursor-rules — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 191 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Next.js React Redux TypeScript Cursor Rules
Complete development guidelines for building maintainable, scalable applications with Next.js, React, Redux Toolkit, and TypeScript.
Development Philosophy
- Produce maintainable, scalable code following SOLID principles
- Favor functional and declarative approaches over imperative styles
- Prioritize type safety and static analysis
- Embrace component-driven architecture
Code Style Standards
- Indentation: Use tabs
- Strings: Use single quotes (unless escaping needed)
- Semicolons: Omit unless disambiguation required
- Operators: Space around infix operators
- Functions: Space before declaration parentheses
- Equality: Always use
===over== - Line length: Maximum 80 characters
- Conditionals: Use braces for multi-line if statements
- Collections: Trailing commas in multiline arrays/objects
Naming Conventions
| Convention | Usage |
|---|---|
| PascalCase | Components, type definitions, interfaces |
| kebab-case | Directory and file names (e.g., user-profile.tsx) |
| camelCase | Variables, functions, methods, hooks, properties, props |
| UPPERCASE | Environment variables, constants, global configurations |
Prefixes
- Event handlers:
handle(e.g.,handleClick) - Booleans: verbs (e.g.,
isLoading,hasError,canSubmit) - Custom hooks:
use(e.g.,useAuth,useForm)
React Best Practices
Components
- Use functional components with TypeScript interfaces
- Define components using
functionkeyword - Extract reusable logic into custom hooks
- Apply composition patterns properly
- Leverage
React.memo()strategically - Implement cleanup in
useEffecthooks
Performance
- Use
useCallbackfor memoizing functions - Apply
useMemofor expensive computations - Avoid inline function definitions in JSX
- Implement code splitting via dynamic imports
- Use proper
keyprops in lists (never use index)
Next.js Best Practices
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.
- 4d ago First seen · 191 lines · 37 tokens per session scan A 892603ad72ad
nextjs-react-redux-typescript-cursor-rules is a skill published in the GitHub repository punkadillo/figma-code-composer (3 stars, last pushed 19d ago), licensed MIT. It adds 37 tokens to every session and 1,132 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to nextjs-react-redux-typescript-cursor-rules, differing in 0 lines, and is treated as a copy.
Other skills, from other repositories
web-frameworks
Use when the user asks to build with Next.js, Turborepo, or web frameworks.
react-dev
This skill should be used when building React components with TypeScript, typing hooks, handling events, or when React TypeScript, React 19, Server Components are mentioned. Covers type-safe patterns for React 18-19 including generic components, proper event typing, and routing integration (TanStack Router, React…
react-best-practices
Modern React development guidelines covering hooks, component patterns, state management, performance optimization, and TypeScript integration.
javascript-typescript
JavaScript and TypeScript development with ES6+, Node.js, React, and modern web frameworks. Use for frontend, backend, or full-stack JavaScript/TypeScript projects.
frontend-conventions
Coding conventions, architecture patterns, and testing rules for the SkillHub React frontend. Ensures agents follow Feature-Sliced Design and use the generated OpenAPI types.
fast-typescript-check
Keep www-sacred's TypeScript fast to type-check and fast to run. Use when touching the ASCII/canvas animation components (the only real per-frame code here), tightening type-check wall-clock, or auditing a change for runtime or compiler regressions. Scoped to this repo — a React 19 / Next.js 16 component library plus…