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 Code UltraPlan Workflow Changes and Performance Observations
Claude Code UltraPlan introduces a cloud-based planning workflow with terminal launch, browser review interface, and execution options. Testing showed approximately 2x faster repeated runs than local planning, with mixed quality improvements.

Brackish: Let Two Claude Code Instances Negotiate an API Contract via OpenAPI 3.1
Brackish is a CLI tool that runs between two Claude Code sessions — one on the backend (FastAPI) and one on the frontend (React/TypeScript) — to negotiate an API contract via a shared OpenAPI 3.1 document. It surfaces disagreements before code is written.

Marmy: A Self-Hosted Framework for Managing AI Coding Agents Remotely
Marmy is an open-source, MIT-licensed framework built with Claude Code that lets developers manage AI coding agents and tmux sessions from a mobile app. It includes a Rust agent for development machines and a React Native app for remote control.

Phantom: A Persistent AI Agent Built with Claude's Agent SDK
Phantom is an open-source Bun/TypeScript process that wraps Claude's Agent SDK (Opus 4.6) with persistent vector memory, a self-evolution engine, and an MCP server interface. It runs continuously on its own VM or Docker Compose and communicates via Slack.