Trailsnap Commit logo

Trailsnap Commit

Community
LC044
trailsnap-commit

TrailSnap 仓库提交、推送、需求平台与 PR 工作流规则。Use when preparing commits, pushing branches, managing the corresponding platform requirement, creating or merging pull requests, or monitoring PR CI in this repository; do not use for ordinary code changes that do not involve submission.

Overview

PublisherLC044
RepositoryTrailSnap
Skill nametrailsnap-commit
Stars
782
Forks
96
Bundled files
Instructions only
LicenseAGPL-3.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by LC044 on GitHub. Read the source before you install it.

Installation

Install the Trailsnap Commit AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/LC044/TrailSnap/tree/master/.agents/skills/trailsnap-commit
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/LC044/TrailSnap.git /tmp/TrailSnap
mkdir -p .claude/skills
cp -r /tmp/TrailSnap/.agents/skills/trailsnap-commit .claude/skills/trailsnap-commit
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Trailsnap Commit in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Trailsnap Commit on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Trailsnap Commit is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

TrailSnap 提交与推送规则

仅在用户明确要求提交、推送或创建 PR 时执行相应 Git 操作。先保护并核对用户已有改动,不要覆盖或擅自丢弃工作区内容。

提交原则

  • 不要求为了提交而在本地运行测试;测试由 GitHub Actions 负责。
  • 只有用户明确要求本地验证时才运行本地测试。

提交信息

  • 遵循 Conventional Commits:feat(scope):、fix(scope):、refactor(scope): 等。
  • 以下关键字会触发成本较高的发布/构建流水线,只有在用户明确要求时才包含:
    • 构建后端:Server Docker 构建与推送,仅 package/server/ 变更时生效。
    • 构建前端:Frontend Docker 构建与推送,仅 package/website/ 变更时生效。
    • 构建ai:AI 服务 Docker 构建与推送,仅 package/ai/ 变更时生效。
    • 构建cli:CLI 构建并保留 Actions Artifacts,仅 package/trailsnap-cli/ 变更时生效;只有 v*.*.* 标签会创建 Release 并发布 npm/PyPI。

需求平台

  • 所有开发事项统一通过已配置的 trailsnap-feedback MCP 管理。不要使用 GitHub CLI、GitHub API 或网页直接创建、编辑、关闭 GitHub Issue;GitHub Issue 由需求平台在后台创建和同步。
  • 如果未配置、无法连接或找不到 trailsnap-feedback MCP,先引导用户在需求平台的“集成设置”创建 Agent MCP 令牌,并采用平台提供的 MCP 配置完成连接后再继续。不要自行创建令牌、要求用户在对话中粘贴令牌,或回退为直接操作 GitHub Issue。
  • MCP 返回未认证、无权限或缺少 scope 时,说明当前操作所需的最小权限,并请用户联系需求平台管理员开通或调整令牌权限。未经授权不得绕过权限或改用 GitHub Issue。
  • 开始需要提交或创建 PR 的工作前,先用 MCP 查询是否已有对应需求。存在则复用;不存在则用 create_requirement 创建内容完整的需求,记录其 REQ-* 编号,并将需求状态设置为developing。
  • 需求描述应说明问题、目标、范围和验收标准。范围变化时更新平台需求,不直接更新其关联的 GitHub Issue。
  • GitHub Issue 编号或链接只能作为平台返回的只读关联信息使用,不能作为状态管理入口。
  • PR 合并后,确认 GitHub Webhook 已自动关闭对应需求;若自动同步失败,再通过需求平台关闭,并在理由中写明 PR 编号、合并结果和 CI 状态。

分支与 PR

  • 建议新建分支推送,并通过 PR 合并到主分支。
  • 创建 PR 前必须存在对应的平台需求及其关联 GitHub Issue。PR 标题与描述应与需求呼应,并在 PR 描述中同时写明平台需求编号、链接(例如 关联需求:[REQ-123](https://feedback.trailsnap.cn/REQ-123))和 GitHub 关闭关键字(例如 Closes #456)。关闭关键字用于在需求详情页展示关联 PR,并在合并后自动关闭 Issue 与需求单。
  • PR 使用 .github/pull_request_template.md,并在评论中确认 CLA:I have read and agree to the CLA(基于 AGPLv3)。

PR CI 监控

  • 提交 PR 后必须监控对应 CI 流水线,直到全部工作流完成。
  • 使用 GitHub CLI 查看 run 状态与日志,并只关联当前 PR 的 runs,避免混入其他分支任务。
  • 任一工作流失败时,定位到具体 job 和失败日志,分析根因;在本地或工作区实施最小必要修复,推送修复提交后继续监控。
  • 在所有必需 CI 通过前,不要宣称 PR 已完成或可以合并。
  • 一个 PR 包含多个修改或后续扩大范围时,需要同步更新对应的平台需求。
  • PR 合并后确认平台需求已关闭;如无未迁移的工作,可删除功能分支。

Frequently asked questions

What does the Trailsnap Commit AI skill do?

TrailSnap 仓库提交、推送、需求平台与 PR 工作流规则。Use when preparing commits, pushing branches, managing the corresponding platform requirement, creating or merging pull requests, or monitoring PR CI in this repository; do not use for ordinary code changes that do not involve submission.

Why use Trailsnap Commit on TypingMind?

Because you install it once and use it with any model. Trailsnap Commit is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Trailsnap Commit in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/LC044/TrailSnap/tree/master/.agents/skills/trailsnap-commit. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Trailsnap Commit?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Trailsnap Commit?

As many as you like. As long as a model supports skills, you can use Trailsnap Commit with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Trailsnap Commit AI skill free?

Yes. It is published on GitHub by LC044 under the AGPL-3.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇