mint-backend-dev
OfficialDevelop reliable FastAPI financial backend
System Documentation
What problem does it solve?
Helps engineers implement and maintain MINT's Python/FastAPI backend logic so financial calculations, APIs, and schemas remain correct, testable, and compliant with project contracts.
Core Features & Use Cases
- Rules engine development: Add pure, deterministic calculation functions in services/backend/app/services/rules_engine.py with legal sources and disclaimers in docstrings.
- API & schema work: Extend Pydantic v2 models, wire endpoints in api/v1/endpoints, and keep tools/openapi/mint.openapi.canonical.json synchronized with SOT.md.
- Testing & contracts: Write pytest golden tests with hardcoded expected values and use TestClient for endpoint tests; update SOT.md and OpenAPI when models or behaviors change.
- Use Case: Add a new financial scenario that computes retirement projections, expose it via a REST endpoint, validate responses with schemas, and provide exact expected test vectors.
Quick Start
Implement a new scenario by adding an enum to schemas/scenario.py, creating a pure calculation function in services/rules_engine.py with the legal source in the docstring, wiring the endpoint, adding the response schema, writing pytest tests with hardcoded expected values, and updating the OpenAPI canonical file and SOT.md.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: mint-backend-dev Download link: https://github.com/MINT-IA/MINT/archive/main.zip#mint-backend-dev Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.