agentsclimarketplace

Typescript

Skill a5c-ai/babysitter/library/specializations/web-development/skills/typescript

TypeScript configuration, strict mode, generics, and type utilities.From its SKILL.md

Install
npx -y skills add a5c-ai/babysitter --skill typescript

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

SKILL.md

1.3 KB, 222 tokens by cl100k_base, as published. Nobody here has run it

TypeScript Skill

Expert assistance for TypeScript configuration and patterns.

Capabilities

  • Configure tsconfig
  • Implement strict typing
  • Create utility types
  • Handle generics
  • Design type-safe APIs

Configuration

// tsconfig.json
{
  "compilerOptions": {
    "strict": true,
    "noUncheckedIndexedAccess": true,
    "exactOptionalPropertyTypes": true,
    "noImplicitReturns": true,
    "noFallthroughCasesInSwitch": true,
    "moduleResolution": "bundler",
    "esModuleInterop": true,
    "skipLibCheck": true
  }
}

Utility Types

// Extract, Omit, Pick
type UserWithoutPassword = Omit<User, 'password'>;

// Conditional types
type NonNullable<T> = T extends null | undefined ? never : T;

// Mapped types
type Readonly<T> = { readonly [P in keyof T]: T[P] };

Target Processes

  • typescript-setup
  • type-safety
  • api-design

What ships with it: 1 file

327 B alongside SKILL.md

Keep looking

Skills are one crate of 326,059. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.