* docs: regenerate API documentation from src/app/api (329 routes) The generator only recognised `export async function GET`, so every route exported as a guarded const (`export const GET = withAdmin(...)`) or a destructured re-export was missing: the doc listed 116 endpoints, many of them since renamed or removed, against 329 route files today. Teach it the other two export shapes and the withAuth/withAdmin guards, and regenerate both copies. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PJkbo18cRNXtgPWZN2S9cD * docs: archive dated audits, compliance trackers and migration proposals Moves point-in-time records into docs/archive/ (with a README saying they describe the day they were written): the 2026-01 dev-guide compliance plan, codebase audit, DRY/SSOT and Phase 1 fix logs, the 2026-02 overnight cross-project plan, the 2026-07-02 audit report, the 2026-07-06 Shopware migration plan and system migration strategy, and CODE_AUDIT.md. CODE_AUDIT.md was listed in .claude/CLAUDE.md, .gemini/GEMINI.md and docs/README.md as the current list of issues to fix while its own banner called it a historical snapshot; those entries now point at docs/AUDIT_BACKLOG_2026-08.md, the list of findings still open. docs/README also stops linking api/, legacy/ and reference/, which do not exist. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PJkbo18cRNXtgPWZN2S9cD * docs: archive closed trackers and docs for removed code Into docs/archive/: ARCHITECTURE_DEBT (status CLOSED 2026-06-30), DATABASE_AUDIT (Neon, pre-cutover), UPGRADE_PLAN (2026-06-03 snapshot; Tailwind 4 and React 19 are done), MIGRATION_PLAN_QQQ5 and PROFILES_SSOT_PLAN (both executed: migrations 105 and 121/122), production-ready-checklist (Frauenfeld plan that never shipped), and three docs whose code is gone: PROJECT_PAGES_GUIDE (src/components/projects and the per-project pages, now one [slug] route), RevampCopilot (no src/features/chatbot) and projects/upcycling (the /projects/upcycling pages and businessPlan messages are no longer in the tree). Inbound references follow the move, including three code comments. SHARED_CONTEXT and COMMANDS stop describing the upcycling mini-site as live; COMMANDS drops db:migrate-users, which is not a script. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PJkbo18cRNXtgPWZN2S9cD * docs: correct live docs against the tree - BLOG_SYSTEM: rewritten from the code. There is no TinaCMS and no content/submissions; posts merge content/posts/*.md with blog_posts, and submissions are blog_submissions rows reviewed by staff. - installation guide: rewritten. There is no cms-api, no docker-compose.dev.yml and no default admin password; setup is services:up, db:migrate, setup-admins, dev. - RELIABILITY: migration 005b (not 005), no ENABLE_CMS gate, prod facts. - RESPONSIVE_DESIGN_SYSTEM: ResponsiveSection/Hero/Heading were removed; document Section, PageHero and Heading instead. - DEAD_CODE: the /api/repairers and /api/it-hilfe/helpers proxies and the routes.helpers alias are deleted, not 410; fix a stale line range. - DEV_GUIDE, AGENTS, claude/cursor/gemini guides, .cursorrules: DEVELOPMENT_GUIDELINES.md never existed here; protected files are in .claude/CLAUDE.md. src/config/site.ts -> org.ts/urls.ts; Next.js 16. - src/middleware.ts -> src/proxy.ts; components/ui/Button.tsx -> src/components/ui/button.tsx; reference page paths. - docs-paths baseline 68 -> 6, as the check asks when the count falls. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PJkbo18cRNXtgPWZN2S9cD * docs: fix dead links in package and example READMEs ai-native-cms-core linked a Next.js plugin, a CLI and docs/quick-start.md that do not exist in this repo; ai-native-cms-react has no README; the saldo README pointed at the repo root instead of the implementation in src/lib/team/saldo.ts. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PJkbo18cRNXtgPWZN2S9cD --------- Co-authored-by: Claude <noreply@anthropic.com>
6.6 KiB
created_date, last_modified_date, last_modified_summary
| created_date | last_modified_date | last_modified_summary |
|---|---|---|
| 2026-01-30 | 2026-01-06 | Added Codex CLI (terminal) and Gemini CLI (terminal) auto-loaded context files; clarified terminal tool vs web usage |
AI Agent Quick Reference
Quick index for AI agents working on RevampIT
Purpose: This document provides a quick reference to agent-specific documentation and helps agents choose the right guide.
Which Agent Are You?
🤖 Cursor Cloud Code (Composer)
You are: Working directly in Cursor IDE with file access, terminal, and browser tools
Read:
- Primary:
.cursorrules(main rules - auto-discovered by Cursor) - Modular:
.cursor/rules/*.mdc(topic-specific rules) - Human Reference:
docs/development/cursor.md(for developers, not AI)
Key capabilities:
- ✅ Direct file read/write access
- ✅ Terminal command execution
- ✅ Browser automation via MCP
- ✅ Real-time linter access
- ✅ Multi-file editing
Quick start:
- Read
docs/development/cursor.md - Read
docs/development/DEV_GUIDE.md - Read
docs/BEST_PRACTICES.md
🤖 Gemini CLI (terminal)
You are: Using Gemini in the terminal inside this repo
Auto-loaded context:
- Primary:
.gemini/GEMINI.md(Gemini CLI project context)
Also follow (canonical rules):
.cursorrules.cursor/rules/*.mdc
Quick start:
- Keep
.gemini/GEMINI.mdlean and SSOT-oriented - Prefer
.cursorrules+.cursor/rules/*.mdcfor canonical rules
🤖 Google Gemini (web / non-terminal)
You are: Using Gemini outside Cursor/terminal tooling (no repo tools)
Read: docs/development/gemini.md
🤖 Codex CLI (terminal)
You are: Using OpenAI Codex in the terminal inside this repo
Auto-loaded context:
- Primary:
AGENTS.md(repo root) (Codex CLI)
Also follow (canonical rules):
.cursorrules.cursor/rules/*.mdc
🤖 Claude Code (terminal)
You are: Using Claude Code in the terminal inside this repo
Auto-loaded context:
- Primary:
.claude/CLAUDE.md
🤖 Claude (web / non-terminal)
You are: Using Claude outside Cursor/terminal tooling (limited file access)
Read: docs/development/claude.md
Universal Requirements
All agents MUST:
-
✅ Read core documentation:
docs/development/DEV_GUIDE.md- Main development guidedocs/BEST_PRACTICES.md- AI slop prevention.claude/CLAUDE.md("Protected Files") - File deletion protection
-
✅ Follow critical rules:
- Never delete files without explicit approval
- Always search before creating new files
- Prevent AI slop (duplicates, conflicts)
- Use
src/lib/logger.tsinstead ofconsole.log - Follow TypeScript strict mode
-
✅ Check before creating:
- Search codebase for existing functionality
- Verify naming conventions
- Ensure no duplicates exist
- Follow existing patterns
Quick Decision Tree
Start: I need to work on RevampIT codebase
│
├─ Do I have direct file access?
│ │
│ ├─ YES → Read cursor.md (Cursor agent)
│ │ Use file operations, terminal, browser tools
│ │
│ └─ NO → Continue...
│
├─ Am I Google Gemini?
│ │
│ ├─ YES → Read gemini.md
│ │ Provide complete code, request verification steps
│ │
│ └─ NO → Continue...
│
└─ Am I running a terminal agent?
│
├─ Codex CLI → Uses `AGENTS.md` (repo root)
├─ Gemini CLI → Uses `.gemini/GEMINI.md`
├─ Claude Code → Uses `.claude/CLAUDE.md`
│
└─ Otherwise → Use DEV_GUIDE.md + the appropriate docs/development/* guide
Common Tasks Across All Agents
Creating a New Component
All agents should:
- ✅ Search for existing similar components
- ✅ Follow patterns in
docs/development/DEV_GUIDE.md - ✅ Use TypeScript with proper types
- ✅ Include error handling
- ✅ Use Tailwind CSS for styling
- ✅ Reference existing components for structure
Agent-specific differences:
- Cursor: Can create files directly, check linter immediately
- Gemini: Must provide complete file contents
- Claude: Can analyze and suggest improvements
Creating an API Route
All agents should:
- ✅ Follow RESTful conventions
- ✅ Use
src/lib/logger.tsfor logging - ✅ Implement proper error handling
- ✅ Validate inputs
- ✅ Return consistent response format
Agent-specific differences:
- Cursor: Can test with terminal commands
- Gemini: Must provide complete route code
- Claude: Can review and suggest improvements
Refactoring Code
All agents should:
- ✅ Follow DRY principles
- ✅ Maintain SSOT (Single Source of Truth)
- ✅ Preserve functionality
- ✅ Update all usages
- ✅ Verify with tests
Agent-specific differences:
- Cursor: Can refactor multiple files, verify immediately
- Gemini: Must provide complete refactored code
- Claude: Can provide detailed analysis and plan
File Organization
docs/development/
├── DEV_GUIDE.md # Main development guide (all agents)
├── AGENTS.md # This file - agent index
├── cursor.md # Cursor-specific guide
├── gemini.md # Gemini-specific guide
└── claude.md # Claude-specific guide
Quick Links
Core Documentation
DEV_GUIDE.md- Main development guide../BEST_PRACTICES.md- Best practices../../.claude/CLAUDE.md- File protection ("Protected Files")
Agent-Specific Guides
- Cursor:
/.cursorrules- Main Cursor rules (auto-discovered)/.cursor/rules/- Modular rulescursor.md- Human reference guide
- Claude:
/.claude/CLAUDE.md- Claude Code standard (auto-discovered)claude.md- Detailed reference guide
- Gemini:
gemini.md- Gemini agent guide
Architecture & Setup
../guides/ARCHITECTURE.md- System architecture../../CONTRIBUTING.md- Contribution guide
Remember
All agents:
- ✅ Read the appropriate agent-specific guide first
- ✅ Follow universal requirements
- ✅ Prevent AI slop
- ✅ Protect files from deletion
- ✅ Maintain code quality
Choose your guide and start coding!
Last Updated: 2026-01-30
Purpose: Quick reference for AI agents