lint-typecheck
驗證前端 Lint 與型別
前端變更可能在審查前引入 lint 警告和 TypeScript 錯誤。此技能會執行標準檢查並回報可採取行動的結果。
使用我的智慧代理安裝
將此請求複製給你的智慧代理,其中包含權威 Skill 頁面和清單。
Review the Skillstore skill "lint-typecheck" from https://skillstore.io/skills/applelamps-lint-typecheck.md and its manifest at https://skillstore.io/api/skills/applelamps-lint-typecheck/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.你的智慧代理仍應顯示其計畫,並依安全政策請求必要確認。
Agent 可讀資源
當 AI Agent、爬蟲或腳本需要乾淨脈絡、而不是讀取完整頁面時,請使用這些連結。
測試它
正在使用「lint-typecheck」。 在前端執行 lint。
預期結果:
Lint 已完成,有兩個警告且沒有錯誤。警告已依檔案列出,方便後續處理。
正在使用「lint-typecheck」。 提交前檢查型別錯誤。
預期結果:
型別檢查在某個元件 prop 中發現一個不相符。報告列出了檔案和預期型別。
正在使用「lint-typecheck」。 驗證前端並修復安全的 lint 問題。
預期結果:
檢查發現可自動修復的 lint 問題。助理會在套用變更前要求確認。
安全審計
安全All five findings are false positives caused by Markdown code formatting, not shell backtick execution. The fixed project-local checks do not expose a command injection path, and automatic lint fixes require user confirmation. No prompt injection, exfiltration intent, or other semantic security issue was found.
風險因素
分享與引用此報告
分享版本化評估報告、中性徽章、嵌入卡片與引用。Skillstore 只報告證據,不判斷該 Skill 是否安全。
複製報告連結
https://skillstore.io/skills/applelamps-lint-typecheck/audits/9?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown 徽章
[](https://skillstore.io/skills/applelamps-lint-typecheck?utm_source=security_passport_badge)HTML 徽章
<a href="https://skillstore.io/skills/applelamps-lint-typecheck?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/applelamps-lint-typecheck/security.svg" alt="Skillstore security assessment" loading="lazy"></a>嵌入卡片
<iframe src="https://skillstore.io/embed/skills/applelamps-lint-typecheck.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 引用
AppleLamps. (2026). lint-typecheck security audit report (audit version 9) [Author version unspecified]. Skillstore. https://skillstore.io/skills/applelamps-lint-typecheck/audits/9BibTeX 引用
@techreport{applelamps-applelamps-lint-typecheck-2026,
author = {AppleLamps},
title = {lint-typecheck security audit report (audit version 9)},
institution = {Skillstore},
year = {2026},
number = {9},
url = {https://skillstore.io/skills/applelamps-lint-typecheck/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: "lint-typecheck security audit report (audit version 9)"
version: "unspecified"
type: report
authors:
- name: "AppleLamps"
date-released: "2026-07-23"
url: "https://skillstore.io/skills/applelamps-lint-typecheck/audits/9"
identifiers:
- type: other
value: "skillstore:applelamps-lint-typecheck:audit:9"
description: "Skillstore immutable audit report identifier"
Skillstore 評分
評分依據 證據置信度: 高你可以打造什麼
提交前驗證
在提交前端變更前執行 lint 和型別檢查。
Pull Request 審查
在審查前檢查分支是否有 lint 或型別問題。
重構驗證
確認 TypeScript 重構沒有破壞靜態檢查。
試試這些提示
執行前端 lint 和型別檢查。回報警告、lint 錯誤和型別錯誤。
在我提交前驗證前端。包含每個回報問題的檔案位置。
執行 TypeScript 檢查,並摘要每個型別不符及受影響的檔案。
執行 lint 和型別檢查。如果 ESLint 可以自動修復問題,請在套用修復前先詢問。
最佳實務
- 在開啟或更新 pull request 前執行檢查。
- 在套用自動修復前先檢閱完整問題清單。
- 直接修復 TypeScript 錯誤,而不是壓制編譯器設定。
避免
- 不要在未經使用者核准的情況下執行自動修復。
- 不要在分流處理時忽略回報的檔案位置。
- 不要只為了消除錯誤而變更 TypeScript 設定。
常見問題
此技能會檢查什麼?
它會修改檔案嗎?
它可以修復 TypeScript 錯誤嗎?
它使用哪些工具?
它可以在前端專案以外使用嗎?
它在提交前有用嗎?
開發者詳細資訊
作者
AppleLamps授權
MIT
Skillstore 修訂
r2
版本提示
作者未聲明版本。
引用
89edfdc710d0846129dcee6a929477b04f08052c
維護新鮮度
2026/7/25
使用量
8 次下載 · 183 次瀏覽
檔案結構
📄 SKILL.md