AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Typescript Engineering

skill-mfmezger-ai-agent-dotfiles-typescript-engineering · by mfmezger

Comprehensive TypeScript engineering guidance for coding agents. Use when writing, reviewing, refactoring, or debugging TypeScript or TSX code; designing public APIs; fixing tsconfig or strict-mode issues; resolving generic, union, narrowing, async, module, or type-inference problems; improving runtime validation, testability, and performance; or reviewing TypeScript pull requests for safety and…

No reviews yet
0 installs
13 views
0.0% view→install

Install

$ agentstack add skill-mfmezger-ai-agent-dotfiles-typescript-engineering

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-mfmezger-ai-agent-dotfiles-typescript-engineering)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
21d ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Typescript Engineering? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

TypeScript Engineering

Produce TypeScript that is explicit at boundaries, narrow in surface area, and strict enough that refactors fail fast. Prefer inference inside small scopes, explicit types at module boundaries, runtime validation for external data, and simple control flow over clever type tricks.

Workflow

  1. Identify the boundary.

Library: optimize for stable public types, portability, and narrow exports. Application: optimize for operability, runtime validation, and maintainable module boundaries.

  1. Model data before behavior.

Prefer discriminated unions, branded/domain types, and small interfaces over optional-field soup.

  1. Decide where trust begins.

Treat network, env, file, CLI, and user input as unknown until validated.

  1. Keep types and implementation aligned.

Prefer deriving types from values and functions over duplicating parallel definitions.

  1. Use async intentionally.

Model failure and cancellation explicitly; avoid floating promises and hidden concurrency.

  1. Verify before finalizing.

Run the project’s formatter, linter, type checker, and tests. Treat type errors as design feedback.

Load References By Need

| Need | Reference | |---|---| | Project shape, tsconfig, modules, exports, tooling | references/workflow.md | | Boundary validation, error handling, async and promises | references/runtime-and-errors.md | | API design, unions, narrowing, generics, utility types | references/types-and-api-design.md | | React/TSX state, props, hooks, and event typing | references/react-and-tsx.md | | Testing, mocks, fixtures, snapshots, review checklist | references/testing-and-quality.md | | Performance, allocation, iteration, and common footguns | references/performance-and-footguns.md |

Default Standards

  • Enable strict mode and keep it on.
  • Prefer unknown over any at trust boundaries.
  • Validate external data at runtime before treating it as domain data.
  • Prefer discriminated unions over boolean mode flags and optional-field matrices.
  • Keep exports intentional. Avoid giant barrel files that hide ownership and increase coupling.
  • Return typed domain values from core logic; isolate framework types at the edges.
  • Use Promise and await intentionally. Do not leave floating promises.
  • Prefer stable, readable types over maximally clever conditional-type machinery.

Code Review Checklist

  • Are untrusted inputs validated before use?
  • Are unions discriminated cleanly and narrowed safely?
  • Are generic constraints actually helping, or just obscuring the code?
  • Are async failures, cancellation, and promise lifetimes explicit?
  • Are public exports and types narrower than the implementation internals?
  • Is React state or prop modeling preserving invariants instead of pushing checks into render logic?
  • Is the code relying on any, assertions, or non-null operators where better modeling would remove them?

Sources and Influences

This skill synthesizes ideas from the following public TypeScript skill work rather than copying any one source directly:

  • alinaqi typescript: https://agent-skills.md/skills/alinaqi/claude-bootstrap/typescript
  • Metabase typescript-write: https://agent-skills.md/skills/metabase/metabase/typescript-write
  • cosmix typescript: https://agent-skills.md/skills/cosmix/claude-loom/typescript
  • ilude typescript-workflow: https://agent-skills.md/skills/ilude/claude-code-config/typescript-workflow
  • alexei-led writing-typescript: https://agent-skills.md/skills/alexei-led/claude-code-config/writing-typescript

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.