updating-harnesslisted
Install: claude install-skill orobsonn/claude-harness
# Updating-Harness — install or update the harness from its source repo
This skill is the **one-call shortcut** for keeping a project's vendored harness in sync. The operator
just invokes it in the repo; the source URL lives here, so there is no URL to copy/paste. It does not
plan, implement, or review — it only vendors the framework `core/` into the project's `.claude/`.
**Announce at start (pt-br):** "Atualizando o Claude Harness a partir do repo-fonte."
All identifiers/commands stay in English; every message to the operator is **pt-br, product-language**.
---
## Source (baked in — do NOT ask the operator for a URL)
```
SOURCE_URL = https://github.com/orobsonn/claude-harness.git
REPO_SLUG = orobsonn/claude-harness
```
If the operator explicitly passes a different source (fork, local clone path for dev), honor it.
Otherwise always use `SOURCE_URL`.
---
## Step 1 — Check the latest release
```bash
gh release view --repo orobsonn/claude-harness --json tagName,name,body -q '{tag:.tagName, notes:.body}'
```
Read the project's current version if present:
```bash
cat .claude/.harness-version 2>/dev/null || echo "harness not installed yet"
```
Report to the operator in pt-br: **current → latest**, plus the release highlights (the `body`). If the
project is already at the latest tag, say so and ask whether to re-vendor anyway (idempotent, safe).
---
## Step 2 — Install or update (auto-detect)
Detect by the presence of the vendored installer:
```bash
test -f .claude