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

Benchmark shows AI browser automation tools vary 2.6x in token costs despite identical accuracy
A benchmark of 4 CLI browser automation tools using Claude Sonnet 4.6 on 6 real-world tasks found all achieved 100% accuracy, but openbrowser-ai used 36,010 tokens while others used 77,123-94,130 tokens. Tool call count was the strongest predictor of token cost.

Developer Builds Power Automate MCP Server with 108 Tools, Cross-Platform Support
A developer built a Power Automate MCP server that expanded from 12 to 108 tools, covering Dataverse CRUD via OData, SharePoint management via Graph, Power Apps versioning, environment administration, and cross-platform support for Windows, macOS, and Linux.

Developer's AI doc/context sync tool gains traction after Reddit post
A developer shared their AI documentation and context synchronization tool on Reddit, resulting in 1.1K downloads, 60 GitHub stars, and 192 unique clones within two weeks after posting on March 22nd.
OpenChart: Open-Source TradingView Alternative with Your Own AI Agent
OpenChart is a local-first, open-source charting app that pipes Claude, Codex, and Gemini into your charts. Custom indicators and alerts are written in Tea, a domain-specific language for markets.