跳到正文
cccskills
免费在 GitHub 公开

github-project-release

Use when preparing or publishing a local project as a clean GitHub repository. Covers new repositories, private staging releases, public README cleanup, updates to existing remotes, and research-code packaging without datasets, checkpoints, papers, or generated artifacts.

中文简介正在准备中。当前显示原文说明。

集成工具GitHub
查看安装方法

包含的文件(5)

  • SKILL.md4.3 KB
  • agents/openai.yaml302 B
  • LICENSE1.0 KB
  • references/readme_playbook.md4.1 KB
  • scripts/github_project_release.py20.9 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

GitHub Project Release

Turn a local project into a clean GitHub repository that is safe to make public later. Default to research-code release behavior: clean copy first, private GitHub repo first, audit before push.

Workflow

  1. Inspect the source project before copying.

    • Identify the runnable entrypoints, key configs, curated figures/tables, license, citation files, and upstream dependencies.
    • Treat the codebase as source of truth. Do not preserve stale upstream README language as the release front page.
  2. Check credentials.

    • Run scripts/github_project_release.py auth-check.
    • Use the active gh account as the default owner.
    • Never ask the user to paste a GitHub token into chat. If auth is missing, ask them to run gh auth login or provide credentials through a secure non-chat channel.
  3. Prepare a clean release copy.

    • Run scripts/github_project_release.py prepare --source <project> --dest <release-dir>.
    • Keep only what a new user needs to understand and run the project.
    • Exclude datasets, checkpoints, logs, generated outputs, raw experiment dumps, paper PDFs, local submission material, and exploratory files unless the user explicitly overrides the default.
  4. Write or rewrite the README.

    • Read references/readme_playbook.md before drafting README content.
    • Use English by default.
    • Write for external readers, not for the project owner.
    • For research code, cover Context + Run + Cite: what it is, what problem it solves, what is included, how to install/run the minimal path, and how to cite current and upstream work.
  5. Audit before publishing.

    • Run scripts/github_project_release.py audit --path <release-dir>.
    • Treat reported high-risk items as blockers unless the user explicitly accepts them.
    • If a paper link is not public, use Paper link: coming soon. and do not upload PDFs.
  6. Publish privately.

    • Run scripts/github_project_release.py publish --release-dir <release-dir>.
    • If the repo does not exist, create a private repo.
    • If it exists, push only safe non-rewriting updates.
    • Do not force-push, delete, overwrite, or make the repo public unless explicitly requested.
  7. Report the result.

    • Include repo URL, branch, commit SHA, visibility, and audit status.
    • If any sensitive artifact was accidentally pushed earlier, explain that branch-history cleanup may not immediately remove exact-SHA access on GitHub; for strict removal, recreate a clean repo.

Script Quick Reference

Resolve <skill-dir> to the directory containing this SKILL.md; do not assume a particular global skills installation root.

python "<skill-dir>/scripts/github_project_release.py" auth-check

python "<skill-dir>/scripts/github_project_release.py" prepare \
  --source /path/to/project \
  --dest /path/to/project-github

python "<skill-dir>/scripts/github_project_release.py" audit \
  --path /path/to/project-github

python "<skill-dir>/scripts/github_project_release.py" publish \
  --release-dir /path/to/project-github

Use --dry-run on prepare or publish to inspect intended actions without copying or pushing.

Defaults

  • Visibility: private.
  • Owner: active gh account.
  • Repo name: sanitized release directory name, unless --repo, --owner, or --name is provided.
  • Existing repo policy: safe update only.
  • README language: English.
  • Results policy: paper-confirmed figures/tables/results only; never infer metrics from logs.
  • Asset policy: curated explanatory figures/tables only; never bulk-upload raw visualization outputs.

When To Ask

Ask the user only when the answer cannot be derived from the project:

  • Target GitHub owner differs from the active gh account.
  • Repo name should differ from the project/release directory.
  • A normally blocked file type must be included.
  • The user wants public release, force-push, repo deletion, or history rewrite.
  • The current project has no clear runnable path and the README would otherwise invent commands.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Use when diagnosing or fixing user-reported application bugs. Guides evidence-backed root-cause analysis from symptoms, screenshots, logs, provider failures, background tasks, storage, or desktop lifecycle behavior through a scoped patch and regression tests.

中文简介正在准备中。当前显示原文说明。

sidiangongyuan/codex-skills-library252026年9月21日 更新

Use when implementing or improving a user-facing app workflow. Guides product-grade UX, frontend, backend/API behavior, AI/provider or long-running task states, tests, and end-to-end verification from rough requirements to a shippable feature.

中文简介正在准备中。当前显示原文说明。

sidiangongyuan/codex-skills-library252026年9月21日 更新

Use when preparing a desktop or web app update for commit, packaging, installer validation, GitHub publication, release asset upload, or old-release pruning. Protects user data and verifies that published artifacts match the tested build.

中文简介正在准备中。当前显示原文说明。

sidiangongyuan/codex-skills-library252026年9月21日 更新

Use when Codex Desktop sidebar sessions disappear, fail with systemError, or cannot continue after a model_provider switch. Diagnoses and repairs active, non-archived sessions without changing authentication or provider configuration.

中文简介正在准备中。当前显示原文说明。

sidiangongyuan/codex-skills-library252026年9月21日 更新

Anti-slop frontend skill for landing pages, portfolios, and redesigns. The agent reads the brief, infers the right design direction, and ships interfaces that do not look templated. Real design systems when applicable, audit-first on redesigns, strict pre-flight check.

中文简介正在准备中。当前显示原文说明。

sidiangongyuan/codex-skills-library252026年9月21日 更新

Describe what this skill does and the concrete situations in which an agent should use it.

中文简介正在准备中。当前显示原文说明。

sidiangongyuan/codex-skills-library252026年9月21日 更新

查看 sidiangongyuan 的全部技能

报告此技能的问题