All authors

Claude Skills by gentleeduck
github.com/gentleeduck20 skills1 installs58 views
- Building A ModuleUse when building a new module in apps/marketplace-api from its business-architecture plan, or when checking one just built against what this repo actually requires - which document answers which question, the order the work has to happen in (plan, schema, migration, model, DTOs, service, controller, IAM, seed, tests, README, SDK), and the traps that have already cost a rebuild here. Part 4 (IAM) is the part people forget. Every rule in it came from something that went wrong on this codebase,...Votes: 0GitHub stars: 48
- Code ReviewReview a diff against a fixed point on two axes - Standards (does it follow what this repo documents?) and Spec (does it do what the issue asked?) - kept separate so neither masks the other. Carries the Fowler smell baseline plus the defects duck-ui's own work has turned up. Use to review a branch, a PR, work in progress, or \"review since X\".Votes: 0GitHub stars: 48
- PrOpen a PR in this repo end to end - base it on master, commit the tree one feature per commit, read the issues it closes, add the changeset a published package needs, write a short body a reviewer takes in at a glance, and confirm the base, assignee and labels landed. Use whenever asked to make, open or push a PR, or to commit a working tree "by feature" so a PR can follow.Votes: 0GitHub stars: 48
- Setup Pre CommitThe commit and push gates in this repo - what husky runs at each hook, what CI runs that the hooks do not, why a push can leave files unstaged, why biome can check nothing in some checkouts, and how to add or change a gate without the hook and CI drifting apart. Use when a hook fails, when asked to add a check at commit or push time, or when tempted to reach for --no-verify.Votes: 0GitHub stars: 48
- TddThe red-green loop and the machinery it runs on in this repo - seams, vertical slices, which file and runner a test belongs in, the Radix ports, the story server, the coverage floor, and the anti-patterns that produce tests nobody can refactor past. Use when writing, fixing or reviewing any test here, building a feature test-first, or when a test passes without being able to fail.Votes: 0GitHub stars: 48
- TsdownBundle TypeScript and JavaScript libraries with blazing-fast speed powered by Rolldown. Use when building libraries, generating type declarations, bundling for multiple formats, or migrating from tsup.Votes: 0GitHub stars: 48
- TurborepoTurborepo monorepo build system guidance. Triggers on: turbo.json, task pipelines, dependsOn, caching, remote cache, the "turbo" CLI, --filter, --affected, CI optimization, environment variables, internal packages, monorepo structure/best practices, and boundaries. Use when user: configures tasks/workflows/pipelines, creates packages, sets up monorepo, shares code between apps, runs changed/affected packages, debugs cache, or has apps/packages directories.Votes: 0GitHub stars: 48
- Typescript Advanced TypesMaster TypeScript's advanced type system including generics, conditional types, mapped types, template literals, and utility types for building type-safe applications. Use when implementing complex type logic, creating reusable type utilities, or ensuring compile-time type safety in TypeScript projects.Votes: 0GitHub stars: 48
- Vercel React View TransitionsGuide for implementing smooth, native-feeling animations using React's View Transition API (`<ViewTransition>` component, `addTransitionType`, and CSS view transition pseudo-elements). Use this skill whenever the user wants to add page transitions, animate route changes, create shared element animations, animate enter/exit of components, animate list reorder, implement directional (forward/back) navigation animations, or integrate view transitions in Next.js. Also use when the user mentions v...Votes: 0GitHub stars: 48
- VitestVitest fast unit testing framework powered by Vite with Jest-compatible API. Use when writing tests, mocking, configuring coverage, or working with test filtering and fixtures.Votes: 0GitHub stars: 48
- Duck CliUse when working with @gentleduck/cli - the command-line tool for initializing projects, scaffolding from templates, and adding components. Covers the init, add, update, remove, diff, and list commands.Votes: 0GitHub stars: 48
- Duck GenUse when working with @gentleduck/gen, the type-safe API route and message code generator for TypeScript. Covers duck-gen.json configuration, NestJS controller scanning, API route type map generation, @duckgen message tagging, i18n type emission, the duck-gen CLI, and the @gentleduck/query typed Axios client.Votes: 0GitHub stars: 48
- Duck IamActivate when working with @gentleduck/iam for RBAC/ABAC authorization, defining roles and policies, creating access control middleware for Express/Hono/Next.js, building permission checks in React, or configuring the duck-iam engine with adapters. Covers role builders, policy builders, rule builders, condition builders, server guards, and client-side permission components.Votes: 0GitHub stars: 48
- Duck PrimitivesUse when building or modifying headless, unstyled @gentleduck/primitives components. Covers the accessibility-first primitive layer: ARIA roles, keyboard navigation, focus management, state machines, scoped context, Slot/asChild, Presence animations, and the compound component architecture. Not for styled components - use duck-ui for that.Votes: 0GitHub stars: 48
- Duck UiUse when working with styled @gentleduck/registry-ui components. Covers importing, composing, styling, and customizing pre-built Tailwind components like Button, Dialog, Select, Tabs, Sidebar, and 50+ others. Use for questions about component props, usage examples, Tailwind theming, dark mode, or which component fits a use case.Votes: 0GitHub stars: 48
- Duck UploadActivate when the user is working with @gentleduck/upload — the file upload engine for React. Covers creating upload clients, configuring strategies (multipart, POST), implementing the UploadApi backend contract, wiring React hooks (useUploader, UploadProvider), progress tracking, persistence, and the upload state machine phases.Votes: 0GitHub stars: 48
- Duck VariantsUse when working with the @gentleduck/variants package - the cva() function for creating type-safe component variant systems. Covers defining variants, extracting VariantProps, compound variants, the 'unset' escape hatch, and ClassValue types. Use for questions about styling patterns, variant authoring, or type inference.Votes: 0GitHub stars: 48
- Duck VimUse when working with @gentleduck/vim - the keyboard command engine. Covers hotkey parsing, key sequence matching, chord bindings, platform-aware mod resolution, key recording, and the React hooks (useKeyBind, useKeySequence, useKeyCommands, useKeyRecorder). Not for vim-the-editor - this is a keyboard shortcut library.Votes: 0GitHub stars: 48
- Pr CommentWrite and post PR comments the way the user writes them - one inline comment per finding on the line it is about, in one or two short plain paragraphs, then a short summary review; plus the shape of an approval and of a reply on a thread. Use whenever asked to comment on a PR, post a finding, reply on a thread, approve, or turn a review finding into a PR comment.Votes: 0GitHub stars: 48
- Duck IamActivate when working with @gentleduck/iam for RBAC/ABAC authorization, defining roles and policies, creating access control middleware for Express/Hono/Next.js, building permission checks in React, or configuring the duck-iam engine with adapters. Covers role builders, policy builders, rule builders, condition builders, server guards, and client-side permission components.Votes: 0GitHub stars: 9