Skip to main content
The Bike Shed

493: Suspenders with Steve Polito

41 min episode · 2 min read
·

Episode

41 min

Read time

2 min

AI-Generated Summary

Key Takeaways

  • AI-Assisted Onboarding: Use Claude in plan mode to identify which existing specs to examine first when starting new projects, rather than having it write code directly. Ask the AI to flip the script and question your feature approach, then distill those questions for stakeholders across time zones, reducing wait time from hours to minutes while maintaining human validation.
  • Consultants as Question Askers: Professional consulting centers on asking the right questions early, especially for new features that establish future patterns. Use AI to surface edge cases and considerations not in acceptance criteria, then validate with product stakeholders. Understanding what you don't know matters more than demonstrating existing knowledge, particularly when onboarding to unfamiliar domains.
  • Suspenders Architecture Evolution: The gem shifted from inheriting Rails generator classes to becoming a simple wrapper for Rails new that passes three options: Postgres database, skip test framework, and an application template file. This rewrite removed 5,000 lines of code, added 1,000, and reduced generation time to eight seconds while making contributions significantly easier.
  • CI Testing Generated Apps: Configure continuous integration to actually run suspenders new, generate an app, scaffold a resource, and execute the test suite inside the generated application. This prevents the common failure mode where the gem's tests pass but apps generated by the tool have broken CI, ensuring end users receive working applications from day zero.
  • Two-Commit Audit Trail: Generate an initial commit containing everything Rails new produces, followed by a second commit showing only suspenders modifications. This creates a clear diff for teams to audit what the gem adds, enables easy customization of specific settings, and provides valuable context for future git blame investigations when questioning configuration choices months later.

What It Covers

Steve Polito discusses the major rewrite of Suspenders, Thoughtbot's Rails application generator gem that existed since 2008. The conversation covers using AI for onboarding, the technical architecture shift from Rails engine to application template, and how the gem packages Thoughtbot's Rails conventions including RSpec, FactoryBot, Heroku deployment, and strong migrations into a single command.

Key Questions Answered

  • AI-Assisted Onboarding: Use Claude in plan mode to identify which existing specs to examine first when starting new projects, rather than having it write code directly. Ask the AI to flip the script and question your feature approach, then distill those questions for stakeholders across time zones, reducing wait time from hours to minutes while maintaining human validation.
  • Consultants as Question Askers: Professional consulting centers on asking the right questions early, especially for new features that establish future patterns. Use AI to surface edge cases and considerations not in acceptance criteria, then validate with product stakeholders. Understanding what you don't know matters more than demonstrating existing knowledge, particularly when onboarding to unfamiliar domains.
  • Suspenders Architecture Evolution: The gem shifted from inheriting Rails generator classes to becoming a simple wrapper for Rails new that passes three options: Postgres database, skip test framework, and an application template file. This rewrite removed 5,000 lines of code, added 1,000, and reduced generation time to eight seconds while making contributions significantly easier.
  • CI Testing Generated Apps: Configure continuous integration to actually run suspenders new, generate an app, scaffold a resource, and execute the test suite inside the generated application. This prevents the common failure mode where the gem's tests pass but apps generated by the tool have broken CI, ensuring end users receive working applications from day zero.
  • Two-Commit Audit Trail: Generate an initial commit containing everything Rails new produces, followed by a second commit showing only suspenders modifications. This creates a clear diff for teams to audit what the gem adds, enables easy customization of specific settings, and provides valuable context for future git blame investigations when questioning configuration choices months later.

Notable Moment

The discussion reveals how thinking about prose and arguments as dependency graphs enables structural editing. Each premise becomes a node with dependencies, and valid writing paths must follow topological sort order where you only visit nodes after their dependencies. This separates edits that change the graph structure from those that merely reorder the traversal through unchanged dependencies.

Know someone who'd find this useful?

You just read a 3-minute summary of a 38-minute episode.

Get The Bike Shed summarized like this every Monday — plus up to 2 more podcasts, free.

Pick Your Podcasts — Free

Keep Reading

More from The Bike Shed

We summarize every new episode. Want them in your inbox?

Similar Episodes

Related episodes from other podcasts

This podcast is featured in Best Cybersecurity Podcasts (2026) — ranked and reviewed with AI summaries.

You're clearly into The Bike Shed.

Every Monday, we deliver AI summaries of the latest episodes from The Bike Shed and 192+ other podcasts. Free for up to 3 shows.

Start My Monday Digest

No credit card · Unsubscribe anytime