跳到正文
cccskills
免费在 GitHub 公开

verify-changes

Verify edited code with relevant build commands, type checks, automated code checks, and targeted tests. Finds commands in project configuration, fixes reported problems, and repeats the same checks until they pass.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

Verify code changes by running the project's typecheck, build, lint, and targeted tests, then fix and re-run until clean. Use after editing any source file.

查看安装方法

适用场景

  • Checking affected code after source edits
  • Finding validation commands in project configuration
  • Fixing reported errors and rerunning the same checks
  • Verifying changes before opening a PR

包含的文件(1)

  • SKILL.md1.4 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Verify Changes

Editing a file is only half a step. Always close the loop by verifying before you mark work done or open a PR. This is the manual equivalent of an IDE/LSP diagnostics loop.

Procedure

  1. Detect the project's check commands from its config files:
    • Node/TS: package.json scripts (build, lint, typecheck), tsconfig.json -> npx tsc --noEmit, npx eslint <changed files>.
    • Python: ruff check <path>, mypy <path>, pytest <specific test file>.
    • Java/Maven: mvn -q -pl <module> compile, then the single relevant test class via -Dtest=<ClassName>.
    • Gradle: ./gradlew :<module>:compileJava / :<module>:test --tests <ClassName>.
  2. Run ONLY the checks and tests directly related to the files you changed. Never run the full test suite.
  3. Disable color output so logs are readable: NO_COLOR=1, --no-color, or --no-colors.
  4. Read the output as ground truth. If it reports errors, they are real — do not claim success.
  5. Fix the root cause, then re-run the SAME command. Repeat until it passes.

Rules

  • Only mark a todo completed once its verification command passes.
  • If you cannot find a check command, at minimum compile/parse the changed files.
  • Do not disable or delete failing tests to make checks pass.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Build Java applications with cooperating AI agents using AgentScope Java. Guides asynchronous processing, where waiting tasks do not block execution, plus language model connections, external tools, workflow coordination, error handling, and tests.

中文简介正在准备中。当前显示英语简介。

  • Building a Java agent connected to a language model
  • Coordinating agents in sequential or parallel workflows
  • Connecting external tools through MCP
agentscope-ai/agentscope-java60802026年10月21日 更新

Apply related edits across several files using a unified diff, a file describing code changes. Check the patch with Git before applying it, and rebuild rejected patches using the current file contents.

中文简介正在准备中。当前显示英语简介。

  • Applying one related change across three or more files
  • Handling repetitive edits or whitespace-sensitive changes
  • Reusing a patch from a PR or git diff
agentscope-ai/agentscope-java60802026年10月21日 更新

Turn analysis results into charts suited to the question, such as trends, comparisons, or distributions. Save a chart image and the script that generated it, with a short explanation of the findings and relevant caveats.

中文简介正在准备中。当前显示英语简介。

  • Show changes over time
  • Compare values across categories
  • Visualize relationships between two numeric variables
agentscope-ai/agentscope-java60802026年10月21日 更新

Locate function and class definitions, usages, and relevant files with ripgrep, using text patterns and file filters. Search Git history to see when text appeared or disappeared and investigate who changed specific lines.

中文简介正在准备中。当前显示英语简介。

  • Finding function or class definitions
  • Locating usages of a particular function
  • Narrowing searches by file type or path
agentscope-ai/agentscope-java60802026年10月21日 更新

Calculate the count, sum, minimum, maximum, and average of supplied numbers or datasets, then present the results in a clear, structured format. Analysis results can also be saved to a file when requested.

中文简介正在准备中。当前显示英语简介。

  • Check the count and total of supplied numbers
  • Summarize minimum, maximum, and average values
  • Get a basic numerical summary of a dataset
agentscope-ai/agentscope-java60802026年10月21日 更新

Use a starter template to learn how an agent skill is organized and outline its intended use, required inputs, steps, and output format. Replace the placeholder body with your own working instructions before relying on it.

中文简介正在准备中。当前显示英语简介。

  • Learn the basic layout of an agent skill
  • Start drafting a custom skill
  • Describe when an agent should select a skill
agentscope-ai/agentscope-java60802026年10月21日 更新

查看 agentscope-ai 的全部技能

报告此技能的问题