Skip to content

Latest commit

 

History

History
43 lines (29 loc) · 1.2 KB

File metadata and controls

43 lines (29 loc) · 1.2 KB

Docker Compose Builder Web - Agent Configuration

Root Configuration

Inherits all behavior from /AGENTS.md at the monorepo root. Local rules extend or override the root file for this repository.

Project Context

This repository contains the web tool that generates Docker Compose configurations for HagiCode deployments.

Working Directory

Run commands from repos/docker-compose-builder-web/.

Key Commands

npm install
npm run dev
npm run build
npm run test
npm run test:ui
npm run lint

Key Paths

  • src/components/: UI and interaction components
  • src/lib/docker-compose/: generator, validation, defaults, and core types
  • src/lib/docker-compose/__tests__/: unit, BDD, and snapshot coverage
  • scripts/: repo-level helpers

Agent Guidelines

  • Keep generation and validation logic in src/lib/docker-compose/, not embedded inside view components.
  • Preserve the repo's i18n flow for all user-facing strings.
  • Treat generated YAML behavior as contract-like: update tests or snapshots when behavior changes intentionally.
  • Prefer composable UI changes on top of the existing React, Tailwind, and shadcn-style patterns.

References

  • README.md
  • src/lib/docker-compose/