Skip to main content

4 posts tagged with "AI"

Posts about artificial intelligence and AI tools

View All Tags

The Octoprint Gem is Finally Happening (Thanks, AI)

I started working on the Octoprint gem back in March 2022. The goal was simple: create a Ruby wrapper around the Octoprint REST API so I could interact with multiple 3D printer servers for another project.

Simple, but incredibly boring.

The work was pure drudgery: read an API endpoint's documentation, create classes for models and errors, write tests, document everything, repeat. I implemented just what I needed and then... let it sit. For years. Untouched except for the occasional Dependabot update.

The Simple Question That Fixed My Prompts

I was getting bored writing the CLAUDE.md file for my Ruby project. The usual drill: "Use RSpec for testing. Use Rubocop for linting." You know the type: bullet points that technically cover the basics but somehow miss the mark.

So I handed it off to Claude with a simple request: "Can you document conventions and commonly agreed-on best practices for this Rails project?"

What came back surprised me. Claude didn't just reformat my scattered notes; it completely restructured them. My lazy bullet points became a comprehensive guide with clear sections, context, and actionable details. The output felt more... intentional. Like it was designed to actually help someone succeed, not just check a documentation box.

But then, I realized Claude had essentially shown me how to write for its own "neurons."

That moment got me thinking. If Claude could improve my documentation, could it improve my prompts?