Nano Banana Pro
Agent skill for nano-banana-pro
This project is a **Python backend** that models and explains **mental math strategies** for basic arithmetic operations (addition, subtraction, multiplication, and division).
Sign in to like and favorite skills
This project is a Python backend that models and explains mental math strategies for basic arithmetic operations (addition, subtraction, multiplication, and division).
Its purpose is didactic: to generate step-by-step reasoning processes (not just numeric results) that can later be displayed or visualized in an educational app.
The core idea:
79 + 25 β adjust 79 to 80 β compensate 25 to 24 β 80 + 24 = 104
The backend produces structured JSON outputs containing:
When assisting in this repository, your goals are:
suma_algoritmos.py (currently: compensation)api.py (Flask REST)test_api.pydef compensate(a: int, b: int) -> dict:).adjustment, rounded_value, compensated_value) over short ones.pytest for testing.ajuste / compensacion)"Add a new strategy for decomposition: break down numbers into place values.
Follow the same semantic JSON structure withandajustefields."compensacion
This project bridges mathematical pedagogy and software engineering.
Agents should assist by producing transparent, well-explained, extensible code that combines educational insight with clean architecture.