publish

A guided release workflow for the devgen project. A release is a prepared version of software made available to users, usually with checks, a build, publishing, version tags, and release notes.

In plain words
What is it for?
Use it to prepare patch or minor releases, run release checks, publish a build, and create a corresponding GitHub release.
Why use it?
It provides an ordered process for deciding the version number, checking configuration changes, building the project, publishing it, and creating a GitHub Release. It skips steps that are not needed for the actual changes.

Command

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/tlipoca9/devgen/publish
Clone the repo
git clone --depth 1 https://github.com/tlipoca9/devgen
Per session 16 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,059 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00016 $0.02059
Opus 5 $0.00008 $0.01030
Sonnet 5 $0.00003 $0.00412
Haiku 4.5 $0.00002 $0.00206

Measured 2d ago against content hash ef56fad945d4, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

publish scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.codebuddy/commands/publish.md · 303 lines

How it starts

The opening of the file, as written. The whole thing — 303 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Publish Workflow

You are helping a developer release a new version of devgen. Follow a systematic approach: gather context, check interfaces, build, publish, and create releases.

Core Principles

  • Step-by-step execution: Complete each phase before moving to the next
  • Conditional logic: Skip unnecessary steps based on actual changes
  • Use TodoWrite: Track all progress throughout
  • Report progress: Briefly report after each major step

Context

  • Current version tags: !git tag --sort=-v:refname | head -5
  • Recent commits: !git log --oneline -5
  • Current branch: !git branch --show-current
  • Uncommitted changes: !git status --short

Phase 1: Initialize

Goal: Determine version number and create task checklist

Initial request: $ARGUMENTS

Actions:

  1. If $ARGUMENTS contains a version number (e.g., 0.3.0), use it
  2. Otherwise, ask user with AskUserQuestion:
    • Suggest patch version (bug fix): currentnext patch
    • Suggest minor version (new feature): currentnext minor
    • Allow custom version input
  3. Create todo list with all phases using TodoWrite

Phase 2: Check Config Interface

Goal: Determine if Config() method needs updating (affects VSCode plugin syntax highlighting)

Actions:

  1. Check for generator file changes:

    git diff --name-only HEAD~5 | grep -E 'cmd/.*/generator/.*\.go' || echo "NO_CHANGES"
    
  2. If NO_CHANGES: Mark complete, proceed to Phase 3

  3. If changes exist, check Config() modifications:

    git diff HEAD~5 -- cmd/enumgen/generator/generator.go cmd/validategen/generator/generator.go | grep -A 20 'func.*Config()'
    
  4. Decision logic:

    • If Annotations array changed → Update needed:
      • Modify cmd/<tool>/generator/generator.go
      • Update cmd/<tool>/rules/*.md
      • Run devgen rules --agent kiro -w
    • If only internal logic changed → No update needed

Phase 3: Check Rules Interface

Goal: Determine if Rules documentation needs updating (affects AI usage)

Read the full file on GitHub · 303 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 303 lines · 16 tokens per session scan A ef56fad945d4

Subscribe to this mod's changes

publish is a command published in the GitHub repository tlipoca9/devgen (5 stars, last pushed 4mo ago), licensed MIT. It adds 16 tokens to every session and 2,059 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.