Skip to content
Agentmart
Submit a tool

contour-maintenance

How to do version bumps (Go, Envoy), dependency updates, and vulnerability / CVE checks for release branches and images

Skill by tsaarni

IndexedApache-2.0
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/tsaarni-contour-maintenance

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

How to do version bumps (Go, Envoy), dependency updates, and vulnerability / CVE checks for release branches and images

Use cases: security

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/contour-maintenance

What's inside

Skill name
contour-maintenance
Description
How to do version bumps (Go, Envoy), dependency updates, and vulnerability / CVE checks for release branches and images
License
Apache-2.0
Instructions
705 lines in SKILL.md · view on GitHub

Before installing

  • Instructions call the network

Agent Skills spec issues

  • body: 705 lines (spec recommends under 500)

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Contour Maintenance Tasks

## Scope
- **Target**: Contour repository (github.com/projectcontour/contour)
- **Supported Branches**: `main` and release-X.Y branches only
- **Platform**: Linux/macOS only
- **Prerequisites**: Contour repository checked out locally, `gh` CLI, `git`, `go`, `httpie`, `osv-scanner`, `govulncheck` installed

## Global Preconditions (MUST validate before ANY task)

Execute these checks and CONTINUE only if all pass:

```bash
# 1. Verify current directory is Contour repo root
test -f Makefile && test -f versions.yaml && echo "✓ In Contour repo root" || echo "✗ NOT in Contour root"
```

CONTINUE to specific tasks only if all checks pass.

## Critical Warnings

**ALWAYS:**
- Determine Go version by reading from `Makefile` variable `BUILD_BASE_IMAGE` only
- Read `versions.yaml` from `main` branch only
- Create local branches with `chore/` prefix
- Execute git status checks between operations
- Verify tool versions with explicit verification before use

**ONLY:**
- Create branches with format: `chore/release-<VERSION>/bump-<TYPE>-<NEW_VERSION>`
- Use commands listed in task procedures exactly as written

---

## Task: Find out what the latest supported Contour releases are

**What this does**: Lists currently supported Contour releases.

MUST execute exactly:
```bash
echo "Latest available Contour releases are:"
git show main:versions.yaml | yq '.versions[] | select(.supported == "true") | .version'
```

---

## Task: Bump Go Version

**What this does**: Updates Go version in Makefile to latest patch level of current minor version (or user-specified major/minor track).

### Step 1: Gather Release Information (REQUIRED)

MUST execute exactly:
```bash
echo "Available Contour release tracks are:"
(echo main && git show main:versions.yaml | yq '.versions[] | select(.supported == "true") | .version' | sed 's/v//' | cut -d'.' -f1-2 | sed 's/^/release-/')
```

MUST capture the output and present it to user.
MUST ask user: "Which Contour release branch to update? (e.g., 1.33, 1.32, or 'main')"
WAIT for response and CONTINUE once user responds.

### Step 2: Verify Current Go Version (REQUIRED)

Replace `<CONTOUR_VERSION>` with user's choice from Step 1.

MUST execute:
```bash
git checkout release-<CONTOUR_VERSION>
git pull
```

Expected: Branch successfully checked out and up-to-date.
CONTINUE only if git commands succeed.

THEN execute:
```bash
OLD_GO_VERSION=$(grep "BUILD_BASE_IMAGE ?=" Makefile | sed 's/.*golang://' | sed 's/@.*//')
echo "Current Go version: ${OLD_GO_VERSION}"
```

MUST capture and report the OLD_GO_VERSION to user.

### Step 3: Execute Bump (NON-REVOCABLE)

MUST execute:
```bash
go run ./hack/actions/bump-go-version/main.go
```

MUST execute:
```bash
NEW_GO_VERSION=$(grep "BUILD_BASE_IMAGE ?=" Makefile | sed 's/.*golang://' | sed 's/@.*//')
echo "New Go version: ${NEW_GO_VERSION}"
```

Decision point:
- IF output shows same Go version as before: Report "Go version already at latest patch level ${OLD_GO_VERSION} for current track" and STOP
- IF changes detected: Continue to Step 4

### Step 4: Commit Changes (SEQUENTIAL)

Execute this step ONLY if Step 3 showed changes detected.

MUST execute:
```bash
git checkout -b chore/release-<CONTOUR_VERSION>/bump-go-${NEW_GO_VERSION}
```

MUST verify:
```bash
git branch --show-current
```
Expected: Branch name matches `chore/release-<CONTOUR_VERSION>/bump-go-<VERSION>`

THEN execute:
```bash
git add -u
git commit -sm "release-<CONTOUR_VERSION>: Bump to go $NEW_GO_VERSION"

From tsaarni/agent-skills, Apache-2.0.

More from tsaarni/agent-skills

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Jul 4, 2026 (3 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from tsaarni

Cite this page

contour-maintenance skill. Agent Mart. https://agentmart.dev/skills/tsaarni-contour-maintenance (last updated 2026-10-24)