oss-publish
Skill4 starsChanged 7 months agoMITView on GitHub
Open source publication and release hygiene for repositories and CLIs (language-agnostic): choose and add LICENSE, prepare README/CONTRIBUTING/SECURITY/CODE_OF_CONDUCT, standardize versioning/tags/releases and release notes, set up CI matrices, quality gates (pre-commit/pre-push), and safe-by-default automation/bootstrapping. Use when preparing a project to be published publicly (GitHub/GitLab), cutting a release, or standardizing repo tooling across languages.
We split this skill into the rules it gives an agent
14 rules. About 0 are common, 13 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈13
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 14
Prefer safe-by-default, non-interactive, repeatable steps.
- Distinctive: line 18
Add these at repo root (or confirm they exist and are correct):
- Distinctive: line 27
If the project is a CLI/tool, also ensure:
- Distinctive: line 34
Use semantic versioning (SemVer) unless the ecosystem dictates otherwise.
- Distinctive: line 35
Treat releases as immutable:
- Distinctive: line 56
Prefer a split between fast and slow checks:
- Very specific: line 61
Use pre-commit or prek (compatible alternative) depending on repo conventions.
- Distinctive: line 65
If the project is intended to be cross-platform, include a CI matrix:
- Distinctive: line 75
Prefer a single, predictable setup command usable by humans and automation:
- Distinctive: line 78
Keep it idempotent and non-interactive
- Distinctive: line 83
Avoid collisions with common system commands and common package names.
- Distinctive: line 84
If the name is generic, add an org/team prefix.
- Distinctive: line 88
If the project stores user config/data:
- Distinctive: line 93
Avoid OS-specific special cases unless the ecosystem requires it.
≈ “Common” is an estimate: at least 1 in 5 of the 308,232 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
oss-publish - OSS Publication And Release Hygiene
Focus: make a repository publishable and releasable with minimal ambiguity. Prefer safe-by-default, non-interactive, repeatable steps.
Baseline Repo Artifacts
Add these at repo root (or confirm they exist and are correct):
LICENSE(pick one; do not invent a custom license)README.md(project intent, quick start, examples)CONTRIBUTING.md(how to contribute; local dev workflow)CODE_OF_CONDUCT.md(community expectations; adopt a standard template)SECURITY.md(vulnerability reporting process)- Optional:
SUPPORT.md(where to ask questions)
If the project is a CLI/tool, also ensure:
--helpis stable and in English- docs include examples for both humans and automation
Release Discipline (Language-Agnostic)
- Use semantic versioning (SemVer) unless the ecosystem dictates otherwise.
- Treat releases as immutable:
- tag the release commit
- generate release notes from commits/CHANGELOG
- attach artifacts (if you distribute binaries)
Pre-release checklist (minimum):
- working tree clean
- tests + lint/format pass
- documentation updated (README, examples)
- version bumped + tagged
- release notes produced
For a concrete checklist and file templates, see:
oss-publish/references/checklist.mdoss-publish/references/templates.mdoss-publish/references/readme.md
Quality Gates (Local + CI)
Prefer a split between fast and slow checks:
pre-commit: format + lint (fast)pre-push(or CI only): full test suite (slower)
Use pre-commit or prek (compatible alternative) depending on repo conventions.
CI Policy (Cross-Platform)
If the project is intended to be cross-platform, include a CI matrix:
ubuntu-latestmacos-latestwindows-latest
Set fail-fast: false so one platform failure does not hide others.
Stable Bootstrap Entry Point
Prefer a single, predictable setup command usable by humans and automation:
- Provide an executable
.wt/setupthat runsmake setup(or equivalent) - Keep it idempotent and non-interactive
Naming And Collisions
- Pick a unique repo and command/binary name.
- Avoid collisions with common system commands and common package names.
- If the name is generic, add an org/team prefix.
Filesystem Layout (XDG)
If the project stores user config/data:
- Config:
$XDG_CONFIG_HOME/{app}(fallback~/.config/{app}) - Data/state/artifacts (non-git-managed):
$XDG_DATA_HOME/{app}(fallback~/.local/share/{app})
Avoid OS-specific special cases unless the ecosystem requires it.
Related Skills
agentic-cli-design: deep guidance for agent/automation-friendly CLIs (JSON mode, exit codes, non-interactive)rust-cli: Rust-specific CLI implementation patterns (clap/anyhow/tracing/serde_json, cargo-release)
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 4
- letuhao/lore-weave★ 35same name
- svyatov/oss-kit★ 1same name
- NovaKepler513/claude-skills★ 0same name
- YiweiCreates/claude-skills★ 0same name
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 repository25 other files it gives its agents.
- AGENTS.mdAGENTS.md
- greats-soul-archive-contributor/AGENTS.mdAGENTS.md
- agentic-cli-designSkill
- ai-chat-frontendSkill
- autoresearch-agentSkill
- brainstorm-frameworksSkill
- business-planningSkill
- clawdbot-configSkill
- dashboard-design-guidebookSkill
- fermi-estimationSkill
- firecrawlSkill
- gogcliSkill
- greats-soul-archive-contributorSkill
- jp-grantsSkill
- openclaw-agent-creatorSkill
- opencode-agent-creatorSkill
- opencode-command-creatorSkill
- openspec-brownfield-baselineSkill
- product-improvement-proposalSkill
- python-uv-projectSkill
- rust-cliSkill
- slack-rsSkill
- unit-test-hygieneSkill
- wt-setupSkill
- youtube-summarizerSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
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.

