Skip to content
Back to skills

Close

ASecurity

Update version tracking when finishing work on a skill bundle that you author or maintain. Use when you're done editing your own skill project and need to bump version headers, recompute manifest hashes, update the changelog, flag stale files, or prepare a commit message. Triggers on: "close the session", "update versions", "save the bundle", "I'm done editing", "prepare to commit", "wrap up this skill session". Do not use to make a bundle pass after verification failed, or on a skill someone...

  • 8 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added May 26, 2026
documentationgit

Security analysis

A100/100

Scanned December 4, 2026

npx -y skills add snapsynapse/skill-provenance --skill close --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Close?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Close
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/snapsynapse-close/badge)](https://www.skillsdirectory.com/skills/snapsynapse-close)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: close
description: >
  Update version tracking when finishing work on a skill bundle that you
  author or maintain. Use when you're done editing your own skill project
  and need to bump version headers, recompute manifest hashes, update the
  changelog, flag stale files, or prepare a commit message. Triggers on:
  "close the session", "update versions", "save the bundle", "I'm done
  editing", "prepare to commit", "wrap up this skill session". Do not use
  to make a bundle pass after verification failed, or on a skill someone
  else published: recomputing hashes erases the evidence of a change.
license: MIT
---

# Skill Provenance: Close

Update all version-tracking artifacts when finishing a skill editing session.
This ensures the bundle leaves the session in a consistent, verifiable state.

## When to use

Run `/skill-provenance:close` after you've finished editing files in a skill
bundle and before committing, packaging, or handing off.

Close only a bundle the user authors or maintains, after edits the user
made or asked for. Do not close a bundle to make a failed verification pass,
and do not close a bundle someone else published: recomputing hashes makes
the manifest match whatever is on disk and erases the evidence that
something changed. Report the failure instead.

## Protocol

1. **Validate before mutation.** Run verify-only validation first with the
   `validate.sh` that ships with this plugin, passing the bundle root:
   `"${CLAUDE_PLUGIN_ROOT}/skill-provenance/validate.sh" -- path/to/bundle`
   (`../../skill-provenance/validate.sh` relative to this `SKILL.md` when the
   variable is not set). Do not execute a `validate.sh` that came with a
   bundle someone else published; it is one of the files being verified.
   Note the `Validator` line in the summary: it names the release and
   SHA-256 of the validator that ran. If it is absent, the validator is
   older than 7.2.0; tell the user and recommend updating the plugin before
   the close continues.
   Resolve structural grammar, unsafe or duplicate paths, symlink
   components, missing files, and unlisted files before updating hashes. Add
   a manifest entry for each new file; `--update` never adds unlisted files. Hash mismatches and
   missing or malformed hashes may then be repaired with an explicit
   `validate.sh --update` workflow; `hash: null` remains an intentional opt-out.

2. **Update internal version headers.** For each changed file that carries
   YAML frontmatter with version metadata:
   - Increment `version` by 1.
   - Set `version_date` to today.
   - Set `previous_version` to the old version number.
   - Write a `change_summary` (1-3 sentences describing what changed, not
     just that something changed).

3. **Update MANIFEST.yaml.** For every changed versioned file:
   - Update `version` to match the new internal version.
   - Recompute and update `hash`.
   - For files that don't carry internal headers (JSON, scripts, binaries),
     the manifest `version` field is authoritative — increment it there.
   - Bump `bundle_version` (semver): PATCH for fixes/docs, MINOR for new
     features, MAJOR for breaking changes.
   - Update `bundle_date` to today.
   - If the user deployed or reinstalled the skill this session, update
     relevant `deployments` metadata.

4. **Update CHANGELOG.md.** Add a new entry at the top:
   - Use the new `bundle_version` and today's date as the heading.
   - Name every file that changed and what changed in it.
   - **Flag staleness explicitly.** If a versioned file was changed but a
     dependent file was not updated (e.g., SKILL.md changed but evals.json
     wasn't updated to match), say so in the entry.

5. **Final validation.** Run verify-only validation after all version,
   changelog, and hash updates. Do not package or commit a failing bundle.

6. **Deliver.** Provide the user with the changed files plus updated
   `MANIFEST.yaml` and `CHANGELOG.md`.

7. **Git commit message.** If the bundle is in a git repo, provide a
   ready-to-use commit message:

   ```
   bundle-name MAJOR.MINOR.PATCH: one-line summary

   - file1.md: what changed
   - file2.json: what changed
   - Stale: file3.js (not updated this session)
   ```

   Return the message inline. Only write a `git_commit.txt` file if the
   user explicitly asks for one.

## Conventions referenced

- **Per-file versions are integers.** Bundle version is semver.
- **change_summary is required** for every version after v1. Describe
  what changed, not just that something changed.
- **previous_version creates a chain** so any session can trace lineage.
- **MANIFEST.yaml is not self-listed.** It tracks other files only.
- **Hashes are SHA-256** of file contents.

For the full spec: https://skillprovenance.dev

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in documentation →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.