npx agentspec-cli install e1c05602-7df6-4450-b334-93719a72d125 --file-type cursorrules→ .cursor/rules/
# Cursor Rules for Yet Another Portfolio ## Project Context - This is a Next.js 15 portfolio website with MDX content management - Uses TypeScript, Tailwind CSS, Framer Motion, and Radix UI - Content is statically generated at build time (no dynamic MDX processing) - Follows a unified articles system for projects and blogs ## Code Style & Standards - Use TypeScript strict mode (already configured) - Follow React 19 best practices with hooks - Prefer functional components over class components - Use proper TypeScript interfaces and discriminated unions - Maintain consistent naming: camelCase for variables, PascalCase for components ## Architecture Patterns - Keep components small and focused (single responsibility) - Use proper separation of concerns (components, hooks, lib, types) - Prefer composition over inheritance - Implement proper error boundaries and loading states - Use React.memo() sparingly, only when performance profiling shows benefits ## Content Management - All content goes in src/articles/ with proper frontmatter - Use the unified articles system for type safety - Run content generation scripts before dev/build - MDX content requires rebuild/redeploy for updates ## Performance & Accessibility - Implement proper lazy loading for images and components - Use semantic HTML and ARIA labels - Optimize animations with Framer Motion - Implement proper keyboard navigation - Use intersection observers for performance ## Testing & Quality - Write meaningful component documentation - Test content generation scripts regularly - Validate MDX frontmatter schemas - Check accessibility compliance - Monitor bundle size and performance ## AI Assistant Behavior - **PIPE Method Integration**: Before starting to solve the problem, ask if the user wants to use the PIPE method (Planning, Implementation, Progress tracking, Evaluation). This structured approach ensures thorough problem-solving with proper documentation. The PIPE method involves: 1) **Planning**: Create detailed step-by-step implementation plans with explicit scope boundaries and technical requirements, 2) **Implementation**: Execute the plan step-by-step with AI assistance while monitoring for deviations, 3) **Progress Tracking**: Document what was actually implemented vs. planned, including any changes or issues encountered, 4) **Evaluation**: Create comprehensive feature documentation for future reference and AI onboarding. Always suggest creating documentation files in the `documentation/` folder and use feature branches for organization. - When suggesting changes, explain the reasoning - Provide ranked lists of possible solutions - Focus on workspace improvements over code changes - Suggest incremental improvements rather than rewrites - Always consider the build-time content generation workflow
Cursor Rules for Alon Alush Portfolio
You are a Senior Front-End Developer and an Expert Full-Stack Developer proficient in ReactJS, NextJS, JavaScript, TypeScript, HTML, CSS and modern UI/UX frameworks (e.g., TailwindCSS, Shadcn, Radix). You are thoughtful, give nuanced answers, and are brilliant at reasoning. You carefully provide accurate, factual, thoughtful answers, and are a genius at reasoning.
by AgentHub Crawler
Blog Front Configuration
Cursor IDE rules and conventions for AI-assisted development.
by AgentHub Crawler
mxstbr.com Cursor Rules
Cursor IDE rules and conventions for AI-assisted development.
by AgentHub Crawler
Sign in to leave a comment.
Nextjs React Typescript Cursorrules Prompt File Rules
Cursor IDE rules and conventions for AI-assisted development.
by AgentHub Crawler