Commit Graph

1243 Commits

Author SHA1 Message Date
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
Dani 510f7691d1 fix: Update badge links and command to use latest version in README 2025-07-07 08:32:52 -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 07587171fb docs: Add detailed explanation of hook events and interactive selection in README 2025-07-06 10:34:06 -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 9e97b39666 Add space key instruction to command selection prompts
Updated checkbox prompt messages to include "(use space to select)" instruction to guide users on how to select/deselect commands in the interactive setup.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-06 09:02:23 -04:00
Dani d761d97f5a Bump version to 1.1.6 2025-07-06 08:59:57 -04:00
Dani 1d9eafa3f2 Fix checkbox help text suppression
Fixed the error where the help text removal was causing undefined replace errors. Now properly suppress the help text by setting dontShowHints = true in the constructor instead of overriding render methods.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-06 08:59:40 -04:00
Dani c37b776589 Bump version to 1.1.5 in package-lock.json 2025-07-06 08:56:08 -04:00
Dani 42032ae370 Bump version to 1.1.5 2025-07-06 08:55:39 -04:00
Dani f486faba03 Remove help text from checkbox prompts
Suppress the default inquirer help text "(Press <space> to select, <a> to toggle all, <i> to invert selection, and <enter> to proceed)" from checkbox prompts to provide a cleaner user experience.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-06 08:55:24 -04:00
Dani 3ac07e81ce Update permissions to include npm version command and bump version to 1.1.4 2025-07-06 08:31:49 -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 ef6c1a314c Improve command display with shorter names and descriptions
- Shorten command display names for better console readability
- Add concise descriptions instead of long explanations
- Create mapping for common commands with user-friendly names
- Truncate descriptions longer than 40 characters
- Improve overall CLI user experience

Examples:
- 'TypeScript Migration Assistant' → 'TS Migration'
- 'Debug Assistant' → 'Debug'
- Long descriptions → 'Generate API endpoint', 'Debug issues', etc.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-04 15:57:54 -04:00
Dani d0805ee4f5 Add additional Bash permissions for git operations 2025-07-04 15:52:37 -04:00
Daniel Avila b7ae75ed8e Update README.md 2025-07-04 15:51:55 -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 d28d88133b Revise README.md for clarity and structure; enhance quick start instructions and feature descriptions 2025-07-03 23:15:42 -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
Dani 6099ef14e6 first commit 2025-07-03 21:35:24 -04:00