Skip to main content
Jeden Skill in Manus ausführen
mit einem Klick

web-layer

Sterne4
Forks0
Aktualisiert6. Juli 2026 um 18:55

Conventions and safety rules for the ContosoForge web layer — the FastAPI backend (web/api.py, web/routes/, web/shared_state.py) and its React SPA (web/frontend/). Load this when editing anything under web/ — adding or changing an API endpoint, touching shared mutable state, or working on CORS/security/payload handling. It covers the thread-safety locking discipline, the dual (/api + /v1/api) route versioning, the CORS allowlist and security headers, and the request-size limits. Use it for any "add an endpoint", "the web UI", "FastAPI route", or "why is the API rejecting my request" work.

Installation

Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fügen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prüfen und installieren.

SKILL.md
readonly