Agent skill
agregadores-calculo
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/agregadores-calculo
SKILL.md
name: agregadores-performance-potencial description: Use para implementar serviços de agregação que calculam os eixos de Performance e Potencial a partir de evidências.
Instruções da Skill
Implemente serviços puros, determinísticos e testáveis. Agregadores não escrevem no banco e não conhecem UI.
Regras e Passos
-
Modelagem (M):
- Identifique dimensões do eixo (ex.: Entrega, Qualidade, Autonomia).
- Defina pesos e normalização por complexidade de contexto.
-
Lógica (L):
-
Implemente agregadores separados:
PerformanceAggregatorPotentialAggregator
-
Garanta a regra: Potencial só cresce com progressão de complexidade.
-
-
Integração:
- Receba evidências via eventos.
- Retorne DTOs (
AxesResult), nunca Models.
-
Teste (T):
- Teste cálculos com múltiplos contextos e ciclos.
- Teste teto de potencial sem progressão.
Uso de Ferramentas
- Use classes em
app/Domains/Aggregation. - Não use Eloquent dentro dos testes de cálculo (prefira mocks ou collections).
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?