-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathsetup-windows-simple.ps1
More file actions
58 lines (49 loc) · 2.48 KB
/
Copy pathsetup-windows-simple.ps1
File metadata and controls
58 lines (49 loc) · 2.48 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# CCGlobalCommands Windows Installation Script
Write-Host "CCGlobalCommands Windows Installation" -ForegroundColor Green
Write-Host "======================================" -ForegroundColor Green
# Get the current user's profile directory
$ClaudeDir = "$env:USERPROFILE\.claude"
$CommandsDir = "$ClaudeDir\commands"
$WorkflowsDir = "$ClaudeDir\workflows"
$ArchiveDir = "$ClaudeDir\archive"
# Create directories if they don't exist
Write-Host "Creating Claude directories..." -ForegroundColor Yellow
New-Item -ItemType Directory -Path $CommandsDir -Force | Out-Null
New-Item -ItemType Directory -Path $WorkflowsDir -Force | Out-Null
New-Item -ItemType Directory -Path $ArchiveDir -Force | Out-Null
# Copy command files
Write-Host "Installing commands..." -ForegroundColor Yellow
$SourceCommandsDir = "D:\ClaudeWindows\ClaudeGlobalCommands\commands"
$SourceWorkflowsDir = "D:\ClaudeWindows\ClaudeGlobalCommands\workflows"
$SourceArchiveDir = "D:\ClaudeWindows\ClaudeGlobalCommands\_archive"
if (Test-Path $SourceCommandsDir) {
Copy-Item "$SourceCommandsDir\*.md" $CommandsDir -Force
Write-Host "Commands installed to: $CommandsDir" -ForegroundColor Green
}
if (Test-Path $SourceWorkflowsDir) {
Copy-Item "$SourceWorkflowsDir\*.md" $WorkflowsDir -Force
Write-Host "Workflows installed to: $WorkflowsDir" -ForegroundColor Green
}
if (Test-Path $SourceArchiveDir) {
Copy-Item "$SourceArchiveDir\*" $ArchiveDir -Recurse -Force
Write-Host "Archive installed to: $ArchiveDir" -ForegroundColor Green
}
Write-Host ""
Write-Host "Installation complete!" -ForegroundColor Green
Write-Host ""
Write-Host "Available commands:" -ForegroundColor Cyan
Write-Host " /guide - Show help and all commands" -ForegroundColor White
Write-Host " /agents - List all AI specialists" -ForegroundColor White
Write-Host " /execute - Quick task execution" -ForegroundColor White
Write-Host " /workflows - See available workflows" -ForegroundColor White
Write-Host " /senior-engineer - Code reviews and architecture" -ForegroundColor White
Write-Host " /documentation - Technical documentation generation" -ForegroundColor White
Write-Host ""
Write-Host "Try running '/guide' in Claude Code to get started!" -ForegroundColor Yellow
# List installed command files
Write-Host ""
Write-Host "Installed command files:" -ForegroundColor Cyan
$commands = Get-ChildItem $CommandsDir -Name "*.md" -ErrorAction SilentlyContinue
foreach ($cmd in $commands) {
Write-Host " /$($cmd.Replace('.md', ''))" -ForegroundColor Gray
}