nextjs-react-redux-typescript-cursor-rules

nextjs-react-redux-typescript-cursor-rules is a skill for Claude Code, Codex from punkadillo/figma-code-composer. It costs 37 tokens per session (1,132 once invoked), scanned A, a copy of nextjs-react-redux-typescript-cursor-rules, MIT.

A set of coding rules for building Next.js and React applications with Redux and TypeScript.

In plain words
What is it for?
Use it when writing or reviewing React and Next.js code, managing shared state with Redux, or checking TypeScript practices.
Why use it?
It helps teams keep code structure, naming, formatting, and component design consistent as an application grows.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Cursor.

Good fit Use it when writing or reviewing React and Next.js code, managing shared state with Redux, or checking TypeScript practices.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/punkadillo/figma-code-composer/nextjs-react-redux-typescript-cursor-rules
Install

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.

Any agent
npx skills add punkadillo/figma-code-composer --skill nextjs-react-redux-typescript-cursor-rules
Clone the repo
git clone --depth 1 https://github.com/punkadillo/figma-code-composer

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for nextjs-react-redux-typescript-cursor-rules

README.md
[![agentmods](https://agentmods.dev/badge/skills/punkadillo/figma-code-composer/nextjs-react-redux-typescript-cursor-rules.svg)](https://agentmods.dev/skills/punkadillo/figma-code-composer/nextjs-react-redux-typescript-cursor-rules)
Your own site
<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>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,132 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 4d ago against content hash 892603ad72ad, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

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.

Origin

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.

.figma-pipeline/skills/nextjs-react-redux-typescript-cursor-rules/SKILL.md · 191 lines

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 function keyword
  • Extract reusable logic into custom hooks
  • Apply composition patterns properly
  • Leverage React.memo() strategically
  • Implement cleanup in useEffect hooks

Performance

  • Use useCallback for memoizing functions
  • Apply useMemo for expensive computations
  • Avoid inline function definitions in JSX
  • Implement code splitting via dynamic imports
  • Use proper key props in lists (never use index)

Next.js Best Practices

Read the full file on GitHub · 191 lines

Changes

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.

  1. 4d ago First seen · 191 lines · 37 tokens per session scan A 892603ad72ad

Subscribe to this mod's changes

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.

Related

Other skills, from other repositories

web-frameworks

Use when the user asks to build with Next.js, Turborepo, or web frameworks.

tamnguyendinh/Anvien · 24 tokens

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…

saajunaid/caddis-plugin · 66 tokens

react-best-practices

Modern React development guidelines covering hooks, component patterns, state management, performance optimization, and TypeScript integration.

saajunaid/caddis-plugin · 27 tokens

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.

saajunaid/caddis-plugin · 40 tokens

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.

iflytek/skillhub · 36 tokens

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…

internet-development/www-sacred · 84 tokens