Skip to content

feat: add ci-guard and semantic-versioning skills - #13

Merged
Benkapner merged 3 commits into
mainfrom
feat/ci-guard-and-versioning-skills
Sep 1, 2026
Merged

feat: add ci-guard and semantic-versioning skills#13
Benkapner merged 3 commits into
mainfrom
feat/ci-guard-and-versioning-skills

Conversation

@Aliciapet11

Copy link
Copy Markdown
Collaborator

Summary

  • CI Guard skill — auto-activates when working in a repo without CI configuration. Alerts the user to add a CI workflow (GitHub Actions, GitLab CI, etc.) and provides starter templates for Python and Node.js. Repos can be exempted by adding a .research marker file.
  • Semantic Versioning skill — analyzes commits using conventional commit prefixes (feat:, fix:, feat!:, BREAKING CHANGE) to determine whether the next release is a major, minor, or patch bump. Includes a helper script (version-bump.py) that detects version files (pyproject.toml, package.json, Cargo.toml, VERSION) and can apply the bump with --apply.

Both are skills (not commands) so they auto-activate based on context — no manual invocation needed.

Why skills over commands?

  • CI Guard needs to alert automatically at session start when CI is missing — commands require manual /ci-guard invocation
  • Versioning needs to contextually activate when pushing changes — skills trigger based on context

Test plan

  • check-ci.py tested: detects CI in basecamp repo (OK), warns on repo without CI (WARNING + exit 1), skips research-marked repos (SKIP + exit 0)
  • version-bump.py tested: analyzes 167 commits, correctly classifies conventional commits, suggests v0.1.0 for pre-1.0 major bumps
  • Verify skills load correctly in a fresh Claude Code session
  • Test CI guard alert triggers when working in a repo under repositories/ without CI

🤖 Generated with Claude Code

Aliciapet11 and others added 3 commits August 31, 2026 13:26
CI Guard alerts when a repository lacks CI configuration (GitHub Actions,
GitLab CI, etc.) and provides starter templates. Repos can be exempted
by adding a .research marker file.

Semantic Versioning analyzes commits using conventional commit prefixes
to determine the next major/minor/patch version bump, with a helper
script that can detect and update version files.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@Benkapner
Benkapner merged commit 356f82e into main Sep 1, 2026
4 checks passed
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.

2 participants