mirror of
https://github.com/davila7/claude-code-templates.git
synced 2026-09-19 01:30:23 +08:00
36714d2d8b
## Major Features Added ### 🏗️ Templates System Overhaul - **New data source**: Templates now load from `components.json` generated from `cli-tool/templates/` - **Enhanced structure**: Support for both language and framework templates - **Recursive file scanning**: Includes `.claude/` folder contents (agents, commands, settings) - **Smart categorization**: Language-based category filters for templates - **Proper install commands**: `--template=python --yes` for languages, `--template=django --yes` for frameworks ### 📦 Template Management - **Updated generate_components_json.py**: Scans `cli-tool/templates/` recursively - **File inventory**: Tracks all template files including Claude Code configuration - **Template modal**: Shows complete file list for each template - **GitHub integration**: Direct links to template folders ### 🎨 UI/UX Improvements - **Card flip animations**: Restored original template card functionality from script.js - **MCP optimization**: Removed unnecessary descriptions from MCP cards and modals - **Category filters**: Templates now show language-based filters (python, ruby, etc.) - **Filter reset**: Switching main filters automatically resets category selection - **Enhanced modals**: Comprehensive template contribution guide with language vs framework instructions ### 🔧 Code Organization - **Structured directories**: Moved all CSS files to `css/` and JS files to `js/` - **Updated references**: All HTML files now reference organized file paths - **Better maintainability**: Cleaner project structure for future development ### 🚀 Enhanced Contribution Flow - **Detailed template modal**: Step-by-step guide for contributing languages vs frameworks - **Required file structure**: Clear documentation of Claude Code configuration files - **GitHub workflow**: Proper git commands and testing instructions ## Technical Improvements - Fixed card flip functionality conflicts - Enhanced pagination system - Improved modal management - Better error handling and fallbacks - Consistent styling across components 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>