Hour a Day: AI - Day 27 - More Mods
With conventions freshly updated, let’s get back to the Stardew Mod.
Do the boring part for me Prompt:
Can you create the new boilerplate for a new mod integration using the IconicFrameworkService as a base. the name of the mod is “StarControl” leave in TODOs for the implementations of the specific interface as well as the register method.
Details I’ll create a new service for the StarControl mod integration, using the IconicFrameworkService as a template. I’ll include TODOs for the implementation details and the register method.
Hour a Day: AI - Day 26 - Review Time
While working on other tasks I had a random thought: “Could the ai update my conventions using the analysis I’ve provided in the blog posts I’ve written so far?”
One Month Recap Prompt:
read all of my blog posts in the april 2025 folder, take my analysis of what things worked, and didn’t work and make a summary for me
Details Okay, I have read through your April 2025 “Hour a Day: AI” blog posts. Here is a summary based on your analysis (✅ for successes, ❌ for failures/issues):
Hour a Day: AI - Day 25 - Manual Work
I’ve spent a lot of time this weekend refactoring the Stardew mod. One of the big changes was making certain models require passing a field in via the constructor instead of as a property. That involves a lot of manual fixing. Let’s see if the ai can do it :)
Json Serialization Question The whole reason I had done what I did originally was to satisfy json serialization. If that goes away things can be a lot simpler.
Hour a Day: AI - Day 24 -
Feeling better this morning so let’s finally get rid of these test flakes!
Better! Prompt:
The test ShouldDrawRow test case that has 2 expected rows is only drawing one. Can you look at both the test and the implementation and come up with a couple of ideas about why that might be?
Details Looking at the ShouldDrawRow test case and the ForecastMenu implementation, I can identify a few potential reasons why the test with 2 expected rows is only drawing one:
Hour a Day: AI - Day 21 - Break
Off today, dealing with a cold.
Hour a Day: AI - Day 22 - A Quick Aside
Stepping aside from my Stardew mod testing shenanigans. The blog parser needs a small update to remove markdown headers from aider’s /ask sections as those get interpreted incorrectly by hugo
Just do the thing Prompt:
update the application to remove # characters from the start of lines in the response object if they exist when writing the responses to the blog post
Details Based on your request to remove # characters from the start of lines in the response object when writing to the blog post, I’ll need to examine the BlogPostGenerator.cs file since that’s likely where the blog post content is generated.
Hour a Day: AI - Day 21 - Updates?
An abnormal post today: I spent my hour looking over Rider 2025.1’s new ai integration. Unfortunately, after much searching I did not see any options to hook it into open router. The ollama option is definitely interesting, and might be something I try out in the near future. For now aider will still be my tool of choice :)
Hour a Day: AI - Day 20 - Finally Refactoring
After a good night’s rest I felt reinvigorated to figure this issue out!
Time to Get this figured out! Prompt:
How can I update all line endings on my file to be unix like via the command line
Details You can update all line endings in your files to Unix-style (LF) using the git command line. Here are a few approaches:
Option 1: Configure Git and re-checkout files # Set Git to use LF line endings for all files git config core.autocrlf false git config core.eol lf # Re-checkout all files to apply the new line ending settings git rm --cached -r . git reset --hard Option 2: Use dos2unix utility If you have the dos2unix utility installed:
Hour a Day: AI - Day 19 - Formatting Woes
Short one today, not a lot of successes. I tried to install some new diff tools to diagnose what is happening with this file but nothing is lining up.
Hopeless Prompt:
looking at the last history item, please try to reimplement the change now that I’ve reformatted the file
Details Based on the chat history, I’ll implement the fix for the ShouldDrawRow test in the ForecastMenuTests.cs file. The issue is with the assertion for the number of horizontal partitions.
Hour a Day: AI - Day 18 - Aider Issues
With the blog parsing tool pretty stable, I’d like a break and to start working on my Stardew Valley Mod!
Asking for testing assistance Prompt:
The test ShouldDrawRow is a little confusing on why it is failing on the test that has two expected rows. The assertion is failing is the number of horizontal dividers. Can you inspect both the test and the implementation and suggest a couple different ideas on what the issue might be and how to fix it.