xiaohongshu
xiaohongshu
Main coordinator for the automated Advent of Code workflow. Orchestrates puzzle fetching, TDD solving, and submission for daily AoC challenges. Use when running the full automated solving pipeline or when user requests to solve an AoC day.
Full skill instructions
This skill is the main coordinator for the automated Advent of Code workflow. It orchestrates the entire process from puzzle fetching to submission, managing the execution of other specialized skills and handling the overall workflow state.
CRITICAL: This MUST be the first step. Do not proceed if the puzzle is already complete.
aoc calendar --year 2025 to see progress (completed days show decorations/artwork)puzzles/day<DD>/report.md - if it shows both parts completed, EXITstate/day<DD>.jsonIf both parts are already solved: DO NOT proceed. Report "Day X is already complete! Nothing to do." and EXIT.
# Check current date and determine which day to solve
# Verify session cookie is configured
If puzzle unlock time not reached:
- Log: "Puzzle for day X not yet available"
- Exit gracefully
- Next cron execution will retry
If day already has both stars:
- Log: "Day X already completed"
- Exit gracefully
- No further action needed
If network request fails:
- Log error details
- Retry up to 3 times with exponential backoff
- If still failing, exit and alert
If Rust code fails to compile:
- Log compiler errors
- Attempt to fix based on error messages
- Retry compilation
- Max 5 fix attempts per part
Track workflow state in state/day{day}.json:
{
"day": 1,
"year": 2025,
"status": "in_progress",
"part1": {
"status": "completed",
"answer": 24000,
"submitted_at": "2025-12-01T05:01:23Z",
"attempts": 1
},
"part2": {
"status": "in_progress",
"answer": null,
"submitted_at": null,
"attempts": 0
},
"started_at": "2025-12-01T05:00:15Z",
"completed_at": null
}
Log all actions to logs/day{day}.log:
[2025-12-01 05:00:15] INFO: Starting orchestration for Day 1
[2025-12-01 05:00:16] INFO: Invoking puzzle-fetcher skill
[2025-12-01 05:00:18] INFO: Puzzle downloaded successfully
[2025-12-01 05:00:18] INFO: Invoking tdd-solver skill for Part 1
[2025-12-01 05:02:45] INFO: Part 1 solution implemented, all tests pass
[2025-12-01 05:02:46] INFO: Invoking submission-handler for Part 1
[2025-12-01 05:02:47] SUCCESS: Part 1 answer accepted!
[2025-12-01 05:02:48] INFO: Invoking tdd-solver skill for Part 2
...
When invoked manually:
# Run for today's puzzle
cargo run --bin aoc-orchestrator
# Run for specific day
cargo run --bin aoc-orchestrator -- --day 5
# Dry run (no submission)
cargo run --bin aoc-orchestrator -- --day 1 --dry-run
# Force re-run even if already solved
cargo run --bin aoc-orchestrator -- --day 1 --force
# Verbose debugging
cargo run --bin aoc-orchestrator -- --day 1 --debug
// Pseudo-code showing skill invocation
let puzzle_data = invoke_skill("puzzle-fetcher", {
"day": day_number,
"year": 2025
})?;
let solution = invoke_skill("tdd-solver", {
"day": day_number,
"part": 1,
"examples": puzzle_data.examples,
"input": puzzle_data.input
})?;
let result = invoke_skill("submission-handler", {
"day": day_number,
"part": 1,
"answer": solution.answer
})?;
Track and report:
After both parts completed successfully:
cargo fmt to format codecargo clippy to check for issues"Solve Day {day} - {puzzle_title}"If workflow fails mid-execution:
xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience