@onion-architect-ai/cli 4.1.0-beta.1 → 4.1.0-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +8 -19
- package/dist/cli.js.map +1 -1
- package/package.json +4 -3
- package/templates/.cursor/agents/compliance/iso-22301-specialist.md +917 -0
- package/templates/.cursor/agents/compliance/iso-27001-specialist.md +641 -0
- package/templates/.cursor/agents/compliance/pmbok-specialist.md +669 -0
- package/templates/.cursor/agents/compliance/security-information-master.md +824 -0
- package/templates/.cursor/agents/compliance/soc2-specialist.md +818 -0
- package/templates/.cursor/agents/deployment/docker-specialist.md +1192 -0
- package/templates/.cursor/agents/meta/agent-creator-specialist.md +1135 -0
- package/templates/.cursor/agents/meta/command-creator-specialist.md +1519 -0
- package/templates/.cursor/agents/meta/metaspec-gate-keeper.md +240 -0
- package/templates/.cursor/agents/meta/onion.md +753 -0
- package/templates/.cursor/agents/research/research-agent.md +292 -0
- package/templates/.cursor/agents/review/corporate-compliance-specialist.md +370 -0
- package/templates/.cursor/commands/common/prompts/README.md +187 -0
- package/templates/.cursor/commands/common/prompts/clickup-patterns.md +144 -0
- package/templates/.cursor/commands/common/prompts/code-review-checklist.md +168 -0
- package/templates/.cursor/commands/common/prompts/git-workflow-patterns.md +235 -0
- package/templates/.cursor/commands/common/prompts/output-formats.md +240 -0
- package/templates/.cursor/commands/common/prompts/technical.md +172 -0
- package/templates/.cursor/commands/common/prompts/validation-rules.md +173 -0
- package/templates/.cursor/commands/common/templates/abstraction-template.md +400 -0
- package/templates/.cursor/commands/common/templates/agent-template.md +353 -0
- package/templates/.cursor/commands/common/templates/business_context_template.md +748 -0
- package/templates/.cursor/commands/common/templates/command-template.md +273 -0
- package/templates/.cursor/commands/common/templates/technical_context_template.md +526 -0
- package/templates/.cursor/commands/development/runflow-dev.md +465 -0
- package/templates/.cursor/commands/docs/build-compliance-docs.md +143 -0
- package/templates/.cursor/commands/git/README.md +606 -0
- package/templates/.cursor/commands/meta/all-tools.md +50 -0
- package/templates/.cursor/commands/meta/analyze-complex-problem.md +186 -0
- package/templates/.cursor/commands/meta/create-abstraction.md +859 -0
- package/templates/.cursor/commands/meta/create-agent-express.md +83 -0
- package/templates/.cursor/commands/meta/create-agent.md +210 -0
- package/templates/.cursor/commands/meta/create-command.md +203 -0
- package/templates/.cursor/commands/meta/create-knowledge-base.md +143 -0
- package/templates/.cursor/commands/meta/create-task-structure.md +150 -0
- package/templates/.cursor/commands/meta/setup-integration.md +257 -0
- package/templates/.cursor/commands/onion/setup.md +843 -0
- package/templates/.cursor/commands/onion.md +168 -0
- package/templates/.cursor/commands/product/README.md +230 -0
- package/templates/.cursor/commands/quick/analisys.md +17 -0
- package/templates/.cursor/commands/validate/collab/pair-testing.md +633 -0
- package/templates/.cursor/commands/validate/collab/three-amigos.md +505 -0
- package/templates/.cursor/commands/validate/qa-points/estimate.md +660 -0
- package/templates/.cursor/commands/validate/test-strategy/analyze.md +1134 -0
- package/templates/.cursor/commands/validate/test-strategy/create.md +392 -0
- package/templates/.cursor/commands/validate/workflow.md +360 -0
- package/templates/.cursor/commands/warm-up.md +91 -0
- package/templates/.cursor/docs/architecture/acoplamento-clickup-problema-analise.md +446 -0
- package/templates/.cursor/docs/architecture/desacoplamento-roadmap.md +360 -0
- package/templates/.cursor/docs/architecture/validacao-fase-1.md +219 -0
- package/templates/.cursor/docs/c4/c4-detection-rules.md +395 -0
- package/templates/.cursor/docs/c4/c4-documentation-templates.md +579 -0
- package/templates/.cursor/docs/c4/c4-mermaid-patterns.md +331 -0
- package/templates/.cursor/docs/c4/c4-templates.md +256 -0
- package/templates/.cursor/docs/clickup/clickup-acceptance-criteria-strategy.md +329 -0
- package/templates/.cursor/docs/clickup/clickup-auto-update-strategy.md +318 -0
- package/templates/.cursor/docs/clickup/clickup-comment-formatter.md +239 -0
- package/templates/.cursor/docs/clickup/clickup-description-fix.md +355 -0
- package/templates/.cursor/docs/clickup/clickup-dual-comment-strategy.md +505 -0
- package/templates/.cursor/docs/clickup/clickup-formatting.md +302 -0
- package/templates/.cursor/docs/clickup/separador-tamanho-otimizado.md +256 -0
- package/templates/.cursor/docs/engineer/pre-pr-acceptance-validation.md +256 -0
- package/templates/.cursor/docs/onion/ESPERANTO.md +278 -0
- package/templates/.cursor/docs/onion/agents-reference.md +832 -0
- package/templates/.cursor/docs/onion/clickup-integration.md +738 -0
- package/templates/.cursor/docs/onion/commands-guide.md +807 -0
- package/templates/.cursor/docs/onion/engineering-flows.md +865 -0
- package/templates/.cursor/docs/onion/getting-started.md +741 -0
- package/templates/.cursor/docs/onion/maintenance-checklist.md +388 -0
- package/templates/.cursor/docs/onion/naming-conventions.md +268 -0
- package/templates/.cursor/docs/onion/practical-examples.md +782 -0
- package/templates/.cursor/docs/product/story-points-integration.md +254 -0
- package/templates/.cursor/docs/product/story-points-validation.md +224 -0
- package/templates/.cursor/docs/reviews/task-manager-docs-review-2025-11-24.md +167 -0
- package/templates/.cursor/docs/strategies/clickup-comment-patterns.md +766 -0
- package/templates/.cursor/docs/strategies/clickup-integration-tests.md +599 -0
- package/templates/.cursor/docs/strategies/clickup-mcp-wrappers-tests.md +854 -0
- package/templates/.cursor/docs/strategies/clickup-regression-tests.md +589 -0
- package/templates/.cursor/docs/strategies/visual-patterns.md +308 -0
- package/templates/.cursor/docs/templates/README.md +624 -0
- package/templates/.cursor/docs/templates/adr-template.md +226 -0
- package/templates/.cursor/docs/templates/analysis-template.md +280 -0
- package/templates/.cursor/docs/templates/execution-plan-template.md +430 -0
- package/templates/.cursor/docs/templates/guide-template.md +367 -0
- package/templates/.cursor/docs/templates/phase-execution-prompt-template.md +504 -0
- package/templates/.cursor/docs/templates/reference-template.md +522 -0
- package/templates/.cursor/docs/templates/solution-template.md +390 -0
- package/templates/.cursor/docs/tools/README.md +325 -0
- package/templates/.cursor/docs/tools/agents.md +330 -0
- package/templates/.cursor/docs/tools/commands.md +606 -0
- package/templates/.cursor/docs/tools/cursor.md +498 -0
- package/templates/.cursor/docs/tools/mcps.md +858 -0
- package/templates/.cursor/docs/tools/rules.md +423 -0
- package/templates/.cursor/rules/language-and-documentation.mdc +371 -0
- package/templates/.cursor/rules/onion-patterns.mdc +197 -0
- package/templates/.cursor/rules/validation-rules.mdc +194 -0
- package/templates/.cursor/utils/clickup-mcp-wrappers.md +671 -0
- package/templates/.cursor/utils/date-time-standards.md +182 -0
- package/templates/.cursor/utils/task-manager/README.md +94 -0
- package/templates/.cursor/utils/task-manager/adapters/asana.md +377 -0
- package/templates/.cursor/utils/task-manager/adapters/clickup.md +467 -0
- package/templates/.cursor/utils/task-manager/adapters/linear.md +421 -0
- package/templates/.cursor/utils/task-manager/detector.md +290 -0
- package/templates/.cursor/utils/task-manager/factory.md +363 -0
- package/templates/.cursor/utils/task-manager/interface.md +248 -0
- package/templates/.cursor/utils/task-manager/types.md +409 -0
- package/templates/.cursor/validation/product-task-validation.md +344 -0
- package/templates/.onion/contexts/business/.context-config.yml +52 -0
- package/templates/.onion/contexts/business/README.md +222 -0
- package/templates/.onion/contexts/business/agents/branding-specialist.md +1030 -0
- package/templates/.onion/contexts/business/agents/clickup-specialist.md +397 -0
- package/templates/.onion/contexts/business/agents/extract-meeting-specialist.md +395 -0
- package/templates/.onion/contexts/business/agents/gamma-specialist.md +1169 -0
- package/templates/.onion/contexts/business/agents/meeting-consolidator.md +483 -0
- package/templates/.onion/contexts/business/agents/pain-price-specialist.md +509 -0
- package/templates/.onion/contexts/business/agents/presentation-orchestrator.md +1191 -0
- package/templates/.onion/contexts/business/agents/product-agent.md +202 -0
- package/templates/.onion/contexts/business/agents/story-points-specialist.md +539 -0
- package/templates/.onion/contexts/business/agents/storytelling-specialist.md +891 -0
- package/templates/.onion/contexts/business/agents/task-specialist.md +618 -0
- package/templates/.onion/contexts/business/agents/whisper-specialist.md +373 -0
- package/templates/.onion/contexts/business/commands/advanced/analyze-pain-price.md +709 -0
- package/templates/.onion/contexts/business/commands/advanced/branding.md +460 -0
- package/templates/.onion/contexts/business/commands/advanced/checklist-sync.md +241 -0
- package/templates/.onion/contexts/business/commands/advanced/presentation.md +189 -0
- package/templates/.onion/contexts/business/commands/advanced/transform-consolidated.md +592 -0
- package/templates/.onion/contexts/business/commands/help.md +212 -0
- package/templates/.onion/contexts/business/commands/intermediate/check.md +48 -0
- package/templates/.onion/contexts/business/commands/intermediate/collect.md +96 -0
- package/templates/.onion/contexts/business/commands/intermediate/consolidate-meetings.md +306 -0
- package/templates/.onion/contexts/business/commands/intermediate/convert-to-tasks.md +220 -0
- package/templates/.onion/contexts/business/commands/intermediate/extract-meeting.md +241 -0
- package/templates/.onion/contexts/business/commands/intermediate/feature.md +431 -0
- package/templates/.onion/contexts/business/commands/intermediate/light-arch.md +97 -0
- package/templates/.onion/contexts/business/commands/intermediate/task-check.md +340 -0
- package/templates/.onion/contexts/business/commands/intermediate/validate-task.md +294 -0
- package/templates/.onion/contexts/business/commands/intermediate/whisper.md +325 -0
- package/templates/.onion/contexts/business/commands/starter/estimate.md +519 -0
- package/templates/.onion/contexts/business/commands/starter/refine.md +186 -0
- package/templates/.onion/contexts/business/commands/starter/spec.md +107 -0
- package/templates/.onion/contexts/business/commands/starter/task.md +585 -0
- package/templates/.onion/contexts/business/commands/starter/warm-up.md +187 -0
- package/templates/.onion/contexts/technical/.context-config.yml +64 -0
- package/templates/.onion/contexts/technical/README.md +238 -0
- package/templates/.onion/contexts/technical/agents/branch-code-reviewer.md +200 -0
- package/templates/.onion/contexts/technical/agents/branch-doc-writer.md +162 -0
- package/templates/.onion/contexts/technical/agents/branch-metaspec-checker.md +68 -0
- package/templates/.onion/contexts/technical/agents/branch-test-planner.md +177 -0
- package/templates/.onion/contexts/technical/agents/c4-architecture-specialist.md +712 -0
- package/templates/.onion/contexts/technical/agents/c4-documentation-specialist.md +658 -0
- package/templates/.onion/contexts/technical/agents/code-reviewer.md +155 -0
- package/templates/.onion/contexts/technical/agents/cursor-specialist.md +249 -0
- package/templates/.onion/contexts/technical/agents/docs-reverse-engineer.md +418 -0
- package/templates/.onion/contexts/technical/agents/gitflow-specialist.md +1207 -0
- package/templates/.onion/contexts/technical/agents/linux-security-specialist.md +676 -0
- package/templates/.onion/contexts/technical/agents/mermaid-specialist.md +516 -0
- package/templates/.onion/contexts/technical/agents/nodejs-specialist.md +673 -0
- package/templates/.onion/contexts/technical/agents/nx-migration-specialist.md +867 -0
- package/templates/.onion/contexts/technical/agents/nx-monorepo-specialist.md +619 -0
- package/templates/.onion/contexts/technical/agents/postgres-specialist.md +1124 -0
- package/templates/.onion/contexts/technical/agents/react-developer.md +132 -0
- package/templates/.onion/contexts/technical/agents/runflow-specialist.md +278 -0
- package/templates/.onion/contexts/technical/agents/system-doc-orchestrator.md +1388 -0
- package/templates/.onion/contexts/technical/agents/test-agent.md +425 -0
- package/templates/.onion/contexts/technical/agents/test-engineer.md +295 -0
- package/templates/.onion/contexts/technical/agents/test-planner.md +118 -0
- package/templates/.onion/contexts/technical/agents/zen-engine-specialist.md +421 -0
- package/templates/.onion/contexts/technical/commands/advanced/bump.md +43 -0
- package/templates/.onion/contexts/technical/commands/advanced/consolidate-documents.md +424 -0
- package/templates/.onion/contexts/technical/commands/advanced/e2e.md +392 -0
- package/templates/.onion/contexts/technical/commands/advanced/feature-finish.md +90 -0
- package/templates/.onion/contexts/technical/commands/advanced/feature-publish.md +91 -0
- package/templates/.onion/contexts/technical/commands/advanced/feature-start.md +158 -0
- package/templates/.onion/contexts/technical/commands/advanced/hotfix-finish.md +98 -0
- package/templates/.onion/contexts/technical/commands/advanced/hotfix-start.md +94 -0
- package/templates/.onion/contexts/technical/commands/advanced/hotfix.md +186 -0
- package/templates/.onion/contexts/technical/commands/advanced/refine-vision.md +27 -0
- package/templates/.onion/contexts/technical/commands/advanced/release-finish.md +98 -0
- package/templates/.onion/contexts/technical/commands/advanced/release-start.md +95 -0
- package/templates/.onion/contexts/technical/commands/advanced/reverse-consolidate.md +160 -0
- package/templates/.onion/contexts/technical/commands/advanced/validate-phase-sync.md +118 -0
- package/templates/.onion/contexts/technical/commands/help.md +329 -0
- package/templates/.onion/contexts/technical/commands/intermediate/build-business-docs.md +276 -0
- package/templates/.onion/contexts/technical/commands/intermediate/build-index.md +128 -0
- package/templates/.onion/contexts/technical/commands/intermediate/build-tech-docs.md +204 -0
- package/templates/.onion/contexts/technical/commands/intermediate/code-review.md +215 -0
- package/templates/.onion/contexts/technical/commands/intermediate/docs-health.md +142 -0
- package/templates/.onion/contexts/technical/commands/intermediate/fast-commit.md +45 -0
- package/templates/.onion/contexts/technical/commands/intermediate/integration.md +523 -0
- package/templates/.onion/contexts/technical/commands/intermediate/pr-update.md +198 -0
- package/templates/.onion/contexts/technical/commands/intermediate/pre-pr.md +91 -0
- package/templates/.onion/contexts/technical/commands/intermediate/start.md +266 -0
- package/templates/.onion/contexts/technical/commands/intermediate/sync-sessions.md +320 -0
- package/templates/.onion/contexts/technical/commands/intermediate/unit.md +378 -0
- package/templates/.onion/contexts/technical/commands/intermediate/validate-docs.md +159 -0
- package/templates/.onion/contexts/technical/commands/starter/docs.md +39 -0
- package/templates/.onion/contexts/technical/commands/starter/help.md +306 -0
- package/templates/.onion/contexts/technical/commands/starter/init.md +139 -0
- package/templates/.onion/contexts/technical/commands/starter/plan.md +111 -0
- package/templates/.onion/contexts/technical/commands/starter/pr.md +136 -0
- package/templates/.onion/contexts/technical/commands/starter/sync.md +228 -0
- package/templates/.onion/contexts/technical/commands/starter/warm-up.md +173 -0
- package/templates/.onion/contexts/technical/commands/starter/work.md +169 -0
- package/templates/.onion/core/commands/help.md +388 -0
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Regras de validação para agentes, comandos e estruturas do Sistema Onion
|
|
3
|
+
globs: .cursor/**
|
|
4
|
+
alwaysApply: false
|
|
5
|
+
---
|
|
6
|
+
# ✅ Regras de Validação
|
|
7
|
+
|
|
8
|
+
## 🎯 Objetivo
|
|
9
|
+
|
|
10
|
+
Definir regras de validação para garantir qualidade e consistência dos componentes do Sistema Onion.
|
|
11
|
+
|
|
12
|
+
## 📋 Validação de Comandos
|
|
13
|
+
|
|
14
|
+
### Campos YAML Obrigatórios
|
|
15
|
+
```yaml
|
|
16
|
+
---
|
|
17
|
+
name: string # ✅ Obrigatório - kebab-case
|
|
18
|
+
description: string # ✅ Obrigatório - 1-2 linhas
|
|
19
|
+
model: string # ✅ Obrigatório - sonnet|opus|gpt-4
|
|
20
|
+
category: string # ✅ Obrigatório - categoria válida
|
|
21
|
+
tags: array # ✅ Obrigatório - 3-7 tags
|
|
22
|
+
version: string # ✅ Obrigatório - "3.0.0"
|
|
23
|
+
updated: string # ✅ Obrigatório - "YYYY-MM-DD"
|
|
24
|
+
---
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
### Categorias Válidas de Comandos
|
|
28
|
+
```
|
|
29
|
+
engineer # Fluxos de desenvolvimento
|
|
30
|
+
product # Gestão de produto
|
|
31
|
+
git # Operações Git
|
|
32
|
+
docs # Documentação
|
|
33
|
+
meta # Meta-comandos
|
|
34
|
+
validate # Validações
|
|
35
|
+
quick # Ações rápidas
|
|
36
|
+
general # Uso geral (raiz)
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
### Checklist de Qualidade (Comandos)
|
|
40
|
+
- [ ] Nome em kebab-case único
|
|
41
|
+
- [ ] Descrição clara e concisa
|
|
42
|
+
- [ ] Categoria válida
|
|
43
|
+
- [ ] Tags relevantes (3-7)
|
|
44
|
+
- [ ] Versão 3.0.0
|
|
45
|
+
- [ ] Data de atualização
|
|
46
|
+
- [ ] Seção "Objetivo" presente
|
|
47
|
+
- [ ] Seção "Processo/Fluxo" presente
|
|
48
|
+
- [ ] < 400 linhas total
|
|
49
|
+
- [ ] Sem duplicação de nome
|
|
50
|
+
|
|
51
|
+
## 📋 Validação de Agentes
|
|
52
|
+
|
|
53
|
+
### Campos YAML Obrigatórios
|
|
54
|
+
```yaml
|
|
55
|
+
---
|
|
56
|
+
name: string # ✅ Obrigatório - kebab-case
|
|
57
|
+
description: string # ✅ Obrigatório - especialização
|
|
58
|
+
model: string # ✅ Obrigatório - sonnet|opus
|
|
59
|
+
category: string # ✅ Obrigatório - categoria válida
|
|
60
|
+
tags: array # ✅ Obrigatório - 3-7 tags
|
|
61
|
+
expertise: array # ✅ Obrigatório - 3-5 áreas
|
|
62
|
+
version: string # ✅ Obrigatório - "3.0.0"
|
|
63
|
+
updated: string # ✅ Obrigatório - "YYYY-MM-DD"
|
|
64
|
+
---
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
### Categorias Válidas de Agentes
|
|
68
|
+
```
|
|
69
|
+
development # Desenvolvimento (python, react, postgres)
|
|
70
|
+
product # Produto (product-agent, task-specialist)
|
|
71
|
+
compliance # Compliance (regulatory, security)
|
|
72
|
+
meta # Meta (onion, metaspec, creators)
|
|
73
|
+
review # Review (code-reviewer)
|
|
74
|
+
testing # Testes (test-engineer, test-planner)
|
|
75
|
+
research # Pesquisa (research-agent)
|
|
76
|
+
git # Git (branch-*, integration)
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
### Checklist de Qualidade (Agentes)
|
|
80
|
+
- [ ] Nome em kebab-case único
|
|
81
|
+
- [ ] Descrição da especialização
|
|
82
|
+
- [ ] Categoria válida
|
|
83
|
+
- [ ] Expertise definida (3-5 áreas)
|
|
84
|
+
- [ ] Versão 3.0.0
|
|
85
|
+
- [ ] Data de atualização
|
|
86
|
+
- [ ] Seção "Identidade" presente
|
|
87
|
+
- [ ] Seção "Expertise" presente
|
|
88
|
+
- [ ] < 300 linhas total
|
|
89
|
+
- [ ] Sem duplicação de nome
|
|
90
|
+
|
|
91
|
+
## 🔍 Validações Automatizadas
|
|
92
|
+
|
|
93
|
+
### Verificar Duplicação de Nome
|
|
94
|
+
```bash
|
|
95
|
+
# Comando para verificar duplicação
|
|
96
|
+
find .cursor/commands -name "*.md" | xargs grep "^name:" | sort | uniq -d
|
|
97
|
+
find .cursor/agents -name "*.md" | xargs grep "^name:" | sort | uniq -d
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
### Verificar Campos Obrigatórios
|
|
101
|
+
```bash
|
|
102
|
+
# Campos que devem existir
|
|
103
|
+
required_fields=("name:" "description:" "model:" "category:" "version:")
|
|
104
|
+
|
|
105
|
+
for field in "${required_fields[@]}"; do
|
|
106
|
+
grep -L "^$field" file.md && echo "FALTA: $field"
|
|
107
|
+
done
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
### Verificar Limite de Linhas
|
|
111
|
+
```bash
|
|
112
|
+
# Comandos > 400 linhas
|
|
113
|
+
find .cursor/commands -name "*.md" -exec wc -l {} \; | awk '$1 > 400'
|
|
114
|
+
|
|
115
|
+
# Agentes > 300 linhas
|
|
116
|
+
find .cursor/agents -name "*.md" -exec wc -l {} \; | awk '$1 > 300'
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
## ⚠️ Regras de Negócio
|
|
120
|
+
|
|
121
|
+
### Geradores Devem Validar
|
|
122
|
+
|
|
123
|
+
**Antes de criar comando:**
|
|
124
|
+
1. Verificar se nome já existe em `.cursor/commands/`
|
|
125
|
+
2. Validar categoria está na lista permitida
|
|
126
|
+
3. Confirmar campos obrigatórios presentes
|
|
127
|
+
4. Verificar limite de 400 linhas
|
|
128
|
+
|
|
129
|
+
**Antes de criar agente:**
|
|
130
|
+
1. Verificar se nome já existe em `.cursor/agents/`
|
|
131
|
+
2. Validar categoria está na lista permitida
|
|
132
|
+
3. Confirmar expertise tem 3-5 itens
|
|
133
|
+
4. Verificar limite de 300 linhas
|
|
134
|
+
|
|
135
|
+
### Fallback para Validações
|
|
136
|
+
```
|
|
137
|
+
Se validação falhar:
|
|
138
|
+
1. Informar usuário sobre o problema
|
|
139
|
+
2. Sugerir correção específica
|
|
140
|
+
3. Perguntar se deseja corrigir automaticamente
|
|
141
|
+
4. Se não, abortar com mensagem clara
|
|
142
|
+
```
|
|
143
|
+
|
|
144
|
+
## 📊 Métricas de Qualidade
|
|
145
|
+
|
|
146
|
+
### Score de Qualidade (0-100)
|
|
147
|
+
```
|
|
148
|
+
Comando:
|
|
149
|
+
+20 - YAML header completo
|
|
150
|
+
+20 - Categoria válida
|
|
151
|
+
+15 - Tags apropriadas
|
|
152
|
+
+15 - < 400 linhas
|
|
153
|
+
+15 - Seções obrigatórias
|
|
154
|
+
+15 - Documentação clara
|
|
155
|
+
|
|
156
|
+
Agente:
|
|
157
|
+
+20 - YAML header completo
|
|
158
|
+
+20 - Categoria válida
|
|
159
|
+
+15 - Expertise definida
|
|
160
|
+
+15 - < 300 linhas
|
|
161
|
+
+15 - Seções obrigatórias
|
|
162
|
+
+15 - Especialização clara
|
|
163
|
+
```
|
|
164
|
+
|
|
165
|
+
### Thresholds
|
|
166
|
+
- **80-100**: ✅ Aprovado
|
|
167
|
+
- **60-79**: ⚠️ Precisa melhorias
|
|
168
|
+
- **< 60**: ❌ Rejeitado
|
|
169
|
+
|
|
170
|
+
## 🔗 Integrações
|
|
171
|
+
|
|
172
|
+
### Validação de .env
|
|
173
|
+
```bash
|
|
174
|
+
# Variáveis obrigatórias para ClickUp
|
|
175
|
+
CLICKUP_API_TOKEN # Token de API
|
|
176
|
+
|
|
177
|
+
# Variáveis opcionais
|
|
178
|
+
GITHUB_TOKEN # Para PRs
|
|
179
|
+
GAMMA_TOKEN # Para apresentações
|
|
180
|
+
```
|
|
181
|
+
|
|
182
|
+
### Verificar Configuração
|
|
183
|
+
```bash
|
|
184
|
+
# Script de verificação
|
|
185
|
+
if [ -z "$CLICKUP_API_TOKEN" ]; then
|
|
186
|
+
echo "⚠️ CLICKUP_API_TOKEN não configurado"
|
|
187
|
+
echo "Configure em .env ou execute /meta/setup-integration"
|
|
188
|
+
fi
|
|
189
|
+
```
|
|
190
|
+
|
|
191
|
+
---
|
|
192
|
+
|
|
193
|
+
**Última atualização:** 2025-11-24
|
|
194
|
+
**Versão:** 3.0.0
|