46 Commits

Author SHA1 Message Date
Dani bd25ef6708 v1.9.0 - Tool Usage Trends Analytics Dashboard
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-16 19:45:50 -04:00
Dani cda0b8abed v1.8.3 - Add elegant light/dark theme toggle to analytics dashboard
- Implement comprehensive CSS variables theming system
- Add minimalist toggle switch with smooth animations
- Support both light and dark modes with terminal-style design
- Theme preference persists in localStorage
- Dynamic chart color adaptation for theme changes
- Responsive design for mobile devices
- Clean, icon-only switch without text labels
- Fix SessionTimer component initialization and remove debug logs

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-16 15:59:42 -04:00
Dani 06cf7da6ae v1.8.2 - Version bump for memory leak hotfix 2025-07-16 09:29:26 -04:00
Dani cff33ed130 v1.8.1 - Restore prepublishOnly script
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-15 19:08:04 -04:00
Dani 8e23f08d6d Add unit tests for StateCalculator, StateService, and WebSocketServer
- Implement comprehensive unit tests for StateCalculator to validate conversation status detection and state management.
- Create unit tests for StateService covering state management, subscriber notifications, and error handling.
- Develop unit tests for WebSocketServer to ensure proper handling of WebSocket connections, message broadcasting, and heartbeat mechanisms.
- Include edge case handling and validation for all components to enhance robustness and reliability.
2025-07-15 19:04:01 -04:00
Dani 96be4c8603 feat: Update version numbers and implement notification system for conversation state changes 2025-07-11 21:15:37 -04:00
Dani 966fddcd28 feat: Add browser notifications for Claude Code analytics dashboard
- Implement browser notification API integration
- Add notification button to enable/disable alerts
- Detect conversation state changes (Awaiting user input...)
- Send notifications when Claude is waiting for user response
- Include clickable notifications that focus the conversation
- Auto-close notifications after 10 seconds
- Visual button states (enabled/disabled/denied)
- Test notification on first enable
- Improve productivity by alerting users when Claude needs input

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-11 20:27:46 -04:00
Dani 713135545d feat: Set Analytics Dashboard as default selection in welcome screen
- Change default selection from 'setup' to 'analytics'
- Promote analytics dashboard usage as primary feature
- Users can still easily select Project Setup if needed
- Improves discoverability of monitoring capabilities

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-11 12:29:26 -04:00
Dani a93a86634f fix: Remove automatic help display that interfered with interactive welcome
- Remove automatic help output when no arguments provided
- Allow interactive welcome screen to show cleanly
- Users can still access help with --help flag
- Fixes clean onboarding experience

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-11 12:26:55 -04:00
Dani c1299c7570 feat: Add interactive welcome screen with choice between analytics and setup
- Add initial prompt to choose between Analytics Dashboard or Project Setup
- Show clear descriptions for each option with emojis
- Only show prompt when no specific CLI flags are provided
- Maintain existing behavior for users with flags (--yes, --language, etc.)
- Improve onboarding experience for new users

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-11 12:23:03 -04:00
Dani 22483bccc9 docs: Update README with quick start instructions for analytics dashboard and refine setup section 2025-07-11 10:08:44 -04:00
Dani d7c1191c02 chore: Update version to 1.5.18 and sync web dashboard
- Bump version to 1.5.18
- Sync web dashboard HTML with latest analytics improvements
- Add process indicators and orphan process handling UI elements

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-10 21:55:52 -04:00
Dani 8abb8d5a4b Refactor analytics module: rename totalSessions to totalConversations, enhance token usage calculations, and improve project and conversation handling. Add model info extraction and update web dashboard to reflect changes in terminology and data structure. 2025-07-10 20:31:41 -04:00
Dani 0974d13b23 chore: update version to 1.5.14 and enhance web dashboard styling and functionality
- Bump version in package.json from 1.5.12 to 1.5.14.
- Add CSS styles for improved layout and status indicators in the web dashboard.
- Introduce a new message type indicator for user and assistant messages with tooltips.
- Implement logic to determine message types (success, error, tool execution, pending) based on message content.
- Refactor message rendering to include message type indicators.
2025-07-10 16:58:29 -04:00
Dani b5123393ee feat: Add analytics option to onboarding prompts and handle dashboard launch
- Updated onboarding prompts to include an option for launching the Claude Code Analytics Dashboard.
- Modified the createClaudeConfig function to handle the analytics option and initiate the dashboard if selected by the user.
2025-07-10 16:41:38 -04:00
Dani d6a8d25b5a feat: Add real-time analytics dashboard for monitoring Claude Code usage 2025-07-10 15:13:55 -04:00
Dani 1e583c9a07 feat: Add short command aliases for easier CLI usage 2025-07-10 14:39:42 -04:00
Dani 3bcc595287 chore: remove README.md and update package versions to 1.4.3 2025-07-09 19:34:41 -04:00
Dani c2d53ebd01 feat: Improve table formatting in --command-stats with dynamic columns and separators
- Added dynamic column width calculation based on actual command names
- Implemented visual separators (│) between columns for better readability
- Command names are capped at 25 characters with ellipsis truncation
- Responsive table width that adapts to content
- Better alignment and spacing for all columns
- Cleaner, more professional table appearance
- Fixes deformed tables when command names are long

Example improvement:
Before: command-name-is-very-long1.2KB  25    180   350    7/9/2025
After:  command-name-is-very-l... │ 1.2KB  │ 25    │ 180   │ 350           │ 7/9/2025

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-09 17:18:15 -04:00
Dani c0f7b921c8 feat: Improve --command-stats with 'Tokens (aprox)' and setup prompt when no commands
- Changed 'Tokens' column header to 'Tokens (aprox)' for clarity
- Added promptSetupWhenNoCommands() function to offer setup when no commands exist
- Updated table width to accommodate longer header (97 characters)
- When no .claude/commands directory is found, offers to start Claude Code Templates setup
- Improved user experience by providing clear next steps
- Returns appropriate boolean values from displayCommandStats for flow control
- Seamless integration between command analysis and initial setup

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-09 17:09:37 -04:00
Dani 10eb5ef7f4 feat: Add token count column to --command-stats table
- Added estimateTokens() function for token estimation based on content analysis
- Considers markdown formatting, code blocks, and text complexity
- New 'Tokens' column in command analysis table with magenta color
- Updated table width and formatting to accommodate token data
- Shows total token count in summary (e.g., '~3,833 tokens total')
- Helps users understand command complexity in terms of Claude token usage
- Essential for managing prompt lengths and optimization decisions

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-09 16:47:17 -04:00
Dani 3edd714383 chore: Bump version to 1.3.10 2025-07-09 16:30:24 -04:00
Dani cabf65d513 cleanup: Remove all duplicate language directories and fix nested structure
- Removed duplicate language directories from repository root (common/, go/, javascript-typescript/, python/, rust/)
- Fixed nested cli-tool/cli-tool/ directory structure
- All templates now centralized in cli-tool/templates/ (single source of truth)
- Clean repository structure with no duplication
- CLI functionality verified and working correctly

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-09 16:19:40 -04:00
Dani 8e9bbbfa25 fix: Update version to 1.3.8 in package.json and package-lock.json 2025-07-08 19:03:57 -04:00
Dani 837651c033 feat: Enhance post-installation validation to analyze current project structure
- Updated validation prompt to include project structure analysis
- Claude now examines package.json, src/, and other project files
- Provides project-specific recommendations based on actual dependencies
- Compares installed configuration with real project setup
- Makes more targeted suggestions for improvement

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-08 12:39:28 -04:00
Dani e1aec514cd fix: Resolve post-installation validation command execution issue
- Fixed spawn command to properly execute 'claude "prompt"' format
- Changed from spawn('claude', [prompt]) to spawn('sh', ['-c', claudeCommand])
- Now correctly passes validation prompt to Claude Code CLI
- Post-installation validation now works as intended

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-08 11:04:09 -04:00
Dani 8ca974d401 fix: Improve post-installation validation prompt to be more specific about Claude Code configuration files
- Made validation prompt more explicit about reviewing CLAUDE.md, .claude/settings.json, .claude/commands/, and .mcp.json
- Fixed command structure for proper Claude Code CLI integration
- Improved error handling for validation process

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-08 10:46:45 -04:00
Dani e271e9d399 fix: Use dynamic version from package.json instead of hardcoded 1.0.0
- Fixed version command to show correct version (1.3.5)
- Changed bin/create-claude-config.js to read version from package.json
- Version 1.3.4 was published but showed wrong version number
- Now --version will show the actual published version

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-08 10:33:21 -04:00
Dani b1cd3e6727 Remove deprecated files and configurations from the CLI tool and test setup, including MCP configurations, CLAUDE documentation, and various command definitions for React development, debugging, state management, testing, and TypeScript migration. 2025-07-07 09:37:41 -04:00
Dani 51afd883ea fix: Include templates in npm package to resolve missing commands issue
- Moved all templates (common, javascript-typescript, python, go, rust) to cli-tool/templates/
- Updated command-scanner.js, file-operations.js, and hook-scanner.js to use local templates
- Added templates/ to package.json files array for npm publishing
- Fixed React and all framework commands not appearing in CLI selection
- All templates now properly bundled with npm package

This resolves the issue where npx claude-code-templates@latest showed empty command selection
because templates were not included in the published package.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-07 09:15:19 -04:00
Dani 6354e063b3 bump: Update version to 1.3.2
- React commands display issue completely resolved
- All tests passing successfully
- Ready for npm publish

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-07 09:08:13 -04:00
Dani 32229e36e6 bump: Update version to 1.3.1
- Fix React commands CLI display issue resolved
- All tests passing successfully
- Ready for npm publish

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-07 08:55:08 -04:00
Dani 97135ec48a Add Flask route generator and testing suite documentation
- Created a new markdown file for Flask route generation with examples and best practices.
- Added comprehensive testing suite documentation for Flask applications using pytest.
- Included project configuration guidelines for Flask applications.
- Introduced a new MCP configuration file for Rust SDKs and services.
2025-07-07 08:28:01 -04:00
Dani 91cb4d527f feat: Enhance CLI tool with selective automation hooks and improved configuration
- Updated README.md to reflect new features including command and hook selection.
- Bumped version to 1.2.1 in package.json and updated description.
- Implemented hook scanning functionality in hook-scanner.js to manage automation hooks.
- Modified file-operations.js to handle settings.json with selected hooks.
- Added prompts for hook selection in prompts.js, allowing users to choose automation hooks interactively.
- Enhanced templates for JavaScript, Python, Go, and Rust to include optimized configurations and hooks.
- Updated test scripts to validate hooks functionality and ensure proper configuration in settings.json.
- Improved command structures in settings.json for JavaScript/TypeScript to enhance functionality.
2025-07-06 10:27:18 -04:00
Dani 39e2c599e8 Add comprehensive testing infrastructure
Added complete testing suite for CLI commands including:
- Basic and detailed test scripts with automated scenarios
- Makefile for easy test execution
- NPM scripts integration with pretest hooks
- Testing guide with manual and automated procedures
- Pre-publish test validation in package.json
- Coverage for all language/framework combinations
- Error scenario testing and edge cases

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-06 09:06:59 -04:00
Dani f6b7b95ce3 Bump version to 1.1.7 2025-07-06 09:02:42 -04:00
Dani d761d97f5a Bump version to 1.1.6 2025-07-06 08:59:57 -04:00
Dani 42032ae370 Bump version to 1.1.5 2025-07-06 08:55:39 -04:00
Dani 4c0b1a6e91 Bump version to 1.1.4 for npm publish 2025-07-06 08:31:05 -04:00
Dani 6148076bc2 Update repository URLs from danipower to davila7
Changed all GitHub repository URLs from https://github.com/danipower/claude-code-templates to https://github.com/davila7/claude-code-templates across documentation and package.json files.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-06 08:30:27 -04:00
Dani ef6bc89e59 Bump version to 1.1.3
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-04 15:58:04 -04:00
Dani b3160bed74 Bump version to 1.1.2 for publication
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-04 15:47:45 -04:00
Dani d2d3a13c62 Complete internationalization and feature improvements for v1.1.1
- Fix ASCII art to properly display "CLAUDE CODE TEMPLATES"
- Add back navigation functionality to CLI prompts
- Implement framework-specific configurations (React, Vue, Angular, Node.js)
- Mark Python, Rust, Go as "Coming Soon" for first release
- Fix .mcp.json file copying during installation
- Remove non-functional "additional features" prompts
- Translate all Spanish content to English for open-source publication
- Add comprehensive template synchronization system
- Enhance file operations with framework-specific command copying
- Update documentation and README files
- Add new command scanner and utility modules
- Create framework-specific example configurations

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-04 15:47:09 -04:00
Dani e1e041bdc8 Update package name and README badges for consistency; change from 'claude-config-init' to 'claude-code-templates' 2025-07-03 23:21:35 -04:00
Dani fd6b3d66a0 Update README.md for improved clarity and usage instructions; bump version to 1.0.4 in package.json 2025-07-03 23:11:30 -04:00
Dani 043bae5218 Add comprehensive CLAUDE.md and README.md templates for various languages and frameworks
- Introduced CLAUDE.md with universal development guidelines, project structure, and best practices for JavaScript/TypeScript and Python.
- Created README.md files for common Claude Code templates, Go, JavaScript/TypeScript, and Python projects.
- Added specific command templates for JavaScript/TypeScript, including API endpoint, debug, lint, npm scripts, React component, refactor, test, and TypeScript migration commands.
- Implemented hooks for formatting and linting on save in JavaScript/TypeScript projects.
- Established settings.json for JavaScript/TypeScript projects with permissions and environment variables.
- Developed project structure guidelines for JavaScript/TypeScript and Python projects.
- Created example projects for React and Node.js APIs with corresponding CLAUDE.md files.
- Laid groundwork for future Rust and Go templates with placeholder README.md files.
- Set up package.json for test setup with React dependencies.
2025-07-03 23:07:56 -04:00