init-private-rules
Installation
SKILL.md
init-private-rules
Auto-detect the current agent and create its private config file. This file is added to .gitignore and kept separate from public rules (AGENTS.md).
Public rules are managed with /init-public-rules; private rules are managed with this skill.
Guardrails
| # | Check | On failure |
|---|---|---|
| 1 | CWD is a Git repository | "Please run this inside a Git repository." |
| 2 | The private config file already exists | "File already exists. Overwrite or merge?" |
| 3 | AGENTS.md does not exist (warning, non-blocking) | "Public rules (AGENTS.md) not found. Running /init-public-rules first is recommended for best results." |
| - | Skill update check | Fetch https://raw.githubusercontent.com/dev-goraebap/agent-collab/main/manifest.json (1 HTTP request, fail silently on network error). Compare this skill's frontmatter metadata.version against manifest.skills[<this-skill-name>]. Cases: (a) versions equal → proceed silently; (b) local version is older → tell the user "Update available: {name} {local} → {remote}. Run npx skills add dev-goraebap/agent-collab -g to update." then proceed; (c) this skill name is in manifest.deprecated → tell the user "This skill was renamed to {renamedTo} since v{since}. Run npx skills add dev-goraebap/agent-collab -g and use /{renamedTo} instead." then stop; (d) this skill name is not in manifest.skills and not in deprecated → tell the user "This skill is no longer maintained." then proceed with caution. |