Skip to content

Latest commit

 

History

History
38 lines (25 loc) · 1.41 KB

File metadata and controls

38 lines (25 loc) · 1.41 KB

AGENTS.md

Keep updating the AGENTS.md file with things you deem necessary and if it gets too long compact it.

Context

Implemented project: prompt enhancer with a FastAPI backend and a React frontend. The user can input a prompt, optionally answer clarification questions, and receive an enhanced prompt while the original prompt remains visible in the UI.

Architecture and stack

  • Frontend: React + Vite single-page app for prompt entry, clarification, and comparison.
  • Backend: FastAPI API service for prompt analysis and enhancement.
  • LLM integration with mock fallback plus Anthropic, OpenAI, and Gemini provider support.
  • Storage: in-memory prompt sessions.
  • Validation: pytest, ruff, and frontend production build.
  • Security: basic input sanitization and explicit fallback behavior when no provider is configured.

Preferred default: Python (FastAPI) backend and React + Tailwind frontend, with local file outputs.

Env

Python package manager used is uv. Use bun for TypeScript packages.

Rules

Develop and document in English. (except for the final documentation in a markdown file) Use virtual environment. Use git for version control. if there are fundemental parts missing for the project (so not just packages but things to run python or TypeScript or something important that would affect my system) then ask me otherwise keep generating the program

System info

Arch linux Wayland KDE Plasma x86-64