mirror of
https://github.com/davila7/claude-code-templates.git
synced 2026-09-19 01:30:23 +08:00
388afba5f9
* ruby cli-tool template and rails 8 example added * feat: Add Ruby on Rails 8 support to claude-code-templates ## Summary - Added Ruby language configuration to templates.js with Rails 8 framework support - Enhanced project detection in utils.js for Ruby/Rails projects via Gemfile and .rb files - Added Ruby-specific hook descriptions to hook-scanner.js for RuboCop, Brakeman, and RSpec - Updated Makefile with Ruby test targets ## Testing Completed (per CONTRIBUTING.md) ✅ Interactive setup works correctly - Ruby appears as language option ✅ Framework detection is accurate - Detects Rails via Gemfile and config/application.rb ✅ Command installation succeeds - Rails commands properly installed ✅ Hook configuration is valid - 9 Ruby hooks load without errors ✅ MCP servers are properly configured - Ruby SDK server configured ✅ Dry run mode shows expected output - Displays all Ruby template files ✅ Command analysis displays accurate statistics - Shows Rails command stats All tests from the Testing Checklist have been manually verified and pass successfully. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> --------- Co-authored-by: Claude <noreply@anthropic.com>
84 lines
2.6 KiB
JSON
84 lines
2.6 KiB
JSON
{
|
|
"mcpServers": {
|
|
"github": {
|
|
"command": "npx",
|
|
"args": ["-y", "@modelcontextprotocol/server-github"],
|
|
"category": "Development Tools",
|
|
"description": "GitHub integration for repository management and issue tracking",
|
|
"complexity": "Medium",
|
|
"enabled": false,
|
|
"env": {
|
|
"GITHUB_PERSONAL_ACCESS_TOKEN": ""
|
|
}
|
|
},
|
|
"postgres": {
|
|
"command": "npx",
|
|
"args": ["-y", "@modelcontextprotocol/server-postgres"],
|
|
"category": "Database",
|
|
"description": "PostgreSQL database operations and query execution",
|
|
"complexity": "Medium",
|
|
"enabled": false,
|
|
"env": {
|
|
"POSTGRES_CONNECTION_STRING": ""
|
|
}
|
|
},
|
|
"brave-search": {
|
|
"command": "npx",
|
|
"args": ["-y", "@modelcontextprotocol/server-brave-search"],
|
|
"category": "Web Search",
|
|
"description": "Web search capabilities using Brave Search API",
|
|
"complexity": "Low",
|
|
"enabled": false,
|
|
"env": {
|
|
"BRAVE_API_KEY": ""
|
|
}
|
|
},
|
|
"ruby-docs": {
|
|
"command": "ruby",
|
|
"args": [
|
|
"-e",
|
|
"require 'json'; require 'net/http'; puts JSON.generate({tools: [{name: 'ruby_docs', description: 'Search Ruby documentation'}]})"
|
|
],
|
|
"category": "Documentation",
|
|
"description": "Ruby language documentation and API reference",
|
|
"complexity": "Low",
|
|
"enabled": true
|
|
},
|
|
"rails-docs": {
|
|
"command": "ruby",
|
|
"args": [
|
|
"-e",
|
|
"require 'json'; require 'net/http'; puts JSON.generate({tools: [{name: 'rails_docs', description: 'Search Rails documentation and guides'}]})"
|
|
],
|
|
"category": "Documentation",
|
|
"description": "Ruby on Rails framework documentation and guides",
|
|
"complexity": "Low",
|
|
"enabled": true
|
|
},
|
|
"rubygems": {
|
|
"command": "ruby",
|
|
"args": [
|
|
"-e",
|
|
"require 'json'; require 'net/http'; puts JSON.generate({tools: [{name: 'gem_search', description: 'Search and explore Ruby gems'}]})"
|
|
],
|
|
"category": "Package Management",
|
|
"description": "Search and explore Ruby gems from RubyGems.org",
|
|
"complexity": "Low",
|
|
"enabled": true
|
|
},
|
|
"bundler": {
|
|
"command": "bundle",
|
|
"args": [
|
|
"exec",
|
|
"ruby",
|
|
"-e",
|
|
"require 'json'; puts JSON.generate({tools: [{name: 'bundle_audit', description: 'Security audit for gems'}]})"
|
|
],
|
|
"category": "Security",
|
|
"description": "Bundler integration for dependency management and security auditing",
|
|
"complexity": "Medium",
|
|
"enabled": true
|
|
}
|
|
}
|
|
}
|