openspec-apply-change
Implement tasks from an OpenSpec change. Use when the user wants to start implementing,…
PowerShell scripting rules for Windows environment. Use when running shell commands, Docker operations, or HTTP requests on Windows PowerShell.
$ npx -y skills add comol/ai_rules_1c --skill powershell-windows --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/powershell-windowsContext preview
The summary Claude sees to decide when to auto-load this skill.
PowerShell scripting rules for Windows environment. Use when running shell commands, Docker operations, or HTTP requests on Windows PowerShell.
name: powershell-windows description: "PowerShell scripting rules for Windows environment. Use when running shell commands, Docker operations, or HTTP requests on Windows PowerShell."
git add .
if ($LASTEXITCODE -eq 0) { git commit -m "message" }cd "D:\My Projects\MyApp"
./gradlew clean build .\gradlew.bat clean build
docker-compose -f "D:\My Projects\app\docker-compose.yml" up -d
resolves to an alias or `curl.exe`:
Invoke-WebRequest -Uri "http://localhost:9090/status" -UseBasicParsing
Start-Sleep -Seconds 10
$response = Invoke-WebRequest -Uri "http://localhost:9090/status" -UseBasicParsing $json = $response.Content | ConvertFrom-Json $json | ConvertTo-Json -Depth 3
Get-Process -Name "java" -ErrorAction SilentlyContinue
docker-compose -f "path\to\file.yml" down
docker-compose -f "path\to\file.yml" build --no-cache
Get-Process -Name "java" -ErrorAction SilentlyContinue
| Error | Cause | Fix | |-------|-------|-----| | `&& is not recognized` | Running Windows PowerShell 5.1 | Use `;` only for independent commands; use `$LASTEXITCODE` for conditional chaining | | `curl` behaves unexpectedly | Windows PowerShell alias / executable resolution differs | Use `Invoke-WebRequest`, or call `curl.exe` explicitly when its CLI semantics are required | | `timeout` behaves unexpectedly | Console utility semantics differ from shell sleep | Use `Start-Sleep` | | `Path not found` | Missing quotes on spaced path | Wrap path in double quotes |
# Change directory and execute command cd "D:\My Projects\MyApp"; ./gradlew clean build -x test # Wait and make HTTP request Start-Sleep -Seconds 10; Invoke-WebRequest -Uri "http://localhost:9090/status" -UseBasicParsing # Docker operations docker-compose -f "D:\My Projects\MyApp\docker-compose.yml" down docker-compose -f "D:\My Projects\MyApp\docker-compose.yml" build --no-cache docker-compose -f "D:\My Projects\MyApp\docker-compose.yml" up -d # Check server status $response = Invoke-WebRequest -Uri "http://localhost:9090/status" -UseBasicParsing $json = $response.Content | ConvertFrom-Json Write-Host "Transport: $($json.mcp.transport)"
Repo: comol/ai_rules_1c
Implement tasks from an OpenSpec change. Use when the user wants to start implementing,…
Archive a completed OpenSpec change in the experimental workflow. Use when the user wants to…
Enter OpenSpec explore mode - a thinking partner for exploring ideas, investigating problems,…
Propose a new OpenSpec change with all artifacts generated in one step. Use when the user…
Sync delta specs from an OpenSpec change to main specs. Use when the user wants to update…
Update an OpenSpec change by revising its existing planning artifacts and keeping them…