specdd-refactor
安全重構 SpecDD 專案
規格驅動的專案在大型結構變更期間可能會遺失行為。此技能會引導 Claude、Codex 和 Claude Code 進行具備 SpecDD 意識的重構,並包含權限檢查與驗證。
使用我的智慧代理安裝
將此請求複製給你的智慧代理,其中包含權威 Skill 頁面和清單。
Review the Skillstore skill "specdd-refactor" from https://skillstore.io/skills/specdd-specdd-refactor.md and its manifest at https://skillstore.io/api/skills/specdd-specdd-refactor/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.你的智慧代理仍應顯示其計畫,並依安全政策請求必要確認。
Agent 可讀資源
當 AI Agent、爬蟲或腳本需要乾淨脈絡、而不是讀取完整頁面時,請使用這些連結。
測試它
正在使用「specdd-refactor」。 要求將服務移入現有 SpecDD 專案內的新套件。
預期結果:
助理會回報作用中的 bootstrap chain、管理規格、寫入授權、基準檢查,以及保留行為的移動計畫。
正在使用「specdd-refactor」。 變更測試、文件與模組路徑的重構差異。
預期結果:
助理會識別哪些變更屬於結構性、哪些規格授權這些變更,以及還剩哪些驗證步驟。
正在使用「specdd-refactor」。 要求在計畫中的重構期間進行行為變更。
預期結果:
助理會停止將任務視為純重構,並要求涵蓋該行為變更的授權。
安全審計
安全All six static findings are false positives caused by Markdown inline code around SpecDD file names and a referenced skill name. I found no prompt injection, data exfiltration, network access, or shell execution intent in SKILL.md.
風險因素
⚙️ 外部命令 (6)
分享與引用此報告
分享版本化評估報告、中性徽章、嵌入卡片與引用。Skillstore 只報告證據,不判斷該 Skill 是否安全。
複製報告連結
https://skillstore.io/skills/specdd-specdd-refactor/audits/4?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown 徽章
[](https://skillstore.io/skills/specdd-specdd-refactor?utm_source=security_passport_badge)HTML 徽章
<a href="https://skillstore.io/skills/specdd-specdd-refactor?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/specdd-specdd-refactor/security.svg" alt="Skillstore security assessment" loading="lazy"></a>嵌入卡片
<iframe src="https://skillstore.io/embed/skills/specdd-specdd-refactor.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>學術引用 (APA · BibTeX · CFF)
APA 引用
specdd. (2026). specdd-refactor security audit report (audit version 4) [Author version unspecified]. Skillstore. https://skillstore.io/skills/specdd-specdd-refactor/audits/4BibTeX 引用
@techreport{specdd-specdd-specdd-refactor-2026,
author = {specdd},
title = {specdd-refactor security audit report (audit version 4)},
institution = {Skillstore},
year = {2026},
number = {4},
url = {https://skillstore.io/skills/specdd-specdd-refactor/audits/4},
note = {Author version unspecified}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "specdd-refactor security audit report (audit version 4)"
version: "unspecified"
type: report
authors:
- name: "specdd"
date-released: "2026-07-07"
url: "https://skillstore.io/skills/specdd-specdd-refactor/audits/4"
identifiers:
- type: other
value: "skillstore:specdd-specdd-refactor:audit:4"
description: "Skillstore immutable audit report identifier"
Skillstore 評分
評分依據 證據置信度: 中你可以打造什麼
重組 SpecDD 模組
規劃模組移動,同時保留合約、相依性、測試與管理規格。
審查重構授權
在跨專案邊界變更檔案之前,確認哪些規格允許編輯。
在結構變更後對齊文件與測試
僅在結構變更需要時,更新相關規格、文件與測試。
試試這些提示
Use specdd-refactor for this SpecDD project. Identify the target files, governing specs, write authority, and baseline checks before editing.
Create a refactor plan for moving this module. Preserve specified behavior, public paths, dependencies, and test coverage.
Review these refactor changes against the active SpecDD chain. List contract risks, missing verification, and files needing spec authority.
Resolve all governing specs for this structural change. Separate pure refactor steps from behavior changes and propose verification for each step.
最佳實務
- 在規劃編輯前確認作用中的 bootstrap chain。
- 驗證每個移動或變更檔案的寫入授權。
- 在高風險重構步驟前後執行實用的基準檢查。
避免
- 在沒有根目錄 .specdd/bootstrap.md 檔案的專案中使用此技能。
- 一邊將工作描述為只是重構,一邊變更公開行為。
- 未經明確授權就跨 spec 邊界移動職責。