Software Development with Claude Code
Dani Zysman
AI Curriculum Manager @ DataCamp

python reporter.py --artist "AC/DC" --format json --output report.json



> /plan
> think about designing reporter.py: artist statistics from Chinook
(albums, tracks, duration, revenue), exported as JSON or CSV
Plan: reporter.py CLI Tool
Arguments: --artist, --format (json/csv), --output
Data: Query Chinook for albums, tracks, duration, revenue
Validation: Check artist exists before querying
Errors: Handle DB connection failures, missing artists
Output: Write to file or stdout if no --output given
Exit codes: 0 = success, 1 = error
Tests: test_reporter.py covering core functions and edge cases
========================================
MUSIC ANALYTICS REPORTER - SPECIFICATION
========================================
Arguments: --artist, --format, --output
Validation: Check artist exists before query
Errors: Handle DB connection, file permissions
Formats: JSON (default), CSV
Exit codes: 0 = success, 1 = error
Plan mode + extended thinking = clear roadmap
Software Development with Claude Code