Skip to content
Agentmart
Submit a tool

ai-skills-conventions-typescript

Apply TypeScript type-safety, naming, runtime-boundary, and layout conventions for implementation and review work.

Skill by fabian-barney

IndexedApache-2.0★ 1
Write a review

Chalk Labs

Need help deploying ai-skills-conventions-typescript?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/fabian-barney-ai-skills-conventions-typescript

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Apply TypeScript type-safety, naming, runtime-boundary, and layout conventions for implementation and review work.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/ai-skills-conventions-typescript

What's inside

Skill name
ai-skills-conventions-typescript
Description
Apply TypeScript type-safety, naming, runtime-boundary, and layout conventions for implementation and review work.
License
Apache-2.0
Instructions
115 lines in SKILL.md · view on GitHub

Files (4)

  • SKILL.md
  • multiline-arguments.md · examples/
  • typescript-layout-defaults.md · references/
  • typescript-safety-defaults.md · references/

SKILL.md (first lines)

<!-- markdownlint-disable MD025 -->

# Purpose

Apply the default TypeScript conventions for strict configuration, type
strategy, runtime boundaries, naming, error handling, decorators, module design,
and multiline layout.

# When to Use

- use when implementing or reviewing TypeScript code that introduces or edits
  types, APIs, runtime boundary handling, async/error handling, naming, module
  structure, or comma-separated layout
- use when reviewing `tsconfig` or CI type-checking defaults
- use when a TypeScript structure reaches four or more elements and the layout
  should switch to the multiline default
- use `references/typescript-safety-defaults.md` for strict compiler, typing,
  boundary, naming, enum, error, and decorator defaults
- use `references/typescript-layout-defaults.md` for the exact multiline and
  trailing-comma rules
- use `examples/multiline-arguments.md` when showing the expected TypeScript
  layout shape

# Inputs

- the changed TypeScript files, compiler settings, public APIs, and affected
  comma-separated structures
- whether strict compiler options and CI type checking are enabled
- domain types, ad-hoc object shapes, boundary payloads, casts, and `any` or
  `unknown` usage in the changed scope
- naming, enum/literal-union, error-handling, async, decorator, and JSDoc
  decisions in the changed scope
- whether the structure has reached four or more elements
- whether the surrounding project formatter or linter already enforces the same
  TypeScript layout
- `references/typescript-safety-defaults.md`
- `references/typescript-layout-defaults.md`

# Workflow

1. Verify strict TypeScript configuration and CI type-checking expectations
   using `references/typescript-safety-defaults.md`.
2. Review changed types and public signatures for precise domain types, named
   boundary contracts, and local-only ad-hoc objects.
3. Reject broad `any` usage except at isolated boundaries that immediately
   narrow to safe types; prefer `unknown` for untrusted input.
4. Verify runtime validation for untrusted external data before domain use.
5. Check explicit nullability, safe optionality, and justified non-null
   assertions.
6. Check TypeScript naming, enum/literal-union choices, async error handling,
   and decorator/JSDoc ordering.
7. Identify every changed TypeScript argument list, parameter list, or other
   comma-separated structure in scope.
8. If the structure has four or more elements, switch it to multiline layout
   with one element per line.
9. In multiline mode, put the opening and closing delimiters on their own lines
   rather than sharing a line with the first or last element.
10. In multiline mode, keep a trailing comma after the last element whenever the
   TypeScript syntax supports it.
11. If the project formatter or linter already enforces the same TypeScript
   layout, align the change with that tooling rather than hand-formatting
   against it.
12. Use `examples/multiline-arguments.md` when communicating the expected
   TypeScript layout.

# Outputs

- strict TypeScript configuration and CI type checking preserved or explicit
  blockers surfaced
- precise domain types, safe narrowing, explicit runtime boundary validation,
  and safe nullability decisions
- TypeScript naming, enum/literal-union, async error-handling, and decorator
  ordering that follow the shared defaults
- TypeScript comma-separated structures that follow the multiline layout
  default for four or more elements
- trailing commas on multiline TypeScript structures where supported
- review findings when the TypeScript layout remains inconsistent with the
  stated default

# Guardrails

- do not weaken `strict` type checking or required TypeScript compiler defaults
  without documenting the project constraint
- do not allow broad `any` leakage; isolate unavoidable `any` at boundaries and
  narrow immediately
- do not trust runtime payloads because TypeScript types exist
- do not leave non-null assertions, unsafe casts, or optional lifecycle fields
  unjustified
- do not let shared or domain-shaped ad-hoc objects remain unnamed contracts
- do not use heterogeneous enums or serialized enums without explicit string
  values
- do not keep four-or-more-element TypeScript structures on one line when the
  multiline default should apply
- do not place the first or last multiline element on the same line as the
  opening or closing delimiter
- do not omit the trailing comma from a multiline TypeScript structure when the
  syntax supports it
- do not fight an existing TypeScript formatter or linter that already enforces
  the same rule

# Exit Checks

- strict compiler and CI type-checking defaults are preserved or blockers are
  explicit
- untrusted data is validated at runtime boundaries before domain use
- public APIs and shared domain data use named, precise types
- `any`, casts, assertions, and optional fields are justified and narrowed
- naming, enum/literal-union, async error-handling, and decorator/JSDoc ordering
  follow TypeScript defaults
- every relevant TypeScript structure with four or more elements uses one
  element per line
- multiline TypeScript delimiters are on their own lines
- multiline TypeScript structures keep their trailing commas where supported
- the final layout is consistent with any active TypeScript formatter or linter

From fabian-barney/ai-skills, Apache-2.0.

More from fabian-barney/ai-skills

Signals

Stars
1
Forks
0
Open issues
2
Last commit (this folder)
May 1, 2026 (6 months ago)
Last release
Jun 2, 2026 (5 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from fabian-barney

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get ai-skills-conventions-typescript running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying ai-skills-conventions-typescript?

CallGet help
Cite this page

ai-skills-conventions-typescript. Agent Mart. https://agentmart.dev/skills/fabian-barney-ai-skills-conventions-typescript (last updated 2026-10-24)