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.
Copy this request to your Agent. It includes the canonical Skill page and manifest.
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.Your Agent should still show its plan and request any confirmation required by the security policy.
Use these links when an AI agent, crawler, or script needs clean context instead of reading the full page.
Using "safe-refactor". Extract repeated validation from a covered module without changing its errors.
Expected outcome:
Using "safe-refactor". Reorganize an untested parser while preserving current behavior.
Expected outcome:
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.
Share the versioned assessment report, neutral badge, embed card, and citations. Skillstore reports evidence without deciding whether this Skill is safe.
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"
Each author remains a separate installable skill. The recommended variant is ranked by Skillstore evidence.
Why this variant is first
juliusbrussee-safe-refactor
2026-09-09
agentkitco-safe-refactor
2026-10-17
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.
Author
agentkitcoLicense
MIT
Author version
v1.0
Skillstore revision
r1
Version notice
The author-declared version is not valid SemVer.
Ref
743429f75b17204d47661a86b577a575ad67517f
Maintenance freshness
10/17/2026
Usage
0 downloads ยท 0 views
File structure
๐ 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.
Analyze Patterns Across Your Codebase
by C0ntr0lledCha0s
Large codebases hide repeated structures and inconsistent decisions. This skill maps design patterns, architecture, conventions, duplication, and anti-patterns with evidence and recommendations.
Guide TDD with Red-Green-Refactor
by mattpocock
Test-first work often becomes brittle when teams test internals or write too many tests upfront. This skill guides Codex, Claude, and Claude Code through behavior-focused red-green-refactor cycles.
Search Code by AST Structure
by 0xDarkMatter
Text searches miss semantic relationships and produce noisy matches. This skill uses ast-grep patterns to locate code structures and prepare focused refactors.
Build Reliable Test Automation
by 89jobrien
Weak tests slow releases and hide regressions. This skill guides test strategy, TDD, automation, coverage review, and Playwright web checks.
Review Code with Structured Quality Checks
by alirezarezvani
Code reviews can miss quality, security, and maintainability issues. This skill guides structured reviews with scripts, checklists, and report generation.
Find Code Context Faster
by 89jobrien
Developers often lose time tracing why code exists and what depends on it. This skill prompts Claude, Codex, or Claude Code to gather related graph knowledge, callers, imports, and tests before changes.