Skip to content

chore: keep installed skills out of the repository - #29

Merged
kieronlanning merged 1 commit into
mainfrom
chore/skills-live-in-skills-folder
Nov 15, 2026
Merged

kieronlanning merged 1 commit into
mainfrom
chore/skills-live-in-skills-folder

Conversation

@kieronlanning

Copy link
Copy Markdown
Contributor

The skills the CLI installs are reproducible from skills-lock.json, so .agents/skills/ is now a
local install: gitignored, never tracked, and restored with just skills-install. It and .claude/
are both ignored, which is what stops a skill this repository installs but does not publish from being
found by npx skills add purview-dev/<repo>: only the skills this repository authors under skills/
are discoverable.

skills-lock.json stays committed - it is the record of what to install.

The repository's own guard now asserts the arrangement: nothing under .agents/skills/ is tracked,
both ignore rules are in place, and the lockfile is committed. The checks that need a local install
still run when one is present.

Installed skills are local (gitignored, restored from the committed skills-lock.json); only the skills this repository authors in skills/ are discoverable.
@kieronlanning
kieronlanning enabled auto-merge (squash) November 15, 2026 22:17
@kieronlanning
kieronlanning merged commit c459ff8 into main Nov 15, 2026
2 checks passed
@kieronlanning
kieronlanning deleted the chore/skills-live-in-skills-folder branch November 15, 2026 22:22
kieronlanning added a commit that referenced this pull request Nov 16, 2026
Resolve the conflicts between the release branch and the skills-install work that landed on
main (#29-#31).

- .editorconfig: keep the 2.1.0 marker, the version the release branch's Purview.BuildSdk writes.
- .gitignore: keep the release branch's rule block (.agents/skills/ and /.claude/), the spelling
  AGENTS.md and InstalledSkillTests assert.
- AGENTS.md: keep main's reviewed wording for the local install, plus the release branch's
  unmatched detail - the git add -f note and the just skills-install restore command.
- InstalledSkillTests.cs: keep the release branch's lockfile-aware tests (entries record source,
  skill path and hash; an install matches the lockfile) and main's test that nothing under
  .agents/skills/ is tracked and both agent folders stay ignored.
kieronlanning added a commit that referenced this pull request Nov 16, 2026
Resolve the conflicts between the release branch and the skills-install work that landed on
main (#29-#31).

- .editorconfig: keep the 2.1.0 marker, the version the release branch's Purview.BuildSdk writes.
- .gitignore: keep the release branch's rule block (.agents/skills/ and /.claude/), the spelling
  AGENTS.md and InstalledSkillTests assert.
- AGENTS.md: keep main's reviewed wording for the local install, plus the release branch's
  unmatched detail - the git add -f note and the just skills-install restore command.
- InstalledSkillTests.cs: keep the release branch's lockfile-aware tests (entries record source,
  skill path and hash; an install matches the lockfile) and main's test that nothing under
  .agents/skills/ is tracked and both agent folders stay ignored.
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.

1 participant