claude-code-templates 1.9.0 → 1.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -1
- package/bin/create-claude-config.js +2 -1
- package/package.json +2 -1
- package/src/health-check.js +1086 -0
- package/src/hook-scanner.js +21 -1
- package/src/index.js +69 -32
- package/src/templates.js +24 -0
- package/src/utils.js +46 -0
- package/templates/ruby/.claude/commands/model.md +360 -0
- package/templates/ruby/.claude/commands/test.md +480 -0
- package/templates/ruby/.claude/settings.json +146 -0
- package/templates/ruby/.mcp.json +83 -0
- package/templates/ruby/CLAUDE.md +284 -0
- package/templates/ruby/examples/rails-app/.claude/commands/authentication.md +490 -0
- package/templates/ruby/examples/rails-app/CLAUDE.md +376 -0
package/README.md
CHANGED
|
@@ -28,6 +28,16 @@ Monitor and optimize your Claude Code agents with our comprehensive analytics da
|
|
|
28
28
|
- **Performance Monitoring**: Track Claude Code agent performance and optimization opportunities
|
|
29
29
|
- **Web Interface**: Clean, terminal-style dashboard at `http://localhost:3333`
|
|
30
30
|
|
|
31
|
+
### 🔍 Comprehensive Health Check
|
|
32
|
+
Complete system validation and configuration verification:
|
|
33
|
+
- **System Requirements**: Validate OS, Node.js, memory, and network connectivity
|
|
34
|
+
- **Claude Code Setup**: Verify installation, authentication, and permissions
|
|
35
|
+
- **Project Configuration**: Check project structure and configuration files
|
|
36
|
+
- **Custom Commands**: Validate slash commands and syntax
|
|
37
|
+
- **Hooks Configuration**: Verify automation hooks and command availability
|
|
38
|
+
- **Interactive Results**: Real-time progress with immediate feedback and recommendations
|
|
39
|
+
- **Health Score**: Overall system health percentage with actionable insights
|
|
40
|
+
|
|
31
41
|
### 📋 Smart Project Setup
|
|
32
42
|
Intelligent project configuration with framework-specific commands:
|
|
33
43
|
- **Auto-Detection**: Automatically detect your project type and suggest optimal configurations
|
|
@@ -59,7 +69,7 @@ Intelligent project configuration with framework-specific commands:
|
|
|
59
69
|
```bash
|
|
60
70
|
cd my-react-app
|
|
61
71
|
npx claude-code-templates
|
|
62
|
-
# Choose between Analytics Dashboard or Project Setup
|
|
72
|
+
# Choose between Analytics Dashboard, Health Check, or Project Setup
|
|
63
73
|
```
|
|
64
74
|
|
|
65
75
|
### Analytics Dashboard
|
|
@@ -68,6 +78,15 @@ npx claude-code-templates
|
|
|
68
78
|
npx claude-code-templates --analytics
|
|
69
79
|
```
|
|
70
80
|
|
|
81
|
+
### Health Check
|
|
82
|
+
```bash
|
|
83
|
+
# Run comprehensive system validation
|
|
84
|
+
npx claude-code-templates --health-check
|
|
85
|
+
npx claude-code-templates --health
|
|
86
|
+
npx claude-code-templates --check
|
|
87
|
+
npx claude-code-templates --verify
|
|
88
|
+
```
|
|
89
|
+
|
|
71
90
|
### Framework-Specific Quick Setup
|
|
72
91
|
```bash
|
|
73
92
|
# React + TypeScript project
|
|
@@ -109,6 +128,10 @@ npx create-claude-config # Create-style command
|
|
|
109
128
|
| `-y, --yes` | Skip prompts and use defaults | `--yes` |
|
|
110
129
|
| `--dry-run` | Show what would be installed | `--dry-run` |
|
|
111
130
|
| `--analytics` | Launch real-time analytics dashboard | `--analytics` |
|
|
131
|
+
| `--health-check` | Run comprehensive system validation | `--health-check` |
|
|
132
|
+
| `--health` | Run system health check (alias) | `--health` |
|
|
133
|
+
| `--check` | Run system validation (alias) | `--check` |
|
|
134
|
+
| `--verify` | Verify system configuration (alias) | `--verify` |
|
|
112
135
|
| `--commands-stats` | Analyze existing commands | `--commands-stats` |
|
|
113
136
|
| `--hooks-stats` | Analyze automation hooks | `--hooks-stats` |
|
|
114
137
|
| `--mcps-stats` | Analyze MCP server configurations | `--mcps-stats` |
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
const { program } = require('commander');
|
|
4
4
|
const chalk = require('chalk');
|
|
5
5
|
const boxen = require('boxen');
|
|
6
|
-
const createClaudeConfig = require('../src/index');
|
|
6
|
+
const { createClaudeConfig } = require('../src/index');
|
|
7
7
|
|
|
8
8
|
// ASCII Art for Claude Code Templates
|
|
9
9
|
const banner = chalk.hex('#D97706')(`
|
|
@@ -45,6 +45,7 @@ program
|
|
|
45
45
|
.option('--hook-stats, --hooks-stats', 'analyze existing automation hooks and offer optimization')
|
|
46
46
|
.option('--mcp-stats, --mcps-stats', 'analyze existing MCP server configurations and offer optimization')
|
|
47
47
|
.option('--analytics', 'launch real-time Claude Code analytics dashboard')
|
|
48
|
+
.option('--health-check, --health, --check, --verify', 'run comprehensive health check to verify Claude Code setup')
|
|
48
49
|
.action(async (options) => {
|
|
49
50
|
try {
|
|
50
51
|
await createClaudeConfig(options);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "claude-code-templates",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.10.1",
|
|
4
4
|
"description": "CLI tool to setup Claude Code configurations with framework-specific commands, automation hooks and MCP Servers for your projects",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -31,6 +31,7 @@
|
|
|
31
31
|
"dev:link": "npm link",
|
|
32
32
|
"dev:unlink": "npm unlink -g claude-code-templates",
|
|
33
33
|
"pretest:commands": "npm run dev:link",
|
|
34
|
+
"prepublishOnly": "echo 'Skipping tests for Ruby on Rails 8 release'",
|
|
34
35
|
"analytics:start": "node src/analytics.js",
|
|
35
36
|
"analytics:test": "npm run test:analytics"
|
|
36
37
|
},
|