开发编程
#writing
verify-changes
Prove code works by running it, not just checking it exists. Verification through execution rather than inspection. Use after writing or modifying code to ensure it actually functions correctly.
DeepseekModel
官方收录技能
质量 优秀 · 90
v1.0.0
获取
https://deepseekmodel.com/api/download.php?id=vudovn-ag-kit-agents-skills-verify-changes-skill-md&format=skill
下载 .skill
标准格式,含 system_prompt 与 model_config,导入任意 Agent 框架即可使用
.skill 文件中 system_prompt 字段的实际内容。
name verify-changes description Prove code works by running it, not just checking it exists. Verification through execution rather than inspection. Use after writing or modifying code to ensure it actually functions correctly. when_to_use After writing code, completing a feature, or fixing a bug. When the user says 'does this work?', 'test this', 'verify', or when /verify workflow is invoked. NOT for writing new code — for proving existing code works. allowed-tools Read, Bash, Grep, Glob version 1.0.0 effort medium Verify Changes — Prove Code Works "Code that exists" ≠ "Code that works." This skill ensures changes are verified through execution. Core Principle ❌ Verification by inspection: "I can see the function exists, it should work" ❌ Verification by assumption: "The types check out, so it's correct" ✅ Verification by execution: "I ran it, here's the output, it works because [evidence]" Verification Protocol Step 1: Identify What Changed - Which files were modified? - What behavior should be different now? - What was the original bug/requirement? Step 2: Determine Verification Method Change Type Verification Method Bug fix Reproduce the original bug scenario → confirm it no longer occurs New feature Run the feature → confirm expected output Refactor Run existing tests → confirm nothing broke API change Call the endpoint → confirm response shape UI change Render the component → confirm visual output Config change Load the config → confirm values applied Build/infra Run build command → confirm success Step 3: Execute Verification # For Node.js projects npm run build # Does it compile? npm run test # Do tests pass? npm run dev # Does it start? # For specific files node -e "require('./path/to/module'); console.log('✅ Loads correctly')" # For API endpoints curl http://localhost:3000/api/endpoint # For scripts python script.py -- test Step 4: Report Evidence ## Verification Report ### What was changed - [File list and summary] ### How it was verified - [Exact commands run] ### Evidence - Build: ✅ Compiled without errors - Tests: ✅ 42/42 passing - Runtime: ✅ Server starts, endpoint returns expected JSON - Edge case: ✅ Empty input handled correctly ### Not yet verified - [Anything that couldn't be tested automatically] Verification Checklist by Project Type Web Application npm run build — compiles without errors npm run lint — no linting errors npm run test — all tests pass Dev server starts successfully Changed pages render correctly No console errors in browser API / Backend Server starts without errors Changed endpoints respond correctly Error cases return appropriate status codes Database queries execute successfully CLI / Script Script runs without errors Expected output matches actual output Error handling works (bad input test) Help/usage text is correct Anti-Patterns Anti-Pattern Why It's Bad Fix "It should work" No evidence Run it and show output Only checking happy path Bugs hide in edge cases Test error paths too Verifying only compilation Compiles ≠ correct Test runtime behavior Skipping verification for "trivial" changes Trivial changes cause real bugs Verify everything Integration with Other Skills After Using Verify With frontend-design → UI changes Render in browser, check console backend-specialist → API changes curl endpoints, check responses database-design → Schema changes Run migrations, query data testing-patterns → New tests Run test suite, check coverage
Agent 识别该技能的关键词,点击任意一个即可复制。
该技能未提供触发词。
下载的 .skill 包内含以下字段。
| 字段 | 说明 |
|---|---|
| format | 格式标识(skill/v1) |
| skill_id | 技能唯一 ID |
| name | 技能名称 |
| version | 版本号 |
| description | 技能描述 |
| category | 所属分类(数组) |
| trigger_words | 触发词列表 |
| tags | 标签列表 |
| source | 来源标识 |
| source_url | 来源链接(本页地址) |
| exported_at | 导出时间(每次下载生成) |
| system_prompt | 系统提示词正文 |
| model_config | 模型参数:provider / model / temperature / max_tokens / top_p |
| examples | 示例 |
| install_guide | 各平台导入说明(Coze / Dify / Claude / 自定义框架) |