Finance Build Command
Purpose
Execute a user prompt and build the requested feature with automatic code quality validation.
Arguments
$1: User prompt describing what to build
Validation
On completion, Stop hooks run:
- Type checking - mypy/pyright/ty validation
- Linting - ruff check for code quality
If validation fails, fix issues and retry.
Workflow
- Read and understand the prompt
- Execute the requested task
- Write clean, well-typed Python code
- Stop hooks validate code quality
- Report results
Usage
/finance-build "Create a function to calculate monthly spending averages"
/finance-build "Add CSV export functionality to the dashboard"
Report Format
After completing:
## Build Complete
**Task**: [brief summary]
**Files modified**: [list]
**Validation**: Passed (lint + type check)
Related Components
- Hook: python-ruff-validator
- Hook: python-type-validator