Skip to content

sickn33/agentic-awesome-skills / plugins/agentic-awesome-skills-claude/skills/agents-generator

agents-generator

Verified

Generate 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.

FileKindSize
SKILL.mdskill md9.7 KB
assets/agents-full.mdmarkdown11.8 KB
assets/agents-minimal.mdmarkdown1.8 KB
assets/agents-nested.mdmarkdown1.8 KB
assets/architecture.mdmarkdown1.6 KB
assets/backend.mdmarkdown1.5 KB
assets/claude.mdmarkdown1.1 KB
assets/database.mdmarkdown1.4 KB
assets/forms.mdmarkdown1.7 KB
assets/frontend-patterns.mdmarkdown1.3 KB
assets/git-workflow.mdmarkdown1.8 KB
assets/i18n.mdmarkdown1.5 KB
assets/platform.mdmarkdown2.8 KB
assets/sdd-workflow.mdmarkdown1.7 KB
assets/server-actions.mdmarkdown1.0 KB
assets/styling.mdmarkdown1.9 KB
assets/testing.mdmarkdown1.9 KB
references/decision-matrix.mdmarkdown18.5 KB
references/example-output/README.mdmarkdown6.0 KB
references/template-filling-guide.mdmarkdown5.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/`.
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: 472kUpdated Claude CodeCodexVerifiedInstall
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: 322kUpdated Claude CodeCodexVerifiedInstall
dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependenciesStars: 322kUpdated Claude CodeCodexVerifiedInstall
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 availableStars: 322kUpdated Claude CodeCodexVerifiedInstall