ai-skills-conventions-typescript
Apply TypeScript type-safety, naming, runtime-boundary, and layout conventions for implementation and review work.
Skill by fabian-barney
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.
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.
About
Reviews
Write a reviewNo 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
- 0.502score
ai-skills-compliance-dependency
fabian-barney
Evaluate dependency additions and upgrades for compliance and governance risk.
SkillCFreshness: C★ 1Claude Code +9 - 0.499score
ai-skills-bootstrap-ci-pipeline
fabian-barney
Establish the initial CI pipeline for a project so build, lint, test, and policy checks run consistently from the start.
SkillCFreshness: C★ 1Claude Code +9 - 0.499score
ai-skills-bootstrap-ai-instructions
fabian-barney
Bootstrap the downstream ai-instructions layer for a repository by following the authoritative upstream setup source instead of copying or reinventing it…
SkillCFreshness: C★ 1Claude Code +9 - 0.499score
ai-skills-bootstrap-project
fabian-barney
Orchestrate the initial project bootstrap by sequencing repository, instruction-layer, framework, CI, and documentation setup in dependency order.
SkillCFreshness: C★ 1Claude Code +9 - 0.499score
ai-skills-code-refactoring
fabian-barney
Refactor code while preserving behavior through scoped coverage, duplication, complexity, CRAP-score, and convention gates.
SkillCFreshness: C★ 1Claude Code +9 - 0.499score
ai-skills-conventions-java
fabian-barney
Apply the default Java conventions by orchestrating the Java-specific leaf skills and the remaining Java baseline rules.
SkillCFreshness: C★ 1Claude Code +9 - 0.499score
ai-skills-conventions-prompt-caching
fabian-barney
Structure prompts and skill bundles so the static prefix stays stable across invocations and Anthropic prompt-prefix caching can hit instead of rebuild.
SkillCFreshness: C★ 1Claude Code +9 - 0.499score
ai-skills-conventions-ternary
fabian-barney
Prefer simple ternary expressions over verbose if-else blocks when the choice is expression-shaped and side-effect-free.
SkillCFreshness: C★ 1Claude Code +9 - 0.496score
ai-skills-conventions-early-return
fabian-barney
Prefer early returns and guard clauses to keep exceptional paths explicit and the happy path linear.
SkillCFreshness: C★ 1Claude Code +9 - 0.496score
ai-skills-design-validation
fabian-barney
Validate contracts as early as possible and distinguish programming mistakes from normal invalid data.
SkillCFreshness: C★ 1Claude Code +9 - 0.496score
ai-skills-conventions-lombok
fabian-barney
Prefer Lombok for applicable Java boilerplate while keeping risky annotations and config choices explicit.
SkillCFreshness: C★ 1Claude Code +9 - 0.496score
ai-skills-conventions-null
fabian-barney
Enforce explicit null contracts, non-null collections by default, and fail-fast handling for illegal nulls.
SkillCFreshness: C★ 1Claude Code +9
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
- Repository
- github.com/fabian-barney/ai-skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from fabian-barney
- 0.502score
ai-skills-compliance-dependency
fabian-barney
Evaluate dependency additions and upgrades for compliance and governance risk.
SkillCFreshness: C★ 1Claude Code +9 - 0.499score
ai-skills-bootstrap-ai-instructions
fabian-barney
Bootstrap the downstream ai-instructions layer for a repository by following the authoritative upstream setup source instead of copying or reinventing it…
SkillCFreshness: C★ 1Claude Code +9 - 0.499score
ai-skills-bootstrap-ci-pipeline
fabian-barney
Establish the initial CI pipeline for a project so build, lint, test, and policy checks run consistently from the start.
SkillCFreshness: C★ 1Claude Code +9 - 0.499score
ai-skills-bootstrap-project
fabian-barney
Orchestrate the initial project bootstrap by sequencing repository, instruction-layer, framework, CI, and documentation setup in dependency order.
SkillCFreshness: C★ 1Claude Code +9 - 0.499score
ai-skills-code-refactoring
fabian-barney
Refactor code while preserving behavior through scoped coverage, duplication, complexity, CRAP-score, and convention gates.
SkillCFreshness: C★ 1Claude Code +9 - 0.499score
ai-skills-conventions-java
fabian-barney
Apply the default Java conventions by orchestrating the Java-specific leaf skills and the remaining Java baseline rules.
SkillCFreshness: C★ 1Claude Code +9
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.
Cite this page
ai-skills-conventions-typescript. Agent Mart. https://agentmart.dev/skills/fabian-barney-ai-skills-conventions-typescript (last updated 2026-10-24)