Rseng Publishing Releasing 标志

Rseng Publishing Releasing

社区
fdiblen
rseng-publishing-releasing

介绍研究软件的发布生命周期:准备并发布带版本号的版本、编写变更日志、选择版本方案、自动化发布,以及为每个版本创建 DOI。当用户询问如何标记 v1.0.0 版本、撰写发布说明或变更日志、选择版本方案(SemVer 或 CalVer)、自动化发布,或创建发布 DOI 时,使用此技能。(为 PyPI/CRAN/conda 和各类注册表准备发布渠道见 rseng-software-publishing;长期保存见 rseng-archiving。)

Add to TypingMind

概览

发布者fdiblen
代码仓库rseng-agent-skills
技能名称rseng-publishing-releasing
星标数
26
复刻数
2
附带文件
1
许可协议CC-BY-4.0
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 1 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 fdiblen 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Rseng Publishing Releasing AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/fdiblen/rseng-agent-skills/tree/main/skills/rseng-publishing-releasing
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/fdiblen/rseng-agent-skills.git /tmp/rseng-agent-skills
mkdir -p .claude/skills
cp -r /tmp/rseng-agent-skills/skills/rseng-publishing-releasing .claude/skills/rseng-publishing-releasing
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Rseng Publishing Releasing,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Rseng Publishing Releasing。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Rseng Publishing Releasing 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Publishing, packaging, releasing and archiving software

Use this skill when helping someone move research software from a working repository to something others can find, install, run, cite, and rely on years from now. These are four distinct stages that people routinely conflate; get the vocabulary straight first, then follow the stage the user actually needs.

Distinguish the four stages

Keep these separate when advising - they answer different questions:

  • Publishing - making software available so others can find, use, and cite it. Putting code on GitHub/GitLab is the start, not the whole job.
  • Packaging - preparing the software so others can install and run it with a single command or download (structure, config files, metadata).
  • Releasing - packaging one specific stable version for people to download and run, tagged with a version number.
  • Archiving - long-term preservation independent of any one platform, so the exact software survives even if a hosting service disappears.

Publishing is the umbrella; packaging, releasing, and archiving are the concrete sub-tasks that make a publication findable, installable, and durable.

Publishing: the end-to-end order

Publishing is more than pushing to a public repo. Walk these tasks in this order, because each depends on the previous ones:

  1. Write release notes, a changelog, and usage instructions.
  2. Add metadata for discoverability, and capture dependencies and environments (containers, environment files, or workflow systems) so the release is reproducible.
  3. Choose and apply an appropriate open license (delegate to the licensing skill for selection).
  4. Add citation files (CITATION.cff), contribution guidelines, and community practices to support reuse and credit.
  5. Version and release a stable, installable build - as a package in a registry, or by tagging an official release in the code repository.
  6. Archive the release (Zenodo or Software Heritage) with a DOI.

Treat this list as the checklist for "is this really published, or just pushed?" Anything missing above is a gap to flag.

Packaging: choose the distribution channel

Pick the channel by how users need to consume the software:

  • Just sharing source and history, or a first open release -> a code hosting platform (GitHub, GitLab, BitBucket). This is the hub even when users ultimately install from elsewhere; source and development history live here, and releases can be tagged with notes and downloadable archives.
  • Users need to install and reuse the code from their own environment -> a language or discipline package registry. Match the ecosystem: PyPI (Python), CRAN (R), npm (JavaScript), conda-forge (multi-language), Maven Central (Java). These give one-command installs, versioned distribution, and metadata-driven discoverability.
  • The software depends on many tools or a specific environment, or must run identically everywhere -> ship a container (Docker, SingularityCE) or publish a workflow to a hub (WorkflowHub, Dockstore). Containers bundle the runtime so users pull and run with no manual setup.

Whichever channel, package with a standard project structure, package config files (pyproject.toml, package.json, and equivalents), and metadata: version number, authors, dependencies, and license. A single project often uses several channels at once (source on GitHub, installable package on PyPI, container on a registry).

Releasing: version, changelog, tag

A release is a new or updated version made available to users; it is a phase in the development cycle, not a one-off upload. Do these:

  • Pick a versioning scheme and apply it consistently:
    • Semantic Versioning (e.g. 1.0.2) - communicates compatibility: MAJOR breaks the API, MINOR adds compatibly, PATCH fixes. Prefer this for libraries others build against.
    • Calendar Versioning (e.g. 24.10) - encodes the release date. Prefer this for tools released on a schedule where date matters more than API compatibility.
  • Maintain a changelog (release log): a running record of changes, published with the software at release time. Prepare it before starting the release, not after.
  • Write release notes: a short, non-technical summary of the changelog aimed at end users, distinct from the raw changelog.
  • Attach built artefacts (binaries, packages) to the release where useful.

Concrete GitHub release flow:

  1. Prepare the changelog ahead of time.
  2. In the repo, open Releases -> Draft a new release.
  3. Assign a unique version name/number under your chosen scheme.
  4. Add end-user-facing release notes.
  5. Publish release.
  6. If the repo is connected to Zenodo, publishing the release automatically mints a DOI for that version - enable this integration so citation and archiving happen in one step.

Archiving: preserve beyond the platform

Code on GitHub or GitLab is good for sharing and versioning but is not archiving: these are commercial services that can change policies, remove repos, or shut down, and research outputs go irreproducible within a few years when the original software vanishes. Archiving means preservation that does not depend on any single platform.

Why it matters: reproducibility of past experiments, preservation of the tools behind published results, compliance with Open Science mandates from funders and journals, and continued citation and reuse.

Address more than the source code when archiving:

  • Environment - capture compilers, libraries (NumPy, R packages), OS-level features, and architectures the software needs.
  • Build reproducibility - non-deterministic builds and missing historical dependencies make byte-for-byte rebuilds hard; document the build.
  • Versioning and provenance - record version history, commit hashes, and links to specific datasets and publications.
  • Legacy execution - for old software, plan for emulation or VM snapshots when containers are not enough (GUI or legacy apps).
  • Licensing - proprietary dependencies can legally limit what may be archived and shared.
  • Metadata and documentation - machine- and human-readable metadata, usage instructions, authorship, and configuration must travel with the archive.

Match the archival tool to the need:

  • Zenodo (or an institutional repository) - DOI-backed archiving of a release, linked to publications; the default for a citable snapshot.
  • Software Heritage - universal archive of source code and its full development history at scale.
  • ReproZip - captures the execution environment for portability.
  • Guix / NixOS - functional package managers for reproducible builds.
  • Containers (Docker, SingularityCE) - bundle app plus dependencies, common in HPC; VM snapshots when containerisation is not feasible.
  • RO-Crate - not an archive itself but the metadata format that keeps archived items (e.g. workflows) described, understandable, and reusable.

Rule of thumb: mint a DOI on Zenodo for the citable release, and register the source with Software Heritage for the full history; add environment-capture tools when exact re-execution is a requirement.

A concrete release stack (NLeSC python-template): setuptools-scm derives versions from git tags, bump-my-version manages the bump, and Zenodo integration mints a DOI wired to CITATION.cff on each GitHub release.

Working with this skill

The generated references.md beside this file lists the source material and pointers:

  • references.md - verified Learn more pointers

Learn more (verified):

Related skills

Check whether any of these applies before moving on:

  • rseng-archiving - preservation follows each release
  • rseng-ci-cd - release automation pipelines
  • rseng-citation-metadata - DOI and CITATION.cff at release
  • rseng-legacy-code - retire path needs tagged archive
  • rseng-license-compliance - notice obligations at release time
  • rseng-software-publishing - channel craft after cutting release

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Rseng Publishing Releasing AI 技能有什么作用?

介绍研究软件的发布生命周期:准备并发布带版本号的版本、编写变更日志、选择版本方案、自动化发布,以及为每个版本创建 DOI。当用户询问如何标记 v1.0.0 版本、撰写发布说明或变更日志、选择版本方案(SemVer 或 CalVer)、自动化发布,或创建发布 DOI 时,使用此技能。(为 PyPI/CRAN/conda 和各类注册表准备发布渠道见 rseng-software-publishing;长期保存见 rseng-archiving。)

为什么在 TypingMind 中使用 Rseng Publishing Releasing?

因为您只需安装一次,就能搭配任何模型使用。Rseng Publishing Releasing 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Rseng Publishing Releasing?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/fdiblen/rseng-agent-skills/tree/main/skills/rseng-publishing-releasing。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Rseng Publishing Releasing?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Rseng Publishing Releasing 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Rseng Publishing Releasing 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Rseng Publishing Releasing AI 技能免费吗?

是的。fdiblen 已在 GitHub 上根据 CC-BY-4.0 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇