Skip to content

docs: recommend agr upgrade for iterating on in-repo skills#529

Merged
kasperjunge merged 1 commit into
mainfrom
docs-528-iterate-upgrade
Jun 22, 2026
Merged

docs: recommend agr upgrade for iterating on in-repo skills#529
kasperjunge merged 1 commit into
mainfrom
docs-528-iterate-upgrade

Conversation

@kasperjunge

Copy link
Copy Markdown
Collaborator

What

Updates the agr-cli skill's in-repo iteration guidance to recommend agr upgrade <name> instead of agr add ./path --overwrite when re-syncing a locally-edited skill.

Why

agr upgrade --help describes it as: "Re-install dependencies (latest upstream commit for remotes, fresh copy for local) and refresh agr.lock." For a vendored/in-repo skill that's exactly the iterate loop — and it's shorter, name-based, and refreshes agr.lock, whereas agr add ./path --overwrite is path-based and doesn't foreground lockfile hygiene.

Changes

  • skills/agr-cli/SKILL.md — Iterate note now leads with agr upgrade my-skill; add --overwrite kept as the path-based escape hatch for re-adds.
  • skills/agr-cli/references/in-repo-skills.md — same, plus clarifies that agr sync won't pick up edits to an already-installed skill.

Docs-only; mkdocs build --strict passes.

Closes #528

🤖 Generated with Claude Code

The in-repo skills guidance steered users to `agr add ./path --overwrite`
to re-sync a locally-edited skill. `agr upgrade <name>` is purpose-built
for this: it reinstalls a fresh on-disk copy of the local skill into every
configured tool and refreshes agr.lock, in a shorter name-based command.

Update both the SKILL.md Iterate note and references/in-repo-skills.md to
lead with `agr upgrade`, keeping `add --overwrite` as the path-based escape
hatch for re-adds and clarifying that `agr sync` won't pick up edits.

Closes #528

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@kasperjunge kasperjunge merged commit bef0e5c into main Jun 22, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

agr-cli skill: recommend agr upgrade <name> over agr add --overwrite for iterating on in-repo skills

1 participant