Open Source Agent Skill for TypeScript, React, and Next.js Patterns

A developer has published an open-source Agent Skill—a structured markdown reference—aimed at improving how AI coding assistants generate and review code for TypeScript, React, and Next.js projects.
What It Is
The skill is a 4,000-line reference contained in 17 files. It is not a tutorial or an npm package but a document for AI agents to consume. It was created to address recurring problems the author encountered with AI-generated frontend code, including:
- Using
as Usertype assertions on API responses instead of runtime validation. - Placing
"use client"directives on entire pages incorrectly. - Writing
useEffecthooks with unstable object dependencies. - Failing to distinguish between actual bugs and mere style preferences during code review.
Key Features and Structure
The reference is structured with specific labels to guide agent decisions:
- [HARD RULE]: Patterns that must be followed.
- [DEFAULT]: Recommended standard approaches.
- [SITUATIONAL]: Patterns to apply only in specific contexts.
It includes decision flowcharts to help agents choose the correct pattern, three debugging playbooks for type errors, hydration issues, and useEffect problems, and code review heuristics that separate real risks from stylistic preferences.
Installation and Compatibility
To install, run:
git clone https://github.com/leejpsd/typescript-react-patterns ~/.claude/skills/typescript-react-patternsThe author states it works with Claude Code, Cursor, Codex, and Gemini CLI. Feedback on missing patterns or incorrect guidance is requested.
📖 Read the full source: r/ClaudeAI
👀 See Also

Claude-IDE-Bridge Now Works on Remote Servers for AI-Assisted Development
The Claude-IDE-Bridge tool now connects Claude AI to remote development environments on VPS or cloud machines, allowing access to live diagnostics, open files, and test failures from any device.

Agent frameworks waste 350,000+ tokens per session resending static files
A benchmark on a local Qwen 3.5 122B setup revealed agent frameworks waste over 350,000 tokens per session by resending static files. A compile-time approach reduced query context from 1,373 tokens to 73, achieving a 95% reduction.

iai-mcp: Local daemon gives Claude persistent memory across sessions with 99% recall
iai-mcp is an open-source local daemon that captures every Claude conversation, organizes it into three memory tiers, and feeds context back on new sessions. Achieves >99% verbatim recall, retrieval under 100ms, and session-start cost under 3,000 tokens.

ClaudeDesk v4.2–4.3 Introduces Agent Teams Visualization and Repository Atlas Engine
ClaudeDesk v4.2–4.3 provides a desktop GUI for managing Claude Code CLI's Agent Teams and optimizes session setup with the Repository Atlas Engine.