Ring:Generating Release Guides 标志

Ring:Generating Release Guides

组织
LerianStudio
ring:generating-release-guides

Generating an internal Operations-facing update/migration guide from the git diff between two refs, documenting per-change client impact, deploy ordering, monitoring, and rollback notes in English, pt-br, or both. Use when preparing a version release or recording what changed for the Ops team. Runs read-only by default and previews before writing. Skip with no git repo or a trivial single-file change.

Add to TypingMind

概览

发布者LerianStudio
代码仓库ring
技能名称ring:generating-release-guides
星标数
215
复刻数
28
附带文件
仅含指令
许可协议Apache-2.0
链接
  • Markdown 格式的指令

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

  • 兼容任何大语言模型

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

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

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

安装

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

1

安装到 TypingMind

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

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

安装到其他智能体

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/LerianStudio/ring.git /tmp/ring
mkdir -p .claude/skills
cp -r /tmp/ring/default/skills/generating-release-guides .claude/skills/lerianstudio-ring-generating-release-guides
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

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

一旦请求与技能匹配,模型就会自动加载 Ring:Generating Release Guides。

兼容任何 AI 模型

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

  • 仅在需要时加载

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

  • 在聊天中切换模型

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

技能指令

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

Release Guide — Ops Update Guide Generator

When to use

  • Preparing to release a new version
  • Need to document what changed between refs
  • Creating operational update guide
  • Communicating version updates to Ops team

Skip when

  • No git repository available
  • Single file change (too small for formal guide)
  • Customer-facing release notes only (use simpler template)

Inputs

  • BASE_REF (string, required): e.g. main, v1.0.0
  • TARGET_REF (string, required): e.g. HEAD, v1.1.0
  • VERSION (string, optional): auto-detected from tags if not provided
  • LANGUAGE (enum, optional, default en): en, pt-br, both
  • MODE (enum, optional, default STRICT_NO_TOUCH): STRICT_NO_TOUCH, TEMP_CLONE_FOR_FRESH_REFS

Produce an internal Operations-facing update/migration guide from git diff analysis.

Safety Modes

STRICT_NO_TOUCH (default): Read-only git commands only. Forbidden: fetch, pull, push, checkout, switch, reset, commit, merge, rebase. If ref doesn't exist locally → STOP and suggest TEMP_CLONE mode.

TEMP_CLONE_FOR_FRESH_REFS: Clone to temp dir, fetch refs there, run all analysis in clone, cleanup after. Never touches current repo.

Process

Step 0: Execution Location

Determine mode. In TEMP_CLONE mode, create isolated clone before proceeding.

Step 1: Resolve Refs

bash
git rev-parse --verify BASE_REF^{commit}   # verify both refs exist
git rev-parse --verify TARGET_REF^{commit}
BASE_SHA=$(git rev-parse --short BASE_REF)
TARGET_SHA=$(git rev-parse --short TARGET_REF)

Step 1.5: Version Detection

bash
# If TARGET_REF is a tag, extract version
# Note: avoid /i flag (GNU-specific); use explicit case alternation for portability (macOS + Linux)
if git tag -l "$TARGET_REF" | grep -q .; then
    AUTO_VERSION=$(echo "$TARGET_REF" | sed -E 's/^[Vv]//;s/^[Rr]elease[-_]?//;s/^[Vv]ersion[-_]?//')
fi
# Priority: explicit VERSION > auto-detected > none (omit from title)

Step 1.6: Commit Log Analysis

bash
git log --oneline --no-merges BASE_REF...TARGET_REF
git log --pretty=format:"%h %s%n%b" --no-merges BASE_REF...TARGET_REF

Parse commit prefixes: feat: → Feature, fix: → Bug Fix, refactor: → Improvement, breaking: / BREAKING CHANGE: → Breaking.

Step 2: Produce Diff

bash
git diff --find-renames --find-copies --stat BASE_REF...TARGET_REF
git diff --find-renames --find-copies BASE_REF...TARGET_REF

Step 3: Build Change Inventory

From diff, identify: endpoints (new/changed/removed), DB schema/migrations, messaging (topics/payloads), config/env vars, auth changes, performance (timeouts/pools), dependency bumps with runtime impact, observability changes.

Step 4: Write Guide

Use language-appropriate template based on LANGUAGE parameter.

English title: # Ops Update Guide — <repo> — <VERSION> — <TARGET_SHA>
Portuguese title: # Guia de Atualização (Ops) — <repo> — <VERSION> — <TARGET_SHA>
(Without version: use BASE_REF → TARGET_REF instead of <VERSION>)

Header block: Mode, Comparison, Base SHA, Target SHA, Date, Source.

Per section format: ## N. Descriptive Title [Category Emoji]

CategoryEnglishPortugueseEmoji
FeatureFeatureFuncionalidade✨
Bug FixBug FixCorreção🐛
ImprovementImprovementMelhoria🆙
BreakingBreakingBreaking⚠️
InfrastructureInfrastructureInfra🔧
ObservabilityObservabilityObservabilidade📊
DataDataDados💾

Each section contains (in order):

  1. Contextual narrative (1-3 paragraphs) — business/operational context, why this changed
  2. What Changed / O que mudou — bullet list with file:line references
  3. Why It Changed / Por que mudou — infer from code; if uncertain mark as ASSUMPTION + HOW TO VALIDATE
  4. Client Impact / Impacto para clientes — who's affected, risk level (Low/Medium/High)
  5. Required Client Action / Ação necessária do cliente — "None" or exact steps
  6. Deploy/Upgrade Notes / Notas de deploy/upgrade — ordering, rolling deploy safety
  7. Post-Deploy Monitoring / O que monitorar pós-deploy — logs in table format (Level | Message | Meaning), tracing spans in table format
  8. Rollback — Safety: Safe/Conditional/Not recommended (or pt-br equivalents) + steps

Special sections when applicable:

  • ### ⚠️ Attention Point — confusing but expected behaviors
  • Backward compatibility table for data/schema changes

Step 5: Summary Section

English: Summary table (Features/Bug Fixes/Improvements/Data counts) + Rollback Compatibility matrix (| Item | Rollback | Justification |).

Portuguese: ## Resumo + ## Análise de Compatibilidade de Rollback with same structure.

Step 6: Preview Before Saving (MANDATORY)

Show before writing to disk:

  • Repository, comparison range, version detected, language(s), mode
  • Change summary table (categories + counts)
  • Top 5 key changes
  • Output file path(s)

Wait for user confirmation.

Step 7: Save File

Output directory: notes/releases/

Has Version?LANGUAGEFilename
Yesen{DATE}_{REPO}-{VERSION}.md
Yespt-br{DATE}_{REPO}-{VERSION}_pt-br.md
Noen{DATE}_{REPO}-{BASE}-to-{TARGET}.md
Nopt-br{DATE}_{REPO}-{BASE}-to-{TARGET}_pt-br.md
AnybothBoth files above

Confirm after saving: file path(s), refs/SHAs used, version, language(s).

Hard Rules

RuleRequirement
No invented changesMUST: All changes traceable to diff — nothing invented
Uncertain infoMUST: Mark uncertain claims as ASSUMPTION + HOW TO VALIDATE
Preview requiredMUST: Show preview before saving — never skip
User confirmationMUST: Wait for explicit user confirmation before writing files
Special change typesMUST: Explicitly document DB migrations, breaking API, feature flags, security/auth, log level changes

Blocker Conditions

ConditionAction
Ref cannot be resolved in STRICT modeSTOP — suggest TEMP_CLONE mode
Not in git repositorySTOP — skill requires git context
diff returns emptySTOP — verify refs have commits between them
User declines previewSTOP — ask for corrections or abort confirmation

常见问题

Ring:Generating Release Guides AI 技能有什么作用?

Generating an internal Operations-facing update/migration guide from the git diff between two refs, documenting per-change client impact, deploy ordering, monitoring, and rollback notes in English, pt-br, or both. Use when preparing a version release or recording what changed for the Ops team. Runs read-only by default and previews before writing. Skip with no git repo or a trivial single-file change.

为什么在 TypingMind 中使用 Ring:Generating Release Guides?

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

如何在 TypingMind 中安装 Ring:Generating Release Guides?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/LerianStudio/ring/tree/main/default/skills/generating-release-guides。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Ring:Generating Release Guides?

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

Ring:Generating Release Guides 可以搭配多少个 AI 模型使用?

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

Ring:Generating Release Guides AI 技能免费吗?

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

什么是 AI 技能?

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

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

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

查看全部

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

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