/dev-workflow:typescript-magicianfrom dev-workflow
Designs complex generic types, refactors any types to strict alternatives, creates type guards and utility types, and resolves TypeScript compiler errors. Use for type challenges, generics, inference, and strict typing.
Ships in dev-workflow. 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 typesATTRIBUTION.md (opens in a new tab)LICENSE (opens in a new tab)rules/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
npx claudepluginhub hackernoon/cuttlefish-agent-skills --plugin dev-workflow530 skills in this plugin
/accessibilityAudit and improve web accessibility following WCAG 2.1 guidelines. Use when asked to "improve accessibility", "a11y audit", "WCAG compliance", "screen reader support", "keyboard navigation", or "make accessible". Do NOT use for SEO (use seo), performance (use core-web-vitals), or comprehensive site audits covering multiple areas (use web-quality-audit)./addyosmani-accessibilityaccessibilityAudit and improve web accessibility following WCAG 2.2 guidelines. Use when asked to "improve accessibility", "a11y audit", "WCAG compliance", "screen reader support", "keyboard navigation", or "make accessible"./Other plugins' skills for the same job