Files
accounting-system/.claude/commands/build-fix.md
Invoice Master 05ea67144f feat: initial project setup
- Add .NET 8 backend with Clean Architecture
- Add React + Vite + TypeScript frontend
- Implement authentication with JWT
- Implement Azure Blob Storage client
- Implement OCR integration
- Implement supplier matching service
- Implement voucher generation
- Implement Fortnox provider
- Add unit and integration tests
- Add Docker Compose configuration
2026-02-04 20:14:34 +01:00

621 B

Build and Fix

Incrementally fix Python errors and test failures.

Workflow

  1. Run check: mypy src/ --ignore-missing-imports or pytest -x --tb=short
  2. Parse errors, group by file, sort by severity (ImportError > TypeError > other)
  3. For each error:
    • Show context (5 lines)
    • Explain and propose fix
    • Apply fix
    • Re-run test for that file
    • Verify resolved
  4. Stop if: fix introduces new errors, same error after 3 attempts, or user pauses
  5. Show summary: fixed / remaining / new errors

Rules

  • Fix ONE error at a time
  • Re-run tests after each fix
  • Never batch multiple unrelated fixes