typescript-pro
Build Safer TypeScript Systems
Complex TypeScript features can create unclear APIs and slow feedback. This skill provides structured patterns for types, guards, configuration, and type-safe application design.
使用我的智慧代理安裝
將此請求複製給你的智慧代理,其中包含權威 Skill 頁面和清單。
Review the Skillstore skill "typescript-pro" from https://skillstore.io/skills/jeffallan-typescript-pro.md and its manifest at https://skillstore.io/api/skills/jeffallan-typescript-pro/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.你的智慧代理仍應顯示其計畫,並依安全政策請求必要確認。
Agent 可讀資源
當 AI Agent、爬蟲或腳本需要乾淨脈絡、而不是讀取完整頁面時,請使用這些連結。
測試它
正在使用「typescript-pro」。 Create a safe state model for a request that can load, succeed, or fail.
預期結果:
- A discriminated union for each request state.
- An exhaustive rendering strategy that catches unhandled states.
- A short explanation of how narrowing prevents invalid property access.
正在使用「typescript-pro」。 Review my compiler configuration for a published library.
預期結果:
- Recommended strict compiler options and declaration settings.
- Notes about module resolution and compatibility.
- A prioritized checklist for validating the build.
正在使用「typescript-pro」。 Define a reusable utility type for nested readonly data.
預期結果:
- A recursive utility type design.
- Usage guidance for nested objects and arrays.
- Warnings about compiler performance on deeply nested types.
安全審計
安全All 81 static detections are false positives caused by TypeScript template literals, Markdown fences, instructional configuration, and documentation URLs. The reviewed files contain educational TypeScript examples only; no command execution, credential exfiltration, host reconnaissance, or prompt injection was found.
風險因素
⚙️ 外部命令 (49)
📁 檔案系統存取 (4)
🔑 環境變數 (7)
分享與引用此報告
分享版本化評估報告、中性徽章、嵌入卡片與引用。Skillstore 只報告證據,不判斷該 Skill 是否安全。
複製報告連結
https://skillstore.io/skills/jeffallan-typescript-pro/audits/1?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown 徽章
[](https://skillstore.io/skills/jeffallan-typescript-pro?utm_source=security_passport_badge)HTML 徽章
<a href="https://skillstore.io/skills/jeffallan-typescript-pro?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/jeffallan-typescript-pro/security.svg" alt="Skillstore security assessment" loading="lazy"></a>嵌入卡片
<iframe src="https://skillstore.io/embed/skills/jeffallan-typescript-pro.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 引用
jeffallan. (2026). typescript-pro security audit report (audit version 1) [Author version 1.1.0]. Skillstore. https://skillstore.io/skills/jeffallan-typescript-pro/audits/1BibTeX 引用
@techreport{jeffallan-jeffallan-typescript-pro-2026,
author = {jeffallan},
title = {typescript-pro security audit report (audit version 1)},
institution = {Skillstore},
year = {2026},
number = {1},
url = {https://skillstore.io/skills/jeffallan-typescript-pro/audits/1},
note = {Author version 1.1.0}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "typescript-pro security audit report (audit version 1)"
version: "1.1.0"
type: report
authors:
- name: "jeffallan"
date-released: "2026-09-17"
url: "https://skillstore.io/skills/jeffallan-typescript-pro/audits/1"
identifiers:
- type: other
value: "skillstore:jeffallan-typescript-pro:audit:1"
description: "Skillstore immutable audit report identifier"
比較變體
2 個可安裝變體每位作者的技能都保留為獨立的可安裝項目。推薦變體依 Skillstore 證據排序。
為何此變體排名第一
Skillstore 評分
評分依據 證據置信度: 中你可以打造什麼
Strengthen a TypeScript domain model
Create branded identifiers and discriminated states that prevent common data mix-ups.
Configure a strict monorepo
Plan project references, path mappings, and incremental builds for multiple packages.
Design typed API boundaries
Define request and response types, guards, and error results for reliable client code.
試試這些提示
Review this tsconfig and recommend strict compiler options. Explain each change in simple terms.
Create branded TypeScript types for UserId and OrderId. Show safe constructors and usage examples.
Design a type guard for this unknown API response. Include a discriminated union and clear failure handling.
Propose TypeScript project references, path mappings, and build settings for this multi-package repository. Identify tradeoffs.
最佳實務
- Enable strict compiler settings before adding advanced type abstractions.
- Validate untrusted runtime data with type guards because TypeScript types are erased.
- Keep public API types explicit and test important type contracts.
避免
- Do not use any or broad assertions to silence type errors without documenting the reason.
- Do not treat compile-time types as runtime validation for external input.
- Do not introduce deeply recursive types without checking compiler performance.
常見問題
What TypeScript versions does this skill target?
Can this skill validate API data at runtime?
Does it configure tRPC?
Can it improve an existing tsconfig file?
Will it remove all TypeScript errors?
Is this useful for JavaScript projects?
開發者詳細資訊
作者
jeffallan授權
MIT
作者版本
v1.1.0
Skillstore 修訂
r1
引用
07adf1dffd3a2975d28aef39537f7db8cde3546f
維護新鮮度
2026/9/18
使用量
0 次下載 · 0 次瀏覽
檔案結構