Reverse the skill location: the full definitions now live in .opencode/skills/<name>/SKILL.md (opencode's native project-skill location, auto-scanned), and .claude/skills/<name>/SKILL.md are thin pointer wrappers that keep the frontmatter for discoverability and redirect to the .opencode/ canonical file for the procedure. Also drops the 'operator-authorized mid-run' gating from /cc-ci-server-update: the operator's choice to invoke the skill IS the authorization for the live nixos-rebuild switch — no second check to wait for. The quiescent-moment preference stays (don't disrupt an in-flight !testme), but it's not a gate.
15 lines
1.1 KiB
Markdown
15 lines
1.1 KiB
Markdown
---
|
|
name: cc-ci-server-update
|
|
description: Update the cc-ci CI server host to the latest pinned nixpkgs/sops-nix flake inputs, then rebuild + verify the live server. Bumps the cc-ci repo's flake inputs (nixpkgs + sops-nix, currently a hard rev pin — moves deliberately, not drift), commits the flake.lock change on a branch, opens a cc-ci PR, then deploys it to the live cc-ci host via nixos-rebuild switch (the operator's choice to invoke this skill IS the authorization — no mid-run check needed), and verifies the server is healthy after (no failed units, infra services up, endpoints 200, disk free). NEVER pushes upstream recipe main; never merges the cc-ci PR. The manual trigger for what should ideally be an automatic periodic nixpkgs bump. Invoke as /cc-ci-server-update.
|
|
---
|
|
|
|
# cc-ci-server-update (thin wrapper)
|
|
|
|
The canonical definition of this skill lives in the **opencode** position:
|
|
|
|
**`.opencode/skills/cc-ci-server-update/SKILL.md`**
|
|
|
|
Read that file for the full procedure. This `.claude/skills/` copy is kept as a
|
|
thin pointer for Claude Code compatibility; opencode loads the canonical
|
|
definition from `.opencode/skills/` directly.
|