Skip to content
Back to skills

Bump Version

ASecurity

Increment agent version in pyproject.toml. Use when releasing new versions, updating semantic version, or preparing for deployment.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 27, 2026
devopspythonbashgit

Security analysis

A100/100

Scanned September 27, 2026

npx -y skills add David-Li0406/meta-skill-evloving --skill bump-version --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Bump Version?

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

Security grade badge for Bump Version
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/david-li0406-bump-version/badge)](https://www.skillsdirectory.com/skills/david-li0406-bump-version)

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: bump-version
description: Increment agent version in pyproject.toml. Use when releasing new versions, updating semantic version, or preparing for deployment.
---

# Bump Agent Version

Increment the version of an agent in its pyproject.toml using the semantic versioning script.

## Arguments

- `agent-name`: k8s-monitor, news-monitor, core, backup-agent (or 'all')
- `bump-type`: patch, minor, major

## Commands

### List All Agent Versions

```bash
python scripts/bump-version.py --list
```

### Bump Version (Dry Run)

```bash
python scripts/bump-version.py <agent-name> --type <patch|minor|major> --dry-run
```

### Bump Version

```bash
python scripts/bump-version.py <agent-name> --type <patch|minor|major>
```

### Auto-detect from Commits

```bash
python scripts/bump-version.py <agent-name> --from-commits
```

### Bump All Agents from Commits

```bash
python scripts/bump-version.py all --from-commits
```

## Just Commands

```bash
# List versions
just agent-versions

# Bump specific agent
just bump k8s-monitor patch
just bump news-monitor minor

# Auto-detect from commits
just bump-from-commits k8s-monitor

# Preview what would change
just bump-preview k8s-monitor
```

## Semantic Version Rules

- **patch** (0.1.0 -> 0.1.1): Bug fixes, maintenance (fix:, chore:, refactor:)
- **minor** (0.1.0 -> 0.2.0): New features (feat:)
- **major** (0.1.0 -> 1.0.0): Breaking changes (feat!:, BREAKING CHANGE)

## Instructions

1. **Check current versions** - Run `just agent-versions` or `python scripts/bump-version.py --list`

2. **Determine bump type** based on changes:
   - Bug fix? -> patch
   - New feature? -> minor
   - Breaking change? -> major
   - Unsure? -> Use `--from-commits` to auto-detect

3. **Preview the change** - Use `--dry-run` first

4. **Apply the bump** - Run without `--dry-run`

5. **Verify the change**:
   ```bash
   git diff agents/<agent-name>/pyproject.toml
   ```

6. **Commit the version bump**:
   ```bash
   git add agents/<agent-name>/pyproject.toml
   git commit -m "chore(<agent-name>): bump version to <new-version>"
   ```

## After Bumping

1. Run tests: `just test-agent <agent-name>`
2. Build image: `/build <agent-name> push`
3. Deploy: `/deploy <agent-name>`

## Examples

```bash
# Bump k8s-monitor patch version
python scripts/bump-version.py k8s-monitor --type patch

# Bump news-monitor minor version
python scripts/bump-version.py news-monitor --type minor

# Auto-detect from conventional commits
python scripts/bump-version.py k8s-monitor --from-commits

# Bump all agents from commits (useful for releases)
python scripts/bump-version.py all --from-commits --dry-run
```

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.

Comments

Loading comments…