Token导航 LogoToken导航TokenDH.com
研究检索执行命令github未标认证来源可访问许可证需确认审计通过

ado-commit麻烦提交

Agent Skill

ado-commit 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

1,223

周安装

52

GitHub Stars

163

下载量

428
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:ado-commit(麻烦提交)
来源仓库:https://github.com/flora131/atomic
仓库路径:skills/ado-commit
安装命令:
npx skills add https://github.com/flora131/atomic --skill ado-commit
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/flora131/atomic --skill ado-commit

简介

ado-commit 自动化 Azure DevOps 仓库的常规提交流程,集成工作项追踪与评审协作规范。

  • 自动检测 Git 状态并选择合适文件进行提交,支持 staged 与 unstaged diff 统计输出。
  • 遵循特定提交格式与 reviewer 沟通约定,提升 PR 质量与协作效率。
  • 通过 GitHub 仓库安装,使用 npx skills add 命令;建议确认 Git 环境与 ADO 凭据配置。
  • 该技能包含 shell 命令执行,如 git status 与 git log,使用前请评估对当前分支的影响。

SKILL.md

ADO Commit

Create a conventional commit on an Azure DevOps-hosted repository: $ARGUMENTS

Current state

  • Git status:!git status --porcelain
  • Current branch:!git branch --show-current
  • Staged diff (stat):!git diff --cached --stat
  • Unstaged diff (stat):!git diff --stat
  • Recent commits:!git log --oneline -5

Workflow

The only ADO-specific bits are (a) work-item trailers and (b) the conventions this repo has adopted for talking to reviewers who open PRs in Azure DevOps.

  1. Stage. If nothing is staged, stage all modified and new files with git add -A. If specific files are already staged, commit only those.
  2. Diff. Run git diff --cached to understand the actual change. Read the diff — don't just trust the path names — because the message needs to describe *what changed and why*, not *which files changed*.
  3. Split if needed. If the staged diff contains multiple unrelated logical changes, propose splitting into separate commits. One commit = one reason to change.
  4. Write the message in Conventional Commits format (see below), then commit via git commit --message "<subject>" [--trailer...]. Pass trailers with --trailer so git formats them correctly; don't cat-heredoc them into the body.
  5. Don't skip pre-commit hooks. If .pre-commit-config.yaml exists, hooks run automatically and their failures are signal, not noise. Never pass --no-verify.

Conventional Commits — quick reference

<type>(optional scope): <description>

<optional body>

<optional trailers>

Common types: feat, fix, docs, style, refactor, perf, test, build, ci, chore, revert. Append ! after type/scope for breaking changes (e.g. feat(api)!: change response format). Keep the subject under 72 characters, imperative mood, no trailing period.

Examples:

feat(auth): add JWT refresh endpoint
fix(ui): resolve layout shift on mobile nav
refactor(db): migrate from raw SQL to query builder
chore(deps): bump TypeScript to 5.5
feat(api)!: change pagination response shape

Work-item trailers (ADO-specific)

Azure DevOps auto-links commits to work items when the message contains AB#<id>. Include one whenever you can identify the target work item, because it keeps the board in sync without anyone clicking around.

Where to find the ID:

  • Branch name — patterns like feature/1234-..., bug/AB1234-..., user/name/1234-... usually encode the work item ID.
  • User input — if the user mentions "work item 1234" or "this closes 1234", use that.
  • Prior commits on the branch — run git log --oneline origin/main..HEAD and check if earlier commits reference an ID.
  • ADO MCP — if the project has the azure-devops MCP server configured and you're still unsure, call wit_my_work_items (or search_workitem with a keyword from the change) to surface likely candidates. Ask the user to confirm rather than guessing.

How to add it — as a trailer, not in the subject:

git commit \
  --message "feat(auth): add JWT refresh endpoint" \
  --trailer "AB#1234" \
  --trailer "Assistant-model: Claude Code"

If you genuinely can't find a work-item ID, skip the trailer rather than inventing one. A missing trailer is recoverable; a wrong one pollutes the board.

AI authorship trailer

ADO code reviews often surface in audit contexts, so mark AI-assisted commits honestly. Use an Assistant-model trailer rather than Co-authored-by — most git tooling validates the latter as an email, and we want to distinguish *assistance* from *authorship*:

Assistant-model: Claude Code

Add it every time you commit on the user's behalf.

Putting it together

git add -A
git diff --cached --stat          # sanity check
git commit \
  --message "fix(parser): handle nested escape sequences" \
  --trailer "AB#5678" \
  --trailer "Assistant-model: Claude Code"
git log -1                        # show the user the result

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.03%
按下载量换算146

Claude

32.8%
按下载量换算140

Cursor

18.57%
按下载量换算79

Gemini CLI

8.95%
按下载量换算38

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/flora131/atomic --skill ado-commit 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills