typescript-review
審查 Metabase 的 TypeScript 變更
TypeScript 審查者需要針對風格、測試、JSDoc 和型別安全進行一致的檢查。此技能會引導 Claude、Codex 和 Claude Code 完成 Metabase 審查工作流程。
使用我的智慧代理安裝
將此請求複製給你的智慧代理,其中包含權威 Skill 頁面和清單。
Review the Skillstore skill "typescript-review" from https://skillstore.io/skills/metabase-typescript-review.md and its manifest at https://skillstore.io/api/skills/metabase-typescript-review/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.你的智慧代理仍應顯示其計畫,並依安全政策請求必要確認。
Agent 可讀資源
當 AI Agent、爬蟲或腳本需要乾淨脈絡、而不是讀取完整頁面時,請使用這些連結。
測試它
正在使用「typescript-review」。 一個 TypeScript pull request 變更共用工具型別和一個單元測試。
預期結果:
- 型別安全問題:新的工具型別接受 undefined 值,但現有呼叫端並未處理。
- 測試缺口:合併前新增空輸入路徑的案例。
- 驗證:執行 TypeScript 檢查,以及針對已變更檔案的聚焦單元測試。
正在使用「typescript-review」。 一個 React 元件 diff 新增 props 並變更渲染條件。
預期結果:
- React 疑慮:當資料為空時,條件分支會隱藏載入狀態。
- 型別疑慮:將新的 callback prop 明確化,並記錄它何時觸發。
- 測試建議:新增已載入、空狀態和錯誤狀態的涵蓋範圍。
正在使用「typescript-review」。 審查者想要一份 JavaScript 變更的簡短合併前檢查清單。
預期結果:
- 確認受影響套件的 linting 通過。
- 確認格式化不會變更無關檔案。
- 針對已變更行為執行聚焦測試,並註明任何略過的涵蓋範圍。
安全審計
安全All ten static findings are false positives. Six detections misread Markdown inline-code backticks as shell execution, and four flag fixed documentation references as path traversal.
風險因素
⚙️ 外部命令 (6)
📁 檔案系統存取 (4)
分享與引用此報告
分享版本化評估報告、中性徽章、嵌入卡片與引用。Skillstore 只報告證據,不判斷該 Skill 是否安全。
複製報告連結
https://skillstore.io/skills/metabase-typescript-review/audits/9?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown 徽章
[](https://skillstore.io/skills/metabase-typescript-review?utm_source=security_passport_badge)HTML 徽章
<a href="https://skillstore.io/skills/metabase-typescript-review?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/metabase-typescript-review/security.svg" alt="Skillstore security assessment" loading="lazy"></a>嵌入卡片
<iframe src="https://skillstore.io/embed/skills/metabase-typescript-review.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 引用
metabase. (2026). typescript-review security audit report (audit version 9) [Author version unspecified]. Skillstore. https://skillstore.io/skills/metabase-typescript-review/audits/9BibTeX 引用
@techreport{metabase-metabase-typescript-review-2026,
author = {metabase},
title = {typescript-review security audit report (audit version 9)},
institution = {Skillstore},
year = {2026},
number = {9},
url = {https://skillstore.io/skills/metabase-typescript-review/audits/9},
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: "typescript-review security audit report (audit version 9)"
version: "unspecified"
type: report
authors:
- name: "metabase"
date-released: "2026-07-23"
url: "https://skillstore.io/skills/metabase-typescript-review/audits/9"
identifiers:
- type: other
value: "skillstore:metabase-typescript-review:audit:9"
description: "Skillstore immutable audit report identifier"
Skillstore 評分
評分依據 證據置信度: 高你可以打造什麼
審查前端 pull request
在合併前檢查已變更的 TypeScript 和 React 檔案,確認風格、安全性、註解與測試涵蓋範圍。
準備變更以供審查
在要求回饋前,完成 linting、格式化、型別檢查和聚焦測試。
標準化審查留言
在 JavaScript 和 TypeScript 變更中套用一致的 Metabase 審查標準。
試試這些提示
Review this TypeScript diff for Metabase style, type safety, and obvious test gaps. Focus on actionable comments.
Review these React changes for Metabase conventions, props typing, state handling, accessibility risks, and test coverage.
Create a validation plan for this JavaScript or TypeScript pull request. Include lint, formatting, type checks, and focused tests.
Audit this pull request for coding standards, JSDoc quality, type safety, React practices, regressions, and missing tests.
最佳實務
- 先審查 diff,再使用專案命令確認高風險區域。
- 當行為變更或型別涵蓋範圍變弱時,要求聚焦測試。
- 保持審查留言具體、可執行,並連結到已變更的程式碼行。
避免
- 不要只因為格式化通過就核准變更。
- 當聚焦命令已能證明行為時,不要要求大範圍測試執行。
- 不要忽略匯出函式或共用型別上不清楚的 JSDoc。