Skill Creator

jagreehal

17 published skills · 0 GitHub stars across the catalog. View on GitHub ↗

testing-strategy

jagreehal's avatarfrom jagreehal

Test pyramid approach with unit, integration, and load tests. DI enables testability. Use vitest-mock-extended for typed mocks.

fn-args-deps

jagreehal's avatarfrom jagreehal

Enforce the fn(args, deps) pattern: functions over classes with explicit dependency injection

result-types

jagreehal's avatarfrom jagreehal

Never throw for expected failures. Use Result<T, E> types with explicit error handling and workflow composition.

resilience

jagreehal's avatarfrom jagreehal

Add retry, timeout, and circuit breaker patterns at the workflow level. Business functions stay clean.

config-management

jagreehal's avatarfrom jagreehal

Validate config at startup, secrets in memory only. Never read config during requests, never store secrets in env vars. Use node-env-resolver for multi-source config.

pattern-enforcement

jagreehal's avatarfrom jagreehal

Enforce architectural patterns with ESLint rules. Block infra imports, enforce object params, prevent server/client leaks.

code-flow-analysis

jagreehal's avatarfrom jagreehal

Trace code execution path before implementing fixes. Forces understanding of fn(args, deps) flows, Result types, and workflow composition. Prevents guessing by requiring file:line references and execution diagrams.

design-principles

jagreehal's avatarfrom jagreehal

Software design beyond syntax. Fail-fast over fallbacks, explicit over implicit, composition over inheritance. Integrates with fn(args, deps) and Result type patterns.

critical-peer

jagreehal's avatarfrom jagreehal

Professional skepticism with pattern enforcement. Verify before agreeing, challenge violations, propose instead of asking. Concise output, research before asking, answer questions literally.

strict-typescript

jagreehal's avatarfrom jagreehal

Enforce patterns with TypeScript beyond strict:true. Include noUncheckedIndexedAccess, erasableSyntaxOnly, ts-reset, and type-fest.

tdd-workflow

jagreehal's avatarfrom jagreehal

Test-driven development with Result types. Red-green-refactor cycles using vitest-mock-extended, explicit deps mocking, and Result assertions.

session-continuity

jagreehal's avatarfrom jagreehal

Persist task state across sessions using .claude/ files. Resume work with 'continue'. Never use TodoWrite - use tasks.md, requirements.md, session.md instead.

validation-boundary

jagreehal's avatarfrom jagreehal

Validate at the boundary with Zod schemas and branded types. Business functions trust validated input.

debugging-methodology

jagreehal's avatarfrom jagreehal

Evidence-based debugging. Instrument before guessing, trace before theorizing. Uses observability patterns to make failures visible and systematic.

performance-testing

jagreehal's avatarfrom jagreehal

Load testing, chaos engineering, and performance validation. Prove your system works under pressure with k6, trace correlation, and progressive load profiles.

storybook-journeys

jagreehal's avatarfrom jagreehal

Create Storybook "user journey" storyboards for React apps (page/screen stories, MSW API mocking, interaction play functions, and optional Storybook test-runner setup). Use when the user wants Storybook demos of flows (not just atomic components), e.g., signup/login/checkout, with mocked APIs and scripted interactions.

observability

jagreehal's avatarfrom jagreehal

Make functions observable with trace() wrapper, structured logging (Pino), and OpenTelemetry. Observability is orthogonal to business logic.