Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By tuannguyen151v1.0.0In 1 marketplace
Development toolkit for NestJS Clean Architecture — workflows, agents, hooks, and rules for greenfield, brownfield, and bugfix scenarios.
Claude hands work to one, or you mention it with @.
3 cautions to review before installing
A hook runs when Claude uses the Bash tool
A hook runs when Claude writes or edits files
Connects to a remote server outside your machine
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
nestjs, clean-architecture, typescript, workflow, architecture, scaffolding, code-review
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
A comprehensive development toolkit for NestJS projects following Clean Architecture. Provides guided workflows, architecture enforcement, and scaffolding automation.
| Component | Count | Purpose |
|---|---|---|
| Skills | 9 | Architecture guide, greenfield/brownfield/bugfix workflows, CASL, exceptions, Swagger, testing, library docs |
| Agents | 8 | Architecture reviewer, feature scaffolder, CASL advisor, API docs writer, migration manager, performance analyzer, seed generator, test generator |
| MCP Servers | 2 | Serena (code intelligence), Context7 (library docs) |
| Hooks | 4 | Session context loader, dangerous command guard, auto-format on edit, post-stop validation |
| Rules | 5 | Domain purity, use-case structure, controller thinness, presenter enforcement, migration |
# From your NestJS project root
cp -r path/to/nestjs-clean-arch-plugin .
# Then start Claude Code — it will auto-discover the plugin
copilot --plugin-dir /path/to/nestjs-clean-arch-plugin
claude --plugin-dir /path/to/nestjs-clean-arch-plugin
Rules are project-level configuration files. Copy them to your project's .claude/rules/ directory:
mkdir -p .claude/rules
cp nestjs-clean-arch-plugin/rules/*.md .claude/rules/
nestjs-clean-architectureCore reference guide for the architecture. Covers all 5 layers (Domain → Use Cases → Adapters → Infrastructure → Modules), naming conventions, CASL authorization, and common pitfalls.
Triggers: "how should I structure...", "which layer...", "clean architecture", "implement a feature"
greenfield-workflowStep-by-step 12-phase workflow for building new features from scratch. Includes pre-flight checklist, decision trees, and a complete worked example (Comment entity).
Triggers: "add a new feature", "create new entity", "new resource", "greenfield"
brownfield-workflowImpact analysis and modification workflow for safely changing existing features. Covers 6 change types (field addition, new endpoint, relation, enum, logic change, refactor).
Triggers: "add a field", "modify existing", "extend feature", "add endpoint", "brownfield"
bugfix-workflow5-phase diagnosis methodology (Reproduce → Locate → Understand → Fix → Verify) with layer-specific debugging strategies and a catalog of common bugs.
Triggers: "fix a bug", "failing test", "not working", "error", "debug"
casl-authorizationStep-by-step guide for implementing CASL-based authorization. Covers ability interfaces, factory rules, @CheckPolicies decorator, ownership vs. role-based checks, and test mocking.
Triggers: "add authorization", "CASL", "check policies", "forbidden", "permission"
exception-handlingGuide for injecting and using the IException interface across use cases. Covers all 5 exception types, ExceptionsModule wiring, error code conventions, and test mocking patterns.
Triggers: "throw exception", "not found", "bad request", "IException", "error handling"
swagger-api-docsOpenAPI/Swagger documentation guide. Covers custom decorators (ApiResponseType, ApiCreatedResponseType), DTO and presenter @ApiProperty rules, and pre-commit checklist.
Triggers: "swagger", "openapi", "api docs", "ApiProperty", "document endpoint"
testing-patternsComplete testing reference. Covers use case, controller, and infrastructure tests; AAA pattern; naming conventions (inputX, mockX, actualX, expectedX); Symbol token injection; and Docker test commands.
Triggers: "write tests", "unit test", "spec file", "mock", "test pattern"
context7-mcpFetches up-to-date library documentation and code examples via the Context7 API. Automatically activates when asking about frameworks, libraries, or API references.
Triggers: "How do I configure NestJS...", "TypeORM query for...", "What are the Jest methods..."
architecture-reviewer (cyan)Reviews code changes for Clean Architecture violations. Checks dependency direction, domain purity, naming conventions, and missing layers. Reports with severity levels (🔴 Critical / 🟡 Warning / 🔵 Info).
Usage: "Review my changes for architecture violations"
feature-scaffolder (green)Generates all boilerplate files for a new feature/entity: domain entity, repository interface, use cases, TypeORM entity, repository implementation, DTOs, presenters, controller, module, stubs, and tests.
Usage: "Scaffold a Comment entity with content, taskId, userId fields"
casl-policy-advisor (magenta)Designs and implements CASL authorization for new or existing entities. Reads existing ability files, adds TSubject entries and factory rules, applies @CheckPolicies, and updates tests.
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub tuannguyen151/foxdemon-plugins --plugin nestjs-clean-archPlugins from other owners that cover similar ground