[ci skip] update .claude commands and skills: migrate to /remote skill, remove old executor

This commit is contained in:
Viktor Barzin 2026-02-07 10:44:14 +00:00
parent 4cf8dc8ca1
commit f41bea0ede
No known key found for this signature in database
GPG key ID: 0EB088298288D958
11 changed files with 19 additions and 183 deletions

View file

@ -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:

View file

@ -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.

View file

@ -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.

View file

@ -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.