Token导航 LogoToken导航TokenDH.com
开发敏感数据github未标认证来源可访问许可证需确认审计未展示

dev%3acommitdev%3a 提交

Agent Skill

dev%3acommit 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

288

周安装

12

GitHub Stars

公开资料未说明

下载量

96
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/cloudvoyant/codevoyant --skill dev:commit

简介

用于处理 GitHub 仓库、Issue 和 Pull Request 协作信息,适合跟踪代码变更。

  • 可结合来源仓库和原始 README 核验具体用法和协作流程。
  • 安装前建议确认权限范围和维护状态,避免触发不必要的网络请求。
  • 适用于需要围绕仓库状态进行整理的场景,如代码审核或协作管理。
  • dev%3acommit 属于开发类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Compatibility: If AskUserQuestion is unavailable, present options as a numbered list and wait for the user's reply. If Task is unavailable, run parallel steps sequentially. The context: fork and agent: frontmatter fields are Claude Code-specific — on OpenCode and VS Code Copilot they are ignored and the skill runs inline using the current model.

Create a git commit following conventional commit standards with a professional, concise message.

Rules

Choosing the right type

  1. Does it add new functionality users can use? → feat
  2. Does it fix broken behavior? → fix
  3. Does it change existing behavior (breaking)? → feat! or fix!
  4. Does it only improve code structure? → refactor
  5. Does it only update documentation? → docs
  6. Does it only affect tests? → test
  7. Does it only affect build/CI? → chore
Bump behavior is determined by your project's release config (.releaserc.*, commitizen.config.*, [tool.commitizen]). Do not predict version bumps — check those files if needed.

Never commit secrets

  • Secrets or credentials (.env files, API keys, passwords)
  • Warn user if such files are staged

Formatting

  • Always use HEREDOC format for commit messages to ensure proper formatting.
  • First line max 72 characters
  • Use imperative mood: "add feature" not "added feature" or "adds feature"
  • No period at end of first line
  • Be professional and concise
  • Do NOT include self-attribution (no "Generated with Claude Code", no "Co-Authored-By: Claude")
  • Body: use bullet points, not prose paragraphs. Each bullet is one change or reason. Keep bullets terse — one line each, under 72 chars.
  • Body is optional — only include if the changes aren't obvious from the subject line
  • Make body as short as possible, as few bullets as possible
  • Use type(scope) format when changes touch a distinct subsystem — especially with --atomic commits. Scope groups entries in the changelog under that feature/fix category (e.g. feat(opencode), fix(vscode)).

Scoped vs. unscoped

  • Use feat(scope) / fix(scope) when the change is clearly bounded to one area: a plugin, tool, subsystem, or named feature
  • Use plain feat: / fix: for cross-cutting changes with no single scope
  • Scope should be short, lowercase, no spaces: opencod, vscode, spec, help, e2e, docs, install

Flags

  • --yes or -y: Skip commit message confirmation (auto-approve message)
  • --no-push: Commit only — do not push or monitor CI
  • --autofix: After push, if CI fails, automatically attempt to fix failures and re-push
  • --atomic: Detect logical change groups and create one commit per group
  • --single (default): All staged changes in one commit

Workflow

Step 0: Parse Flags

YES=false; NO_PUSH=false; AUTOFIX=false; ATOMIC=false
[[ "$*" =~ --yes|-y ]]    && YES=true
[[ "$*" =~ --no-push ]]   && NO_PUSH=true
[[ "$*" =~ --autofix ]]   && AUTOFIX=true
[[ "$*" =~ --atomic ]]    && ATOMIC=true

Step 1: Check Git Status (Fast Path)

Use conversation context first - the changes are usually already in context from the work session.

Only run git commands if you need to verify:

git status
git diff --stat

Skip git log - you should already know the commit message style from:

  • Previous commits in this session
  • Project's CLAUDE.md conventions
  • Standard conventional commit format

Skip reading plan.md - if you just implemented a plan, it's already in context.

Only run additional commands if you're truly uncertain about what changed.

Step 1.5: Format and Lint

Run formatters and linters before staging so any auto-fixes are included in the commit.

Formatters (auto-fix, run unconditionally if available):

npx @codevoyant/agent-kit task-runner run format 2>/dev/null || true

If formatter ran and modified files: report ✓ Formatter applied — changes will be included in commit.

Linters (report errors, block commit if they fail):

npx @codevoyant/agent-kit task-runner run lint 2>/dev/null || \
npx @codevoyant/agent-kit task-runner run check 2>/dev/null || true

If linting fails: report the errors and stop — do not proceed to staging until fixed:

✗ Linting failed — fix the errors above before committing.

Skip silently if no formatter or linter is configured.

Step 2: Review with User

If ATOMIC is true:

Analyze staged file paths and detect logical groups (by component, package, or directory). Draft a commit message for each group. Output all proposed commits:

Proposed commits:

1. feat(auth): add JWT token validation
2. docs: update API reference
3. test(auth): add token expiry tests

Then ask for confirmation using the AskUserQuestion tool:

questions:
  - question: 'Do these commits look good?'
    header: 'Review Commits'
    multiSelect: false
    options:
      - label: 'Looks good — commit all'
        description: '{N} commits'
      - label: 'Cancel'
        description: "Don't commit"
  • If "Looks good — commit all": proceed to Step 3.
  • If "Cancel": exit without committing.
  • If Other (user edits): apply their changes and proceed to Step 3.

If SINGLE (default):

Output the full proposed commit message:

Proposed commit message:

{full commit message, including body if present}

Then ask for confirmation using the AskUserQuestion tool:

questions:
  - question: 'Does this commit message look good?'
    header: 'Review Commit'
    multiSelect: false
    options:
      - label: 'Looks good — commit'
        description: '{first line of proposed message}'
      - label: 'Cancel'
        description: "Don't commit"
  • If "Looks good — commit": proceed to Step 3.
  • If "Cancel": exit without committing.
  • If Other (user typed a custom message): use it as-is and proceed to Step 3.

If AUTO_APPROVE is true: skip this prompt entirely and proceed directly to Step 3. Report: ✓ Auto-approved with --yes flag.

Step 3: Stage and Commit

If ATOMIC is true: create one commit per group in order:

git add <files-in-group> && git commit -m "$(cat <<'EOF'
<type>(<scope>): <description for this group>
EOF
)"

Default (SINGLE):

git add -A && git commit -m "$(cat <<'EOF'
<type>: <description>

[optional body]
EOF
)"

Step 5: Push and Verify CI

If NO_PUSH is true: skip this step entirely and report ✓ Committed (push skipped).

Otherwise — always push, then launch CI monitoring in background:

  1. Push: git push origin <branch>
  2. After push succeeds, launch CI monitoring as a background Task — do NOT wait for it:
Agent:
  subagent_type: general-purpose
  run_in_background: true
  description: "CI monitoring"
  prompt: "Run /dev:ci [--autofix if AUTOFIX=true]. Monitor CI and report results when done."
  1. Report immediately: ✓ Committed and pushed. CI monitoring running in background — you'll be notified when checks complete.

Skip CI monitoring if:

  • Repo has no CI workflows configured
  • Neither gh nor glab CLI is installed (inform but don't block)

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

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

平台分布

Claude

32.95%
按下载量换算32

Codex

32.65%
按下载量换算31

Cursor

19.77%
按下载量换算19

Gemini CLI

10.28%
按下载量换算10

安全审计

暂无安全审计结果可展示。

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

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

来源信息

继续浏览同类 Skills