testing-patterns
安全 81在整個程式碼庫中規劃可靠測試
由 0xDarkMatter
這項技能協助團隊選擇測試策略、mock、資料 fixture、覆蓋率 gate 和 CI 模式,而不混淆測試範圍。它為 Claude、Codex 和 Claude Code 提供針對單元、整合、端對端、TDD 與管線測試的結構化指引。
4 個可安裝變體 比較
為何此變體排名第一
0xdarkmatter-testing-patterns
2026-10-12
把喜愛的技能整理成可重複使用的收藏集,再用一條命令安裝。
在整個程式碼庫中規劃可靠測試
由 0xDarkMatter
這項技能協助團隊選擇測試策略、mock、資料 fixture、覆蓋率 gate 和 CI 模式,而不混淆測試範圍。它為 Claude、Codex 和 Claude Code 提供針對單元、整合、端對端、TDD 與管線測試的結構化指引。
為何此變體排名第一
0xdarkmatter-testing-patterns
2026-10-12
依 AST 結構搜尋程式碼
由 0xDarkMatter
文字搜尋會遺漏語意關係,並產生大量雜訊結果。此技能使用 ast-grep 模式定位程式碼結構,並為聚焦式重構做好準備。
設計可靠的 REST API
由 0xDarkMatter
REST API 需要一致的方法、狀態碼、快取和速率限制。此技能為 Claude、Codex 和 Claude Code 提供實用 API 設計的快速模式。
新增 Python 型別安全模式
由 0xDarkMatter
Python 型別註解在實際專案中可能難以一致套用。此 skill 為 Claude、Codex 和 Claude Code 提供實用模式,用於撰寫更安全的 typed Python code。
建構可靠的 Pytest 測試套件
由 0xDarkMatter
Python 團隊經常需要在 fixture、mock、async 測試與 coverage 方面採用一致的 pytest 模式。這項 skill 為 Claude、Codex 和 Claude Code 提供實用參考與範本,以建立可維護的測試套件。
使用可重用模式建置 FastAPI API
由 0xDarkMatter
FastAPI 專案需要在驗證、依賴項、middleware 和背景工作方面做出一致的選擇。這項技能為 Claude、Codex 和 Claude Code 提供可重用模式,用於實務 Python API 開發。
建構可靠的 Python 資料庫層
由 0xDarkMatter
Python 資料庫程式碼可能因不良的工作階段、交易或遷移模式而失敗。此技能提供實用的 SQLAlchemy 2.0 模式,用於打造穩健的應用程式。
建置 Python CLI 應用程式
由 0xDarkMatter
團隊需要一致的 Python 命令列介面,用於選項、輸出、組態和測試。此技能提供 Typer 和 Rich 模式,用於實用且可投入生產的 CLI 設計。
建構可靠的 Async Python
由 0xDarkMatter
Async Python 程式碼經常因阻塞呼叫、未受限制的任務,以及薄弱的清理機制而失敗。此 skill 提供可重複使用的 asyncio 模式、範例與參考資料,用於打造穩健的並行服務。
建構 MCP Server 模式
由 0xDarkMatter
MCP 整合需要正確的工具、資源、身分驗證、狀態與測試模式。此技能為 Claude Code、Codex 與 Claude 工作流程提供聚焦的範例。
安全地跨程式碼庫替換文字
由 0xDarkMatter
大型程式碼庫會讓重複文字變更變得緩慢且容易出錯。這項技能透過預覽、regex 模式和批次工作流程,引導你進行以 sd 為基礎的替換。
更快速尋找檔案並搜尋程式碼
由 0xDarkMatter
大型程式碼庫會讓檔案與文字搜尋變慢。此技能提供 fd、ripgrep 和 fzf 工作流程,用於精準探索與導覽。
分析程式碼大小與語意差異
由 0xDarkMatter
團隊需要快速掌握程式碼庫大小、語言組成,以及有意義的變更。此技能會引導 Claude、Codex 和 Claude Code 安全地執行 tokei 與 difftastic。
建立 Claude Code 範本
由 0xDarkMatter
從零開始建立 Claude Code 擴充功能可能會導致中繼資料缺漏且結構不清楚。此技能為 agents、skills、commands 和 hooks 提供入門範本。
偵錯 Claude Code 擴充功能問題
由 0xDarkMatter
Claude Code 擴充功能可能因檔案配置、frontmatter、權限、hooks、agents 或 MCP 設定而失敗。此技能提供實用的診斷流程與命令參考,用於隔離原因。
套用 Zig 最佳實踐
由 0xBigBoss
Zig 專案需要在錯誤、配置器、泛型、C 互操作與除錯方面採用一致的模式。此技能以精簡的 Zig 慣用寫法與工具參考,指導 Claude、Codex 和 Claude Code。
Build Interactive Hono Apps with Inertia
由 yusukebe
Adding rich interactions to server-rendered Hono pages can require a separate frontend and API layer. This skill guides Inertia integration using hono/jsx and TypeScript.
Replace Hardcoded Styles with WunderUI Tokens
由 wunder-ui
Hardcoded colors and dimensions make WunderUI projects harder to theme consistently. This skill compares literals with bundled tokens and supports reviewed replacements with measured differences.
Set Up WunderUI in Your React Project
由 wunder-ui
WunderUI components can appear unstyled when package installation, Tailwind scanning, or token precedence is incomplete. This skill coordinates setup, creates a verification component, and documents remaining checks.
Build React Screens with WunderUI
由 wunder-ui
Generated screens often miss UI states, responsive layouts, and consistent design tokens. This skill guides WunderUI component selection, screen assembly, and validation within the selected plan.