Agent skill

Trailsnap Commit

by LC044 in LC044/TrailSnap

TrailSnap 仓库提交、推送、需求平台与 PR 工作流规则。Use when preparing commits, pushing branches, managing the corresponding platform requirement, creating or merging pull requests, or monitoring PR CI in this…

AGPL-3.0Auto-check passedDevelopment

Install Trailsnap Commit

skills CLI
$ npx skills add LC044/TrailSnap --skill trailsnap-commit -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install LC044/TrailSnap trailsnap-commit --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/LC044/TrailSnap.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/trailsnap-commit .claude/skills/trailsnap-commit && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
trailsnap-commit
GitHub stars
767
Token cost
~557 tokens
SKILL.md length
162 words
Files
1
Skills in repo
10
Repo updated
First seen
Licence
AGPL-3.0

At a glance

TrailSnap 仓库提交、推送、需求平台与 PR 工作流规则。Use when preparing commits, pushing branches, managing the corresponding platform requirement, creating or merging pull requests, or monitoring PR CI in this…

  • Preparing commits
  • SKILL.md covers 提交原则, 提交信息, 需求平台 and 分支与 PR, plus 1 more section
  • Reaches feedback.trailsnap.cn
  • Pushing branches

What it does

Trailsnap Commit is an agent skill from LC044/TrailSnap. 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.

Its SKILL.md is about 560 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Pull requests. It works with GitHub, Model Context Protocol and Docker. The repository describes itself as: TrailSnap (行影集) | AI-Powered open-source photo album for travel & life memories.(AI赋能的开源相册工具,珍藏旅行与生活点滴). The licence is AGPL-3.0.

When your agent uses it

  • Preparing commits
  • Pushing branches
  • Managing the corresponding platform requirement
  • Merging pull requests

Example prompts

  • “/trailsnap-commit”

Requirements

  • Docker

What it can do on your machine

Read from SKILL.md and the folder at commit c7503d1. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • feedback.trailsnap.cn

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Trailsnap Commit loads about 557 tokens when it runs. Until then it costs about 72 tokens; SKILL.md has 162 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~72
When it runs · the whole SKILL.md, loaded when a task matches
~557

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from LC044/TrailSnap at commit c7503d1, republished under its AGPL-3.0 licence (© LC044). 162 words, ~557 tokens.

Download SKILL.mdSave it as .claude/skills/trailsnap-commit/SKILL.md (or your agent's skills folder).
name
trailsnap-commit
description
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.

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 合并后确认平台需求已关闭;如无未迁移的工作,可删除功能分支。

© LC044, AGPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/trailsnap-commit of LC044/TrailSnap.

Open the folder on GitHubat commit c7503d1

Compare with similar skills

Trailsnap Commit next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Trailsnap Commit compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Trailsnap Commit this skillLC044/TrailSnap767—~557Automated safety check: PassAGPL-3.0
Project Pull Requestswimmwatch/cloakbrowser-mcp161—~1kAutomated safety check: PassMIT
CI Act Runchewiebug/GCViewer4.6k—~2.4kAutomated safety check: NotesCustom licence
Plane Release Notes Generatormakeplane/plane60k—~2.5kAutomated safety check: PassAGPL-3.0
Mariadb Operator PR Reviewmariadb-operator/mariadb-operator1k—~3.3kAutomated safety check: PassApache-2.0
Link Ticket To SessionJayantDevkar/claude-code-karma329—~1.8kAutomated safety check: NotesApache-2.0

Similar skills

  • Project Pull Request

    swimmwatch/cloakbrowser-mcp

    Create, update, prepare, or review a cloakbrowser-mcp GitHub Pull Request only when the user explicitly requests PR work.

    161 GitHub stars~1k tokensUpdated 6 days ago
    DevelopmentAuto-check passed
  • CI Act Run

    chewiebug/GCViewer

    Run the full build-and-deploy.yaml workflow locally via act + Docker.

    4.6k GitHub stars~2.4k tokensUpdated 3 mo ago
    DevelopmentAuto-check: notes
  • Builds categorized release notes for a Plane release pull request from its commits and writes them into the PR description, for both the plane-cloud and plane-ee repos.

    60k GitHub stars~2.5k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Mariadb Operator PR Review

    mariadb-operator/mariadb-operator

    Perform a structured maintainer-style PR review for the mariadb-operator repository.

    1k GitHub stars~3.3k tokensUpdated 2 days ago
    DevelopmentAuto-check passed
  • Link Ticket To Session

    JayantDevkar/claude-code-karma

    Link the current Claude Code session to a ticket (Linear, Jira, GitHub Issues, or GitHub Pull Requests) and cache its title/status in karma.

    329 GitHub stars~1.8k tokensUpdated 9 days ago
    DevelopmentAuto-check: notes
  • Code Review

    nteract/semiotic

    Review Semiotic pull requests for behavioral bugs, regressions, contract drift, and missing evidence.

    2.7k GitHub stars~1.5k tokensUpdated yesterday
    DevelopmentAuto-check passed

More from LC044/TrailSnap

All 10 skills in this repo
  • Trailsnap CLI

    LC044/TrailSnap

    Query photos, albums, locations, tags, and people from a TrailSnap instance through its command-line client.

    767 GitHub stars~365 tokensUpdated yesterday
    Auto-check passed
  • Release Publisher

    LC044/TrailSnap

    发布并验收 TrailSnap 新版本:汇总提交、同步全项目版本号、更新官网日志与客户端更新清单、执行发布前测试、创建 GitHub Release、监控标签 CI、核验 Release 附件,并生成小红书和公众号文案。Use when the user asks to 发布新版本、发版、创建或检查 GitHub Release、总结版本变更、监控发布 CI、检查发布产物,或撰写版本更新帖子。

    767 GitHub stars~1.6k tokensUpdated yesterday
    Auto-check passed
  • Trailsnap Agent

    LC044/TrailSnap

    Query a user's TrailSnap photo library through scoped MCP tools to find photos, reconstruct memories, build person timelines, create evidence-backed narratives, or propose an album plan for explicit…

    767 GitHub stars~445 tokensUpdated yesterday
    Auto-check passed
  • Album Doctor

    LC044/TrailSnap

    对照片库或指定相册进行体检,并把结构、时间、地点、AI 元数据与安全清理问题转成可选择、可确认、尽量可撤销的计划. An agent skill from LC044/TrailSnap.

    767 GitHub stars~254 tokensUpdated yesterday
    Auto-check passed
  • Memory Detective

    LC044/TrailSnap

    根据模糊的时间、地点、同行人、画面和文字线索找回可能的照片事件,并在用户确认后生成可追溯的回忆故事. An agent skill from LC044/TrailSnap.

    767 GitHub stars~233 tokensUpdated yesterday
    Auto-check passed
  • Person Timeline

    LC044/TrailSnap

    按年份和事件整理指定人物出现过的照片,展示共同经历、成长变化、地点与同行人,并可生成可追溯的人物故事. An agent skill from LC044/TrailSnap.

    767 GitHub stars~200 tokensUpdated yesterday
    Auto-check passed

Categories

Questions about Trailsnap Commit

What does Trailsnap Commit 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…. Trailsnap Commit is an agent skill from LC044/TrailSnap. 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.

When should I use Trailsnap Commit?

Trailsnap Commit fits situations like: preparing commits; pushing branches; managing the corresponding platform requirement; merging pull requests.

How do I install Trailsnap Commit in Claude Code?

Run `npx skills add LC044/TrailSnap --skill trailsnap-commit -a claude-code`. Or copy the skill folder (.agents/skills/trailsnap-commit in LC044/TrailSnap) into .claude/skills/trailsnap-commit in your project. Claude Code loads it when a task matches its description.

How do I install Trailsnap Commit in Codex?

Run `npx skills add LC044/TrailSnap --skill trailsnap-commit -a codex`. Or copy the skill folder (.agents/skills/trailsnap-commit in LC044/TrailSnap) into .agents/skills/trailsnap-commit in your project. Codex loads it when a task matches its description.

Can I use Trailsnap Commit in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add LC044/TrailSnap --skill trailsnap-commit -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/trailsnap-commit, .gemini/skills/trailsnap-commit, .github/skills/trailsnap-commit and .opencode/skills/trailsnap-commit in your project.

What does Trailsnap Commit need to run?

SKILL.md names no scripts, command-line tools or credentials: Trailsnap Commit is instructions for the agent only. Our summary lists: Docker.

Does Trailsnap Commit access the network?

SKILL.md names 1 domain. In commands or code: feedback.trailsnap.cn; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Trailsnap Commit safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Trailsnap Commit use?

Trailsnap Commit is published under the AGPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Trailsnap Commit use?

About 557 tokens (SKILL.md is roughly 2.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Trailsnap Commit?

Skills that share tags, products or a category with Trailsnap Commit: Project Pull Request (swimmwatch/cloakbrowser-mcp, 161 stars), CI Act Run (chewiebug/GCViewer, 4.6k stars), Plane Release Notes Generator (makeplane/plane, 60k stars) and Mariadb Operator PR Review (mariadb-operator/mariadb-operator, 1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Trailsnap Commit?

LC044 (a GitHub user) maintains it in LC044/TrailSnap, which has 767 GitHub stars. The repository holds 10 skills in this directory. The repository was last updated on October 6, 2026.

Source: LC044/TrailSnap on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.