AI Agent Guide for Suraj Fale Portfolio
Provides AI agents with project context, tech stack, structure, and rules for contributing to a React portfolio SPA.
What this file does
Provides AI agents with project context, tech stack, structure, and rules for contributing to a React portfolio SPA.
When to use it
- Onboarding a new AI agent to work on this specific portfolio repository
- Ensuring consistent coding conventions and package manager usage across agent contributions
- Guiding agents to update content only in the central data file instead of components
- Enforcing design system rules like glassmorphism and MUI styling
Assumes this stack
AI Agent Guide for Suraj Fale Portfolio
This document provides comprehensive context and guidelines for AI agents working on this repository.
1. Project Identity
- Name: Suraj Fale Portfolio
- Purpose: Professional portfolio website for Suraj Fale, a Principal Engineer specializing in Scala, Kafka, and Distributed Systems.
- Type: Single Page Application (SPA)
- Live URL: https://surajfale.netlify.app
2. Technology Stack
- Core: React 18, TypeScript 5.3
- Build Tool: Vite 5.1
- Package Manager: pnpm 8+ (Strictly enforce this)
- UI Framework: Material-UI (MUI) v5
- Styling Engine: Emotion (CSS-in-JS)
- Routing: React Router DOM v7 (though mostly single-page scroll)
- Linting: ESLint 9 (Flat Config)
- Deployment: Netlify
3. Project Structure
src/
├── components/ # UI Components
│ ├── Hero.tsx # Landing section
│ ├── About.tsx # Bio & Skills
│ ├── Projects.tsx # Portfolio showcase
│ ├── Socials.tsx # Contact/Social links
│ ├── Footer.tsx # Site footer
│ └── ThemeToggle.tsx # Dark/Light mode switch
├── content/
│ └── profile.ts # CENTRAL SOURCE OF TRUTH for all text/data
├── pages/ # Route components (if any)
├── utils/ # Helper functions
├── App.tsx # Main layout & ThemeProvider setup
├── theme.ts # MUI Theme configuration (Colors, Typography)
└── main.tsx # App entry point
4. Development Workflow
- Install Dependencies:
pnpm install - Start Dev Server:
pnpm dev(Runs on http://localhost:5173) - Build for Production:
pnpm build - Preview Build:
pnpm preview - Lint Code:
pnpm lint
5. Design System & Aesthetics
- Theme: Supports Light and Dark modes (persisted in localStorage).
- Primary Colors:
- LinkedIn Blue:
#0077B5 - GitHub Dark:
#24292E
- LinkedIn Blue:
- Visual Style:
- Glassmorphism: Heavy use of semi-transparent backgrounds with blur.
- Gradients: Modern, vibrant gradients for text and backgrounds.
- Animations: Smooth transitions, hover effects (scale, lift), and micro-interactions.
- Typography: Modern sans-serif (via MUI default or configured font).
6. Content Management
CRITICAL: Do not hardcode text in components.
- All personal data, project details, and social links are stored in
src/content/profile.ts. - To update the portfolio content, modify
src/content/profile.ts. - Interfaces for content are defined in the same file to ensure type safety.
7. Agent Guidelines & Rules
- Package Manager: ALWAYS use
pnpm. Do not usenpmoryarn. - Styling: Use MUI's
sxprop orstyledcomponents. Avoid plain CSS files unless for global resets (index.css). - Icons: Use
@mui/icons-material. - Responsiveness: Always ensure designs work on Mobile, Tablet, and Desktop. Use MUI's
useMediaQueryor responsivesxvalues (e.g.,width: { xs: '100%', md: '50%' }). - Code Quality: Run
pnpm lintbefore finishing a task to ensure no linting errors. - File Naming: PascalCase for components (
MyComponent.tsx), camelCase for utilities (myUtility.ts). - Privacy: NEVER add personal contact info (phone, email, address) directly to the code.
8. Deployment
- The project is deployed on Netlify.
- Configuration is in
netlify.toml. - Deploys automatically on push to
main.
What's inside
8 sections, 7 bullet rules, 1 directory tree, 5 development commands
Change this for your project
- Replace
Suraj Fale Portfoliowith your own project name - Replace
https://surajfale.netlify.appwith your live URL - Replace
src/content/profile.tswith your own content file path if different - Replace
surajfale/surajfalewith your own repository name
Where it goes
Save as AGENTS.md in your repository root. Read by Codex, Cursor and other agents that follow the AGENTS.md convention.
Worth borrowing
- Centralising all text and data in a single typed content file to avoid hardcoding in components
- Using a dedicated agent guide file to codify project conventions and rules for automated contributors
Related Documents
Browser-only development
Guides AI assistants on an Electron + React + TypeScript desktop app for browsing and organizing AI-generated images locally.
Claude Agents — Reference & Recommendations
Catalogues 40+ Claude agents and marketing skills for building a cat adoption charity landing page, with a ready-to-paste prompt and backend API reference.
Golden DKG Prototype -- Master Plan
Defines an 8-phase implementation plan for a Rust prototype of the Golden non-interactive DKG protocol using BLS12-381 and tokio.
Swarms Examples Index
Lists 60+ example scripts for building single and multi-agent systems with the Swarms framework, organized by category and use case.