session-handoff
78Create Clear Agent Session Handoffs
Long sessions and agent switches can lose decisions, test results, and unfinished work. This skill creates a concise HANDOFF.md with verified state and actionable next steps.
Refactor Code with Tests and Small Changes
Code cleanup can introduce behavior changes that are difficult to detect. This skill guides small refactoring steps with baseline tests, dependency checks, 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 duplicated validation from two functions without changing their behavior.
預期結果:
正在使用「safe-refactor」。 Restructure a legacy parser that has no tests.
預期結果:
All three static findings are false positives: Markdown command references are not Ruby execution, and the completion report is not system reconnaissance. No evidence found of prompt injection, data exfiltration, or malicious intent in SKILL.md.
分享版本化評估報告、中性徽章、嵌入卡片與引用。Skillstore 只報告證據,不判斷該 Skill 是否安全。
https://skillstore.io/skills/agentkitco-safe-refactor/audits/2?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 2) [Author version 1.0]. Skillstore. https://skillstore.io/skills/agentkitco-safe-refactor/audits/2@techreport{agentkitco-agentkitco-safe-refactor-2026,
author = {agentkitco},
title = {safe-refactor security audit report (audit version 2)},
institution = {Skillstore},
year = {2026},
number = {2},
url = {https://skillstore.io/skills/agentkitco-safe-refactor/audits/2},
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 2)"
version: "1.0"
type: report
authors:
- name: "agentkitco"
date-released: "2026-10-22"
url: "https://skillstore.io/skills/agentkitco-safe-refactor/audits/2"
identifiers:
- type: other
value: "skillstore:agentkitco-safe-refactor:audit:2"
description: "Skillstore immutable audit report identifier"
每位作者的技能都保留為獨立的可安裝項目。推薦變體依 Skillstore 證據排序。
為何此變體排名第一
juliusbrussee-safe-refactor
2026-09-09
Extract duplicated logic while preserving outputs, error messages, logging, and edge cases through small, verified edits.
Add characterization tests before restructuring code that lacks coverage, and document behavior that remains unverified.
Identify callers and dependents before renaming exported symbols, and request approval when compatibility requires a breaking change.
Use safe-refactor to assess [module]. State the goal, behavior boundaries, existing tests, and baseline results before proposing any edits.
Use safe-refactor to extract repeated logic in [file]. Preserve behavior, make one change per step, and run relevant tests after each step.
Use safe-refactor on [legacy module]. Add characterization tests for realistic inputs before restructuring. Preserve current errors and ordering, and report coverage gaps.
Use safe-refactor to rename [exported symbol]. Check all callers and dependents, propose a deprecation path, and request approval before any API break.
作者
agentkitco授權
MIT
作者版本
v1.0
Skillstore 修訂
r1
版本提示
作者聲明的版本不符合 SemVer 規範。
引用
18efac79a818d7e997295839638fdd21906cfd1c
維護新鮮度
2026/10/22
使用量
5 次下載 · 0 次瀏覽
檔案結構
📄 SKILL.md
Create Clear Agent Session Handoffs
Long sessions and agent switches can lose decisions, test results, and unfinished work. This skill creates a concise HANDOFF.md with verified state and actionable next steps.
Review Code Changes for Security Risks
Code changes can introduce security problems that routine reviews miss. This skill guides focused AI triage with evidence, realistic severity, and concrete fixes.
Review Your Diff Before Opening a Pull Request
Local changes can hide bugs, security gaps, and missing tests before human review. This skill guides an evidence-based review with prioritized findings and explicit verification results.
Debug Bugs With Reproducible Evidence
Speculative fixes can hide causes and leave bugs unresolved. This skill guides assistants through reproduction, hypothesis testing, focused changes, and evidence-based verification.
Verify Tests Ran Before Reporting Completion
Passing claims can hide skipped tests, stale results, or checks that never exercised a change. This skill guides fresh verification and evidence-based completion reports.
Upgrade Dependencies With Focused Migration Checks
Dependency upgrades can introduce breaking changes and obscure existing failures. This skill guides focused migrations through release notes, baseline comparisons, minimal edits, and rollback reporting.
分析程式碼模式與架構
由 C0ntr0lledCha0s
大型程式碼庫隱藏著重複結構與不明確的架構選擇。此技能會找出模式、說明其意圖,並突顯實用的重構機會。
安全地重構程式碼
由 supercent-io
複雜的程式碼會拖慢變更速度並提高回歸風險。此技能會透過測試、萃取模式和驗證步驟,引導保留行為的重構。
依 AST 結構搜尋程式碼
由 0xDarkMatter
文字搜尋會遺漏語意關係,並產生大量雜訊結果。此技能使用 ast-grep 模式定位程式碼結構,並為聚焦式重構做好準備。
使用結構化品質檢查審查程式碼
由 alirezarezvani
程式碼審查可能會遺漏品質、安全性與可維護性問題。此技能會透過腳本、檢查清單與報告產生流程,引導進行結構化審查。
更快找到程式碼脈絡
由 89jobrien
開發人員經常耗費時間追查程式碼為何存在,以及有哪些內容依賴它。這個技能會提示 Claude、Codex 或 Claude Code 在變更前收集相關圖譜知識、呼叫者、匯入項目和測試。
以資深指導建置全端應用程式
由 alirezarezvani
全端專案通常需要一致的設定、架構選擇與品質檢查。此技能提供用於 React、Next.js、Node.js、GraphQL 與 PostgreSQL 工作的指令碼與參考資料。