一键导入
typescript-standards
TypeScript coding standards for this project. Use when writing TypeScript code, defining types, or working with type safety.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
TypeScript coding standards for this project. Use when writing TypeScript code, defining types, or working with type safety.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Code review of current PR/commit changes against project coding standards. Use when the user asks for a code review or mentions reviewing changes.
Reference for the Tangle component YAML specification format
Guidelines for building well-structured, maintainable ML pipelines in Tangle
Analyzes merged PRs from the past week, identifies user-facing changes, and opens a draft PR to the TangleML/website docs repo with updated documentation. Use when running the weekly documentation sync, or when the user invokes /docs-update.
React and React Compiler patterns for this project. Use when writing React components, hooks, providers, or working with React Compiler compatibility.
Run validation and testing commands for the project. Use when the user asks to validate, lint, typecheck, or run tests.
| name | typescript-standards |
| description | TypeScript coding standards for this project. Use when writing TypeScript code, defining types, or working with type safety. |
any (only use any when absolutely necessary)interface for object shapes, type for unions/primitivessrc/types/Don't use type assertions (as) unless absolutely necessary. Instead prefer:
// Bad
const something: string = myjson as string;
// Good - use type guards or validate the data
function isString(value: unknown): value is string {
return typeof value === "string";
}
src/api/src/utils/componentSpec.ts, src/types/, etc. for core business logicsrc/api/types.gen.ts when directly interfacing with APIs or when domain types don't existsrc/services/