setup-phatblat-skills
-
Precondition. Stop and say so if the user did not ask to set up these skills.
-
Explore (read, do not assume):
git remote -v; whetherAGENTS.mdandCLAUDE.mdexist and whether either already has an## Agent skillssection; whetherCHANGELOG.mdexists; release automation signals (.releaserc*,.changeset/,.changes/,release-plz.toml,[workspace.metadata.release], arelease-pleaseconfig, or aCHANGELOG.mdcarrying a generator's marker line);git tag --listfor the tag shape and prefix; the package manifest's version field; and which ofrecording-changesandsemantic-versioningare available as skills. -
Ask, one section at a time, recommendation first. Skip section A when the
recording-changesskill is unavailable, skip section B whensemantic-versioningis unavailable, and if both are skipped, say there is nothing to configure and stop. In a non-interactive session, do not ask: apply the detected default for each section and name the defaults used.Section A, changelog policy. Default to what exploration found: release automation present → generated; a
CHANGELOG.mdwith no automation → hand-curated; neither → none. Write exactly one of these lines: