systematic-debugging
79透過根本原因分析進行程式碼除錯
當團隊在沒有證據的情況下修補症狀時,錯誤會浪費時間。這項技能會引導 Claude、Codex 和 Claude Code 在進行變更前先完成結構化診斷。
建置一致的核心 UI 元件
不一致的 UI 元件會拖慢產品工作並造成視覺漂移。此技能會引導 Claude、Codex 和 Claude Code 使用共用權杖、版面配置與元件模式。
將此請求複製給你的智慧代理,其中包含權威 Skill 頁面和清單。
Review the Skillstore skill "core-components" from https://skillstore.io/skills/chriswiles-core-components.md and its manifest at https://skillstore.io/api/skills/chriswiles-core-components/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.你的智慧代理仍應顯示其計畫,並依安全政策請求必要確認。
當 AI Agent、爬蟲或腳本需要乾淨脈絡、而不是讀取完整頁面時,請使用這些連結。
正在使用「core-components」。 產品畫面使用原始 View 和 Text 元素,並搭配 inline padding、color 和 font sizes。
預期結果:
建議更新:將原始版面元素替換為 Box 和 VStack,將間距對應到權杖值,並使用 Text color 和 size 權杖。保持現有內容與行為不變。
正在使用「core-components」。 Card 元件接受數字 padding 和自由格式的 variant 字串。
預期結果:
審查結果:將 padding 限制為核准的權杖值,記錄支援的 variants,並透過 Box 元件傳遞視覺差異。
正在使用「core-components」。 列表項目版面配置混合使用自訂容器、硬編碼邊框和手動圖示顏色值。
預期結果:
建議模式:使用 HStack 作為列、VStack 作為文字區塊、語意化邊框權杖,並為圖示使用 tertiary color 權杖。
All 49 static external-command findings are false positives caused by Markdown backticks in TSX examples and token tables. SKILL.md contains documentation-only design system guidance, with no shell commands, Ruby execution, network behavior, file operations, or prompt-injection language found.
分享版本化評估報告、中性徽章、嵌入卡片與引用。Skillstore 只報告證據,不判斷該 Skill 是否安全。
https://skillstore.io/skills/chriswiles-core-components/audits/8?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_report[](https://skillstore.io/skills/chriswiles-core-components?utm_source=security_passport_badge)<a href="https://skillstore.io/skills/chriswiles-core-components?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/chriswiles-core-components/security.svg" alt="Skillstore security assessment" loading="lazy"></a><iframe src="https://skillstore.io/embed/skills/chriswiles-core-components.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>ChrisWiles. (2026). core-components security audit report (audit version 8) [Author version unspecified]. Skillstore. https://skillstore.io/skills/chriswiles-core-components/audits/8@techreport{chriswiles-chriswiles-core-components-2026,
author = {ChrisWiles},
title = {core-components security audit report (audit version 8)},
institution = {Skillstore},
year = {2026},
number = {8},
url = {https://skillstore.io/skills/chriswiles-core-components/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: "core-components security audit report (audit version 8)"
version: "unspecified"
type: report
authors:
- name: "ChrisWiles"
date-released: "2026-07-06"
url: "https://skillstore.io/skills/chriswiles-core-components/audits/8"
identifiers:
- type: other
value: "skillstore:chriswiles-core-components:audit:8"
description: "Skillstore immutable audit report identifier"
每位作者的技能都保留為獨立的可安裝項目。推薦變體依 Skillstore 證據排序。
為何此變體排名第一
使用 Screen、Box、Stack、Text、Button、Input 和 Card 模式組合畫面。
檢查元件是否使用共用權杖,而不是 inline styles、原始值或平台 primitives。
將元件範例和權杖規則轉換為團隊 wiki 或 pull request 的清楚指引。
審查此 UI,並在適當之處將原始平台元件替換為文件記載的核心元件。
重構此元件,改用核心元件指南中的間距、顏色和排版權杖。
使用核心元件模式中的 VStack、Input、Button、驗證狀態和載入狀態,建立表單版面配置計畫。
根據核心元件技能,審查此可重用元件 API 的權杖式 props、variant 處理方式和反模式。
作者
ChrisWiles授權
MIT
Skillstore 修訂
r1
版本提示
作者未聲明版本。
引用
dd4a3ef9f20ddf38830950b4bb713df96b431fd6
維護新鮮度
2026/7/18
使用量
4 次下載 · 236 次瀏覽
檔案結構
📄 SKILL.md
透過根本原因分析進行程式碼除錯
當團隊在沒有證據的情況下修補症狀時,錯誤會浪費時間。這項技能會引導 Claude、Codex 和 Claude Code 在進行變更前先完成結構化診斷。
建構具韌性的 React UI 狀態
React 介面經常無法清楚呈現載入、錯誤、空狀態和提交狀態。此技能提供實用模式,協助建立可預期的非同步 UI 行為。
建構可靠的 Formik 表單
Formik 表單經常重複驗證、錯誤顯示和提交狀態邏輯。此技能提供精簡模式,涵蓋可重用欄位、Yup schema、GraphQL 提交、編輯表單和多步驟流程。
使用可重用模式撰寫更好的 Jest 測試
當單元測試重複設定或測試實作細節時,往往會變得脆弱。此技能提供可重用的 Jest 模式,涵蓋 factories、mocks、render 輔助函式與 TDD。
使用生成型別建立 GraphQL 操作
GraphQL client 工作經常會產生重複的操作、薄弱的錯誤處理,以及過時的生成型別。此技能會引導建立一致的 .gql 檔案、Apollo 生成的 hooks、codegen 步驟,以及 mutation UI 防護措施。
打造更好的 Tamagui 介面
由 0xBigBoss
Tamagui 專案可能會遇到 token 不一致、元件緩慢,以及無障礙模式不足的問題。此技能提供實用的 v1 指引,涵蓋 config、compiler 最佳化、表單、overlay、動畫與 theme。
最佳化 React Native 應用程式
由 vercel-labs
React Native 應用程式可能會遇到清單緩慢、動畫卡頓,以及平台相關錯誤。此技能為 Codex、Claude 和 Claude Code 提供精簡規則,用於高效能的 Expo 與 React Native 工作。
在 Next.js 中建置 shadcn/ui 介面
由 Asmayaseen
React 團隊需要能與現代 Next.js 搭配運作的一致 UI 模式。此技能提供 shadcn/ui 設定指南、元件範例、表單驗證、資料表、側邊欄,以及深色模式模式。
為 Expo 設定 Tailwind CSS
由 expo
Expo 團隊需要在原生與網頁目標之間維持一致的樣式。此技能提供針對 Tailwind CSS v4、NativeWind v5 與 react-native-css 的聚焦設定路徑。
為原生測試建置 Expo Dev Clients
由 expo
當原生程式碼超出 Expo Go 的能力範圍時,Expo 團隊需要可靠的開發用戶端。此技能會引導 EAS 建置設定、TestFlight 交付、本機建置、安裝,以及基本疑難排解。
建置 Expo DOM 元件
由 expo
Expo 團隊常常需要在原生應用程式中使用網頁函式庫,而不想重新編寫它們。這項技能會引導 Claude、Codex 和 Claude Code 採用安全的 DOM 元件模式。