AGENT SKILL

mill-packaging-publishing

Build and verify Mill JVM jars, assemblies, native images, distributions, Docker images, and multimodule publishing metadata for Scala Java Kotlin projects. Use when packaging or publishing artifacts from a Mill build.

License 许可
MIT
最近更新
2026-11-14
Stars
★ 0
Forks
0

01 前言 Front Matter

name
mill-packaging-publishing
license
MIT
description
Build and verify Mill JVM jars, assemblies, native images, distributions, Docker images, and multimodule publishing metadata for Scala Java Kotlin projects. Use when packaging or publishing artifacts from a Mill build.

02 资源文件 3

03 SKILL.md 正文

Mill packaging and publication

Read artifacts.md to choose and test deployable form. Read publishing.md for multimodule coordinates, POMs, signing, repositories, release staging.

Pick artifact by consumer need: thin library jar, executable assembly, launcher/classpath distribution, framework repackage, native image, or jlink/jpackage bundle. Passing run does not prove packaged artifact works. Inspect contents; run actual result on supported runtime.

Libraries: use PublishModule with correct language/platform artifact identities. Keep source/docs/POM metadata complete, with local module dependencies as published coordinates. Do not put deployable application's shaded dependencies into library jar merely to avoid resolution work.

Generate and verify release artifacts before external publication. Use concrete version, explicit module set. Keep credentials out of source/task logs. Releases, repository uploads, image pushes and version-control operations need user's actual authorization. Setting up publishing task does not by itself require running it.

Pin framework/plugin/toolchain versions; check version-matching APIs. Current docs list Sonatype Central's newer publisher beside legacy flows. Do not mix authentication/endpoints or promise removed service.

04 同仓库更多 Skills

w0rxbend
w0rxbend/dot-agents

wiki-builder

Create and maintain a local Markdown research wiki (sources with provenance, compiled concept/source pages, index, maintenance log) driven by a per-wiki config. Use when the user wants to start a wiki or knowledge base, ingest sources into one, or query and update it; use wiki-page-writer for a single code deep-dive page.

★ 0
w0rxbend
w0rxbend/dot-agents

refactoring-guru

Diagnose a named code smell and apply the smallest behavior-preserving refactoring, with verification before and after and an explicit stop condition. Use for structural refactors (extract, move, consolidate, change ownership), not for feature or bug work; for readability cleanup of recent changes use code-simplification.

★ 0
w0rxbend
w0rxbend/dot-agents

legacy-seams

When changing untested legacy code, pin the observed results with characterization tests and open the smallest seam that substitutes only the blocking dependency, separate from any later logic change. Use when a clock, random source, I/O, global, or hidden constructor blocks a test or a safe edit. Use test-driven-development for a new behavior or a bug, refactoring-guru for one named structural refactor after the seam exists, and code-refactoring-tech-debt to choose which legacy to replace.

★ 0
w0rxbend
w0rxbend/dot-agents

idea-refine

Refine a raw idea into a one-page brief (problem statement, recommended direction, assumptions to validate, MVP scope, not-doing list) through divergent then convergent thinking. Use when an idea is still vague or you want options and a stress test before committing; use interview-me when the goal itself is unclear and spec-driven-development once the direction is chosen.

★ 0
w0rxbend
w0rxbend/dot-agents

code-review-and-quality

Review rubric and approval standard for any change before merge, including code written by you, another agent, or a human: five axes (correctness, readability, architecture, security, performance), change sizing, structural remedies, severity labels, and feedback technique. Use to judge whether a change is fit to merge; use code-review to run a PR or diff review end to end.

★ 0
w0rxbend
w0rxbend/dot-agents

code-perfection

Smell and style gate for code you write or change. Bans known code smells (long method, large class, primitive obsession, long parameter list, data clumps, duplicate code, dead code, feature envy, shotgun surgery, flag arguments, message chains) and enforces behavior-preserving structure. On Scala files, enforces worxbend style. Use while implementing, reviewing a diff for smells, or when a smell or style violation is suspected. Routine construction stays with code-complete. SOLID and DRY stay with clean-code-guard. One named structural refactor stays with refactoring-guru.

★ 0