release-kotlin-library
Skill1 starsChanged 40 days agoMITView on GitHub
Use when preparing, publishing, or checking readiness for a Kotlin library release, including verifying its gradle-maven-publish-plugin prerequisite, reconciling changelogs and API snapshots, and checking publication.
- Reads credentials
1 other project uses a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- chrisbanes/skillsedited, first seen Jun 18, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 1
- chrisbanes/skills★ 1.2k81% same
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository34 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- android-benchmark-comparisonSkill
- build-and-verifySkill
- compose-animationsSkill
- compose-component-designSkill
- compose-focus-navigationSkill
- compose-performanceSkill
- compose-state-and-effectsSkill
- compose-ui-testing-patternsSkill
- deliver-specSkill
- diagnosing-bugsSkill
- domain-modelingSkill
- gradle-runSkill
- grillingSkill
- grounded-writingSkill
- implement-with-subagentsSkill
- kotlin-api-designSkill
- kotlin-architectureSkill
- kotlin-concurrency-and-flowSkill
- kotlin-control-flowSkill
- kotlin-skill-routerSkill
- new-featureSkill
- prototypeSkill
- researchSkill
- review-prSkill
- run-github-projectSkill
- run-on-deviceSkill
- setup-environmentSkill
- setup-issue-trackerSkill
- shepherdSkill
- tddSkill
- to-planSkill
- triageSkill
- wayfinderSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 4 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 24
If the user limits review to supplied state, run no commands and mark unsupplied state unknown.
- Distinctive: line 38
Keep reviews read-only, including credentials.
- Distinctive: line 41
Stop before mutation on unsupported layouts or ambiguous destinations.
- Distinctive: line 42
Before preparation, read the changelog procedure completely.
- Very specific: line 56
Keep configuration and evidence outside tracked release files.
- Distinctive: line 93
Verify all expected artifact coordinates and versions at the configured destination, along with CI completion when applicable.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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.
Files
Release Kotlin library
Core principle
Publish the prepared, validated, user-approved release commit and call the release complete only after verifying its artifacts and Git state.
Prerequisite
This skill relies on gradle-maven-publish-plugin (com.vanniktech.maven.publish)
for library publication, whether run locally or through tag-triggered CI.
API snapshot support assumes Metalava-generated api/api.txt files; disable
snapshots when the repository does not maintain them.
Procedure
- Establish scope and inspect repository instructions, Git state, release
history, version properties, publishing configuration and required checks.
If the user limits review to supplied state, run no commands and mark
unsupplied state unknown. Confirm, from build files or supplied repository facts, that published
modules apply
com.vanniktech.maven.publishdirectly or via a convention plugin; declaration alone is insufficient. If absent or unverified, report it and stop before release mutations; do not install or migrate publishing plugins. Distinguish readiness review, preparation and explicit release authorization; select the matching finish path before proceeding. For recovery or recovery review, select and read the recovery answer form before analysis. For changelog-related review, also read the changelog procedure. For preparation or changelog-only work, read the preparation answer form completely, in its own call, before analysis. Keep reviews read-only, including credentials. Follow the existing local or CI publishing mechanism; do not migrate it. Read the helper contract before configuring the bundled script. Stop before mutation on unsupported layouts or ambiguous destinations. - Before preparation, read the changelog procedure completely; resolve baseline, version and coverage ambiguity. Do not guess or create a changelog.
- Identify repository release checks, including tests and Metalava API
generation and compatibility checks where configured. Confirm that API files
are current before snapshotting; the helper copies them without running
Metalava. Do not treat other API dump formats as Metalava snapshots.
Require passing evidence for the release code; a green
parent commit is insufficient after relevant changes. For Gradle execution,
use gradle-run, with
--no-scanunless a scan is explicitly authorized. Fix failed checks within authorized scope; otherwise stop with the failing gate and next action. - Configure and preflight the helper with explicit versions, paths, heading
style, API snapshot applicability, branch, remote, tag and command arguments.
Keep configuration and evidence outside tracked release files. Check the
index, snapshot collisions and local/remote destinations before writes. Load
~/.envfor local publication as data, never by shell sourcing or printing it. Preserve explicit process environment values. Missing required credentials block local publication; do not request or log their values. For tag-triggered CI, use existing Git authentication and CI-managed publishing secrets without loading or requiring local dotenv values. - Prepare the release: update the version, finalize the changelog heading and
applicable published-module API snapshots, run configured checks, and commit
only release files. When finalizing a stable release entry, draft the stable
summary from every surviving coverage-ledger row in final-behavior wording
before grouping that cycle's original prerelease entries beneath it in a
<details>block with<summary>Prerelease history</summary>. Move the original prerelease entries as one block without reordering them. Preserve their headings, anchors, dates and text, with blank lines around the enclosed Markdown. Leave older stable releases outside the block. If the renderer lacks collapsible HTML, retain expanded entries. Before handing off, recheck the actual stable summary against every surviving ledger row and the grouped history against the source order. Inspect the resulting commit. Bind validation to this state and invalidate it if relevant code changes. The helper must not publish during preparation. - Present the prepared release for explicit user approval before publication: release version and tag, finalized changelog (or its absence), next development version, release commit, artifact coordinates and destination, publishing mechanism, and validation results. Provide the actual notes or a directly reviewable diff, not just a claim that they are ready. Explain that this approval gate is required by this skill and wait for the user's decision; a general request to release does not approve unseen release details. Reuse approval already given for this exact prepared release. If the code, versions, notes or publishing scope change, prepare and validate the revised release and obtain approval again. Preparation-only and readiness requests stop at their requested scope without soliciting publication approval.
- Once the prepared release is approved and all gates pass, publish from that commit via the repository's selected mechanism. Local publication and tag-triggered CI are alternatives; do not run both. Do not publish artifacts, push a release tag or trigger publishing CI before approval.
- Verify all expected artifact coordinates and versions at the configured destination, along with CI completion when applicable. Verify the remote tag resolves to the prepared commit. A successful command or tag alone is not artifact evidence. Only then advance, commit, push and verify the agreed next development version. Create and read back a GitHub Release only when repository conventions call for it, using the finalized release notes.
- On partial or uncertain success, stop dependent mutations and report verified, failed and unknown stages without secrets. Inspect live artifact, workflow, tag and branch state before recovery; never blindly repeat publication, overwrite remote tags, delete published artifacts or claim rollback. Resume only a proven remaining action within existing authorization.
Finish paths
- Preparation, including changelog-only: Fill the selected preparation answer form. Show actual reviewable notes or diff, remaining checks, and the explicit later publication-approval gate; do not request approval now.
- Recovery/recovery review: Fill the selected recovery answer form as numbered sections; check every applicable disposition before replying.
- Completed release: Report release version, commit/tag, validation, artifact readback, next development commit, and conditional GitHub Release URL. Claim completion only when every applicable check passes.
For a readiness review or blocker, state that narrower outcome and remaining gate. Do not expose credential contents or raw sensitive command output.
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
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.

