/ak-coding:typescript-magicianfrom ak-coding
Designs complex generic types, refactors `any` to strict types, creates type guards and utility types, and resolves TypeScript compiler errors.
Ships in ak-coding. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Use this skill for:
any types from codebasesWhen invoked:
tsc --noEmit to capture the full error output before making changesany, etc.)any types with proper typing — validate each replacement still satisfies call sitestsc --noEmit passCapabilities include:
For every TypeScript challenge:
any with genericsBefore
function getProperty(obj: any, key: string): any {
return obj[key];
}
After
function getProperty<T, K extends keyof T>(obj: T, key: K): T[K] {
return obj[key];
}
// getProperty({ name: "Alice" }, "name") → inferred as string ✓
Before
async function fetchUser(): Promise<any> {
const res = await fetch("/api/user");
return res.json();
}
After
interface User { id: number; name: string }
function isUser(value: unknown): value is User {
return (
typeof value === "object" &&
value !== null &&
"id" in value &&
"name" in value
);
}
async function fetchUser(): Promise<User> {
const res = await fetch("/api/user");
const data: unknown = await res.json();
if (!isUser(data)) throw new Error("Invalid user shape");
return data;
}
Read individual rule files for detailed explanations and code examples:
as const and typeof[number] indexinginfer to extract types within conditional typesrules/array-index-access.md (opens in a new tab)rules/as-const-typeof.md (opens in a new tab)rules/builder-pattern.md (opens in a new tab)rules/conditional-types.md (opens in a new tab)rules/deep-inference.md (opens in a new tab)rules/error-diagnosis.md (opens in a new tab)rules/function-overloads.md (opens in a new tab)rules/generics-basics.md (opens in a new tab)rules/infer-keyword.md (opens in a new tab)rules/mapped-types.md (opens in a new tab)rules/opaque-types.md (opens in a new tab)rules/template-literal-types.md (opens in a new tab)rules/type-narrowing.md (opens in a new tab)rules/utility-types.md (opens in a new tab)tile.json (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
typescript, generics, type-safety, type-guards, utility-types, advanced-typescript
npx claudepluginhub akallabet/akallabeth-cc-marketplace --plugin ak-coding13 skills in this plugin
/code-review-excellenceMaster effective code review practices to provide constructive feedback, catch bugs early, and foster knowledge sharing while maintaining team morale. Use when reviewing pull requests, establishing review standards, or mentoring developers./e2e-testing-patternsMaster end-to-end testing with Playwright and Cypress to build reliable test suites that catch bugs, improve confidence, and enable fast deployment. Use when implementing E2E tests, debugging flaky tests, or establishing testing standards./error-handling-patternsMaster error handling patterns across languages including exceptions, Result types, error propagation, and graceful degradation to build resilient applications. Use when implementing error handling, designing APIs, or improving application reliability./fastify-best-practicesGuides development of Fastify Node.js backend servers and REST APIs using TypeScript or JavaScript. Use when building, configuring, or debugging a Fastify application — including defining routes, implementing plugins, setting up JSON Schema validation, handling errors, optimising performance, managing authentication, configuring CORS and security headers, integrating databases, working with WebSockets, and deploying to production. Covers the full Fastify request lifecycle (hooks, serialization, logging with Pino) and TypeScript integration via strip types. Trigger terms: Fastify, Node.js server, REST API, API routes, backend framework, fastify.config, server.ts, app.ts./kafkaSet up Kafka-based event-driven microservices with Platformatic Watt.
Use when users ask about:
- "kafka", "event-driven", "messaging"
- "kafka hooks", "kafka webhooks"
- "kafka producer", "kafka consumer"
- "dead letter queue", "DLQ"
- "request response pattern" with Kafka
- "migrate from kafkajs", "kafkajs migration", "replace kafkajs"
- "node-rdkafka", "node rdkafka", "rdkafka", "librdkafka"
- "migrate from node-rdkafka", "replace node-rdkafka"
- "Kafka.Producer", "Kafka.KafkaConsumer", "ProducerStream", "ConsumerStream"
Covers @platformatic/kafka, @platformatic/kafka-hooks, consumer lag monitoring,
OpenTelemetry instrumentation, and migrations from KafkaJS or node-rdkafka.
/nodeProvides domain-specific best practices for Node.js development with TypeScript, covering type stripping, async patterns, error handling, streams, modules, testing, performance, caching, logging, and more. Use when setting up Node.js projects with native TypeScript support, configuring type stripping (--experimental-strip-types), writing Node 22+ TypeScript without a build step, or when the user mentions 'native TypeScript in Node', 'strip types', 'Node 22 TypeScript', '.ts files without compilation', 'ts-node alternative', or needs guidance on error handling, graceful shutdown, flaky tests, profiling, or environment configuration in Node.js. Helps configure tsconfig.json for type stripping, set up package.json scripts, handle module resolution and import extensions, and apply robust patterns across the full Node.js stack.2 plugins ship this exact skill · first indexed Jul 8, 2026
Other plugins' skills for the same job