Coding Standards Skill for Explicit TypeScript Results
Review naming, types, and expected errors so a caller can narrow a result before reading success-only fields.
中文Install in Claude Code
Use your TypeScript checkout and its existing type check. The example parses a local catalog limit.
- Get the complete `docs/zh-TW/skills/coding-standards` directory from the pinned GitHub commit.
- Copy it into the target project's `.claude/skills/`. Check `.claude/skills/coding-standards/SKILL.md`, start Claude Code at the project root, and call `/coding-standards`.
Example task
Have parseLimit return a success with limit or a failure with reason. Test '20', empty, and 'abc'. Read limit only from the success branch.What to check
All three inputs have observable outcomes. The type check rejects reading limit from failure.
Original SKILL.md on GitHub · Updated
Frequently asked question
Can I use any so the new type passes immediately?
Describe known shapes accurately. Treat external values as unknown until validated.