Commit Graph

17 Commits

Author SHA1 Message Date
Dani 4e92c7abf6 feat: Add 19 official Anthropic skills to components library
🎨 Skills Added:
- Creative & Design: algorithmic-art, canvas-design, slack-gif-creator
- Development: mcp-builder, artifacts-builder, webapp-testing, skill-creator
- Documents: docx, pdf-anthropic, pptx, xlsx
- Enterprise: brand-guidelines, internal-comms, theme-factory

✨ Features:
- Progressive disclosure pattern (SKILL.md + reference files)
- Automatic download of scripts/, reference/, templates/ directories
- GitHub API integration for directory listing
- Executable permissions for .py and .sh files
- Complete license information (ANTHROPIC_ATTRIBUTION.md)

📝 Updates:
- Enhanced installIndividualSkill() with directory download support
- Updated README.md with Skills section
- Regenerated components.json (29 total skills)
- Added proper attribution to Anthropic

🔧 Technical:
- Skills follow Anthropic's standard structure
- All use SKILL.md as main file
- Includes LICENSE.txt files from original repository
- Total size: 9.1MB

Source: https://github.com/anthropics/skills

🤖 Generated with Claude Code (https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-17 14:06:45 -04:00
Dani a176679fad feat: integrate Claude Code SDK with global agents functionality
🌍 Major new feature: Global AI Agents powered by Claude Code SDK

## New Features
- **Global Agent Creation**: `--create-agent <agent-name>`
- **Agent Management**: `--list-agents`, `--update-agent`, `--remove-agent`
- **Zero Configuration**: Agents install to /usr/local/bin (immediately available)
- **Auto Context Detection**: Smart project type detection and file context
- **Universal Access**: Works from any directory, in scripts, CI/CD, npm tasks

## Technical Implementation
- New global-agent-manager.js module with complete agent lifecycle
- Automatic PATH management across shell environments
- Executable script generation with Claude Code SDK integration
- Real-time loading indicators during AI processing
- Robust error handling and fallback mechanisms

## Frontend Integration
- Enhanced agent modals with Global Agent installation options
- New CSS styles for global agent sections
- Copy-to-clipboard functionality for all commands
- Usage examples and feature highlights

## User Experience
Before: Traditional project-based agent installation
After: `cct --create-agent security-auditor` → `security-auditor "prompt"` (anywhere)

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-20 12:56:49 -04:00
Dani 29584fcbb6 fix docs url 2025-08-04 16:21:47 -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 Avila 4fa14a6a44 feat: Implement Claude Code Console Bridge and Enhanced State Detection (#14)
* feat: Enhance DataService with paginated conversations and improved error handling

- Added `getConversationsPaginated` method to fetch conversations with pagination support.
- Improved error handling in `cachedFetch` to provide clearer messages and fallback behavior.
- Updated WebSocket integration to handle connection failures with fallback polling.
- Reduced WebSocket auto-reconnect attempts and disabled auto-reconnect to minimize console noise.
- Added CORS middleware to the web server for better API accessibility.
- Implemented paginated conversations endpoint in the server.
- Added conversation messages endpoint to retrieve messages for a specific conversation.
- Enhanced conversation analysis to include detailed session data and compatibility with original dashboard.

* feat: Implement real-time conversation change handling and notifications

- Added handleConversationChange method to ClaudeAnalytics for processing updates to conversation files.
- Integrated WebSocket notifications for new messages in conversations.
- Enhanced setupFileWatchers to include conversation change callbacks.
- Updated conversation state API to calculate states for all conversations, improving performance and accuracy.
- Introduced pagination for conversation messages endpoint to support large message sets.
- Implemented cache management endpoint for clearing specific cache types.
- Enhanced DataCache and ConversationAnalyzer to support tool correlation in message parsing.
- Created ToolDisplay component for safe rendering of tool uses and results in the analytics dashboard.
- Added comprehensive documentation for Claude data structures and formats.

* feat: Enhance real-time messaging and dashboard features

- Improved logging for new messages in DataService to include message data.
- Increased WebSocket reconnection attempts for better reliability.
- Enabled auto-reconnect in WebSocketService for real-time updates.
- Updated conversation change handling in ClaudeAnalytics to include file path.
- Enhanced error handling and logging in ConversationAnalyzer and DataCache.
- Added new settings file for local permissions.
- Introduced a new Chats Dashboard option in the main menu.
- Created detailed architecture documentation for the analytics web application.
- Deprecated old main.js and Dashboard.js files in favor of a modular structure.

* feat: Implement real-time message handling and improve logging in DataService and AgentsPage

* feat: Implement comprehensive conversation state detection improvements

- Enhanced frontend message analysis for tool execution and content analysis.
- Introduced file activity detection to accurately identify user typing.
- Adopted a WebSocket-first approach for real-time state updates.
- Expanded state vocabulary with new contextual states and visual indicators.
- Improved state banner display with new CSS classes.
- Integrated system components for cohesive state management.
- Added health check feature to validate system requirements and configurations.
- Developed ConsoleBridge for web-based interaction with Claude Code processes.
- Created test script for ConsoleBridge to facilitate integration testing.
2025-07-22 19:31:11 -04:00
Dani d45a3de92d feat: Add comprehensive Health Check feature with enhanced UX
- Add Health Check as second menu option in CLI
- Comprehensive system validation:
  * System requirements (OS, Node.js, memory, network)
  * Claude Code setup (installation, auth, permissions)
  * Project configuration (structure, settings files)
  * Custom commands and hooks validation
  * Settings.json analysis (user/project/local)
- Interactive UX with ora spinners and immediate results
- 3-second pacing between categories for better visual flow
- Detailed health score with actionable recommendations
- Settings validation with security checks and best practices
- Enhanced navigation flow returning to main menu
- Fix Project Setup flow from both health check and direct menu selection
- Update README documentation with Health Check feature
- Add CLI aliases: --health-check, --health, --check, --verify

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-18 10:28:56 -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 d51a565a2a perf: Optimize conversation state detection with ultra-fast refresh and improved logic
- Implement 500ms refresh rate for near real-time updates
- Add 250ms fast refresh for first 30 seconds for instant state changes
- Prioritize conversation flow over file timestamps for immediate response detection
- Improve "Claude Code working..." detection to trigger instantly when user sends message
- Extend file activity detection window to 15 seconds for better accuracy
- Create dedicated npm README for better package discoverability
- Update root README to highlight new notification and state detection features
- Remove debug console logs for cleaner production experience

Performance improvements result in near-instantaneous state change detection.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-15 19:04:01 -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 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 dd85664195 docs: Update README for improved usage instructions and remove redundant quick start section 2025-07-07 10:04:34 -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 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 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