repro-first-debugging
78Debug Failures With Reproducible Evidence
Bug fixes based on guesses can miss the cause and introduce regressions. This skill guides reproduction, hypothesis testing, focused fixes, and verification with recorded evidence.
Refactor Code with Tests at Every Step
Structural code changes can alter behavior when tests and scope are unclear. This skill guides small refactoring steps with baseline tests, characterization coverage, and repeated verification.
将此请求复制给你的智能体,其中包含权威 Skill 页面和清单。
Review the Skillstore skill "safe-refactor" from https://skillstore.io/skills/agentkitco-safe-refactor.md and its manifest at https://skillstore.io/api/skills/agentkitco-safe-refactor/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.你的智能体仍应展示其计划,并按安全策略请求必要确认。
当 AI Agent、爬虫或脚本需要干净上下文,而不是读取完整页面时,请使用这些链接。
正在使用“safe-refactor”。 Extract repeated validation from a covered module without changing its errors.
预期结果:
正在使用“safe-refactor”。 Reorganize an untested parser while preserving current behavior.
预期结果:
All three static findings are false positives: inline Markdown command references and a completion report do not establish shell execution or system reconnaissance. A separate rollback instruction could discard pre-existing user edits if git restore is applied without isolating the refactoring changes. No evidence found of prompt injection, credential access, or data exfiltration.
分享版本化评估报告、中性徽章、嵌入卡片和引用。Skillstore 只报告证据,不判断该 Skill 是否安全。
https://skillstore.io/skills/agentkitco-safe-refactor/audits/1?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_report[](https://skillstore.io/skills/agentkitco-safe-refactor?utm_source=security_passport_badge)<a href="https://skillstore.io/skills/agentkitco-safe-refactor?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/agentkitco-safe-refactor/security.svg" alt="Skillstore security assessment" loading="lazy"></a><iframe src="https://skillstore.io/embed/skills/agentkitco-safe-refactor.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>agentkitco. (2026). safe-refactor security audit report (audit version 1) [Author version 1.0]. Skillstore. https://skillstore.io/skills/agentkitco-safe-refactor/audits/1@techreport{agentkitco-agentkitco-safe-refactor-2026,
author = {agentkitco},
title = {safe-refactor security audit report (audit version 1)},
institution = {Skillstore},
year = {2026},
number = {1},
url = {https://skillstore.io/skills/agentkitco-safe-refactor/audits/1},
note = {Author version 1.0}
}cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "safe-refactor security audit report (audit version 1)"
version: "1.0"
type: report
authors:
- name: "agentkitco"
date-released: "2026-10-17"
url: "https://skillstore.io/skills/agentkitco-safe-refactor/audits/1"
identifiers:
- type: other
value: "skillstore:agentkitco-safe-refactor:audit:1"
description: "Skillstore immutable audit report identifier"
每位作者的技能都保持为独立的可安装项。推荐变体按 Skillstore 证据排序。
为什么此变体排名第一
juliusbrussee-safe-refactor
2026-09-09
Add characterization tests before extracting repeated logic while preserving existing outputs and error behavior.
Find dependent tests, scripts, documentation, and configuration before renaming internal symbols in small verified steps.
Separate structural improvements from bug fixes and summarize test evidence for each step.
Use safe-refactor to rename [symbol] in [file]. Preserve behavior, find references, and run relevant tests.
Extract duplicated logic from [module]. Record baseline tests, preserve errors and ordering, and verify each extraction separately.
Refactor [legacy module]. First add characterization tests for current behavior, including edge cases. Keep discovered bugs separate from structural changes.
Restructure [modules] within [scope]. Inventory callers and public APIs. Preserve existing edits, verify each step, and ask before any API break.
作者
agentkitco许可证
MIT
作者版本
v1.0
Skillstore 修订
r1
版本提示
作者声明的版本不符合 SemVer 规范。
引用
743429f75b17204d47661a86b577a575ad67517f
维护新鲜度
2026/10/17
使用量
0 次下载 · 0 次浏览
文件结构
📄 SKILL.md
Debug Failures With Reproducible Evidence
Bug fixes based on guesses can miss the cause and introduce regressions. This skill guides reproduction, hypothesis testing, focused fixes, and verification with recorded evidence.
Verify Tests Ran Before Reporting Completion
Completion claims can hide skipped tests, stale results, or checks that never exercised a change. This skill guides fresh verification and reports evidence for each claim.
Write Pull Request Descriptions From Real Changes
Reviewers need clear explanations of changes, testing, and risk. This skill turns Git diffs and commits into structured pull request descriptions grounded in available evidence.
Upgrade Dependencies With Release Note Verification
Dependency upgrades can introduce breaking changes and obscure existing failures. This skill guides focused upgrades through release notes, baseline checks, targeted edits, and verification reports.
Preserve Progress Across Agent Sessions
Long sessions and agent changes can lose important project context. This skill creates a concise handoff with verified state, decisions, and ordered next steps.
Review Code Changes for Security Risks
Security defects can hide in small changes to input handling, authentication, and configuration. This skill guides scoped code triage with evidence, realistic severity, and actionable fixes.
分析代码模式和架构
由 C0ntr0lledCha0s
大型代码库中隐藏着重复结构和不清晰的架构选择。此技能可发现模式、解释其意图,并突出实际的重构机会。
通过红-绿-重构指导 TDD
由 mattpocock
当团队测试内部实现或预先编写过多测试时,测试优先的工作方式往往会变得脆弱。此 skill 引导 Codex、Claude 和 Claude Code 完成以行为为重点的红-绿-重构循环。
按 AST 结构搜索代码
由 0xDarkMatter
文本搜索会遗漏语义关系并产生大量噪声匹配。此技能使用 ast-grep 模式定位代码结构,并为针对性重构做好准备。
构建可靠的测试自动化
由 89jobrien
薄弱的测试会拖慢发布并掩盖回归问题。此技能可指导测试策略、TDD、自动化、覆盖率审查以及 Playwright Web 检查。
使用结构化质量检查审查代码
由 alirezarezvani
代码审查可能会漏掉质量、安全性和可维护性问题。此技能通过脚本、检查清单和报告生成来指导结构化审查。
更快查找代码上下文
由 89jobrien
开发者常常花时间追踪代码为何存在以及哪些内容依赖它。此技能会提示 Claude、Codex 或 Claude Code 在进行更改前收集相关图谱知识、调用方、imports 和测试。