flask-spiderlisted
Install: claude install-skill VivekShevale/eight-eye
# Flask Spider
Builds Flask projects on top of the shared standards. Load these too:
- `backend-silk`: layers, code rules, errors, logging, config, security, workflow. **Always.**
- `sql-silk`: models, DBService rules, migrations, queries (Flask projects here use PostgreSQL via SQLAlchemy). `mongodb-silk` if a Flask app uses MongoDB.
## Structure
```text
project/
├── run.py # app = create_app(); `flask --app run.py run`
├── app/
│ ├── __init__.py # create_app(): config, logging, extensions, handlers, blueprints
│ ├── config.py # frozen dataclass settings from .env
│ ├── extensions.py # db, migrate, jwt created without an app
│ ├── routes/ # <domain>_routes.py -> <domain>_bp blueprints
│ ├── helpers/ # <domain>_helper.py -> XHelper (business logic)
│ ├── services/ # db_service.py (+ llm/other integrations)
│ ├── schemas/ # Pydantic: <domain>_schema.py, common_schema.py
│ ├── models/ # base.py + one file per table; __init__.py stays empty
│ └── utils/ # log_utils, error_handlers, auth_utils, request_utils
├── migrations/ # Flask-Migrate, committed
├── tests/
├── .env .env.example .gitignore requirements.txt README.md
```
## Starting a new project
Starter project, tested end to end (35 checks on auth, CRUD, filters, ownership, validation and failure paths, plus a real Flask-Migrate migration): `assets/project/`. Copy map and build order: `ref