commit — for Claude Code commit, snyk-ls, community, for Claude Code, ide skills, language-server, Read and follow, implementation, bash pwd, Then run: 1

v1.0.0

关于此技能

适用场景: Ideal for AI agents that need prepare, verify, and commit code changes following project standards. 本地化技能摘要: Language Server used by IDEs as Snyk Backend for Frontends # Commit Workflow Prepare, verify, and commit code changes following project standards. It covers ide, language-server, sast workflows. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

功能特性

Prepare, verify, and commit code changes following project standards.
Verify → Fix Issues (TDD) → Pre-commit Checks → Commit → Tests → [Push]
Quick Start Checklist
Copy and track progress:
[ ] Step 1: Run verification skill

# 核心主题

snyk snyk
[77]
[15]
更新于: 4/14/2026

Killer-Skills Review

Decision support comes first. Repository text comes second.

Reference-Only Page Review Score: 10/11

This page remains useful for teams, but Killer-Skills treats it as reference material instead of a primary organic landing page.

Original recommendation layer Concrete use-case guidance Explicit limitations and caution Quality floor passed for review
Review Score
10/11
Quality Score
51
Canonical Locale
en
Detected Body Locale
en

适用场景: Ideal for AI agents that need prepare, verify, and commit code changes following project standards. 本地化技能摘要: Language Server used by IDEs as Snyk Backend for Frontends # Commit Workflow Prepare, verify, and commit code changes following project standards. It covers ide, language-server, sast workflows. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

核心价值

推荐说明: commit helps agents prepare, verify, and commit code changes following project standards. Language Server used by IDEs as Snyk Backend for Frontends # Commit Workflow Prepare, verify, and commit code changes

适用 Agent 类型

适用场景: Ideal for AI agents that need prepare, verify, and commit code changes following project standards.

赋予的主要能力 · commit

适用任务: Applying Prepare, verify, and commit code changes following project standards
适用任务: Applying Verify → Fix Issues (TDD) → Pre-commit Checks → Commit → Tests → [Push]
适用任务: Applying Quick Start Checklist

! 使用限制与门槛

  • 限制说明: Generated diagram source (commit PNGs only if needed)
  • 限制说明: Requires repository-specific context from the skill documentation
  • 限制说明: Works best when the underlying tools and dependencies are already configured

Why this page is reference-only

  • - Current locale does not satisfy the locale-governance contract.

Source Boundary

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

评审后的下一步

先决定动作,再继续看上游仓库材料

Killer-Skills 的主价值不应该停在“帮你打开仓库说明”,而是先帮你判断这项技能是否值得安装、是否应该回到可信集合复核,以及是否已经进入工作流落地阶段。

实验室 Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

常见问题与安装步骤

以下问题与步骤与页面结构化数据保持一致,便于搜索引擎理解页面内容。

? FAQ

commit 是什么?

适用场景: Ideal for AI agents that need prepare, verify, and commit code changes following project standards. 本地化技能摘要: Language Server used by IDEs as Snyk Backend for Frontends # Commit Workflow Prepare, verify, and commit code changes following project standards. It covers ide, language-server, sast workflows. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

如何安装 commit?

运行命令:npx killer-skills add snyk/snyk-ls/commit。支持 Cursor、Windsurf、VS Code、Claude Code 等 19+ IDE/Agent。

commit 适用于哪些场景?

典型场景包括:适用任务: Applying Prepare, verify, and commit code changes following project standards、适用任务: Applying Verify → Fix Issues (TDD) → Pre-commit Checks → Commit → Tests → [Push]、适用任务: Applying Quick Start Checklist。

commit 支持哪些 IDE 或 Agent?

该技能兼容 Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer。可使用 Killer-Skills CLI 一条命令通用安装。

commit 有哪些限制?

限制说明: Generated diagram source (commit PNGs only if needed);限制说明: Requires repository-specific context from the skill documentation;限制说明: Works best when the underlying tools and dependencies are already configured。

安装步骤

  1. 1. 打开终端

    在你的项目目录中打开终端或命令行。

  2. 2. 执行安装命令

    运行:npx killer-skills add snyk/snyk-ls/commit。CLI 会自动识别 IDE 或 AI Agent 并完成配置。

  3. 3. 开始使用技能

    commit 已启用,可立即在当前项目中调用。

! 参考页模式

此页面仍可作为安装与查阅参考,但 Killer-Skills 不再把它视为主要可索引落地页。请优先阅读上方评审结论,再决定是否继续查看上游仓库说明。

Upstream Repository Material

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

Upstream Source

commit

安装 commit,这是一款面向AI agent workflows and automation的 AI Agent Skill。查看评审结论、使用场景与安装路径。

SKILL.md
Readonly
Upstream Repository Material
The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.
Supporting Evidence

Commit Workflow

Prepare, verify, and commit code changes following project standards.

Workflow Overview

Verify → Fix Issues (TDD) → Pre-commit Checks → Commit → Tests → [Push]

Quick Start Checklist

Copy and track progress:

Commit Progress:
- [ ] Step 1: Run verification skill
- [ ] Step 2: Fix issues using TDD
- [ ] Step 3: Run pre-commit checks
- [ ] Step 4: Create atomic commit
- [ ] Step 5: Run ALL test suites (3 REQUIRED):
      - [ ] make test
      - [ ] INTEG_TESTS=1 make test
      - [ ] SMOKE_TESTS=1 make test
- [ ] Step 6: Push (optional, ask first)

CRITICAL: Step 5 has THREE mandatory test suites. Skipping any is FORBIDDEN.


Step 1: Run Verification Skill

Execute the verification skill to analyze code changes:

Verification Progress:
- [ ] Load project rules and standards
- [ ] Trace code paths for modified files
- [ ] Check for semantic changes
- [ ] Identify code smells
- [ ] Run security scans
- [ ] Review PR feedback (if PR exists)

Read and follow: .cursor/skills/verification/SKILL.md

Output: List of issues found, categorized by severity.


Step 2: Fix Issues Using TDD

For each issue identified by verification:

TDD Gate (MANDATORY)

Before ANY fix:

  • Write failing test first
  • Confirm test fails without fix
  • Implement minimal fix
  • Confirm test passes

Never skip TDD. Use implementation skill for complex fixes.

Issue Priority

  1. Security vulnerabilities - Fix immediately (except test data)
  2. Breaking changes - Confirm intentional, add tests
  3. Code smells - Fix immediately
  4. PR feedback - Address blockers first

Step 3: Pre-commit Checks

Run:

bash
1make format 2make test 3INTEG_TESTS=1 make test 4SMOKE_TESTS=1 make test

Security Scans

Get absolute path first:

bash
1pwd

Then run:

  1. snyk_sca_scan with absolute project path
  2. snyk_code_scan with absolute project path

Fix any security issues (skip test data false positives).


Step 4: Create Atomic Commit

Pre-commit Verification

- [ ] Linting clean (make format shows no changes)
- [ ] Security scans clean
- [ ] No implementation plan files staged
- [ ] Documentation updated (if needed)

Commit Format

type(scope): description [XXX-XXXX]

Body explaining what and why.

Types: feat, fix, refactor, test, docs, chore, perf

Extract issue ID from branch:

bash
1git branch --show-current

Staged Files Check

bash
1# Review what will be committed 2git status 3git diff --staged

Never commit:

  • Implementation plan files (*_implementation_plan/)
  • Secrets or credentials
  • Generated diagram source (commit PNGs only if needed)

Execute Commit

bash
1git add <files> 2git commit -m "$(cat <<'EOF' 3type(scope): description [XXX-XXXX] 4 5Body explaining what and why. 6EOF 7)"

NEVER use --no-verify. NEVER amend commits.


Step 5: Run All Test Suites (After Commit, Before Push)

CRITICAL: ALL three test suites MUST be executed after commit but before push. Skipping ANY test suite is FORBIDDEN.

Execution Order

Run these commands IN ORDER and wait for each to complete:

bash
1make test 2INTEG_TESTS=1 make test 3SMOKE_TESTS=1 make test

Test Gate Enforcement

Before proceeding to Step 6, verify:

  1. Did SMOKE_TESTS=1 make test complete with all tests passing?
  2. Did INTEG_TESTS=1 make test complete with all tests passing?
  3. Did make test complete with all tests passing?

If ANY answer is "no" or "I didn't run it", STOP and run the missing tests.

Test Failure Protocol

CRITICAL: If tests fail, do not check if they are related to our changes. Identify the root cause and fix it.

If tests fail:

  1. Do not proceed to push
  2. Identify root cause
  3. Apply TDD fix (test first, then implementation)
  4. Create new commit with fix
  5. Re-run ALL test suites (not just the one that failed)
  6. Continue only when ALL three test suites pass

Step 6: Push (Optional)

Mandatory Test Checklist

You MUST run each test suite and check it off. Do NOT proceed to push until ALL boxes are checked:

Test Suite Checklist (ALL REQUIRED):
- [ ] SMOKE_TESTS=1 make test                    → Smoke tests PASSED

Always ask before pushing.

If approved:

bash
1git push --set-upstream origin $(git branch --show-current)

After Push

Offer to:

  1. Create draft PR (if none exists)
  2. Update PR description (if PR exists)
  3. Check snyk-pr-review-bot comments
  4. Run sleep for 60s
  5. Read and run verification skill

Command Reference

TaskCommand
Format & lintmake format
Unit testsmake test
Integration testsINTEG_TESTS=1 make test
Smoke testsSMOKE_TESTS=1 make test
Generate codemake generate
SCA scansnyk_sca_scan with absolute path
Code scansnyk_code_scan with absolute path
Current branchgit branch --show-current
Pushgit push --set-upstream origin $(git branch ...)

Red Flags (STOP)

  • Tests failing
  • Any test suite skipped
  • Security vulnerabilities unfixed
  • Implementation plan files staged
  • Unresolved PR blockers
  • TDD not followed for fixes
  • --no-verify being considered

相关技能

寻找 commit 的替代方案 (Alternative) 或可搭配使用的同类 community Skill?探索以下相关开源技能。

查看全部

openclaw-release-maintainer

Logo of openclaw
openclaw

Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞

333.8k
0
AI

widget-generator

Logo of f
f

为prompts.chat的信息反馈系统生成可定制的插件小部件

149.6k
0
AI

flags

Logo of vercel
vercel

React 框架

138.4k
0
浏览器

pr-review

Logo of pytorch
pytorch

Python中具有强大GPU加速的张量和动态神经网络

98.6k
0
开发者工具