Skip to content

Instantly share code, notes, and snippets.

@094459
Created March 8, 2025 19:16
Show Gist options
  • Select an option

  • Save 094459/bf583505f11c2e1a1932f1db6f5e0610 to your computer and use it in GitHub Desktop.

Select an option

Save 094459/bf583505f11c2e1a1932f1db6f5e0610 to your computer and use it in GitHub Desktop.
Scaffold document to help shape LLM output
When creating Python code, use the following guidance
- Use Flask as the web framework
- Follow Flask's application factory pattern
- Use Pydantic for data validation
- Use environment variables for configuration
- Implement Flask-SQLAlchemy for database operations
- Use Swagger to provide an interactive API UI
Use the following project structure
├ app
├── src
├── src/static/
├── src/models/
├── src/routes/
├── src/templates/
├── src/extensions.py
├ app.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment