Markdown Converter
Agent skill for markdown-converter
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Sign in to like and favorite skills
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
npm run dev # Start development server (localhost:3000) npm run build # Build for production npm run start # Start production server npm run lint # Run ESLint npm run type-check # Run TypeScript type checking
npm run docker:dev # Start development with Docker Compose npm run docker:prod # Start production with Docker Compose npm run docker:build # Build Docker images npm run docker:down # Stop all Docker services npm run docker:logs # View Docker logs
./install.sh # Complete Docker setup with all services
This is a Next.js 15 multifamily property valuation application using the App Router architecture. The system processes real estate documents (rent rolls, T12 statements, offering memorandums) and generates comprehensive financial analyses.
src/ ├── app/ # Next.js App Router │ ├── api/ # API endpoints (20+ routes) │ │ ├── auth/ # NextAuth.js authentication │ │ ├── properties/ # Property CRUD operations │ │ ├── process/ # Document processing pipeline │ │ ├── export/ # Multi-format exports (Excel, PDF, PowerPoint) │ │ ├── websocket/ # Real-time updates │ │ └── mcp/ # AI processing integration │ ├── dashboard/ # Property dashboard pages │ ├── properties/ # Property management UI │ └── calculator/ # Financial calculators ├── components/ # React components (15+ components) │ ├── ui/ # Shadcn/ui base components │ ├── Phase3Dashboard.tsx # Advanced analytics dashboard │ ├── DocumentPreview.tsx # Document viewer with AI annotations │ ├── ExportPanel.tsx # Multi-format export interface │ └── ProcessingStatusPanel.tsx # Real-time status updates ├── hooks/ # Custom React hooks (4 hooks) ├── lib/ # Utility libraries (8 files) ├── types/ # TypeScript definitions └── globals.css # Tailwind CSS with custom CSS variables ai_processing/ # Python AI processing system ├── src/ # Python source code │ ├── main.py # Main processing pipeline entry point │ ├── document_processor.py # PDF/Excel document parsing │ ├── ai_analyzer.py # AI-powered document analysis │ ├── financial_modeler.py # Financial modeling and projections │ ├── report_generator.py # Multi-format report generation │ └── utils/ # Utility modules (logging, config) ├── config.json # Processing configuration ├── requirements.txt # Python dependencies └── venv/ # Python virtual environment
/api/auth/[...nextauth] - NextAuth.js (Google OAuth + credentials)/api/user/profile - User profile management/api/user/portfolio - User property portfolio/api/properties - CRUD operations for properties/api/properties/[id] - Individual property management/api/properties/[id]/analysis - Property financial analysis/api/process - Main document processing pipeline/api/files - File upload/management/api/document-preview - Generate document previews/api/mcp/process-documents - AI processing via MCP/api/export - Multi-format exports (Excel, PDF, PowerPoint, JSON, CSV)/api/generate-pitch-deck - Professional pitch deck generation/api/download-pitch-deck/[filename] - File downloads/api/websocket - WebSocket connections for live updates/api/investor-notifications - Email notification systemThe Python AI processing system analyzes multifamily property documents and generates comprehensive reports.
Document Processing (
document_processor.py)
AI Analysis (
ai_analyzer.py)
Financial Modeling (
financial_modeler.py)
Report Generation (
report_generator.py)
OPENAI_API_KEY environment variable for AI featuresai_processing/config.jsonpip install -r ai_processing/requirements.txtcd ai_processing source venv/bin/activate python3 src/main.py --rent-roll path/to/rent_roll.xlsx \ --t12 path/to/t12.pdf \ --om path/to/offering_memo.pdf \ --output-dir /path/to/output \ --job-id unique-job-id \ --generate-pitch-deck \ --include-analysis
./uploads/ - Document uploads./outputs/ - Processing results./storage/ - Export files./init-db/ - Database initialization scriptsNEXTAUTH_URL=http://localhost:3000 NEXTAUTH_SECRET=your-secure-32-character-secret GOOGLE_CLIENT_ID=your-google-client-id GOOGLE_CLIENT_SECRET=your-google-client-secret
DATABASE_URL=postgresql://user:pass@localhost:5432/db REDIS_URL=redis://localhost:6379 SMTP_HOST=smtp.gmail.com OPENAI_API_KEY=your-openai-key ANTHROPIC_API_KEY=your-anthropic-key
@/* maps to ./src/* (configured in tsconfig.json)/health → /api/healthnpm run type-checknpm run lintnpm run build