agentleFS
Microsoft AzureKnown publisherAzure/AppConfiguration-KubernetesProvider/.github/skills/patch-skill/SKILL.md

auto-vulnerability-patch

Skill12 starsChanged 10 months agoMITView on GitHub

Automatically update Go dependencies with security patches for Azure App Configuration Kubernetes Provider. Use when user mentions dependency updates, security patches, vulnerability fixes, or automated dependency management for this project.

The file

We split this skill into the rules it gives an agent

8 rules. About 0 are common, 5 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill when you need to:

    line 12
  2. Distinctive:

    Update Go dependencies with security patches

    line 13
  3. Distinctive:

    Create automated dependency update workflows

    line 15
  4. Very specific:

    Create a new release branch for the further release, the branch name should be in the format release/v<major>.<minor>.<patch>.

    line 22
  5. Distinctive:

    Run the following command in your local repository:

    line 30
  6. Very specific:

    If the go get command returns any package requiring newer go versions, update to the required Go version in go.mod file.

    line 37
  7. Very specific:

    Update the version.json file to reflect the new version after the dependency updates.

    line 41
  8. Distinctive:

    Commit and push the changes to the new feature branch created earlier.

    line 45

≈ “Common” is an estimate: at least 1 in 5 of the 383,637 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Auto Vulnerability Patch

This skill automates dependency vulnerability patching for the Azure App Configuration Kubernetes Provider project with GitHub source code.

When to Use This Skill

Use this skill when you need to:

  • Update Go dependencies with security patches
  • Manage vulnerability fixes in go.mod
  • Create automated dependency update workflows
  • Review and manage dependency update pull requests

Quick Start

Create new branch

Create a new release branch for the further release, the branch name should be in the format release/v<major>.<minor>.<patch>.

Read the current version from the version.json file in main branch, the branch name should correspond to the next patch version. For example, if the current version is 1.2.3, the branch name should be release/v1.2.4. If this branch is already existing, no need to create a new.

Then need to create a feature branch from this release branch, the feature branch name should be in the format auto-vuln-patch-<timestamp>, e.g., auto-vuln-patch-20240915-1230. Switch to this new feature branch for the following steps.

Trigger a Dependency Update

Run the following command in your local repository:

go get -u ./...
go mod tidy

If the go get command returns any package requiring newer go versions, update to the required Go version in go.mod file. Also update the Go version in the pipeline YAML file if necessary.

Update version.json

Update the version.json file to reflect the new version after the dependency updates. Increment the patch version by 1. For example, if the current version is 1.2.3, update it to 1.2.4.

Commit and Push Changes

Commit and push the changes to the new feature branch created earlier. Create a pull request (PR) from this feature branch to the release branch.

Review the Pull Request

Each PR includes:

  • Complete dependency change diff
  • Test results
  • Linter output
  • Security considerations checklist

Review Checklist:

  • Verify go.mod changes are expected
  • Confirm no breaking changes
  • Check all tests pass
  • Review any security advisories
  • Validate linter results

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.