sickn33/agentic-awesome-skills / plugins/agentic-awesome-skills-claude/skills/agents-generator
agents-generator
VerifiedGenerate project-specific AGENTS.md and companion rules by analyzing a codebase. Supports full, minimal, update, and dry-run modes with package-manager detection, monorepos, backups, managed blocks, confidence scoring, and command validation.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 9.7 KB |
| assets/agents-full.md | markdown | 11.8 KB |
| assets/agents-minimal.md | markdown | 1.8 KB |
| assets/agents-nested.md | markdown | 1.8 KB |
| assets/architecture.md | markdown | 1.6 KB |
| assets/backend.md | markdown | 1.5 KB |
| assets/claude.md | markdown | 1.1 KB |
| assets/database.md | markdown | 1.4 KB |
| assets/forms.md | markdown | 1.7 KB |
| assets/frontend-patterns.md | markdown | 1.3 KB |
| assets/git-workflow.md | markdown | 1.8 KB |
| assets/i18n.md | markdown | 1.5 KB |
| assets/platform.md | markdown | 2.8 KB |
| assets/sdd-workflow.md | markdown | 1.7 KB |
| assets/server-actions.md | markdown | 1.0 KB |
| assets/styling.md | markdown | 1.9 KB |
| assets/testing.md | markdown | 1.9 KB |
| references/decision-matrix.md | markdown | 18.5 KB |
| references/example-output/README.md | markdown | 6.0 KB |
| references/template-filling-guide.md | markdown | 5.3 KB |
assets/backend.md
View on GitHub# Backend Patterns (NestJS)
## Module Architecture (Screaming Architecture)
Each business module is a directory with its own module, controller, and service:
```text
src/{feature}/
{feature}.module.ts # NestJS module
{feature}.controller.ts # REST routes
{feature}-crud.service.ts # Business logic
constants.ts # Module constants
__tests__/ # Unit tests
```
## Rules
- DTOs decorated with validation, validated via global pipe (ZodValidationPipe or class-validator).
- Dynamic/unmodelable body: receive as `unknown` in controller, validate/narrow at the trust boundary before using a concrete interface — never `any`.
- When splitting a god service, each new service injects only its own dependencies.
- Services inject the database service from the shared package, not the generated client directly.
- Role-checking: use enum values directly from the shared package.
- Use `@nestjs/swagger` decorators for exposed endpoint documentation.
## Error Handling
- Global exception filter catches all unhandled exceptions.
- Handle database errors: unique constraint, not found, foreign key, relation violation.
- Typed business errors with code + consistent message.
- Standard HTTP exceptions for common cases.
- Auto-log errors >=500 with stack trace.
## Generation Rules
This template is only used when `@nestjs/core` is detected in dependencies. Adapt all paths and module names based on the actual project structure found in `src/`.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness. | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |