andrew-kane-gem-writer
This skill should be used when writing Ruby gems following Andrew Kane's proven patterns and philosophy. It applies when creating new Ruby gems, refactoring existing gems, designing gem APIs, or when clean, minimal, production-ready Ruby library code is needed. Triggers on requests like "create a gem", "write a Ruby library", "design a gem API", or mentions of Andrew Kane's style.
Security Assessment
About andrew-kane-gem-writer
The andrew-kane-gem-writer skill is designed to assist in creating Ruby gems following the proven design patterns and philosophies established by Andrew Kane. With a track record of successful Ruby gems with millions of downloads, this skill serves as a guide to writing clean, minimal, and production-ready code. It emphasizes simplicity, minimizing dependencies, and focusing on explicit code over metaprogramming. This skill is beneficial for developers creating new Ruby gems, refactoring existing ones, or designing API frameworks that are robust yet simple to maintain in production environments.
FAQ
How does this skill help with writing Ruby gems?
This skill helps by guiding developers to write Ruby gems following Andrew Kane's tested patterns, ensuring simplicity, minimal dependencies, and clear, production-ready code.
Can this skill be used for refactoring existing Ruby gems?
Yes, the andrew-kane-gem-writer skill is also suitable for refactoring existing gems, focusing on simplifying code and improving readability while adhering to production use cases.
Does this skill work with any Ruby version?
The skill's gemspec pattern specifies a minimum required Ruby version of 3.1, so it is compatible with Ruby versions starting from 3.1 and above.
What testing framework does this skill use?
This skill uses Minitest for testing, and it includes a setup guide and example test case for Minitest-based projects.
Is Rails integration supported?
Yes, Rails integration is supported, but it follows the pattern of using ActiveSupport's on_load method rather than directly requiring Rails gems, allowing for cleaner and decoupled Rails integration.
Install andrew-kane-gem-writer
Quick Setup:
- Copy the skill folder to
.claude/skills/ - Claude will automatically detect and use the skill
Repository
EveryInc/compound-engineering-plugin