CLAUDE.md@examples/01-calculator · git:20260111.3a91369 · 2026-01-11 · sha256 394edff853c4f6d6
CLAUDE.md@examples/01-calculator git:20260111.3a91369A
Immutable. This exact content never changes and is served at /api/v1/blob/394edff853c4f6d6.
# Calculator Demo Project
A simple calculator module for demonstrating Auto-Loop.
## Tech Stack
- Language: JavaScript (Node.js 18+)
- Testing: Node.js built-in test runner
## Project Structure
```
01-calculator/
├── calculator.js # Main implementation
├── calculator.test.js # Unit tests
└── package.json # Project config
```
## Development Policies
- Always write tests before implementation (TDD)
- Use conventional commits
- Keep functions simple and focused
- Handle edge cases (division by zero)
## Test Command
```bash
npm test
# or
node --test
```
## Expected Functions
```javascript
// calculator.js
function add(a, b) { ... }
function subtract(a, b) { ... }
function multiply(a, b) { ... }
function divide(a, b) { ... } // throws on zero
```