AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Ls Automatic Versioning

skill-cruxexperts-localsetup-ls-automatic-versioning · by CruxExperts

Use and maintain automatic versioning from conventional commits; VERSION as source of truth; sync to READMEs and docs. Use when working on version bumps, release workflow, or when the user asks about versioning or conventional commits.

— No reviews yet
0 installs
2 views
0.0% view→install

Install

$ agentstack add skill-cruxexperts-localsetup-ls-automatic-versioning

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • ✓ Prompt-injection patterns
  • ✓ Secret / credential exfiltration
  • ✓ Dangerous shell & filesystem operations
  • ✓ Untrusted network calls
  • ✓ Known-malicious package signatures

What it can access

  • ✓ Network access No
  • ✓ Filesystem access No
  • ✓ Shell / process execution No
  • ✓ Environment & secrets No
  • ✓ Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-cruxexperts-localsetup-ls-automatic-versioning)

Reliability & compatibility

✓ Security review passed
0 installs to date
— no reviews yet
● yesterday

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Ls Automatic Versioning? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Automatic versioning (framework)

Purpose: The framework uses semantic versioning with VERSION as source of truth. Use this skill when implementing, explaining, or changing versioning behavior so it stays consistent and framework-appropriate.

Source of truth

  • VERSION (repo root): single line, semantic version MAJOR.MINOR.PATCH (e.g. 2.0.0). This is the only canonical version value.
  • Displayed version must stay in sync: README and framework README show **Version:** X.Y.Z; framework docs use YAML front matter version: X.Y (major.minor). The repo tooling keeps these in sync when the release workflow runs.

Patch-default release policy

  • Default: normal development batches release as one PATCH increment, including commits that use feat: for readability.
  • Explicit release type: add Release-Type: major|minor|patch|none in the commit body to request any non-default release impact or to document an intentional patch/no-bump decision.
  • Breaking markers: BREAKING CHANGE: in the body or type followed by ! (for example feat!: new API) are diagnostics only until paired with Release-Type:. version-plan fails when a breaking marker is present without the explicit trailer.
  • No bump: Merge commits, version-sync commits, and fully canceled unreleased reverts.
  • Diagnostics: version-plan keeps raw_bump as the Conventional Commit interpretation and bump as the effective patch-default release decision.

Explicit sequential logical-slice policy

A valid .localsetup-release.json committed in the planned HEAD selects sequential-logical-slices consistently across the planner, CLI, preflight, pre-push and release CI. Repositories without this file retain patch-default. Python callers can explicitly select sequential mode when unconfigured; they cannot override a conflicting committed contract. Loose worktree policy changes do not activate, replace or disable the selected commit's policy.

Use the [release policy schema](../../config/release-policy.schema.json): schema_version: 1, policy: "sequential-logical-slices", an anchor containing full commit SHA, canonical version and matching version tag, and overrides. The loader requires a regular committed blob of at most 64 KiB, exact fields and types, and no duplicate keys or override SHAs. Each override has commit, slice and classification; it identifies one unpublished source SHA and reviewed logical ID/impact. It cannot target merges, generated receipts, reverts or published work, or downgrade breaking changes. Actual messages and diagnostic raw_bump remain intact; full and prefix folds use the same overrides.

Verify the published tag/commit independently before selecting or advancing the anchor. The planner checks local committed VERSION and ancestry without network access. When advancing to a verified published commit, clear already-published overrides and commit the policy update; preserve exact source ancestry. The repo-only file is export-excluded and must not be copied into converted projects.

  • Each accepted logical source slice increments once: feat: defaults to MINOR and resets PATCH; other source commits default to PATCH. Release-Type: declares explicit impact.
  • Release-Slice: lowercase-id groups unpublished members. Otherwise each source SHA is distinct. The first integrated source member anchors the slice; its highest final member classification determines the single increment. An interleaved later feature member upgrades that original slice without moving it or counting it twice.
  • Integration traverses first-parent history, then newly introduced side ancestry in recorded parent order, never author/committer dates.
  • Breaking markers require an explicit Release-Type: major compatibility decision. Lower/none overrides, duplicate or malformed metadata fail planning.
  • Actual merges and generated-only receipts are excluded using changed-path/owned-facts evidence, not subject resemblance. Sync commits must change only canonical version/generated content.
  • Each sync's recorded and committed version must match its own ancestry-prefix target; the latest sync and HEAD must match the final target. Incorrect historical syncs require explicit reviewed reconciliation, not automatic exemptions.
  • Exact native Git reverts cancel fully reverted unpublished slices only when single-parent raw path/blob/mode changes prove the complete inverse. Mixed changes, conflict-adjusted reverts or later changes to the same affected file require explicit reconciliation; later unrelated files remain untouched. Partial grouped reverts, ambiguous targets and revert-of-revert histories require explicit reconciliation. Reverting published work is a new maintenance outcome.
  • Existing plan fields remain. logical_slices records anchors, members, classification and before/after versions; excluded_commits and version_sync_checks explain evidence. Aggregate bump is the highest category, not target arithmetic.
  • With committed policy, comparison/upstream refs are diagnostic metadata; arithmetic always uses the anchor. Without configuration, explicit sequential bases must be ancestors. Invalid historical prefixes are nonrepairable and stop mutation; ordinary target drift is repairable. Explicit version targets cannot bypass canonical arithmetic. Do not guess historical aliases or use private ledgers as hidden CI configuration.

In this repo (public framework)

Version bump and doc sync are performed by deterministic repo tooling. Use uv run --locked python ls/tools/localsetup.py --source-root . release-push for normal release pushes. Raw git push is guarded: if a sync commit is needed, .githooks/pre-push creates it and stops the stale push so the next push sends the correct commit.

For read-only release preflight, run uv run --locked python ls/tools/localsetup.py --source-root . version-plan and uv run --locked python ls/tools/localsetup.py --source-root . version-sync --check --target "$(cat VERSION)".

Reference

  • Versioning doc: [ls/docs/VERSIONING.md](../../docs/VERSIONING.md) is the public reference.

Rule ownership

This skill owns versioning and release-sync behavior. Keep VERSION, generated docs, version-sync path lists, provenance, and release tooling aligned here before updating the public doc.

  • VERSION is canonical.
  • Release impact uses the explicitly selected repository policy; existing callers retain patch-default unless sequential mode is selected.
  • Generated docs and generated taxonomy artifacts are part of release sync; do not leave them outside the versioning candidate/staging lists.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.