dead-code-detector
79清理前找出死碼
未使用的程式碼會拖慢審查並增加維護風險。此技能可協助 Claude、Codex 和 Claude Code 識別移除候選項,並提供審查指引。
為測試建置 Mock API 伺服器
團隊在後端服務準備就緒前,需要穩定的 API。此技能可協助 Claude、Codex 和 Claude Code 設計 mock REST、GraphQL 和 OpenAPI 伺服器。
將此請求複製給你的智慧代理,其中包含權威 Skill 頁面和清單。
Review the Skillstore skill "mock-server" from https://skillstore.io/skills/curiouslearner-mock-server.md and its manifest at https://skillstore.io/api/skills/curiouslearner-mock-server/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.你的智慧代理仍應顯示其計畫,並依安全政策請求必要確認。
當 AI Agent、爬蟲或腳本需要乾淨脈絡、而不是讀取完整頁面時,請使用這些連結。
正在使用「mock-server」。 我需要為 React app 建立一個 mock users 服務。
預期結果:
正在使用「mock-server」。 QA 在後端完成前需要失敗情境。
預期結果:
正在使用「mock-server」。 為 OpenAPI 專案選擇 mock 伺服器工具。
預期結果:
All 74 static alerts were adjudicated as false positives. They occur in Markdown examples, local mock routes, localhost URLs, relative imports, and routine NODE_ENV or PORT configuration. No evidence of prompt injection, credential exfiltration, remote code loading, or sensitive file access was found.
分享版本化評估報告、中性徽章、嵌入卡片與引用。Skillstore 只報告證據,不判斷該 Skill 是否安全。
https://skillstore.io/skills/curiouslearner-mock-server/audits/8?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_report[](https://skillstore.io/skills/curiouslearner-mock-server?utm_source=security_passport_badge)<a href="https://skillstore.io/skills/curiouslearner-mock-server?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/curiouslearner-mock-server/security.svg" alt="Skillstore security assessment" loading="lazy"></a><iframe src="https://skillstore.io/embed/skills/curiouslearner-mock-server.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>CuriousLearner. (2026). mock-server security audit report (audit version 8) [Author version unspecified]. Skillstore. https://skillstore.io/skills/curiouslearner-mock-server/audits/8@techreport{curiouslearner-curiouslearner-mock-server-2026,
author = {CuriousLearner},
title = {mock-server security audit report (audit version 8)},
institution = {Skillstore},
year = {2026},
number = {8},
url = {https://skillstore.io/skills/curiouslearner-mock-server/audits/8},
note = {Author version unspecified}
}cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "mock-server security audit report (audit version 8)"
version: "unspecified"
type: report
authors:
- name: "CuriousLearner"
date-released: "2026-07-05"
url: "https://skillstore.io/skills/curiouslearner-mock-server/audits/8"
identifiers:
- type: other
value: "skillstore:curiouslearner-mock-server:audit:8"
description: "Skillstore immutable audit report identifier"
在後端服務仍在開發期間,建立可預測的 REST 端點。
模擬驗證錯誤、授權失敗、慢速回應、逾時和速率限制。
將 OpenAPI 或 GraphQL 計畫轉換為 mock 行為,以便早期進行用戶端測試。
為本機前端開發建立一個簡單的 mock users API。包含端點、回應狀態和最佳工具選擇。
擴充我的 mock API,加入慢速回應、驗證錯誤、授權失敗、速率限制和網路失敗以供測試。
審查這份 OpenAPI 摘要,並提出 Prism 或 MSW mock 計畫,包含端點涵蓋範圍和測試情境。
為使用者和貼文設計一個有狀態的 GraphQL mock 伺服器。包含 mutations、resolver 行為、資料重設步驟和測試邊界。
授權
MIT
Skillstore 修訂
r1
版本提示
作者未聲明版本。
引用
02f077c174c5335e2f5d02ca15e77b70d9543e58
維護新鮮度
2026/7/18
使用量
4 次下載 · 312 次瀏覽
檔案結構
📄 SKILL.md
清理前找出死碼
未使用的程式碼會拖慢審查並增加維護風險。此技能可協助 Claude、Codex 和 Claude Code 識別移除候選項,並提供審查指引。
審查程式碼品質與安全性
當審查者時間不足時,程式碼審查可能會遺漏安全性、測試與可維護性問題。此技能會引導 Claude、Codex 和 Claude Code 進行結構化審查,並產出按優先順序排列的發現項目。
安全地稽核相依套件更新
相依套件更新可能隱藏重大變更與緊急安全需求。此技能會檢閱專案 manifest、摘要更新風險,並建議安全升級的順序。
透過結構化指引安全地重構程式碼
當變更範圍很廣或說明不清時,重構可能會引入錯誤。此技能可協助 Claude、Codex 和 Claude Code 規劃並套用更安全的漸進式改善。
分析應用程式效能瓶頸
緩慢的程式碼可能隱藏在演算法、渲染、資料庫查詢和 bundles 之中。此技能會檢視原始碼模式,並產出依優先順序排列的最佳化建議。
更快速地分析應用程式日誌
日誌檔案中隱藏著服務故障、錯誤激增和緩慢請求。此技能會將原始日誌轉換為結構化發現、時間軸和實用的修復建議。
設計可靠的 REST 與 GraphQL API
由 AutumnsGrove
API 團隊需要一致的端點、身分驗證與文件。這項技能引導 REST、GraphQL、OpenAPI、版本控管與安全性設計決策。
設計正式環境就緒的 API 契約
由 ArieGoldkin
團隊在設計 API 時,常會出現資源、錯誤與版本控管不一致的情況。此技能為 REST、GraphQL、gRPC、OpenAPI 和 AsyncAPI 工作提供模式、檢查清單與範本。
設計更好的 REST 與 GraphQL API
由 supercent-io
API 團隊需要在實作開始之前建立一致的合約。本技能會引導資源設計、請求格式、錯誤、版本控管與文件撰寫。
建構可靠的測試自動化
由 89jobrien
薄弱的測試會拖慢發布並掩蓋回歸問題。此技能可引導測試策略、TDD、自動化、覆蓋率審查,以及 Playwright 網頁檢查。
在整個程式碼庫中規劃可靠測試
由 0xDarkMatter
這項技能協助團隊選擇測試策略、mock、資料 fixture、覆蓋率 gate 和 CI 模式,而不混淆測試範圍。它為 Claude、Codex 和 Claude Code 提供針對單元、整合、端對端、TDD 與管線測試的結構化指引。
有系統地偵錯軟體問題
由 Asmayaseen
缺乏結構的錯誤修復會浪費時間,並可能掩蓋真正的失敗原因。此技能會引導 Claude、Codex 和 Claude Code 進行以證據為基礎的根本原因分析。