rolecraft update
Re-install a skill to the latest version.
Usage
bash
rolecraft update <slug> [--dry-run]Options
| Flag | Description |
|---|---|
--dry-run | Preview what would be updated without making changes |
Description
Fetches the skill source again and re-installs it, updating to the latest available version. The lockfile is updated with the new content hashes.
Examples
bash
rolecraft update my-skill
rolecraft update my-skill --dry-run # preview onlyNode.js API
This command is also available as a programmatic function. See the Node.js API documentation for detailed usage.
js
import { update } from 'rolecraft'
const result = await update('my-skill')See also
- Commands hub — every command, grouped by intent.
rolecraft install— the commandupdatewraps.rolecraft diff— see what changed before you commit.- CI/CD Integration — keep skills fresh in CI.
