- name
SKILL.md
技能文件保留在发布者的仓库中。
在终端中粘贴复制的命令。它会把这个 SKILL.md 安装到对应的智能体中。
npx skills add sno-ai/sno-station-skills --skill ts-coder -a cursor -y在终端中粘贴复制的命令。它会把这个 SKILL.md 安装到对应的智能体中。
npx skills add sno-ai/sno-station-skills --skill ts-coder -a claude-code -y在终端中粘贴复制的命令。它会把这个 SKILL.md 安装到对应的智能体中。
npx skills add sno-ai/sno-station-skills --skill ts-coder -a codex -y在终端中粘贴复制的命令。它会把这个 SKILL.md 安装到对应的智能体中。
npx skills add sno-ai/sno-station-skills --skill ts-coder -a grok -y在 Grok Bot 聊天中发送复制的消息。Bot 会从 GitHub 获取这个 SKILL.md,并添加到你所有 Bot 共享的技能中。
Install this skill: https://github.com/sno-ai/sno-station-skills/tree/HEAD/plugins/sno-station-standalone/skills/ts-coder来自发布者
Every development task has a finite budget including setup, tests, and reporting. Before running tests, estimate duration from available timings and identify the changed behavior or directly affected consumer. If timing is unknown, state an estimate; do not build a timing system or run a preliminary suite. Full evaluation, unit, integration, or repository suites require the owner's explicit request, never a skill, PRD, review, or default command. Remove checks that neither prove the requested main function nor expose its defects. Repeat only after a relevant change or failure. Every new security check requires the owner's explicit approval for that specific check; remove auxiliary security, assertion, hash, or bookkeeping blockers of useful work.
Write TypeScript that fits the current repository, stays small, and is easy to verify. Local repo instructions add project-specific detail; they do not weaken these rules.
package.json, lockfiles, tsconfig*); the target file, its exports, direct callers, shared helpers, and tests. Reuse source-of-truth schemas/types instead of duplicating shapes.unknown + narrowing over any. Type guards or schema validation over assertions; a narrow assertion only at a validated boundary, with a short comment. No non-null assertions — narrow with control flow or fail early.as const satisfies for literal maps that need exhaustiveness.zod, valibot, generated types, or local validators). Fail clearly — no fallback behavior that hides invalid state.finally or explicit teardown.Hard cut by default: replace the old path rather than running old and new together. No compatibility aliases, duplicate parsing, legacy env names, or fallback resolution unless explicitly requested. For a published package, inspect its actual external contract and the owner's settled instruction. Preserve that contract unless a breaking change is authorized. Resolve routine implementation choices directly; ask only if a new fact requires an owner decision, and continue independent work. Preserve unrelated local modifications and user work; never rewrite history or reset files to make a migration easier.
Narrowest relevant checks first, broader when the change touches shared behavior:
Every "done" claim must trace to a command actually run this session; if a check fails, report the failure with its output — never report done with errors outstanding.
Report: what changed and why; the compatibility decision if the task touched public API, data formats, env/config names, or migration behavior; the verification commands actually run and their results; any remaining conflict or cleanup item intentionally not changed.
Implement and refactor production TypeScript/TSX, strict types, APIs, and migrations.
---name: ts-coderdescription: Implement and refactor production TypeScript/TSX, strict types, APIs, and migrations.---# plugins/sno-station-standalone/skills/ts-coder/SKILL.md常见问题
从发布者处下载 plugins/sno-station-standalone/skills/ts-coder/SKILL.md,或复制路径后打开仓库。PlugMCP 只收录该技能,不托管文件。
发布者将它存放在 https://github.com/sno-ai/sno-station-skills。
Claude、Cursor、Codex 和 Grok Build 可以读取你从发布者仓库添加的 SKILL.md。在聊天中发送技能的 GitHub 文件夹链接,Grok Bot 就会安装它。