sno-ai/sno-station-skills / plugins/sno-station-standalone/skills/ts-coder
ts-coder
VerifiedImplement and refactor production TypeScript/TSX, strict types, APIs, and migrations.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 5.4 KB |
| scripts/selftest/run-selftest.shexecutable | script | 1.2 KB |
scripts/selftest/run-selftest.sh
View on GitHub#!/usr/bin/env bash
# Text contract for this skill only. Reads nothing outside this payload.
set -Eeuo pipefail
selftest_dir="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd)"
skill="$(cd -- "$selftest_dir/../.." && pwd)/SKILL.md"
python3 - "$skill" <<'PY'
import pathlib
import sys
text = " ".join(pathlib.Path(sys.argv[1]).read_text(encoding="utf-8").split())
rules = {
"no backward compatibility": "No legacy paths, compatibility wrappers, migration shims, dual-format support, or fallback behavior unless explicitly requested.",
"no any escape hatch": "`unknown` + narrowing over `any`.",
"no speculative work": "No unrequested options/flags/configurability",
"deterministic decisions stay in code": "belong in code, never in a model call.",
"no unrequested suite expansion": "Never expand to a package-wide or workspace-wide test suite without an explicit human request.",
"no done over failing checks": "never report done with errors outstanding.",
}
missing = [name for name, phrase in rules.items() if phrase not in text]
if missing:
raise SystemExit(f"ts-coder: missing load-bearing rules: {', '.join(missing)}")
PY
printf 'ts-coder text contract passed\n'
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| receiving-code-reviewobra/superpowersUse when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or blind implementation | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| requesting-code-reviewobra/superpowersUse when completing tasks, implementing major features, or before merging to verify work meets requirements | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| using-git-worktreesobra/superpowersUse when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallback | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| verification-before-completionobra/superpowersUse when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |