Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计提醒

gh-oss-release-prepgh oss 发布准备

Agent Skill

gh-oss-release-prep 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

267

周安装

11

GitHub Stars

12

下载量

87
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:gh-oss-release-prep(gh oss 发布准备)
来源仓库:https://github.com/jackchuka/skills
仓库路径:skills/gh-oss-release-prep
安装命令:
npx skills add https://github.com/jackchuka/skills --skill gh-oss-release-prep
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/jackchuka/skills --skill gh-oss-release-prep

简介

gh-oss-release-prep 用于查找、检索和筛选相关信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中根据关键词、任务场景或来源线索快速定位候选结果。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装并使用。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。
  • 可结合来源仓库和原始 README 继续核验具体用法。

SKILL.md

OSS Release Preparation

Systematic workflow to prepare a repository for open-source publishing. Covers code quality, licensing, documentation, CI, and release readiness.

Key Principle: Convention Reuse

Before creating any file from scratch, check the user's sibling repositories for existing conventions. Users maintain consistency across their repos — reuse their LICENSE text,.golangci.yml,.gitignore,.github/workflows,.goreleaser.yaml, etc. from a recent, well-maintained repo.

How to find conventions:

  1. Look at sibling directories (e.g., ls../) for other repos by the same user
  2. Pick a recently-updated repo with similar characteristics (same language, similar type)
  3. Copy config files, adapting only what's project-specific (binary name, module path)

Step 0: Classify the Project

Before starting, determine the project type — this affects which steps apply:

TypeHas main.go / binary outputNeeds goreleaserNeeds package registry
CLI tool / binaryYesYesHomebrew tap, etc.
Library / moduleNoNogo get / npm / PyPI
Both (tool + importable pkg)YesYesBoth

This classification drives decisions in Steps 3-6. Don't suggest goreleaser for a library. Don't skip install instructions for a binary.

Step 1: Repository Scan

Scan the repo and a sibling repo (for conventions):

  1. Read the project structure (directories, key files)
  2. Check for existing README, LICENSE, CONTRIBUTING, CODE_OF_CONDUCT
  3. Identify the primary language and build system
  4. Check for any sensitive files (.env, credentials, API keys, internal URLs)
  5. Review.gitignore for completeness
  6. Scan a sibling repo for: LICENSE,.gitignore, linter config,.github/workflows,.goreleaser.yaml

Report findings as a checklist:

Repository Scan:
- [x/!] README.md exists
- [x/!] LICENSE file exists
- [x/!] .gitignore is comprehensive
- [x/!] .golangci.yml / linter config exists
- [x/!] .github/workflows exists (CI)
- [x/!] No sensitive files detected
- [x/!] No hardcoded internal URLs or secrets
- Reference repo for conventions: <sibling-repo-name>

Step 2: License & Dependency Audit

  1. Identify the intended license (check sibling repos first, default: MIT)
  2. Check all dependencies for license compatibility:

- Direct dependencies: list each with its license - Flag any copyleft (GPL, AGPL) dependencies that conflict with the chosen license

  1. If attribution is required, create or update a NOTICES file
  2. Copy LICENSE from sibling repo, updating year if needed

Step 3: README Quality Check

Evaluate and improve the README:

  1. Required sections (create if missing):

- Project name and tagline (concise, memorable) - What it does (1-2 sentences) - Installation instructions (adapt based on project type — go get for libraries, go install/brew for CLIs) - Quick start / basic usage - License

  1. Recommended sections (suggest if missing):

- Features list - Configuration options - Contributing guidelines (or link to CONTRIBUTING.md)

  1. Quality checks:

- Does the README match the actual CLI/API interface? - Are code examples up to date and runnable? - Is the installation method documented correctly?

Step 4: Code Quality Review

  1. Copy linter config from sibling repo if missing (.golangci.yml,.eslintrc, etc.)
  2. Run linters and fix all issues before proceeding:

- Go: golangci-lint run./... — fix errcheck, unused, etc. - Node/TS: check package.json scripts for lint commands

  1. Ensure public API documentation exists (exported functions/types have comments)
  2. Search for and remove TODO/FIXME comments that reference internal context
  3. Run tests, verify they pass

Step 5: CI/CD Setup

Copy CI configuration from sibling repo, adapting project-specific values:

For all projects:

  • Test + lint workflow (on push/PR)
  • Dependabot or Renovate config for dependency updates
  • License check workflow (on dependency changes)

For CLI tools / binaries only:

  • Release workflow with goreleaser (on tag push)
  • .goreleaser.yaml if missing

For libraries only:

  • No release workflow needed (tags are sufficient for go get / npm)

Step 6: Release Readiness Checklist

Present the final checklist (items vary by project type):

OSS Release Readiness:
- [ ] LICENSE file is correct and complete
- [ ] All dependency licenses are compatible
- [ ] README is comprehensive and accurate
- [ ] No secrets, internal URLs, or sensitive data in code
- [ ] .gitignore covers build artifacts, IDE files, OS files
- [ ] Linter config exists and passes with no errors
- [ ] CI workflows exist (test, lint, license check)
- [ ] Tests pass
- [ ] Version/tag strategy defined (semver)
- [ ] [CLI only] Release automation configured (goreleaser)
- [ ] [CLI only] Homebrew tap / package registry configured

For each unchecked item, provide the specific fix needed.

Step 7: Final Actions

  1. If all checks pass, confirm with user before any publishing steps
  2. Commit all changes in a single commit (or logical groups)
  3. Push and verify CI passes
  4. Suggest next steps:

- Libraries: tag release, verify go get / npm install works - CLI tools: tag release, verify goreleaser produces artifacts, update Homebrew tap

Common Issues

  • Missing linter config: Copy from sibling repo — don't create from scratch
  • Missing CI workflows: Copy from sibling repo — adapt binary name and module path only
  • Goreleaser for a library: Don't add it. Libraries don't need binary releases.
  • Missing.gitignore entries: Add OS-specific (.DS_Store), IDE-specific (.vscode/, .idea/), and language-specific entries
  • Internal references: Search for company-internal URLs, Slack channels, or employee names in code and docs
  • Inconsistent naming: Ensure the project name is consistent across README, package.json/go.mod, and CLI help text
  • Linter errors on first run: Fix them immediately — don't ship with lint failures. Common: errcheck (use _ = for intentionally ignored errors), unused imports, missing comments on exports.

Examples

Example 1: Go CLI tool

User: "prepare this for OSS"
Action:
1. Classify: CLI tool (has main.go)
2. Find sibling repo with .goreleaser.yaml for conventions
3. Scan repo structure, check for sensitive files
4. Copy LICENSE, .gitignore, .golangci.yml from sibling
5. Check go.mod dependencies for license compatibility
6. Ensure README matches `--help` output
7. Run golangci-lint, fix all errors
8. Copy .github/workflows (test, license, release) from sibling
9. Copy .goreleaser.yaml from sibling, update binary name
10. Present checklist, commit, push

Example 2: Go library

User: "make this repo public"
Action:
1. Classify: library (no main.go, no binary output)
2. Find sibling repo for conventions
3. Scan repo, check for sensitive files
4. Copy LICENSE, .gitignore, .golangci.yml from sibling
5. Check dependency licenses
6. Ensure README has go get install + usage examples
7. Run golangci-lint, fix all errors
8. Copy .github/workflows (test, license only — NO release/goreleaser)
9. Present checklist, commit, push

Example 3: Node.js library

User: "open source this"
Action:
1. Classify: library (no bin in package.json)
2. Find sibling repo for conventions
3. Scan for .env files, hardcoded URLs
4. Copy LICENSE, .gitignore from sibling
5. Check package.json dependencies' licenses
6. Ensure README has npm install + usage + API docs
7. Run configured lint/test scripts, fix issues
8. Copy .github/workflows from sibling (test only)
9. Present checklist, commit, push

Language References

Read the appropriate reference file for templates and conventions before creating config files:

  • Go: references/go-conventions.md —.golangci.yml,.gitignore,.github/workflows,.goreleaser.yaml, dependabot, errcheck fixes

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

33.88%
按下载量换算29

Claude

27.52%
按下载量换算24

Cursor

20.61%
按下载量换算18

Gemini CLI

10.14%
按下载量换算9

安全审计

Gen Agent Trust Hub

可疑

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills