A collection of solutions for the Advent of Code 2025 programming challenges, solved using pure vibe coding with Claude Code.
This repository is an experiment in AI-assisted development where all code is written by Claude Code with zero manual edits. Every solution, test, and documentation file is generated through natural language interaction with Claude Code, demonstrating the power of AI-powered development workflows.
AdventOfClaude-2025/
├── README.md # This file
├── CLAUDE.md # Instructions for Claude Code instances
├── mise.toml # Tool versions and task definitions
└── days/ # All daily solutions
├── 01/ # Day 1 puzzle solution
│ ├── INSTRUCTIONS.md # Puzzle description
│ ├── part_1.py # Part 1 solution
│ ├── part_2.py # Part 2 solution
│ ├── test.py # Test suite
│ ├── input.txt # Puzzle input (user-specific)
│ └── README.md # Solution documentation
├── 02/ # Day 2 puzzle solution
│ └── ...
└── ...
Each day's directory contains:
- INSTRUCTIONS.md - The puzzle story and task description from Advent of Code
- part_1.py - Part 1 solution that prints only the raw answer (for easy piping)
- part_2.py - Part 2 solution that prints only the raw answer (for easy piping)
- test.py - Comprehensive test suite with example cases and edge cases
- input.txt - Personal puzzle input from Advent of Code
- README.md - Documentation of the approach, insights, and results
# Run all parts for a day
mise run solve 1
# Run specific part
mise run solve 1 1 # Part 1
mise run solve 1 2 # Part 2
# Run tests
mise run test 1 # Test specific day
mise run test # Test all daysNavigate to any day's directory and run:
# Navigate to a specific day (zero-padded)
cd days/01
# Run solutions (outputs raw answer)
python3 part_1.py
python3 part_2.py
# Copy answer directly to clipboard (macOS)
python3 part_2.py | pbcopy
# Run with custom input
python3 part_1.py custom_input.txt
# Run all tests
python3 test.py- Pure AI Development - No manual code edits; all changes through Claude Code
- Test-Driven - Each solution includes comprehensive tests for edge cases
- Clean Output - Solutions output only raw answers for easy automation
- Self-Contained - Each day is independent with its own tests and documentation
- Documented - Clear explanations of approach, insights, and key techniques
- Add the day's
INSTRUCTIONS.mdwith the puzzle description - Use Claude Code to implement the solution
- Create comprehensive tests covering edge cases
- Document the approach and insights in the day's README
- Verify the solution produces the correct answer
- Move to the next day's puzzle
All solutions follow consistent patterns:
- Type hints for function parameters and return values
- Descriptive variable and function names
- Inline comments explaining non-obvious logic
- Separation of concerns (parsing, logic, I/O)
- Modular functions that can be tested independently
-
Install mise - Tool version manager for Python and other dependencies
curl https://mise.run | shSee mise.jdx.dev for other installation methods.
-
Install dependencies - All tools and versions are defined in mise.toml
mise install
-
VSCode (recommended) - Open the project and search for
@recommendedin Extensions to install- Configuration is stored in .vscode/settings.shared.json
- Extensions listed in .vscode/extensions.json
# Clone and setup
git clone https://github.com/balintant/AdventOfClaude-2025
cd AdventOfClaude-2025
mise install
# Run a day's solution
mise run solve 01
# Run tests for a specific day
mise run test 01
# Run all tests
mise run test- Tool Management: mise - See mise.toml for versions
- Language: Python 3.13 (standard library only, no external dependencies)
- IDE: VSCode with Claude Code extension
- AI Assistant: Claude (Sonnet 4.5)
- Testing: Custom test functions with assertions
- Linting: Ruff
This project demonstrates:
- The capability of AI assistants to write production-quality code
- Effective human-AI collaboration through natural language
- The importance of good prompts and clear communication
- How AI can maintain consistency across a multi-day project
- The viability of "vibe coding" for solving algorithmic challenges
| Day | Status | Part 1 | Part 2 |
|---|---|---|---|
| 1 | ✅ | 1105 | 6599 |
| 2 | ✅ | 29940924880 | 48631958998 |
| 3 | ✅ | 17443 | 172167155440541 |
| 4 | ✅ | 1433 | 8616 |
| 5 | ✅ | 613 | 336495597913098 |
| 6 | ✅ | 5171061464548 | 10189959087258 |
| 7 | ✅ | 1698 | 95408386769474 |
| 8 | ✅ | 352584 | 9617397716 |
| 9 | ✅ | 4769758290 | 1588990708 |
| 10 | ✅ | 432 | 18011 |
| 11 | ✅ | 571 | 511378159390560 |
| 12 | ✅ | 414 | ⭐ (narrative only) |
Advent of Code is an annual event featuring daily programming puzzles throughout December. Each day presents a two-part challenge that requires algorithmic thinking, problem-solving skills, and code implementation.
This project is for educational and demonstration purposes. Puzzle descriptions and stories are © Advent of Code.
- Eric Wastl for creating Advent of Code
- Anthropic for developing Claude and Claude Code
- The Advent of Code community for inspiration and support
Note: This repository showcases pure AI-assisted development. Every line of code, test, and documentation was generated by Claude Code without manual editing.