Programmer Agent System: - Add programmer-orchestrator (Opus) for workflow coordination - Add code-planner (Sonnet) for design and planning - Add code-implementer (Sonnet) for writing code - Add code-reviewer (Sonnet) for quality review - Add /programmer command and project registration skill - Add state files for preferences and project context Agent Infrastructure: - Add master-orchestrator and linux-sysadmin agents - Restructure skills to use SKILL.md subdirectory format - Convert workflows from markdown to YAML format - Add commands for k8s and sysadmin domains - Add shared state files (model-policy, autonomy-levels, system-instructions) - Add PA memory system (decisions, preferences, projects, facts) Cleanup: - Remove deprecated markdown skills and workflows - Remove crontab example (moved to workflows) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
62 lines
1.3 KiB
Markdown
62 lines
1.3 KiB
Markdown
---
|
|
name: deploy
|
|
description: Deploy application to K8s cluster
|
|
aliases: [d]
|
|
invokes: workflow:deploy/deploy-app
|
|
---
|
|
|
|
# /deploy Command
|
|
|
|
Deploy a new application or update an existing one on the Raspberry Pi Kubernetes cluster.
|
|
|
|
## Usage
|
|
|
|
```
|
|
/deploy <app-name>
|
|
/deploy <app-name> --image <image:tag>
|
|
/deploy <app-name> --update
|
|
```
|
|
|
|
## Quick Deploy
|
|
|
|
```
|
|
/deploy myapp --image ghcr.io/user/myapp:latest --namespace apps --port 8080
|
|
```
|
|
|
|
## What It Does
|
|
|
|
Invokes the `deploy-app` workflow to guide you through deploying via GitOps with ArgoCD:
|
|
|
|
1. **Check existing state** - See if app exists, current status
|
|
2. **Generate manifests** - Create deployment, service, kustomization
|
|
3. **Create PR** - Push to GitOps repo, create PR
|
|
4. **Sync** - After PR merge, trigger ArgoCD sync
|
|
5. **Verify** - Confirm pods are running
|
|
|
|
## Interactive Mode
|
|
|
|
When run without full arguments, prompts for:
|
|
- Application name
|
|
- Container image
|
|
- Namespace (default: default)
|
|
- Ports
|
|
- Resources (Pi-optimized defaults)
|
|
- Pi 3 compatibility
|
|
|
|
## Resource Defaults (Pi-optimized)
|
|
|
|
```yaml
|
|
requests:
|
|
memory: "64Mi"
|
|
cpu: "50m"
|
|
limits:
|
|
memory: "128Mi"
|
|
cpu: "200m"
|
|
```
|
|
|
|
## Confirmation Points
|
|
|
|
- **[CONFIRM]** Creating PR in GitOps repo
|
|
- **[CONFIRM]** Syncing ArgoCD application
|
|
- **[CONFIRM]** Rollback if deployment fails
|