aos-feature
Skill1 starsChanged 7 months agoMITView on GitHub
Generates a complete vertical feature slice following ArchitectOS patterns — service, controller, repository interface, DTOs, and unit tests in one pass. Use when user wants to generate, add, or implement a feature, endpoint, module, or domain entity.
In this repository18 other files it gives its agents.
- AGENTS.mdAGENTS.md
- aos-auditSkill
- aos-ciSkill
- aos-codereviewSkill
- aos-debuggingSkill
- aos-frontendSkill
- aos-generateSkill
- aos-hardeningSkill
- aos-implementing-featuresSkill
- aos-pragmaticSkill
- aos-qaSkill
- aos-refactorSkill
- aos-reviewSkill
- aos-scaffoldSkill
- aos-setupSkill
- aos-tddSkill
- aos-uxSkill
- aos-vuetifySkill
The file
Files
/aos-feature
/aos-feature <name> [stack]Examples
/aos-feature user nestjs
/aos-feature order fastapi
/aos-feature product react
/aos-feature invoice vueWhat gets generated
Backend (NestJS / FastAPI):
src/modules/<name>/
dto/
create-<name>.dto.ts — validated input
update-<name>.dto.ts
<name>-response.dto.ts — safe output (no entity exposure)
entities/
<name>.entity.ts — domain entity
repositories/
<name>.repository.ts — interface (not implementation)
services/
<name>.service.ts — all business logic here
<name>.service.spec.ts — behavior-focused unit tests
controllers/
<name>s.controller.ts — thin, one line per route
<name>s.module.tsFrontend (React / Vue):
src/modules/<name>s/
api/<name>sApi.ts — HTTP calls only, no logic
hooks/use<Name>s.ts — data fetching with React Query / Vue composable
hooks/useCreate<Name>.ts — mutation hook
components/<Name>List.tsx — display component
components/<Name>Form.tsx — form component
types/<name>.ts
index.ts — public API for the moduleWorkflow
- Ask for feature name and stack if not in the command. Ask frontend, backend, or fullstack.
- Generate all files in one pass — complete and runnable, no placeholders.
- Include tests — at minimum, happy path and one error path per service method.
- Summarize — list every file created and note any assumptions (e.g. UUID PKs, JWT auth assumed).
Code rules applied
- DTOs use class-validator (NestJS), Pydantic (FastAPI), or Zod (plain Node)
- Services throw domain errors — not HTTP exceptions
- Controllers have
@UseGuards(JwtAuthGuard)on all non-public routes - Repository interface lives in domain layer; implementation lives in infrastructure
- No
anyin TypeScript; type hints on all Python functions - Test names:
should throw ConflictError when email is already taken
Stack patterns
Full code examples for NestJS, FastAPI, Vue, and React: See REFERENCE.md
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

