defect-locate
Use to locate code defects from failure evidence and source code.
Skill by CaoZhenYang-010
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/caozhenyang-010-defect-locate
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: testing
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/defect-locate
What's inside
- Skill name
defect-locate- Description
- Use to locate code defects from failure evidence and source code. Produces defect_report.md with file/line/function and a fix suggestion. Use when any test/review/adversarial/quality gate fails.
- License
- Apache-2.0
- Instructions
- 37 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Defect Locate(代码缺陷自动定位)
你是 **analyst**(缺陷分析员)。你的职责是读取失败证据与源码,**定位缺陷所在位置**,产出结构化定位报告(写入 `defect_report.md`)。
## 输入
- 任务说明(task.md)与系统设计(design.md)
- 失败证据:测试报告(test_report.txt)或评审意见(review_notes.md)或对抗报告(adversarial_test_report.txt)
- 全部实现源码与测试
## 输出格式(严格遵守)
只输出一个 JSON 对象:
```json
{
"candidates": [
{"file": "engine.py", "line": 42, "function": "calculate_fee",
"confidence": 0.9, "reason": "折扣应用顺序错误"}
],
"root_cause": "一句话根因:……",
"evidence": "佐证证据摘录(失败断言 / traceback)",
"fix_suggestion": "具体修复建议,回流给 implementer"
}
```
- `candidates` 按置信度从高到低排序,可给多个候选
- `file` 必须是输入中出现过的文件名
- `fix_suggestion` 要具体到"改哪个逻辑、改成什么顺序",能直接指导重写
- 除 JSON 外不要输出任何文字
## 判定
- 无失败证据(正常流走到此)→ 跳过缺陷定位,继续下一节点
- 有失败证据 → 产出 defect_report.md,devflow-runner 按证据来源回流对应编码节点From CaoZhenYang-010/AgentTeams-devflow-kit, Apache-2.0.
More from CaoZhenYang-010/AgentTeams-devflow-kit
- 0.524score
devflow-pipeline
CaoZhenYang-010
Use to drive the software development pipeline declared in workflow.yaml.
SkillBFreshness: BClaude Code +9 - 0.524score
requirement-clarify
CaoZhenYang-010
Use to decompose a one-line requirement into an executable task specification with testable acceptance criteria.
SkillBFreshness: BClaude Code +9 - 0.521score
code-review
CaoZhenYang-010
Use to review the full-stack implementation against the task spec and design.
SkillBFreshness: BClaude Code +9 - 0.521score
impact-analysis
CaoZhenYang-010
Use to analyze release impact programmatically (structure scan / AST dependency graph).
SkillBFreshness: BClaude Code +9 - 0.521score
adversarial-test
CaoZhenYang-010
Use to generate independent adversarial test cases against the acceptance criteria (do NOT reference the implementer's own tests).
SkillBFreshness: BClaude Code +9 - 0.521score
system-design
CaoZhenYang-010
Use to produce a full-stack system design document (SpringBoot backend + Vue3 frontend) from task.md.
SkillBFreshness: BClaude Code +9 - 0.521score
tdd-coding
CaoZhenYang-010
Use to implement code via TDD on the stack template (SpringBoot backend + Vue3 frontend).
SkillBFreshness: BClaude Code +9 - 0.521score
quality-gate
CaoZhenYang-010
Use to gate release readiness (Team Leader).
SkillBFreshness: BClaude Code +9 - 0.521score
architecture-review
CaoZhenYang-010
Use to review a system design before coding (Team Leader gate).
SkillBFreshness: BClaude Code +9 - 0.513score
verify-release
CaoZhenYang-010
Use to verify and release after all gates pass.
SkillBFreshness: BClaude Code +9 - 0.491score
test-run
CaoZhenYang-010
Use to run real tests and builds (backend mvn test + JaCoCo coverage, frontend npm build, E2E Playwright).
SkillBFreshness: BClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Aug 12, 2026 (2 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from CaoZhenYang-010
- 0.524score
requirement-clarify
CaoZhenYang-010
Use to decompose a one-line requirement into an executable task specification with testable acceptance criteria.
SkillBFreshness: BClaude Code +9 - 0.524score
devflow-pipeline
CaoZhenYang-010
Use to drive the software development pipeline declared in workflow.yaml.
SkillBFreshness: BClaude Code +9 - 0.521score
adversarial-test
CaoZhenYang-010
Use to generate independent adversarial test cases against the acceptance criteria (do NOT reference the implementer's own tests).
SkillBFreshness: BClaude Code +9 - 0.521score
architecture-review
CaoZhenYang-010
Use to review a system design before coding (Team Leader gate).
SkillBFreshness: BClaude Code +9 - 0.521score
code-review
CaoZhenYang-010
Use to review the full-stack implementation against the task spec and design.
SkillBFreshness: BClaude Code +9 - 0.521score
impact-analysis
CaoZhenYang-010
Use to analyze release impact programmatically (structure scan / AST dependency graph).
SkillBFreshness: BClaude Code +9
Cite this page
defect-locate skill. Agent Mart. https://agentmart.dev/skills/caozhenyang-010-defect-locate (last updated 2026-10-24)