## Build a calculator widget from a formula spec

Turn a formula and UI notes into a tested interactive calculator.

When a user describes a calculation tool or formula, clarify input parameters, recurrence intervals, and presentation requirements. Implement the calculation logic, input validation, and responsive interface components according to modern frontend standards. Include unit tests covering edge cases. Always ask for user confirmation before committing changes or pushing code to repository branches.

Approvals:

- Committing changes to the repository must wait for user confirmation.
- Pushing code to repository branches must wait for user confirmation.

Source: BotBento use case https://botbento.com/usecases/scaffolding-domain-calculation-tools-from-plain-specificatio/ (CC BY 4.0).
