[ci skip] update .claude commands and skills: migrate to /remote skill, remove old executor
This commit is contained in:
parent
4cf8dc8ca1
commit
f41bea0ede
11 changed files with 19 additions and 183 deletions
|
|
@ -1,12 +1,9 @@
|
|||
# Kubectl Command
|
||||
|
||||
Run kubectl commands on the cluster via the remote executor.
|
||||
Run kubectl commands on the cluster via the `/remote` skill.
|
||||
|
||||
Use the remote executor relay:
|
||||
```bash
|
||||
echo "kubectl $ARGUMENTS" > /System/Volumes/Data/mnt/code/infra/.claude/cmd_input.txt
|
||||
sleep 2 && cat /System/Volumes/Data/mnt/code/infra/.claude/cmd_status.txt
|
||||
cat /System/Volumes/Data/mnt/code/infra/.claude/cmd_output.txt
|
||||
```
|
||||
/remote kubectl $ARGUMENTS
|
||||
```
|
||||
|
||||
Examples:
|
||||
|
|
|
|||
|
|
@ -3,9 +3,7 @@
|
|||
List all Kubernetes services deployed in this infrastructure.
|
||||
|
||||
```bash
|
||||
ls -1 /System/Volumes/Data/mnt/code/infra/modules/kubernetes/
|
||||
ls -1 modules/kubernetes/
|
||||
```
|
||||
|
||||
Provide a summary of the services, grouped by category if possible (media, monitoring, productivity, etc.).
|
||||
|
||||
Note: This command runs locally since it only reads the filesystem.
|
||||
|
|
|
|||
|
|
@ -1,13 +1,9 @@
|
|||
# Terraform Apply
|
||||
|
||||
Run terraform apply to deploy infrastructure changes via the remote executor.
|
||||
Run terraform apply to deploy infrastructure changes via the `/remote` skill.
|
||||
|
||||
Use the remote executor relay:
|
||||
```bash
|
||||
echo "terraform apply -target=module.kubernetes_cluster.module.<service> -auto-approve" > /System/Volumes/Data/mnt/code/infra/.claude/cmd_input.txt
|
||||
sleep 2 && cat /System/Volumes/Data/mnt/code/infra/.claude/cmd_status.txt
|
||||
# Wait for done:N status, then read output
|
||||
cat /System/Volumes/Data/mnt/code/infra/.claude/cmd_output.txt
|
||||
```
|
||||
/remote terraform apply -target=module.kubernetes_cluster.module.<service> -auto-approve
|
||||
```
|
||||
|
||||
ALWAYS use -target to speed up execution. Monitor the output and report any errors or successful completions.
|
||||
|
|
|
|||
|
|
@ -1,13 +1,9 @@
|
|||
# Terraform Plan
|
||||
|
||||
Run terraform plan to preview infrastructure changes via the remote executor.
|
||||
Run terraform plan to preview infrastructure changes via the `/remote` skill.
|
||||
|
||||
Use the remote executor relay:
|
||||
```bash
|
||||
echo "terraform plan -target=module.kubernetes_cluster.module.<service>" > /System/Volumes/Data/mnt/code/infra/.claude/cmd_input.txt
|
||||
sleep 2 && cat /System/Volumes/Data/mnt/code/infra/.claude/cmd_status.txt
|
||||
# Wait for done:N status, then read output
|
||||
cat /System/Volumes/Data/mnt/code/infra/.claude/cmd_output.txt
|
||||
```
|
||||
/remote terraform plan -target=module.kubernetes_cluster.module.<service>
|
||||
```
|
||||
|
||||
ALWAYS use -target to speed up execution. Summarize the planned changes, highlighting any resources being destroyed or recreated.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue