Files
tilbudgivern/COPILOT_MEMORY.md
alexpolo1 cf9b831e35 docs: Add AI agent configuration files for multiple AI assistants
- CLAUDE.md: Claude Code instructions
- .github/copilot-instructions.md: GitHub Copilot custom instructions
- .cursorrules: Cursor IDE project rules
- COPILOT_MEMORY.md: Active project context with documentation links
- AGENTS.md: General repository guidelines and coding standards
- GEMINI.md: Gemini AI detailed project overview

All files include: project overview, tech stack, architecture patterns,
Smart Packages system, roof types, Danish terminology, and common commands.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-20 11:02:21 +00:00

3.7 KiB

Tilbudgivern - Project Memory

Use this file to keep AI assistants (Copilot, Claude, Cursor) aligned on project context. Reference this file explicitly in chat sessions.

Project Summary

Tilbudgivern is an AI-powered quote calculator for Danish carpenters, focused on roofing work. It uses OpenAI GPT-4 to generate professional quotes with auto-calculated materials and labor.

Active Focus

  • Smart Packages testing and refinement
  • UI/UX improvements for quote creation flow
  • Ordrestyring API GraphQL migration

Tech Stack Quick Reference

Component Technology Location
Frontend React 18 + Material-UI frontend/
Backend Node.js/Express backend/unified-server.js
Database MariaDB localhost:3306, db: tilbudgivern
AI OpenAI GPT-4 backend/src/services/openaiService.js
Process PM2 process: tilbudgivern-unified
Tests Playwright, Jest tests/, backend/__tests__/

Key Features

Smart Packages (15 packages)

Pre-configured roofing packages with auto-calculation:

  • Tagdækning (B7, undertag, rygning)
  • Tagrende & Nedløb (Lindab system)
  • Tagvinduer (Velux montering)
  • Brædder (vindskeder, sternbrædder)
  • Specialarbejde (nedrivning, skortrende)

Roof Types (7 types)

  1. Sadeltag (pitched) - default
  2. Valmtag (hip)
  3. Københavnertag
  4. Fladtag (flat)
  5. Pulttag (shed)
  6. Tag med Kviste (dormers)
  7. Mansardtag

Architecture & Setup

Features

Integrations

Testing

System

Danish Terminology

Danish English
Tilbud Quote/Offer
Tømrer Carpenter
Tag Roof
Materiale Material
Pakke Package
Pris Price
Tagareal Roof area
Rygning Ridge
Tagrende Rain gutter
Nedløb Downspout
Spær Rafters

Common Commands

npm run dev                    # Dev with hot reload
npm run build                  # Build frontend
pm2 restart tilbudgivern-unified  # Restart server
pm2 logs tilbudgivern-unified  # View logs
npm run test:pw                # Playwright tests
cd backend && npm test         # Jest tests

Environment

Required in backend/.env:

  • OPENAI_API_KEY, DB_HOST, DB_USER, DB_PASSWORD, DB_NAME

Optional:

  • ORDRESTYRING_API_TOKEN, OPENAI_ADMIN_KEY

How to Use with AI Assistants

VS Code Copilot:

@workspace use COPILOT_MEMORY.md for context. Help me with [task].

Claude Code:

Reference CLAUDE.md and COPILOT_MEMORY.md for project context.

Cursor:

See .cursorrules and COPILOT_MEMORY.md for project context.

Last updated: January 2026