u/Sagarmatha007

Docsmith: Gem to version your document.

Shipped my first Ruby gem this weekend Docsmith: https://rubygems.org/gems/docsmith

It adds snapshot versioning, format-aware diffs, and inline comments to any ActiveRecord model. Zero system dependencies.

But here's the honest story of how it got built.

My first design had branching, merging, conflict resolution — the works. Looked impressive on paper. Turned out I was building Git for documents when all

anyone needs is "save this version, show me what changed, let me leave a note." I stripped all of it out and shipped what actually mattered.

The other honest thing: I built this with Claude Code using the superpowers plugin. Vibe-coding with human intervention. I planned it, tons of tweaks, made architecture decisions,

and course-corrected when things got too complex. The AI was a collaborator, not an autocomplete. Two weekends, 210 passing tests, published to RubyGems.

If you're curious about the planning and implementation process — including the over-engineered version that didn't make it — it's all in the repo under

docs/superpowers.

Rails devs: gem install docsmith. Feedback welcome.

GitHub: https://github.com/swastik009/docsmith

reddit.com
u/Sagarmatha007 — 9 days ago