Skip to content

Viniciustda/OiTenta / .agents/skills/module-aggregate

module-aggregate

Verified

Cria a estrutura padronizada de um agregado dentro de um módulo de negócio, organizando pastas, arquivos-base e nomenclaturas de model, provider e usecase para acelerar a evolução consistente do projeto.

assets/usecase/example/create.usecase.ts.tpl

View on GitHub
import { UseCase } from "@oitenta/shared";
import { __AGGREGATE_CLASS_NAME__ } from "../model";
import { __AGGREGATE_REPOSITORY_NAME__ } from "../provider";

export interface Create__AGGREGATE_CLASS_NAME__In {
  entity: __AGGREGATE_CLASS_NAME__;
}

export class Create__AGGREGATE_CLASS_NAME__
  implements UseCase<Create__AGGREGATE_CLASS_NAME__In, __AGGREGATE_CLASS_NAME__>
{
  constructor(
    private readonly __AGGREGATE_VARIABLE_NAME__Repository: __AGGREGATE_REPOSITORY_NAME__,
  ) {}

  async execute(input: Create__AGGREGATE_CLASS_NAME__In): Promise<__AGGREGATE_CLASS_NAME__> {
    // Exemplo minimo para deixar a estrutura pronta para evolucao manual.
    return this.__AGGREGATE_VARIABLE_NAME__Repository.create(input.entity);
  }
}
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 197kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 194kUpdated Claude CodeCodexVerifiedInstall