initialise-skills
initialise-skills
Populate and keep accurate the per-skill config.json files that the shared
agent skills (changelog, send-it, cleanup-repo, linear-sync, triage-pr,
…) read at runtime. Run inside the host repo, it detects repo facts, maps them
onto each installed skill's config schema, and writes accurate configs — without
ever clobbering a value a human deliberately set.
It is dry-run first and idempotent: the first step always previews the diff, writes happen only after you confirm, and a re-run with nothing new to detect leaves every file byte-for-byte unchanged.
How it decides what to write
For each installed skill it loads two things: the skill's own
config.example.json (which defines the set of keys to reconcile) and the
existing config.json (which may be absent on a fresh install). Each key is then
classified by a three-way comparison — example placeholder vs existing value vs
detected value: