Commit Graph

1576 Commits

Author SHA1 Message Date
Dani 1310a9203a Merge remote-tracking branch 'origin/main' 2025-07-11 10:21:41 -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
Daniel Avila 71b24b0feb Update README.md 2025-07-11 10:01:42 -04:00
Dani a08d617b27 feat: Add GitHub stars badge and star history chart to README
- Add GitHub stars badge with social style to main badges section
- Add star history chart with dark/light theme support at end of README
- Improve project visibility and community engagement
- Reorder badges for better visual flow

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-11 09:57:05 -04:00
Dani 4bde102a69 docs: Enhance README and analytics dashboard with chart controls and date filtering 2025-07-11 09:44:49 -04:00
Dani 83868f8ccb docs: Update README to refine core features section and enhance command usage instructions 2025-07-10 22:25:20 -04:00
Dani 3bac9f53d4 docs: Enhance README with detailed quick start instructions and core features overview 2025-07-10 22:22:17 -04:00
Dani 897bc750ee docs: Update README to enhance quick start instructions and clarify analytics dashboard usage 2025-07-10 22:13:44 -04:00
Dani 8a470e4cea docs: Enhance README with detailed features and real-time analytics dashboard information 2025-07-10 22:06:19 -04:00
Daniel Avila d0c1f0799e Update README.md 2025-07-10 21:57:54 -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 2c6cac07d1 fix: Improve analytics dashboard conversation detection and filtering
- Refine conversation status detection to reduce false positives
- Filter out system processes and orphan process noise
- Balance active conversation detection for better accuracy
- Only show truly active conversations in dashboard
- Remove orphan process detection to reduce UI clutter

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-10 21:55:04 -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 48aa5ccb53 feat: Support singular and plural options for command, hook, and MCP stats analysis 2025-07-10 14:28:43 -04:00
Dani b1caacf39d feat: Add MCP server analysis functionality with --mcp-stats command 2025-07-10 14:19:58 -04:00
Dani 96becc83b6 feat: Add security policy document and reporting guidelines for vulnerabilities 2025-07-10 14:08:40 -04:00
Dani fb665bb4f5 feat: Add Code of Conduct and update contributing guidelines to ensure a respectful community 2025-07-10 13:09:48 -04:00
Dani ca922ebbdf feat: Add hook analysis functionality with --hook-stats command and update settings 2025-07-10 13:01:26 -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 91edf25760 feat: Add --command-stats functionality for command analysis and optimization
- Added --command-stats CLI option to analyze existing Claude Code commands
- Created command-stats.js module with comprehensive analysis functions
- Displays command statistics in formatted table (name, size, lines, words, last modified)
- Calculates totals and provides project overview
- Interactive prompt for command optimization using Claude Code
- Generates intelligent optimization prompts based on project structure
- Integrates with existing CLI workflow and error handling
- Helps users optimize their .claude/commands for their specific project setup

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-09 16:43:21 -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 14109069b2 refactor: Unify templates directory structure to eliminate duplication
- Removed duplicate /templates/ directory from repository root
- All templates now centralized in /cli-tool/templates/
- Updated README.md to reflect new structure
- Updated manual installation instructions
- Eliminates code duplication and sync issues
- Maintains full functionality while reducing maintenance overhead

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-09 14:53:54 -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 2559af016a chore: Clean up test directories and validation demo files
- Removed test-validation-demo directory
- Removed test-python directory
- Clean repository state after validation testing

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-08 09:48:11 -04:00
Dani cc134f09b6 feat: Add post-installation Claude Code validation to onboarding
- Added runPostInstallationValidation function to file-operations.js
- Integrated automatic validation prompt after successful installation
- Claude Code now reviews installed configurations automatically
- Added comprehensive validation prompt with project-specific context
- Users can skip validation or run it to ensure proper setup
- Updated CLI README with validation documentation step 9
- Added validation feature to Features section
- Graceful error handling when Claude Code CLI not available

New onboarding flow:
1. Language selection
2. Framework selection
3. Command selection
4. Hook selection
5. MCP server selection
6. Final confirmation
7. Installation
8. Post-installation validation 🆕

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-08 09:38:56 -04:00
Dani ecbbcb821f docs: Add Smart Commands section to README for framework-specific commands 2025-07-07 10:12:14 -04:00
Dani e5524e18e1 docs: Reorganize usage instructions in README for improved clarity 2025-07-07 10:08:14 -04:00
Dani c994a4b55d docs: Refactor usage instructions in README for clarity and organization 2025-07-07 10:06:51 -04:00
Dani dd85664195 docs: Update README for improved usage instructions and remove redundant quick start section 2025-07-07 10:04:34 -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 bf2be58f28 docs: Revise README for improved clarity and organization of user and developer sections 2025-07-07 09:34:41 -04:00
Dani d6faaf39c8 docs: Add MCP server selection to README Step-by-Step Walkthrough
- Added step 6 "MCP Server Selection" with examples of available servers
- Updated final confirmation to include MCP count
- Updated installation output to show MCP server installation
- Added MCP Servers section explaining Model Context Protocol capabilities
- Updated Core Files to include .mcp.json configuration
- Improved development guidelines for open source contributions

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-07 09:25:52 -04:00
Dani 26fa2c1e93 add package.json files for test-latest and test-latest/test-latest directories 2025-07-07 09:19:33 -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 1d046cb911 fix: Resolve React commands CLI display issue by removing problematic CustomCheckboxPrompt
- Fixed React commands not appearing in CLI selection interface
- Removed CustomCheckboxPrompt class that was interfering with choice display
- React commands (component, hooks, state-management) now show correctly
- All interactive steps (commands, hooks, MCPs) now work properly
- Verified with comprehensive testing suite

Resolves issue where command selection appeared empty despite commands being available.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-07 09:07:47 -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 35fa34a71e fix: Resolve React commands CLI display issue and clean up demo files
- Investigated and resolved React framework command selection issue
- Verified React commands are properly displayed in CLI selection
- React commands (component, hooks, state-management) working correctly
- Cleaned up demo test files and backup directories
- Command scanner correctly detects react-app category commands
- Both interactive and non-interactive modes functioning properly

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-07 08:54:19 -04:00