mcpField
D
dagger-chores

dagger-chores

github.com/daggerDevelopment16.5k37 installsUpdated today
Repository

About dagger-chores

dagger-chores is a skill for routine maintenance in the Dagger repository. It provides checklists for Go version bumps, regenerating generated files, and updating telemetry golden tests.

Key features

  1. 01Checklist for Go version bumps
  2. 02Steps for regenerating generated files
  3. 03Command for updating telemetry golden tests

Use cases

  1. 01Updating the Go version used by Dagger
  2. 02Regenerating repository files
  3. 03Updating telemetry golden tests

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/dagger/dagger --skill dagger-chores

After installing, type/dagger-choresin Claude Code to confirm it loaded.

Details

From the project README

Dagger Chores

Go Version Bump

Use this checklist when asked to bump Go.

  1. Update the Go version string in engine/distconsts/consts.go:
  • GolangVersion = "X.Y.Z"
  1. Update the Go default version string in .dagger/modules/go/main.go:
  • // +default="X.Y.Z" on the version argument in New(...)
  1. Use a short commit message in this format:
  • chore: bump to go <major.minor>
  • Example: chore: bump to go 1.26
  1. Create a signed commit:
  • git commit -s -m "chore: bump to go <major.minor>"
  1. Tell the user to double-check whether new Go version locations have been introduced since the last bump, and mention they can ask the agent for help finding them.
  • Suggested wording: Please double-check if any additional Go version strings were added in new files; these locations can change over time. If helpful, I can also help search for those locations.

Regenerate Generated Files

Use this checklist when asked to regenerate generated files.

  1. From the Dagger repo root, create a temp file for command output and store its path in tmp_log.

  2. Run generation and redirect all output to the temp file:

  • dagger generate -y >"$tmp_log" 2>&1
  1. Search the temp file as needed instead of printing full output.

  2. Delete the temp file when done.

Regenerate Golden Tests

Use this checklist when asked to regenerate telemetry golden tests.

  1. From the Dagger repo root, run dagger call engine-dev test-telemetry --update -y

Comments

Markdown supported