naming-analyzer
提升程式碼命名品質
不佳的識別符會讓程式碼更難審查與維護。此技能會找出命名問題,並建議更清楚、符合慣例的替代名稱。
使用我的智慧代理安裝
將此請求複製給你的智慧代理,其中包含權威 Skill 頁面和清單。
Review the Skillstore skill "naming-analyzer" from https://skillstore.io/skills/softaworks-naming-analyzer.md and its manifest at https://skillstore.io/api/skills/softaworks-naming-analyzer/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.你的智慧代理仍應顯示其計畫,並依安全政策請求必要確認。
Agent 可讀資源
當 AI Agent、爬蟲或腳本需要乾淨脈絡、而不是讀取完整頁面時,請使用這些連結。
測試它
正在使用「naming-analyzer」。 名為 getUser 的使用者服務方法也會更新使用者登入時間戳記。
預期結果:
報告會將此名稱標記為具誤導性,因為它聽起來像是唯讀操作。它會建議 fetchAndUpdateUserLogin,並說明其副作用。
正在使用「naming-analyzer」。 某個檔案包含名為 data、temp、arr 和 status 的變數。
預期結果:
報告會將它們歸類為清晰度問題,並根據用法建議名稱,例如 apiResponse、previousValue、amounts 和 isUserValid。
正在使用「naming-analyzer」。 某個 JavaScript 模組混用了 API_url、user_active 和 isEnabled。
預期結果:
報告會識別不一致的慣例,並建議常數、布林值和一般變數使用單一風格。
安全審計
安全Reviewed all 82 static findings against SKILL.md and README.md. The reported command execution, environment access, sensitive file access, and reconnaissance signals are false positives caused by Markdown examples and inline code. No prompt injection, data exfiltration intent, or malicious behavior was found in the reviewed files.
風險因素
⚙️ 外部命令 (76)
🔑 環境變數 (2)
分享與引用此報告
分享版本化評估報告、中性徽章、嵌入卡片與引用。Skillstore 只報告證據,不判斷該 Skill 是否安全。
複製報告連結
https://skillstore.io/skills/softaworks-naming-analyzer/audits/4?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown 徽章
[](https://skillstore.io/skills/softaworks-naming-analyzer?utm_source=security_passport_badge)HTML 徽章
<a href="https://skillstore.io/skills/softaworks-naming-analyzer?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/softaworks-naming-analyzer/security.svg" alt="Skillstore security assessment" loading="lazy"></a>嵌入卡片
<iframe src="https://skillstore.io/embed/skills/softaworks-naming-analyzer.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 引用
softaworks. (2026). naming-analyzer security audit report (audit version 4) [Author version unspecified]. Skillstore. https://skillstore.io/skills/softaworks-naming-analyzer/audits/4BibTeX 引用
@techreport{softaworks-softaworks-naming-analyzer-2026,
author = {softaworks},
title = {naming-analyzer security audit report (audit version 4)},
institution = {Skillstore},
year = {2026},
number = {4},
url = {https://skillstore.io/skills/softaworks-naming-analyzer/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: "naming-analyzer security audit report (audit version 4)"
version: "unspecified"
type: report
authors:
- name: "softaworks"
date-released: "2026-07-07"
url: "https://skillstore.io/skills/softaworks-naming-analyzer/audits/4"
identifiers:
- type: other
value: "skillstore:softaworks-naming-analyzer:audit:4"
description: "Skillstore immutable audit report identifier"
比較變體
2 個可安裝變體每位作者的技能都保留為獨立的可安裝項目。推薦變體依 Skillstore 證據排序。
為何此變體排名第一
softaworks-naming-analyzer
2026-09-09
curiouslearner-naming-analyzer
2026-09-09
Skillstore 評分
評分依據 證據置信度: 高你可以打造什麼
審查 Pull Request 名稱
在核准 pull request 前,找出變更檔案中的不清楚識別符。
標準化專案慣例
比較程式碼庫中的名稱,並為布林值、常數和服務建立一致模式。
清理舊有程式碼
在重構期間,將模糊、縮寫或具誤導性的名稱替換為更清楚的替代名稱。
試試這些提示
分析此檔案中的命名。列出不清楚的識別符、說明每個問題,並建議更好的名稱。
依照 [language] 的命名慣例審查這段程式碼。專注於變數、函式、類別、常數和布林值。
分析 [path] 中的命名。依嚴重程度分組發現項目,並提供有理由的優先重新命名計畫。
審查這些命名建議並建立安全的重構計畫。包含驗證步驟,以及需要領域確認的名稱。
最佳實務
- 提供周邊程式碼,讓建議能反映行為與領域含義。
- 在進行大範圍風格清理前,先審查高影響的誤導性名稱。
- 套用已接受的建議時,使用 IDE rename tools 和測試。
避免
- 不要只為了符合風格而重新命名識別符,尤其是目前名稱承載重要領域含義時。
- 不要在未審查產生的變更前,套用大範圍重新命名腳本。
- 除非專案已經要求,否則不要在同一個模組內混用語言慣例。
常見問題
此技能會審查哪些類型的名稱?
它可以分析完整程式碼庫嗎?
它會自動重新命名檔案或程式碼嗎?
涵蓋哪些語言?
它如何排序問題?
它可以協助處理布林值和常數嗎?
開發者詳細資訊
作者
softaworks授權
MIT
Skillstore 修訂
r1
版本提示
作者未聲明版本。
引用
f93e9bb0daca99badb6a7e574b97737155d57cb3
維護新鮮度
2026/7/18
使用量
9 次下載 · 332 次瀏覽