By lety-ai
Review and refactor code using design patterns — detect duplication, god services, and mixed concerns; apply Strategy, Factory, Decorator, Facade, Observer, Container/Presenter, and Custom Hook patterns to the Lety 2.0 stack
Official Claude Code plugin marketplace for the Lety AI team. Distributes skills as installable plugins directly from Claude Code using the /plugin command.
| Plugin | Description |
|---|---|
linear-task | Create Linear issues with user story, Gherkin acceptance criteria, and Definition of Done |
linear-report | Generate weekly activity reports from Linear grouped by project, milestone, and contributor |
pr-develop | Create a PR from a feature/fix/chore branch to develop following GitFlow and Conventional Commits |
pr-staging | Cut a release branch, bump version to RC, and create a PR to staging following GitFlow and semver |
pr-production | Strip RC suffix and create a PR from staging to master for production release following GitFlow |
typeorm | TypeORM best practices for NestJS + DataSource (0.3.x): no raw SQL, Repository/QueryBuilder only, migrations via CLI |
nest-module | Scaffold a complete NestJS module: entity, DTOs, module, gRPC controller, service, unit test, and mock factory |
entity-dto | Generate a TypeORM entity + Create/Update DTOs following official best practices — flags existing code issues |
gateway-controller | Scaffold a complete API Gateway feature: proto files, REST controller, gRPC service, and NestJS module |
test-scaffold | Generate unit tests for NestJS services — minimal mocks, getRepositoryToken, gRPC status code assertions |
migration-helper | Guide TypeORM migration workflow — generate, review, run, revert across tenant/platform/auth schemas |
error-handler | Write, review or fix error handling — BaseRpcException, TypeORM filters, RpcToHttpInterceptor, RMQ ack/nack |
security-review | Review JWT strategies, auth guards, middleware, and security config — flags vulnerabilities against NestJS docs and OWASP |
nextjs-feature | Scaffold a complete Next.js feature module: components, views, services, model, and logic following Screaming Architecture |
react-query | Generate TanStack Query v5 useQuery/useMutation hooks with ApiSDK pattern, queryKey conventions, and cache invalidation |
zod-form | Generate Zod schemas + react-hook-form setup — single and multi-step forms with standardSchemaResolver |
zustand | Scaffold Zustand v5 stores — persisted with partialize/onRehydrateStorage, UI stores, and wizard stores |
ui-component | Create React components following Atomic Design — atoms with CVA+cn()+Radix UI or feature-specific components |
casl | Add or review CASL permission checks — usePermissionsStore, haveSomePermission, route and component-level guards |
websocket | Scaffold NestJS WebSocket gateway with Socket.io, JWT auth guard, tenant room isolation, RabbitMQ broadcast, and Next.js client hook |
design-patterns | Review and refactor code using design patterns — detect duplication, god services, mixed concerns; apply Strategy, Facade, Observer, Container/Presenter, Custom Hook patterns |
pr-review | Review a PR for Lety 2.0 — auto-detects backend/frontend changes, dispatches specialist reviewers in parallel, produces tiered Critical/Important/Suggestion report |
1. Add this marketplace (one-time setup):
/plugin marketplace add https://github.com/lety-ai/lety-skill-hub
2. Browse and install plugins:
/plugin
Opens the plugin manager — go to Discover, select the plugins you want, choose user (global) or project (local), and install.
3. Use the skills:
/linear-task
/linear-report
/pr-develop
/pr-staging
/pr-production
/typeorm
/nest-module
/entity-dto
/gateway-controller
/test-scaffold
/migration-helper
/error-handler
/security-review
/nextjs-feature
/react-query
/zod-form
/zustand
/ui-component
/casl
/websocket
/design-patterns
/pr-review
.claude-plugin/
marketplace.json # Marketplace manifest (lists all plugins)
plugins/
<plugin-name>/
.claude-plugin/
plugin.json # Plugin manifest
skills/
<plugin-name>/
SKILL.md # Skill prompt content
git checkout -b plugin/<name>plugins/<name>/.claude-plugin/plugin.json and skills/<skill-name>/SKILL.md.claude-plugin/marketplace.jsonOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
npx claudepluginhub lety-ai/lety-skill-hub --plugin design-patternsGenerate a TypeORM entity (extending BaseEntity), Create DTO, and Update DTO for Lety 2.0 Backend following official best practices — flags issues in existing code
Generate unit tests for NestJS services — minimal mocks, getRepositoryToken, mock factory with EntityLike type, gRPC status code assertions
Review JWT strategies, auth guards, middleware, and security config in Lety 2.0 Backend — flags vulnerabilities against NestJS and OWASP best practices
Write, review or fix error handling — BaseRpcException with correct gRPC status codes, TypeORM exception filters, RpcToHttpInterceptor mapping, RabbitMQ ack/nack patterns
Scaffold a complete NestJS module for Lety 2.0 Backend: entity, DTOs, module, gRPC controller, service with BaseRpcException, unit test and mock factory — following project conventions
Full-spectrum design patterns skill: Detect anti-patterns, diagnose architectural debt, and generate production-ready refactored code. Covers GoF, SOLID, Clean Architecture, DDD, CQRS, Microservices, and Cloud patterns.
Refactor code following best practices and design patterns
Refactor code following best practices and design patterns
SOLID principles enforcement with automatic project detection and validation for all languages
Senior craftsman methodology for AI-assisted development. DDD, Clean Architecture, TDD, and systematic workflows that transform Claude into a disciplined software engineer.
Enforces best-practice software design & architecture