- 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 就會安裝它。