14 Commits

Author SHA1 Message Date
Dani 201cd4c2bf feat: implement GitHub-based template downloads and new --template syntax
## Major Changes

### 🔄 GitHub Download System
- All templates now download directly from GitHub instead of local files
- Components (agents, commands, MCPs) download from `components/` directory
- Templates download from `templates/` directory
- Added download caching to avoid repeated requests
- Show clear GitHub URLs for transparency

### 🆕 New --template Parameter
- Added `--template` parameter as modern replacement for `--language`/`--framework`
- Maintains backward compatibility with deprecated `--language`/`--framework`
- Updated web interface to use new syntax: `npx claude-code-templates@latest --template=python --yes`

### 🎯 Component vs Template Separation
- `--agent=name`: Downloads individual component to `.claude/agents/`
- `--command=name`: Downloads individual component to `.claude/commands/`
- `--mcp=name`: Downloads individual component to `.mcp.json`
- `--template=name`: Downloads complete template with full configuration

### 📦 Web Interface Updates
- Updated installation commands to use `npx` with latest version
- Changed from `--language`/`--framework` to `--template` syntax
- Made global installation optional in step 1
- All template cards now show correct download commands

### ✅ Benefits
- Always up-to-date content from GitHub main branch
- No need to republish npm package for content updates
- Clear distinction between individual components and full templates
- Improved user experience with transparent download sources

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-31 08:41:57 -04:00
Dani 83b5602cf8 fix: Keep download statistics section always visible above filters
- Disable hideStatisticsSection function to prevent hiding stats
- Add CSS !important rule to ensure section stays visible
- Maintain download statistics display even when data is not available
- Keep section positioned above the component filters as requested

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-30 20:34:17 -04:00
Dani ae6d77a91d fix: Fix Docusaurus TypeScript configuration and complete download tracking system
- Fix tsconfig.json by removing invalid @docusaurus/tsconfig extends
- Add proper TypeScript configuration for Docusaurus
- Complete download count badges for template, agent, command, and MCP cards
- Add analytics data integration with card regeneration
- Include tracking service and GitHub Actions workflow for analytics processing
- Update web interface with download statistics display

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-30 19:39:02 -04:00
Dani 171310d22a Refactor README and CLI tool documentation for clarity and consistency; update URLs to new domain; enhance analytics dashboard and health check commands; streamline contribution process; improve styling and layout for better user experience. 2025-07-30 15:10:41 -04:00
daniel 8426d7c0f6 improve: Unify component cards design with templates
- Remove install-note sections from component cards to match template design
- Fix commands installation to include mkdir -p for .claude/commands
- Simplify card back to show only Installation Command title
- Remove unused CSS for install-note styling
- Clean up unused getInstallationTitle function

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-29 13:09:39 -05:00
daniel aad91824a9 feat: Add individual components system with unified web interface
Major Features Added:
🎯 Unified filter interface (Templates, Agents, Commands, MCPs)
🤖 Individual Agent components (react-performance, api-security, database-optimization)
⚡ Custom Command components (check-file, generate-tests)
🔌 MCP integration configs (DeepGraph, GitHub, databases, etc.)
📱 Card flip functionality with installation commands
🎨 Compact stats badges design
📚 Comprehensive Docusaurus documentation

Technical Improvements:
- Modular component architecture in cli-tool/components/
- Real-time GitHub API integration for component loading
- Smart installation command generation per component type
- Responsive design with terminal theme consistency
- Individual component contribution workflows

Web Interface Enhancements:
- Removed mode separation, unified single view
- Interactive filter bar with component counts
- Installation command copying functionality
- Component-specific "Add New" cards with contribution modals
- Enhanced loading states and error handling

Documentation Updates:
- New /docs/components/ section with detailed guides
- Updated navigation and cross-references
- Installation methods for each component type
- Best practices for templates vs individual components

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-29 12:55:04 -05:00
daniel dc1afd84c8 feat: Update header actions and styles for improved layout and accessibility 2025-07-25 21:09:50 -05:00
Dani db131a25b1 style: Update template card buttons to neutral dark theme
- Change View Files and Copy Command buttons to neutral dark colors
- Use bg-tertiary background with text-secondary color
- Reduce padding from 8px 16px to 6px 12px for smaller buttons
- Reduce font-size from 0.8rem to 0.75rem for thinner appearance
- Reduce min-width from 100px to 80px
- Add subtle hover effects with transform and color transitions
- Remove bright colors in favor of consistent dark theme

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-19 08:28:32 -04:00
Dani 618b368de7 fix: Align command-line sections at same height across all step cards
- Add flexbox layout to step cards with min-height
- Make step content flexible with flex: 1 on description text
- Position command-line and highlight sections at bottom with margin-top: auto
- Ensures consistent visual alignment across all 3 installation steps

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-19 08:26:55 -04:00
Dani b1b75de0a5 feat: Enhance template website with contribution workflow and improved file modal
- Convert first template card to green 'Add New Template' card with direct modal access
- Remove redundant 'Add New Template' button from intro section
- Add comprehensive contribution modal with step-by-step workflow
- Make Installation Files modal files clickable links to GitHub
- Update button text to 'View all files on GitHub'
- Add file link hover effects and proper styling
- Include complete Claude Code prompt for template generation
- Add responsive design for contribution modal components

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-19 08:15:11 -04:00
Dani 2e5c23eabc feat: Add statistics section with NPM downloads, GitHub stars, and repository insights 2025-07-18 21:08:40 -04:00
Dani 8cc2515881 feat: Revamp documentation layout and enhance installation steps with modal support 2025-07-18 21:01:47 -04:00
Dani 041e7f42b6 feat: Enhance terminal theme and layout for improved user experience 2025-07-18 20:23:01 -04:00
Dani 9ddc84dc22 feat: Add static website for template showcase with GitHub Pages support
- Created responsive web interface for browsing available templates
- Dynamic template loading from GitHub repository's templates.js file
- Interactive card design with flip animation to show installation commands
- Integration with Devicon CDN for professional framework logos
- Copy-to-clipboard functionality with visual feedback
- Mobile-responsive design with modern UI/UX
- GitHub Pages configuration for automatic deployment
- Auto-refresh every 5 minutes to stay synchronized with repository

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-18 20:08:28 -04:00