andrew-kane-gem-writer

Generate Ruby gem scaffolds with Minitest testing and Rails integration patterns.

461|129|Updated Jan 26, 2026
One-click install
npx skills add https://github.com/davekilleen/Dex --skill andrew-kane-gem-writer-davekilleen
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: andrew-kane-gem-writer
Source: https://github.com/davekilleen/Dex/tree/main/.claude/plugins/compound-engineering/skills/andrew-kane-gem-writer
Command: npx skills add https://github.com/davekilleen/Dex --skill andrew-kane-gem-writer-davekilleen

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the creation of high-quality, production-ready Ruby gems by adhering to Andrew Kane's proven, minimalist, and dependency-light patterns.

Core Features & Use Cases

  • Gem Scaffolding: Generates the foundational structure for new Ruby gems.
  • API Design Guidance: Provides patterns for creating clean, explicit DSLs and configuration interfaces.
  • Rails Integration: Demonstrates best practices for integrating gems with Rails without coupling.
  • Use Case: When starting a new Ruby library for data visualization, use this Skill to set up the gem structure, define its configuration API, and ensure it integrates cleanly with Rails applications.

Quick Start

Use the andrew-kane-gem-writer skill to create a new Ruby gem named 'my_awesome_gem'.

Frequently Asked Questions about andrew-kane-gem-writer

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

FAQPage Schema
How do I create a new Ruby gem following minimal dependency patterns?

To create a new Ruby gem with minimal dependencies, this Skill generates the foundational file structure and configuration patterns based on Andrew Kane's established principles of simplicity and explicit code, avoiding metaprogramming.

What is the best way to design a clean API for a Ruby gem?

Designing a clean API for a Ruby gem involves using explicit DSLs and configuration interfaces. This Skill provides patterns for creating simple, production-ready APIs that avoid unnecessary complexity and metaprogramming.

How do I integrate a Ruby gem with Rails without tight coupling?

Integrating a Ruby gem with Rails without coupling requires specific configuration patterns. This Skill demonstrates best practices for Rails integration, ensuring your library connects cleanly without forcing hard dependencies on the framework.

Does this Ruby gem generation approach use Minitest for testing?

Yes, this Ruby gem generation approach uses Minitest for testing. The Skill enforces specific testing methodologies using Minitest to ensure your new library is production-ready and adheres to established community patterns.

When should I avoid metaprogramming in Ruby gem development?

You should avoid metaprogramming in Ruby gem development when prioritizing simplicity and explicit code. This Skill enforces patterns that favor explicit configuration and clear code structures over dynamic metaprogramming techniques.

Can I use this to scaffold a Ruby gem for data visualization?

Yes, you can use this to scaffold a Ruby gem for data visualization. The Skill sets up the gem structure, defines the configuration API, and ensures clean Rails integration for new libraries like data visualization tools.