// TypeScript React .cursorrules
Add this skill
npx mdskills install PatrickJS/cursor-typescript-reactProvides basic TypeScript React conventions but lacks actionable agent instructions and triggers
// TypeScript React .cursorrules
// Prefer functional components
const preferFunctionalComponents = true;
// TypeScript React best practices
const typescriptReactBestPractices = [ "Use React.FC for functional components with props", "Utilize useState and useEffect hooks for state and side effects", "Implement proper TypeScript interfaces for props and state", "Use React.memo for performance optimization when needed", "Implement custom hooks for reusable logic", "Utilize TypeScript's strict mode", ];
// Folder structure
const folderStructure = src/ components/ hooks/ pages/ types/ utils/ App.tsx index.tsx;
// Additional instructions
const additionalInstructions = `
Install via CLI
npx mdskills install PatrickJS/cursor-typescript-reactTypeScript React is a free, open-source AI agent skill. // TypeScript React .cursorrules
Install TypeScript React with a single command:
npx mdskills install PatrickJS/cursor-typescript-reactThis downloads the skill files into your project and your AI agent picks them up automatically.
TypeScript React works with Cursor. Skills use the open SKILL.md format which is compatible with any AI coding agent that reads markdown instructions.