when-auditing-code-style-use-style-audit
程式碼風格稽核與自動修正
風格偏移會讓程式碼審查變得更慢且一致性降低。此技能會引導 Claude、Codex 或 Claude Code 完成掃描、報告、安全修正與驗證。
使用我的智慧代理安裝
將此請求複製給你的智慧代理,其中包含權威 Skill 頁面和清單。
Review the Skillstore skill "when-auditing-code-style-use-style-audit" from https://skillstore.io/skills/dnyoussef-when-auditing-code-style-use-style-audit.md and its manifest at https://skillstore.io/api/skills/dnyoussef-when-auditing-code-style-use-style-audit/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.你的智慧代理仍應顯示其計畫,並依安全政策請求必要確認。
Agent 可讀資源
當 AI Agent、爬蟲或腳本需要乾淨脈絡、而不是讀取完整頁面時,請使用這些連結。
測試它
正在使用「when-auditing-code-style-use-style-audit」。 在 pull request 前稽核 TypeScript 服務。
預期結果:
- 摘要:格式化修正後達到 91% 風格合規。
- 多數問題是縮排、未使用的 imports,以及缺少嚴格 TypeScript 設定。
- 剩餘工作需要針對 console 陳述式和型別錯誤進行手動審查。
正在使用「when-auditing-code-style-use-style-audit」。 僅套用安全的格式化修正。
預期結果:
- 已在變更前建立備份。
- Prettier 和 ESLint 修正已套用至支援的檔案。
- 由於檔案已變更,提交前應執行測試和建置。
正在使用「when-auditing-code-style-use-style-audit」。 審查 CI 的風格準備度。
預期結果:
- 建議門檻為 90% 合規。
- CI 應發布風格報告,並在合規下降時失敗。
- 手動例外應以明確負責人追蹤。
安全審計
安全Reviewed all 216 static findings against SKILL.md, README.md, and PROCESS.md. The detections are false positives from Markdown fences, command examples, local linting scripts, and expected project file operations. No prompt injection, credential access, exfiltration, or malicious intent was found.
風險因素
⚙️ 外部命令 (186)
分享與引用此報告
分享版本化評估報告、中性徽章、嵌入卡片與引用。Skillstore 只報告證據,不判斷該 Skill 是否安全。
複製報告連結
https://skillstore.io/skills/dnyoussef-when-auditing-code-style-use-style-audit/audits/8?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown 徽章
[](https://skillstore.io/skills/dnyoussef-when-auditing-code-style-use-style-audit?utm_source=security_passport_badge)HTML 徽章
<a href="https://skillstore.io/skills/dnyoussef-when-auditing-code-style-use-style-audit?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/dnyoussef-when-auditing-code-style-use-style-audit/security.svg" alt="Skillstore security assessment" loading="lazy"></a>嵌入卡片
<iframe src="https://skillstore.io/embed/skills/dnyoussef-when-auditing-code-style-use-style-audit.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 引用
DNYoussef. (2026). when-auditing-code-style-use-style-audit security audit report (audit version 8) [Author version 1.0.0]. Skillstore. https://skillstore.io/skills/dnyoussef-when-auditing-code-style-use-style-audit/audits/8BibTeX 引用
@techreport{dnyoussef-dnyoussef-when-auditing-code-style-use-style-audit-2026,
author = {DNYoussef},
title = {when-auditing-code-style-use-style-audit security audit report (audit version 8)},
institution = {Skillstore},
year = {2026},
number = {8},
url = {https://skillstore.io/skills/dnyoussef-when-auditing-code-style-use-style-audit/audits/8},
note = {Author version 1.0.0}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "when-auditing-code-style-use-style-audit security audit report (audit version 8)"
version: "1.0.0"
type: report
authors:
- name: "DNYoussef"
date-released: "2026-07-05"
url: "https://skillstore.io/skills/dnyoussef-when-auditing-code-style-use-style-audit/audits/8"
identifiers:
- type: other
value: "skillstore:dnyoussef-when-auditing-code-style-use-style-audit:audit:8"
description: "Skillstore immutable audit report identifier"
Skillstore 評分
評分依據 證據置信度: 高你可以打造什麼
審查前清理
在開啟 pull request 前執行試行風格掃描,並提早修正格式問題。
建立團隊標準報告
將 lint、格式化和 TypeScript 設定與文件化標準進行比較,以利規劃工作。
將風格閘門加入 CI
使用合規門檻和報告輸出,建立可重複執行的風格檢查。
試試這些提示
使用 style-audit 掃描此儲存庫中的 ESLint、Prettier、TypeScript、命名和組織問題。僅回報發現項目。
使用 style-audit 將此專案與其文件化程式碼標準進行比較。列出缺少的規則、衝突和明確建議。
使用 style-audit 建立備份,僅套用安全的 ESLint 和 Prettier 修正,然後顯示剩餘的手動工作。
使用 style-audit 設計 CI 風格閘門,包含合規門檻、必要報告和失敗條件。
最佳實務
- 啟用自動修正前,先從試行掃描開始。
- 提交結果前審查產生的變更。
- 在專案中固定工具版本,以取得可重複的結果。
避免
- 在沒有備份或版本控制狀態的情況下執行自動修正。
- 將範例合規數字視為專案真相。
- 在檢查 imports 和參照前重新命名檔案。
常見問題
此技能會變更檔案嗎?
哪些專案最適合?
它可以強制執行自訂標準嗎?
它會取代程式碼審查嗎?
它可以在 CI 中執行嗎?
自動修正一律安全嗎?
開發者詳細資訊
作者
DNYoussef授權
MIT
作者版本
v1.0.0
Skillstore 修訂
r1
引用
c579efd02184f1128d6741d16e6c8d951d7d4208
維護新鮮度
2026/7/18
使用量
4 次下載 · 189 次瀏覽
檔案結構