ruby-gem-scaffolder

Scaffold Ruby gems with Bundler, standard structure, and CI templates.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/jwplatta/prompt-library --skill ruby-gem-scaffolder
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ruby-gem-scaffolder
Source: https://github.com/jwplatta/prompt-library/tree/main/claude/plugins/rubyist/skills/ruby-gem-scaffolder
Command: npx skills add https://github.com/jwplatta/prompt-library --skill ruby-gem-scaffolder

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires bundler, tree, rspec, and includes scripts (resource) components.

What problem does it solve?

This Skill automates creating a new Ruby gem with a solid, conventional structure and setup.

Core Features & Use Cases

  • Create a new gem with Bundler and optional test framework
  • Generate a standard gem structure including lib/, spec/, and gemspec
  • Produce a ready-to-customize template for versioning and CI
  • Scaffold with common development configurations

Quick Start

Create a new gem named my_gem using the scaffolder script: claude/plugins/rubyist/skills/ruby-gem-scaffolder/scripts/create_gem.sh my_gem

Frequently Asked Questions about ruby-gem-scaffolder

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scaffold a new Ruby gem with a standard structure?

Scaffolding a Ruby gem automates creation of a standards-compliant gem skeleton with lib/, spec/, and gemspec files. Use the ruby-gem-scaffolder to generate a new gem by running the create_gem.sh script with your gem name, which leverages Bundler to set up the initial structure, test framework, and CI configuration automatically.

Can I configure test frameworks and CI providers when creating a gem?

Yes, the gem scaffolder provides configurable options for selecting test frameworks, CI providers, and documentation templates during the creation workflow. These choices are applied to your gem's initial setup, allowing you to customize the generated structure before editing.

What's the fastest way to extract code into a new Ruby gem?

The gem scaffolder accelerates gem extraction by automating the creation of a gem structure with Bundler templates, standard directories, and ready-to-customize files for documentation and licensing. This guided workflow eliminates manual boilerplate setup, letting you focus on moving code into the new gem.

Does the scaffolder handle gem dependencies and bundler configuration?

The scaffolder generates a gemspec and Bundler-compatible configuration as part of the initial gem skeleton. It uses Bundler templates to set up dependency management, so your new gem is ready for declaring and managing dependencies immediately.

Can I use this scaffolder with different license and documentation templates?

Yes, the scaffolder includes configurable options for licenses and documentation templates. During gem creation, you can select your preferred license and documentation format, which are then applied to the generated gem structure as ready-to-edit templates.

What dependencies do I need to use the gem scaffolder?

The gem scaffolder requires Bundler, tree, and rspec as dependencies. Bundler is used to generate the gem structure, tree displays the directory layout, and rspec provides the test framework integration for the scaffolded gem.