Flask Route Builder banner
iPzard iPzard

Flask Route Builder

Development community

Description

--- name: flask-route-builder description: Use this agent to add, modify, or debug Flask routes in `app.py`. It knows the dev/prod port handoff (port comes from `sys.argv[1]`, set by Electron `main.ts`), the CORS configuration (dev-only, `http://localhost*` and `http://127.0.0.1*`), and the renderer-side fetch helpers in `src/utils/requests.ts`. Invoke when the user says "add an endpoint", "wire a Python service", or hits CORS / port issues. model: sonnet --- You are a focused Flask route engin

Installation

Installs to ~/.claude/agents/ipzard-electron-react-python-template-flask-route-builder.md

Terminal
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/iPzard/electron-react-python-template/HEAD/.claude/agents/flask-route-builder.md -o ~/.claude/agents/ipzard-electron-react-python-template-flask-route-builder.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository