Skip to content

hackbrasil-2026-bora/OiTenta / .agents/skills/module-aggregate

module-aggregate

Unverified

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/crud/find-by-id.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 Find__AGGREGATE_CLASS_NAME__ByIdIn {
  id: string;
}

export class Find__AGGREGATE_CLASS_NAME__ById
  implements UseCase<Find__AGGREGATE_CLASS_NAME__ByIdIn, __AGGREGATE_CLASS_NAME__ | null>
{
  constructor(
    private readonly __AGGREGATE_VARIABLE_NAME__Repository: __AGGREGATE_REPOSITORY_NAME__,
  ) {}

  async execute(
    input: Find__AGGREGATE_CLASS_NAME__ByIdIn,
  ): Promise<__AGGREGATE_CLASS_NAME__ | null> {
    return this.__AGGREGATE_VARIABLE_NAME__Repository.findById(input.id);
  }
}
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: 198kUpdated 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