ccolosimo3/agent-workflow/typescript-engineering

Claude Code and agent skill by ccolosimo3/agent-workflow

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Apply expert TypeScript type, API, and boundary design when materially reading, designing, editing, or reviewing .ts or .tsx code. Use for domain models, parsing, refactors, and correctness-sensitive TypeScript; not for generated declarations or unrelated prose.

Install

npx vskill@latest install ccolosimo3/agent-workflow/typescript-engineering

SKILL.md

The same SKILL.md was published earlier as ccolosimo3/agent-workflow/typescript-engineering.

TypeScript Engineering

Strengthen the selected task with TypeScript-specific judgment. This skill does not select a workflow phase, widen scope, require an artifact, or replace the repository's instructions, compiler configuration, generated owners, or public contracts.

Model the domain

  • Use discriminated unions when values have real variants with different valid

fields. Do not use a bag of optional fields that admits contradictory states.

  • Prefer the simplest type that keeps the required operations total. Strengthen

an array, primitive, or object only where the looser type causes assertions, impossible-case throws, or repeated defensive checks.

  • Brand or wrap primitives only when confusing two values is a credible defect

and the repository has or earns a stable construction boundary.

  • Derive from the authoritative schema, generated client, function signature,

or existing domain owner before declaring a parallel interface.

  • Prefer a clear local representation over clever type-level machinery that

shifts complexity to every reader or caller.

Keep boundaries honest

  • Treat external, persisted, decoded, configuration, environment, and

user-controlled data as untrusted until the owning boundary parses or narrows it into a named type. Static types do not replace runtime validation.

  • Make guards verify every fact their return type promises. Prefer ordinary

discriminant, in, typeof, or instanceof narrowing before a custom guard.

  • Use exhaustive handling when adding a variant should force callers to make a

decision. Keep the compiler error close to the match.

  • Prefer satisfies when checking a value while retaining useful literal

inference.

  • Treat any, casts, non-null assertions, and assertion functions as evidence

the compiler lacks a proof. Remove them when a better model or boundary check is practical. When a library limitation or already-proven invariant requires one, keep it narrow, local, and reviewable rather than pretending casts are universally forbidden.

Shape usable APIs

  • Design from caller usage and keep names aligned with repository vocabulary.
  • Use an options object when several arguments are confusable or the call is

likely to evolve. Keep simple positional APIs when they are clearer or a hot path makes allocation material.

  • Preserve inference where it helps callers. Do not add annotations that merely

repeat what the compiler already knows.

  • Keep dynamic open records at genuinely dynamic boundaries. After validation,

expose stable named contracts rather than spreading Record<string, unknown>.

Verify proportionally

Follow the repository's real verification routes and the active workflow's testing authority. Prefer a focused proof of observable behavior over tests that only restate a type or mock the implementation. Preserve generated files and unrelated formatting, and report any remaining runtime fact the type system cannot establish.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/ccolosimo3/agent-workflow/typescript-engineering/badge)](https://verified-skill.com/skills/ccolosimo3/agent-workflow/typescript-engineering)

Something wrong with this skill or its page? Tell us.