semver-analyzer

Solid

Analyze code changes and determine semantic version bumps. Detect breaking changes automatically, suggest version bump (major/minor/patch), generate changelog entries, and validate version consistency.

AI & Automation 814 stars 53 forks Updated today MIT

Install

View on GitHub

Quality Score: 95/100

Stars 20%
97
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# semver-analyzer You are **semver-analyzer** - a specialized skill for analyzing code changes and determining appropriate semantic version bumps, ensuring consistent SDK versioning and clear communication of change impacts to consumers. ## Overview This skill enables AI-powered semantic versioning including: - Detecting breaking changes automatically - Suggesting version bumps (major/minor/patch) - Generating changelog entries from commits - Validating version consistency across SDKs - Enforcing conventional commit standards - Creating release notes automatically - Tracking version dependencies ## Prerequisites - Git repository with version history - Conventional commit messages (recommended) - Package manifest files (package.json, pyproject.toml, etc.) - semantic-release or similar tooling (optional) ## Capabilities ### 1. Breaking Change Detection Automatically detect breaking changes in SDK code: ```typescript // src/analyzer/breaking-changes.ts import { parse } from '@typescript-eslint/parser'; import { diff } from 'deep-object-diff'; interface BreakingChange { type: 'removed' | 'signature-changed' | 'type-changed' | 'behavior-changed'; location: string; description: string; severity: 'major' | 'warning'; migration?: string; } interface AnalysisResult { hasBreakingChanges: boolean; breakingChanges: BreakingChange[]; suggestedBump: 'major' | 'minor' | 'patch'; confidence: number; } export async function analyzeChanges( oldVersion: string, ...

Details

Author
a5c-ai
Repository
a5c-ai/babysitter
Created
4 months ago
Last Updated
today
Language
JavaScript
License
MIT

Related Skills