TRIP 3 Release 标志

TRIP 3 Release

社区
PiLastDigit
TRIP-3-release

发布已完成的实现——版本号、代码审查晋级、更新日志、文档、提交、标签、ff-merge、推送

Add to TypingMind

概览

发布者PiLastDigit
代码仓库TRIP-workflow
技能名称TRIP-3-release
星标数
636
复刻数
91
附带文件
仅含指令
链接
  • Markdown 格式的指令

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

  • 兼容任何大语言模型

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

  • 指令自成一体

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

  • 开源

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

安装

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

1

安装到 TypingMind

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

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

安装到其他智能体

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/PiLastDigit/TRIP-workflow.git /tmp/TRIP-workflow
mkdir -p .claude/skills
cp -r /tmp/TRIP-workflow/skills/TRIP-3-release .claude/skills/TRIP-3-release
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

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

一旦请求与技能匹配,模型就会自动加载 TRIP 3 Release。

兼容任何 AI 模型

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

  • 仅在需要时加载

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

  • 在聊天中切换模型

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

技能指令

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

Release Mode

You are now in release mode for [PROJECT_NAME].

Release: $ARGUMENTS

This skill runs after TRIP-2-implement has converged (implementation done, testing gate green, Codex code review APPROVED or explicitly skipped). It is normally chained from TRIP-2 in the same session, but can be invoked standalone in a fresh session.


Prerequisites

  • Implementation complete and user-confirmed.
  • Testing gate green: affected unit tests pass.
  • Codex code review converged (APPROVED), or explicitly skipped by the user.
  • Lint and type-check/build green.

Standalone verification (fresh session, not chained from TRIP-2)

If this skill was NOT chained from a TRIP-2 session in the current conversation, verify before any release step:

bash
# [ADAPT_TO_PROJECT: Replace with actual lint/type-check/test commands during Init]
[LINT_COMMAND]
[TYPECHECK_COMMAND]
[TEST_COMMAND] <pattern-from-the-plan's-Test-Impact-section>

All must be green. Also verify the Codex state file exists for the given plan path/label (see Step 3 below); if absent, treat as the skipped-Codex fallback (manual CR) and say so explicitly in the CR.

Any failure blocks the release — fix or return to TRIP-2-implement first.


Step 1: Get Current Date/Week

Run this command to get date and project week:

bash
date '+%d-%m-%Y %H:%M' && python3 -c "from datetime import date; print('Project week:', (date.today() - date.fromisoformat('[WEEK_ANCHOR_DATE]')).days // 7 + 1)"

(Week anchor: the Monday of the week TRIP Init was run. Python is used instead of date -d because macOS BSD date doesn't support it. If python3 is not on PATH — e.g. Git Bash on Windows — use python instead.)

Use the project week in all subsequent steps.

Step 2: Version Update

  • If not already done in the plan phase, propose new SemVer version (x.y.z)
  • Update version in [VERSION_FILE]
  • Do not modify anything else in this file

Step 3: Promote Code Review

Now that week (a) and version (x.y.z) are known:

  1. Compute state file path (derive the key via key.sh so it matches what the review scripts actually wrote — never re-derive it inline):

    bash
    STATE_KEY="$(bash .claude/skills/codex-plan-review/scripts/key.sh <plan-path>)"
    STATE_FILE=".claude/skills/codex-code-review/state/${STATE_KEY}.review.txt"
  2. Content source:

    • Multi-round loop: state file has synthesized review + PROMOTION_READY. Strip sentinel.
    • Turn 1 convergence: state file has full review already.
    • Skipped Codex: write CR from .claude/skills/TRIP-review/cr-template.md with body "Code review skipped — trivial change." Verdict: APPROVED with observations.
  3. Replace <x.y.z> with actual version. Fill any remaining <...> placeholders.

  4. Save to docs/3-code-review/CR_wa_vx.y.z.md.

  5. Verify: no <...> placeholders, no PROMOTION_READY, version matches version file.

Step 4: Commit Message

Propose a one-line commit message.

Step 5: Changelog File

Create docs/2-changelog/wa_vx.y.z.md (a=project week, x.y.z=version):

markdown
# Changelog - Week a, DD-MM-YYYY, V. x.y.z

**Release Date**: Week a, DD-MM-YYYY at HH:MM
**Version**: x.y.z (previously x0.y0.z0)
**Object**: the commit message
**Code review**: `docs/3-code-review/CR_wa_vx.y.z.md` (Codex loop, N rounds -> verdict)

## Changes

[Describe what changed]

Step 6: Changelog Table

Add entry on top of docs/2-changelog/changelog_table.md:

markdown
| `x.y.z` | a | the commit message |

Also add a summary entry in the Changelog Summary section.

Step 7: Architecture Update

  1. Read fully @docs/ARCHI-rules.md
  2. Update @docs/ARCHI.md following the rules
  3. Run bash .claude/skills/TRIP-compact/count-tokens.sh docs/ARCHI.md to check token count

Warning: If ARCHI.md exceeds ~20,000 tokens, warn the user:

"ARCHI.md is at ~X tokens. Consider running TRIP-compact to reduce it before committing."

Step 8: README Update

Update README.md with the new version number. (Content corrections belong to Documentation Sync, next step — do not sync sections here.)

Step 9: Documentation Sync

Keep the pre-existing (non-TRIP) documentation aligned with the code:

  1. Read the plan's Documentation Impact section.
  2. Contrast it with the actual diff of the release (git diff [MAIN_BRANCH]...HEAD or equivalent) — the plan may have fallen short; a doc affected by the real changes must be synced even if the plan didn't list it.
  3. Update every affected document. Factual corrections only: commands, paths, build targets, script/table entries, cadences, config/env vars, structure trees. It is forbidden to touch the voice, tone, or strategic/editorial content of these documents.
  4. The updated files are included in the release commit (Step 10) — never a separate commit.

If the plan says "None" and the diff confirms it, skip with a one-line note.


After completing all documentation steps, use the AskUserQuestion tool to ask:

  • Question: "All documentation steps are complete. Ready to commit?"
  • Options: "Yes, commit now" (proceed with git commit and tag), "Not yet" (review changes first)

ONLY after user selects "Yes", proceed:

Step 10: Commit

bash
git add -A && git commit -m "<commit message from Step 4>"

Important: Only use the commit message. Do NOT add Co-Authored-By or any other trailer.

Step 11: Tag

bash
git tag vx.y.z

Step 12: Merge (fast-forward)

Merge the feature branch back into the main branch, keeping a single clean linear history:

bash
git checkout [MAIN_BRANCH]
git merge --ff-only <feature-branch>
git branch -d <feature-branch>

If --ff-only fails, the main branch moved during implementation — rebase the feature branch onto it, then retry. Never create a merge commit.

Step 13: Push

Use the AskUserQuestion tool to ask:

  • Question: "Release vx.y.z is committed, tagged, and merged. Push to remote?"
  • Options: "Yes, push now" (push branch and tags), "Not yet" (push manually later)

If "Yes":

bash
git push && git push --tags

常见问题

TRIP 3 Release AI 技能有什么作用?

发布已完成的实现——版本号、代码审查晋级、更新日志、文档、提交、标签、ff-merge、推送

为什么在 TypingMind 中使用 TRIP 3 Release?

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

如何在 TypingMind 中安装 TRIP 3 Release?

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

哪些 AI 模型可以使用 TRIP 3 Release?

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

TRIP 3 Release 可以搭配多少个 AI 模型使用?

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

TRIP 3 Release AI 技能免费吗?

PiLastDigit 已在 GitHub 上发布了该技能。请查看代码仓库了解许可条款。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

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

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

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

查看全部

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

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