一键导入
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 职业分类
Reproduce a research paper / white paper / arXiv result as a Tangle pipeline. Use when the user asks to "reproduce", "replicate", or "implement" a paper, benchmark, or arXiv link as an experiment.
Drive the open-source Tangle CLI (`tangle-cli`) via Bash for local pipeline/component workflows and API-backed run submission, status, logs, and artifacts. Use whenever an agent needs to validate, hydrate, submit, inspect, or debug Tangle pipelines and runs from the command line.
Answer Tangle product, docs, and how-to questions from a local RAG over the TangleML documentation. Use for conceptual / "what is" / "how do I" lookups, not live run or execution data.
TanStack Router patterns for routing, navigation, search params, and layouts. Use when creating routes, navigating, or working with URL state.
Comprehensive Reveal.js reference for building HTML slide decks. Use whenever the user wants to create, revise, or extend a presentation, slide deck, or talk — especially from Markdown — including transitions, Auto-Animate, Mermaid diagrams, animatable SVG, video, backgrounds, fragments, code highlighting, speaker notes, math, themes, configuration, and PDF export.
Gather, vet, and cite sources for a research question. Use when answering factual questions, comparing options, or producing an evidence-backed write-up.
| 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 or type for object shapes, type for unions/primitives — match the surrounding
file.Don't use type assertions (as) unless absolutely necessary. Instead prefer:
zod v4 is available) for validating external/untrusted data// Bad
const something: string = myjson as string;
// Good — validate, or narrow with a guard
function isString(value: unknown): value is string {
return typeof value === "string";
}
@tangent/shared (e.g. import type { AgentBundleMeta } from "@tangent/shared/contracts") so the
web client and the server agree on one source of truth.api/ modules (e.g.
features/agent-bundles/api/agentBundlesApi.ts) that fetch and parse into those shared types.model/), not in a
global src/types directory.src/api/types.gen.ts) and no componentSpec.ts in this
repo — those belong to tangle-ui (see tangle-domain).AgentBundlesPage.tsx); shared UI primitives use kebab-case (list-row.tsx,
icon-button.tsx); utility/hook modules use camelCase (agentBundlesApi.ts,
useAgentBundles.ts). When unsure, match what's already there.