jarvis-ai-framework 2.0.0 → 2.1.1
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/AGENTS.md +12 -9
- package/agents/AGENTS.md +9 -1
- package/agents/README.md +2 -2
- package/agents/engineering/data/eng.data-engineer.agent.md +2 -2
- package/agents/engineering/eng.agent.md +4 -6
- package/agents/engineering/eng.bug-hunter.md +10 -5
- package/agents/engineering/eng.cybersecurity.agent.md +2 -4
- package/agents/engineering/eng.dev-code-reviewer.md +4 -0
- package/agents/engineering/eng.docs-writer.md +3 -3
- package/agents/engineering/eng.frontend.agent.md +17 -8
- package/agents/engineering/eng.rpa.agent.md +3 -5
- package/agents/engineering/eng.ux-designer.agent.md +4 -0
- package/agents/engineering/qa/eng.qa.cypress-specialist.md +8 -5
- package/agents/engineering/qa/eng.qa.quality-champion-task-agent.md +4 -0
- package/agents/engineering/qa/eng.qa.quality-strategist.md +18 -8
- package/agents/engineering/qa/eng.qa.test-architect.md +17 -6
- package/agents/engineering/qa/eng.qa.test-planner.md +17 -8
- package/agents/engineering/qa/eng.qa.testing-engineer.md +26 -9
- package/agents/product/prod.discovery-interviewer.md +22 -3
- package/agents/product/prod.pm-checker.md +4 -0
- package/bin/commands/map.js +43 -0
- package/bin/commands/tokens.js +93 -0
- package/bin/jarvis.js +10 -0
- package/bin/lib/config/constants.js +11 -0
- package/bin/lib/core/profile-filter.js +113 -0
- package/bin/lib/core/scanner.js +2 -2
- package/bin/lib/core/token-report.js +90 -0
- package/bin/lib/flow-map/index.js +65 -0
- package/bin/lib/flow-map/parse.js +217 -0
- package/bin/lib/flow-map/render.js +86 -0
- package/bin/lib/flow-map/tree.js +199 -0
- package/members.md +1 -1
- package/package.json +4 -2
- package/rules/AGENTS.md +18 -7
- package/rules/engineering/eng-rules.md +2 -12
- package/rules/engineering/eng-security-rules.md +1 -2
- package/rules/engineering/eng.integrations-rules.md +0 -4
- package/rules/engineering/eng.skills-rules.md +0 -4
- package/rules/engineering/eng.specializations-rules.md +0 -4
- package/rules/product/README.md +1 -0
- package/rules/product/prod-rules.md +1 -4
- package/rules/product/prod.spec-rules.md +0 -4
- package/rules/rtk-rules.md +0 -1
- package/{rules → rules-on-demand}/engineering/eng.breakdown-subtasks-rules.md +0 -4
- package/{rules → rules-on-demand}/engineering/eng.plan-rules.md +0 -4
- package/{rules → rules-on-demand}/engineering/eng.pr-rules.md +0 -4
- package/{rules → rules-on-demand}/engineering/eng.pre-pr-rules.md +0 -4
- package/{rules → rules-on-demand}/engineering/eng.start-rules.md +0 -4
- package/{rules → rules-on-demand}/engineering/eng.tech-spec-rules.md +1 -2
- package/{rules → rules-on-demand}/engineering/eng.work-rules.md +0 -4
- package/skills/AGENTS.md +22 -21
- package/skills/SKILLS-ROADMAP.md +0 -4
- package/skills/eng-ai-engineer/SKILL.md +6 -0
- package/skills/eng-backend/SKILL.md +6 -0
- package/skills/eng-backend-arch-c4/SKILL.md +10 -4
- package/skills/eng-backend-microservices-trace/SKILL.md +6 -0
- package/skills/eng-backend-nestjs/SKILL.md +16 -461
- package/skills/eng-backend-nestjs/references/1-arquitetura-modulos.md +54 -0
- package/skills/eng-backend-nestjs/references/2-guards-autenticacao.md +118 -0
- package/skills/eng-backend-nestjs/references/3-interceptors-pipes-filters.md +113 -0
- package/skills/eng-backend-nestjs/references/4-config-logging.md +61 -0
- package/skills/eng-backend-nestjs/references/5-testes.md +83 -0
- package/skills/eng-backend-nestjs/references/6-problemas-comuns.md +53 -0
- package/skills/eng-backend-rabbitmq/SKILL.md +15 -298
- package/skills/eng-backend-rabbitmq/references/1-referencia-endpoints.md +28 -0
- package/skills/eng-backend-rabbitmq/references/2-codigo-consumer-producer.md +90 -0
- package/skills/eng-backend-rabbitmq/references/3-arquiteturas-comuns.md +101 -0
- package/skills/eng-backend-rabbitmq/references/4-troubleshooting.md +93 -0
- package/skills/eng-data-bi/SKILL.md +6 -0
- package/skills/eng-data-debug/SKILL.md +6 -0
- package/skills/eng-data-engineer/SKILL.md +16 -7
- package/skills/eng-data-onboard/SKILL.md +6 -0
- package/skills/eng-data-orchestrator/SKILL.md +6 -0
- package/skills/eng-devops-performance-engineer/SKILL.md +6 -0
- package/skills/eng-frontend/SKILL.md +6 -0
- package/skills/eng-frontend-design-system/SKILL.md +13 -479
- package/skills/eng-frontend-design-system/references/1-estrutura-pacote.md +57 -0
- package/skills/eng-frontend-design-system/references/2-tokens.md +116 -0
- package/skills/eng-frontend-design-system/references/3-componentes.md +165 -0
- package/skills/eng-frontend-design-system/references/4-storybook.md +85 -0
- package/skills/eng-frontend-design-system/references/5-auditoria-versionamento.md +76 -0
- package/skills/eng-frontend-microfrontend/SKILL.md +17 -457
- package/skills/eng-frontend-microfrontend/references/1-criando-remote.md +109 -0
- package/skills/eng-frontend-microfrontend/references/2-configurando-shell.md +70 -0
- package/skills/eng-frontend-microfrontend/references/3-contratos-interface.md +73 -0
- package/skills/eng-frontend-microfrontend/references/4-shared-dependencies.md +48 -0
- package/skills/eng-frontend-microfrontend/references/5-event-bus.md +59 -0
- package/skills/eng-frontend-microfrontend/references/6-monorepo-deploy.md +77 -0
- package/skills/eng-frontend-microfrontend/references/7-troubleshooting.md +45 -0
- package/skills/eng-global-browser-extension-builder/SKILL.md +6 -0
- package/skills/eng-global-docs-write/SKILL.md +10 -5
- package/skills/eng-global-jira-comment/SKILL.md +6 -0
- package/skills/eng-global-pr/SKILL.md +7 -1
- package/skills/eng-global-task-comment/SKILL.md +6 -0
- package/skills/eng-qa-a11y-audit/SKILL.md +10 -4
- package/skills/eng-qa-bug-report/SKILL.md +18 -230
- package/skills/eng-qa-bug-report/references/1-integracao-task-managers.md +148 -0
- package/skills/eng-qa-bug-report/references/2-exemplos-de-uso.md +46 -0
- package/skills/eng-qa-bug-report/references/3-bug-to-test.md +45 -0
- package/skills/eng-qa-cypress-e2e/SKILL.md +6 -0
- package/skills/eng-qa-dev-guide/SKILL.md +9 -1
- package/skills/eng-qa-e2e/SKILL.md +9 -3
- package/skills/eng-qa-e2e-spec-writer/SKILL.md +15 -9
- package/skills/eng-qa-exploratory/SKILL.md +16 -9
- package/skills/eng-qa-gate/SKILL.md +11 -5
- package/skills/eng-qa-gate/assets/checklist-validacao.md +1 -1
- package/skills/eng-qa-graphql-contract/SKILL.md +9 -3
- package/skills/eng-qa-quality-report/SKILL.md +9 -3
- package/skills/eng-qa-test-plan/SKILL.md +6 -0
- package/skills/eng-qa-testsprite/SKILL.md +10 -4
- package/skills/eng-qa-unit-test/SKILL.md +7 -1
- package/skills/eng-scraper/SKILL.md +12 -436
- package/skills/eng-scraper/references/1-puppeteer.md +140 -0
- package/skills/eng-scraper/references/2-playwright-cheerio-pdf.md +82 -0
- package/skills/eng-scraper/references/3-anti-bot.md +94 -0
- package/skills/eng-scraper/references/4-resiliencia-etl-monitoramento.md +137 -0
- package/skills/eng-scraper-robot-builder/SKILL.md +6 -0
- package/skills/eng-security-cybersecurity/SKILL.md +13 -409
- package/skills/eng-security-cybersecurity/references/1-owasp-top-10.md +331 -0
- package/skills/eng-security-cybersecurity/references/2-secrets-management.md +31 -0
- package/skills/eng-security-cybersecurity/references/3-input-validation.md +43 -0
- package/skills/eng-security-cybersecurity/references/4-compliance.md +20 -0
- package/skills/eng-security-patch/SKILL.md +6 -0
- package/skills/eng-security-threat-model/SKILL.md +6 -0
- package/skills/eng-security-triage/SKILL.md +6 -0
- package/skills/jarvis-context-detect/SKILL.md +6 -0
- package/skills/jarvis-create-specialization/SKILL.md +6 -0
- package/skills/jarvis-docs-central/SKILL.md +6 -0
- package/skills/jarvis-docs-index/SKILL.md +10 -2
- package/skills/jarvis-evolution-architect/SKILL.md +439 -0
- package/skills/jarvis-evolution-architect/references/exemplos.md +297 -0
- package/skills/jarvis-evolution-architect/references/guia-de-uso.md +355 -0
- package/skills/jarvis-evolution-architect/references/lentes-e-conceitos.md +292 -0
- package/skills/jarvis-evolution-architect/references/visao-geral.md +272 -0
- package/skills/jarvis-init/SKILL.md +14 -7
- package/skills/jarvis-list-specializations/SKILL.md +6 -0
- package/skills/jarvis-report-issue/SKILL.md +6 -0
- package/skills/product-roadmap-report/SKILL.md +8 -0
- package/skills/product-specs/SKILL.md +9 -0
- package/skills/product-specs-update/SKILL.md +6 -0
- package/taxonomy.md +12 -12
- package/templates/AGENTS.md +2 -0
- package/templates/engineering/tech-spec-delivery-template.md +179 -0
- package/workflows/AGENTS.md +12 -2
- package/workflows/README.md +18 -16
- package/workflows/all-tools.md +7 -1
- package/workflows/engineering/data/data.contract.md +8 -0
- package/workflows/engineering/data/data.new-pipeline.md +10 -0
- package/workflows/engineering/eng.breakdown-subtasks.md +9 -0
- package/workflows/engineering/eng.bug-audit.md +9 -2
- package/workflows/engineering/eng.build-tech-spec.md +17 -146
- package/workflows/engineering/eng.create-ard-from-code.md +8 -0
- package/workflows/engineering/eng.create-ard.md +8 -0
- package/workflows/engineering/eng.create-rfc.md +7 -0
- package/workflows/engineering/eng.debug.md +3 -3
- package/workflows/engineering/eng.docs.md +9 -0
- package/workflows/engineering/eng.light-arch.md +7 -0
- package/workflows/engineering/eng.plan.md +15 -2
- package/workflows/engineering/eng.pr.md +19 -7
- package/workflows/engineering/eng.pre-pr.md +27 -1
- package/workflows/engineering/eng.review.md +13 -0
- package/workflows/engineering/eng.rpa.robot.md +16 -0
- package/workflows/engineering/eng.security-audit.md +7 -0
- package/workflows/engineering/eng.security-incident.md +6 -0
- package/workflows/engineering/eng.security-pipeline.md +9 -0
- package/workflows/engineering/eng.security-review.md +6 -0
- package/workflows/engineering/eng.start.md +22 -6
- package/workflows/engineering/eng.work.md +18 -2
- package/workflows/engineering/frontend/eng.frontend-component.md +7 -0
- package/workflows/engineering/frontend/eng.frontend-perf-audit.md +8 -0
- package/workflows/engineering/frontend/eng.frontend-review.md +8 -0
- package/workflows/engineering/qa/eng.qa-dev-quality-guide.md +6 -0
- package/workflows/engineering/qa/eng.qa-e2e-test-generation.md +6 -0
- package/workflows/engineering/qa/eng.qa-exploratory-session.md +8 -0
- package/workflows/engineering/qa/eng.qa-quality-gate-validation.md +7 -0
- package/workflows/engineering/qa/eng.qa-quality-report.md +7 -0
- package/workflows/engineering/qa/eng.qa-refinement-entry.md +7 -0
- package/workflows/engineering/qa/eng.qa-release-signoff.md +6 -0
- package/workflows/engineering/qa/eng.qa-sprint-planning.md +6 -0
- package/workflows/product/prod.roadmap.preview.md +9 -0
- package/workflows/product/prod.spec.ard.md +97 -0
- package/workflows/product/prod.spec.breakdown.md +10 -0
- package/workflows/product/prod.spec.clarify.md +8 -2
- package/workflows/product/prod.spec.discovery.md +10 -0
- package/workflows/product/prod.spec.epic.md +8 -0
- package/workflows/product/prod.spec.frd.md +7 -0
- package/workflows/product/prod.spec.issue.md +6 -0
- package/workflows/product/prod.spec.md +15 -1
- package/workflows/product/prod.spec.prd.md +7 -0
- package/workflows/taxonomy.md +58 -6
- package/workflows/warm-up.md +24 -9
- package/rules/engineering/eng.downstream-flow-rules.md +0 -297
|
@@ -30,7 +30,7 @@ Facilitar a documentação e rastreamento de bugs encontrados durante:
|
|
|
30
30
|
### 1. **create** - Criar card único no $TASK_MANAGER
|
|
31
31
|
|
|
32
32
|
```bash
|
|
33
|
-
/bug-report create \
|
|
33
|
+
/eng-qa-bug-report create \
|
|
34
34
|
--title="Título do bug" \
|
|
35
35
|
--category="BUG-CRÍTICO" \
|
|
36
36
|
--severity="P0" \
|
|
@@ -42,13 +42,13 @@ Facilitar a documentação e rastreamento de bugs encontrados durante:
|
|
|
42
42
|
### 2. **batch** - Criar múltiplos cards a partir de relatório
|
|
43
43
|
|
|
44
44
|
```bash
|
|
45
|
-
/bug-report batch --from-audit="./sessions/bug-audit-20260208/bug-audit-report.md"
|
|
45
|
+
/eng-qa-bug-report batch --from-audit="./sessions/bug-audit-20260208/bug-audit-report.md"
|
|
46
46
|
```
|
|
47
47
|
|
|
48
48
|
### 3. **generate-report** - Gerar apenas relatório (sem criar cards)
|
|
49
49
|
|
|
50
50
|
```bash
|
|
51
|
-
/bug-report generate-report \
|
|
51
|
+
/eng-qa-bug-report generate-report \
|
|
52
52
|
--bugs="./bugs-list.json" \
|
|
53
53
|
--output="./sessions/bug-report.md"
|
|
54
54
|
```
|
|
@@ -602,7 +602,7 @@ while IFS= read -r problem; do
|
|
|
602
602
|
# ... extrair outros campos
|
|
603
603
|
|
|
604
604
|
# Criar card usando modo create
|
|
605
|
-
/bug-report create \
|
|
605
|
+
/eng-qa-bug-report create \
|
|
606
606
|
--title="$title" \
|
|
607
607
|
--category="$category" \
|
|
608
608
|
--location="$location" \
|
|
@@ -713,6 +713,13 @@ echo "$REPORT_CONTENT" > "$output_file"
|
|
|
713
713
|
echo "✅ Relatório gerado: $output_file"
|
|
714
714
|
```
|
|
715
715
|
|
|
716
|
+
### Skills invocados durante a execução do skill
|
|
717
|
+
|
|
718
|
+
| Passo | Skill | Condição |
|
|
719
|
+
|-------|-------|----------|
|
|
720
|
+
| Fluxo de Trabalho › Modo `create` › 0. Verificar Duplicatas | `/triage-issue` (skill externo `atlassian:triage-issue`) | Se `$TASK_MANAGER` estiver configurado e o skill estiver disponível; senão a busca é direta via MCP (não é skill) |
|
|
721
|
+
| Bug-to-Test (pós-criação) | `/eng-qa-cypress-e2e` | Se o usuário responder **[S] Gerar agora** à oferta de teste de regressão |
|
|
722
|
+
|
|
716
723
|
---
|
|
717
724
|
|
|
718
725
|
## Formato de Saída
|
|
@@ -779,150 +786,15 @@ echo "✅ Relatório gerado: $output_file"
|
|
|
779
786
|
|
|
780
787
|
---
|
|
781
788
|
|
|
782
|
-
##
|
|
783
|
-
|
|
784
|
-
### Arquitetura de Adapters
|
|
785
|
-
|
|
786
|
-
O skill usa **Adapter Pattern** para suportar múltiplos task managers de forma desacoplada.
|
|
787
|
-
|
|
788
|
-
```
|
|
789
|
-
bug-report skill
|
|
790
|
-
↓
|
|
791
|
-
[Adapter Layer]
|
|
792
|
-
↓
|
|
793
|
-
┌─────────┬─────────┬─────────┬─────────┬─────────┬─────────┐
|
|
794
|
-
│ JIRA │ ClickUp │ Linear │ Trello │ GitHub │ GitLab │
|
|
795
|
-
└─────────┴─────────┴─────────┴─────────┴─────────┴─────────┘
|
|
796
|
-
```
|
|
797
|
-
|
|
798
|
-
### Task Managers alinhados ao ENV-template
|
|
799
|
-
|
|
800
|
-
| Task Manager | Método | Requer |
|
|
801
|
-
|--------------|--------|--------|
|
|
802
|
-
| **jira** | MCP Atlassian | MCP ou `TOKEN_TASK_MANAGER` + `PROJECT_KEY` |
|
|
803
|
-
| **linear** | CLI | `linear` CLI + `LINEAR_TEAM_ID` |
|
|
804
|
-
| **github** | gh CLI | `gh` autenticado |
|
|
805
|
-
| **asana** | token | `TOKEN_TASK_MANAGER` (criação manual se adapter incompleto) |
|
|
806
|
-
| **(vazio) / local** | Arquivo local | Freelance — `$SESSIONS_DIR/qa/bug-reports/` |
|
|
807
|
-
|
|
808
|
-
Valores no ENV.md são **minúsculos** (`jira`, não `JIRA`).
|
|
809
|
-
|
|
810
|
-
### Configuração no ENV.md
|
|
811
|
-
|
|
812
|
-
#### Jira
|
|
813
|
-
```bash
|
|
814
|
-
TASK_MANAGER=jira
|
|
815
|
-
TOKEN_TASK_MANAGER=your_jira_token # Opcional se usar MCP
|
|
816
|
-
PROJECT_KEY=PROJ
|
|
817
|
-
```
|
|
818
|
-
|
|
819
|
-
#### Linear
|
|
820
|
-
```bash
|
|
821
|
-
TASK_MANAGER=linear
|
|
822
|
-
TOKEN_TASK_MANAGER=lin_api_your_token
|
|
823
|
-
LINEAR_TEAM_ID=team-id
|
|
824
|
-
```
|
|
825
|
-
|
|
826
|
-
#### GitHub
|
|
827
|
-
```bash
|
|
828
|
-
TASK_MANAGER=github
|
|
829
|
-
# Token via gh auth / GITHUB_TOKEN
|
|
830
|
-
```
|
|
831
|
-
|
|
832
|
-
#### Freelance / local
|
|
833
|
-
```bash
|
|
834
|
-
TASK_MANAGER=
|
|
835
|
-
# Cards em $SESSIONS_DIR/qa/bug-reports/
|
|
836
|
-
```
|
|
837
|
-
|
|
838
|
-
#### GitLab
|
|
839
|
-
```bash
|
|
840
|
-
TASK_MANAGER=GITLAB
|
|
841
|
-
GITLAB_REPO=group/project
|
|
842
|
-
# Token via glab CLI (glab auth login)
|
|
843
|
-
```
|
|
844
|
-
|
|
845
|
-
### Implementação de Adapter
|
|
789
|
+
## Referências (leia só o tema que a tarefa pedir)
|
|
846
790
|
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
```bash
|
|
850
|
-
create_task_card() {
|
|
851
|
-
# Input:
|
|
852
|
-
# $1 - title (string)
|
|
853
|
-
# $2 - description (markdown/text)
|
|
854
|
-
# $3 - priority (P0/P1/P2/P3)
|
|
855
|
-
# $4 - category (string)
|
|
856
|
-
# $5 - labels (comma-separated)
|
|
857
|
-
|
|
858
|
-
# Output:
|
|
859
|
-
# Card ID/Key (string) ou caminho do arquivo local
|
|
860
|
-
|
|
861
|
-
# Return:
|
|
862
|
-
# 0 - Sucesso
|
|
863
|
-
# 1 - Falha
|
|
864
|
-
}
|
|
865
|
-
```
|
|
791
|
+
Leia **só** o arquivo do tema que a tarefa pedir; o restante fica fora do contexto.
|
|
866
792
|
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
|
872
|
-
|-----------|----|----|----|----|
|
|
873
|
-
| **Jira** | Highest | High | Medium | Low |
|
|
874
|
-
| **ClickUp** | 1 | 2 | 3 | 4 |
|
|
875
|
-
| **Linear** | 1 | 2 | 3 | 4 |
|
|
876
|
-
| **Trello** | Label:P0 | Label:P1 | Label:P2 | Label:P3 |
|
|
877
|
-
| **GitHub** | Label:priority-critical | Label:priority-high | Label:priority-medium | Label:priority-low |
|
|
878
|
-
| **GitLab** | Label:priority::1 | Label:priority::2 | Label:priority::3 | Label:priority::4 |
|
|
879
|
-
|
|
880
|
-
### Fallback Local
|
|
881
|
-
|
|
882
|
-
Se task manager indisponível ou não configurado:
|
|
883
|
-
1. Card salvo em `$SESSIONS_DIR/qa/bug-reports/bug-{timestamp}.md`
|
|
884
|
-
2. Arquivo contém todas as informações necessárias
|
|
885
|
-
3. Usuário pode criar card manualmente ou configurar integração
|
|
886
|
-
|
|
887
|
-
### Como Adicionar Novo Task Manager
|
|
888
|
-
|
|
889
|
-
Para adicionar suporte a um novo task manager:
|
|
890
|
-
|
|
891
|
-
1. **Adicionar detecção** na seção de pré-requisitos:
|
|
892
|
-
```bash
|
|
893
|
-
NOTION)
|
|
894
|
-
if [ -n "$TOKEN_TASK_MANAGER" ]; then
|
|
895
|
-
TASK_MANAGER_ENABLED=true
|
|
896
|
-
echo "✅ Integração Notion disponível"
|
|
897
|
-
fi
|
|
898
|
-
;;
|
|
899
|
-
```
|
|
900
|
-
|
|
901
|
-
2. **Implementar adapter** na função `create_task_card()`:
|
|
902
|
-
```bash
|
|
903
|
-
NOTION)
|
|
904
|
-
CARD_ID=$(curl -s -X POST "https://api.notion.com/v1/pages" \
|
|
905
|
-
-H "Authorization: Bearer $TOKEN_TASK_MANAGER" \
|
|
906
|
-
-H "Content-Type: application/json" \
|
|
907
|
-
-d '{
|
|
908
|
-
"parent": {"database_id": "'$(grep '^NOTION_DATABASE_ID=' "$IDE/ENV.md" | cut -d= -f2)'"},
|
|
909
|
-
"properties": {
|
|
910
|
-
"Name": {"title": [{"text": {"content": "'"$title"'"}}]},
|
|
911
|
-
"Priority": {"select": {"name": "'"$priority"'"}},
|
|
912
|
-
"Category": {"select": {"name": "'"$category"'"}}
|
|
913
|
-
}
|
|
914
|
-
}' | jq -r '.id')
|
|
915
|
-
|
|
916
|
-
echo "✅ Card criado no Notion: $CARD_ID"
|
|
917
|
-
echo "$CARD_ID"
|
|
918
|
-
;;
|
|
919
|
-
```
|
|
920
|
-
|
|
921
|
-
3. **Documentar configuração** na seção acima
|
|
922
|
-
|
|
923
|
-
4. **Adicionar teste** para validar funcionamento
|
|
924
|
-
|
|
925
|
-
---
|
|
793
|
+
| Tema | Quando ler | Arquivo |
|
|
794
|
+
|------|-----------|---------|
|
|
795
|
+
| Integração com Task Managers (Adapter Pattern) | A tarefa configurar ou implementar o adapter de um task manager (Jira, Linear, GitHub, Asana), mapear prioridades, usar o fallback local ou adicionar um task manager novo | `references/1-integracao-task-managers.md` |
|
|
796
|
+
| Exemplos de Uso | Precisar de um exemplo completo dos modos create, batch ou generate-report | `references/2-exemplos-de-uso.md` |
|
|
797
|
+
| Bug-to-Test (pós-criação) | Depois de criar o card, a pessoa quiser gerar o teste que reproduz o bug | `references/3-bug-to-test.md` |
|
|
926
798
|
|
|
927
799
|
## Checklist de Conclusão
|
|
928
800
|
|
|
@@ -973,49 +845,6 @@ NOTION)
|
|
|
973
845
|
|
|
974
846
|
---
|
|
975
847
|
|
|
976
|
-
## Exemplos de Uso
|
|
977
|
-
|
|
978
|
-
### Exemplo 1: Criar card único (BUG-ALTO — todos os campos P1 obrigatórios)
|
|
979
|
-
|
|
980
|
-
```bash
|
|
981
|
-
/bug-report create \
|
|
982
|
-
--title="[auth] Token expirado retorna 500 ao invés de 401" \
|
|
983
|
-
--category="BUG-ALTO" \
|
|
984
|
-
--severity="P1" \
|
|
985
|
-
--environment="prod" \
|
|
986
|
-
--location="src/auth/token-validator.ts:67" \
|
|
987
|
-
--description="Quando o token JWT expira durante uma requisição autenticada, o serviço retorna HTTP 500 ao invés de 401. Ocorre de forma recorrente em produção para todos os usuários com sessão ativa há mais de 24h." \
|
|
988
|
-
--behavior-actual="POST /auth/validate retorna 500 Internal Server Error quando token está expirado" \
|
|
989
|
-
--behavior-expected="POST /auth/validate retorna 401 Unauthorized com body {error: 'token_expired'}" \
|
|
990
|
-
--reproduction="Pré-condição: usuário com token expirado (criado há >24h). Passos: 1. Fazer qualquer requisição autenticada. 2. Observar resposta. Resultado atual: HTTP 500." \
|
|
991
|
-
--impact="Todos os usuários com sessão ativa há mais de 24h — estimativa de 30% da base ativa. App client não consegue tratar 500 como sessão expirada, causando loop de erro sem logout automático." \
|
|
992
|
-
--entry-endpoint="POST /auth/validate" \
|
|
993
|
-
--affected-services="account,auth" \
|
|
994
|
-
--correlation-id="req-a1b2c3d4" \
|
|
995
|
-
--frequency="recorrente" \
|
|
996
|
-
--linked-to="PROJ-999" \
|
|
997
|
-
--suggestion="Adicionar catch específico para TokenExpiredError antes do handler genérico de erros"
|
|
998
|
-
```
|
|
999
|
-
|
|
1000
|
-
### Exemplo 2: Criar cards em batch
|
|
1001
|
-
|
|
1002
|
-
```bash
|
|
1003
|
-
/bug-report batch \
|
|
1004
|
-
--from-audit="./sessions/bug-audit-20260208/bug-audit-report.md" \
|
|
1005
|
-
--priority-filter="P0,P1"
|
|
1006
|
-
```
|
|
1007
|
-
|
|
1008
|
-
### Exemplo 3: Gerar relatório
|
|
1009
|
-
|
|
1010
|
-
```bash
|
|
1011
|
-
/bug-report generate-report \
|
|
1012
|
-
--bugs="./sessions/bugs-found.json" \
|
|
1013
|
-
--output="./sessions/consolidated-bug-report.md" \
|
|
1014
|
-
--format="markdown"
|
|
1015
|
-
```
|
|
1016
|
-
|
|
1017
|
-
---
|
|
1018
|
-
|
|
1019
848
|
## Mensagens de Status
|
|
1020
849
|
|
|
1021
850
|
### Início
|
|
@@ -1046,44 +875,3 @@ Processando...
|
|
|
1046
875
|
|
|
1047
876
|
---
|
|
1048
877
|
|
|
1049
|
-
## Bug-to-Test (pós-criação)
|
|
1050
|
-
|
|
1051
|
-
Após criar o card no $TASK_MANAGER, sempre perguntar:
|
|
1052
|
-
|
|
1053
|
-
```
|
|
1054
|
-
Bug registrado: {TASK-ID} — {título}
|
|
1055
|
-
|
|
1056
|
-
Deseja gerar um teste de regressão Cypress para este bug?
|
|
1057
|
-
Recomendado: previne que o bug retorne após o fix.
|
|
1058
|
-
|
|
1059
|
-
[S] Gerar agora
|
|
1060
|
-
[N] Registrar no backlog de cobertura
|
|
1061
|
-
[P] Pular
|
|
1062
|
-
```
|
|
1063
|
-
|
|
1064
|
-
### Se "Gerar agora"
|
|
1065
|
-
|
|
1066
|
-
Invocar Skill tool: `qa-cypress-e2e` passando como entrada:
|
|
1067
|
-
- Título do bug como nome do fluxo
|
|
1068
|
-
- Passos de reprodução como sequência de ações
|
|
1069
|
-
- Comportamento esperado vs. atual como asserções
|
|
1070
|
-
|
|
1071
|
-
Nomear o spec: `{dominio}/{TASK-ID}-regression.cy.ts`
|
|
1072
|
-
|
|
1073
|
-
Após gerar o teste, adicionar comentário no card do bug com o caminho do arquivo criado.
|
|
1074
|
-
|
|
1075
|
-
### Se "Registrar no backlog"
|
|
1076
|
-
|
|
1077
|
-
Append em `$DOCS_FOLDER/engineering/qa/test-backlog.md` (criar se não existir):
|
|
1078
|
-
|
|
1079
|
-
```markdown
|
|
1080
|
-
| {TASK-ID} | {título} | {domínio} | {dominio}/{TASK-ID}-regression.cy.ts |
|
|
1081
|
-
```
|
|
1082
|
-
|
|
1083
|
-
Cabeçalho da tabela (inserir apenas se o arquivo for novo):
|
|
1084
|
-
```markdown
|
|
1085
|
-
# Test Backlog — Testes de Regressão Pendentes
|
|
1086
|
-
|
|
1087
|
-
| Bug ID | Título | Domínio | Spec sugerida |
|
|
1088
|
-
|--------|--------|---------|---------------|
|
|
1089
|
-
```
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
# Integração com Task Managers (Adapter Pattern)
|
|
2
|
+
|
|
3
|
+
> Parte do skill `eng-qa-bug-report`. Leia este arquivo quando a tarefa configurar ou implementar o adapter de um task manager (Jira, Linear, GitHub, Asana), mapear prioridades, usar o fallback local ou adicionar um task manager novo.
|
|
4
|
+
|
|
5
|
+
## Integração com Task Managers (Adapter Pattern)
|
|
6
|
+
|
|
7
|
+
### Arquitetura de Adapters
|
|
8
|
+
|
|
9
|
+
O skill usa **Adapter Pattern** para suportar múltiplos task managers de forma desacoplada.
|
|
10
|
+
|
|
11
|
+
```
|
|
12
|
+
bug-report skill
|
|
13
|
+
↓
|
|
14
|
+
[Adapter Layer]
|
|
15
|
+
↓
|
|
16
|
+
┌─────────┬─────────┬─────────┬─────────┬─────────┬─────────┐
|
|
17
|
+
│ JIRA │ ClickUp │ Linear │ Trello │ GitHub │ GitLab │
|
|
18
|
+
└─────────┴─────────┴─────────┴─────────┴─────────┴─────────┘
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
### Task Managers alinhados ao ENV-template
|
|
22
|
+
|
|
23
|
+
| Task Manager | Método | Requer |
|
|
24
|
+
|--------------|--------|--------|
|
|
25
|
+
| **jira** | MCP Atlassian | MCP ou `TOKEN_TASK_MANAGER` + `PROJECT_KEY` |
|
|
26
|
+
| **linear** | CLI | `linear` CLI + `LINEAR_TEAM_ID` |
|
|
27
|
+
| **github** | gh CLI | `gh` autenticado |
|
|
28
|
+
| **asana** | token | `TOKEN_TASK_MANAGER` (criação manual se adapter incompleto) |
|
|
29
|
+
| **(vazio) / local** | Arquivo local | Freelance — `$SESSIONS_DIR/qa/bug-reports/` |
|
|
30
|
+
|
|
31
|
+
Valores no ENV.md são **minúsculos** (`jira`, não `JIRA`).
|
|
32
|
+
|
|
33
|
+
### Configuração no ENV.md
|
|
34
|
+
|
|
35
|
+
#### Jira
|
|
36
|
+
```bash
|
|
37
|
+
TASK_MANAGER=jira
|
|
38
|
+
TOKEN_TASK_MANAGER=your_jira_token # Opcional se usar MCP
|
|
39
|
+
PROJECT_KEY=PROJ
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
#### Linear
|
|
43
|
+
```bash
|
|
44
|
+
TASK_MANAGER=linear
|
|
45
|
+
TOKEN_TASK_MANAGER=lin_api_your_token
|
|
46
|
+
LINEAR_TEAM_ID=team-id
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
#### GitHub
|
|
50
|
+
```bash
|
|
51
|
+
TASK_MANAGER=github
|
|
52
|
+
# Token via gh auth / GITHUB_TOKEN
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
#### Freelance / local
|
|
56
|
+
```bash
|
|
57
|
+
TASK_MANAGER=
|
|
58
|
+
# Cards em $SESSIONS_DIR/qa/bug-reports/
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
#### GitLab
|
|
62
|
+
```bash
|
|
63
|
+
TASK_MANAGER=GITLAB
|
|
64
|
+
GITLAB_REPO=group/project
|
|
65
|
+
# Token via glab CLI (glab auth login)
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
### Implementação de Adapter
|
|
69
|
+
|
|
70
|
+
Cada adapter implementa a interface:
|
|
71
|
+
|
|
72
|
+
```bash
|
|
73
|
+
create_task_card() {
|
|
74
|
+
# Input:
|
|
75
|
+
# $1 - title (string)
|
|
76
|
+
# $2 - description (markdown/text)
|
|
77
|
+
# $3 - priority (P0/P1/P2/P3)
|
|
78
|
+
# $4 - category (string)
|
|
79
|
+
# $5 - labels (comma-separated)
|
|
80
|
+
|
|
81
|
+
# Output:
|
|
82
|
+
# Card ID/Key (string) ou caminho do arquivo local
|
|
83
|
+
|
|
84
|
+
# Return:
|
|
85
|
+
# 0 - Sucesso
|
|
86
|
+
# 1 - Falha
|
|
87
|
+
}
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
### Mapeamento de Prioridades
|
|
91
|
+
|
|
92
|
+
Diferentes task managers usam sistemas de prioridade diferentes:
|
|
93
|
+
|
|
94
|
+
| Framework | P0 | P1 | P2 | P3 |
|
|
95
|
+
|-----------|----|----|----|----|
|
|
96
|
+
| **Jira** | Highest | High | Medium | Low |
|
|
97
|
+
| **ClickUp** | 1 | 2 | 3 | 4 |
|
|
98
|
+
| **Linear** | 1 | 2 | 3 | 4 |
|
|
99
|
+
| **Trello** | Label:P0 | Label:P1 | Label:P2 | Label:P3 |
|
|
100
|
+
| **GitHub** | Label:priority-critical | Label:priority-high | Label:priority-medium | Label:priority-low |
|
|
101
|
+
| **GitLab** | Label:priority::1 | Label:priority::2 | Label:priority::3 | Label:priority::4 |
|
|
102
|
+
|
|
103
|
+
### Fallback Local
|
|
104
|
+
|
|
105
|
+
Se task manager indisponível ou não configurado:
|
|
106
|
+
1. Card salvo em `$SESSIONS_DIR/qa/bug-reports/bug-{timestamp}.md`
|
|
107
|
+
2. Arquivo contém todas as informações necessárias
|
|
108
|
+
3. Usuário pode criar card manualmente ou configurar integração
|
|
109
|
+
|
|
110
|
+
### Como Adicionar Novo Task Manager
|
|
111
|
+
|
|
112
|
+
Para adicionar suporte a um novo task manager:
|
|
113
|
+
|
|
114
|
+
1. **Adicionar detecção** na seção de pré-requisitos:
|
|
115
|
+
```bash
|
|
116
|
+
NOTION)
|
|
117
|
+
if [ -n "$TOKEN_TASK_MANAGER" ]; then
|
|
118
|
+
TASK_MANAGER_ENABLED=true
|
|
119
|
+
echo "✅ Integração Notion disponível"
|
|
120
|
+
fi
|
|
121
|
+
;;
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
2. **Implementar adapter** na função `create_task_card()`:
|
|
125
|
+
```bash
|
|
126
|
+
NOTION)
|
|
127
|
+
CARD_ID=$(curl -s -X POST "https://api.notion.com/v1/pages" \
|
|
128
|
+
-H "Authorization: Bearer $TOKEN_TASK_MANAGER" \
|
|
129
|
+
-H "Content-Type: application/json" \
|
|
130
|
+
-d '{
|
|
131
|
+
"parent": {"database_id": "'$(grep '^NOTION_DATABASE_ID=' "$IDE/ENV.md" | cut -d= -f2)'"},
|
|
132
|
+
"properties": {
|
|
133
|
+
"Name": {"title": [{"text": {"content": "'"$title"'"}}]},
|
|
134
|
+
"Priority": {"select": {"name": "'"$priority"'"}},
|
|
135
|
+
"Category": {"select": {"name": "'"$category"'"}}
|
|
136
|
+
}
|
|
137
|
+
}' | jq -r '.id')
|
|
138
|
+
|
|
139
|
+
echo "✅ Card criado no Notion: $CARD_ID"
|
|
140
|
+
echo "$CARD_ID"
|
|
141
|
+
;;
|
|
142
|
+
```
|
|
143
|
+
|
|
144
|
+
3. **Documentar configuração** na seção acima
|
|
145
|
+
|
|
146
|
+
4. **Adicionar teste** para validar funcionamento
|
|
147
|
+
|
|
148
|
+
---
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# Exemplos de Uso
|
|
2
|
+
|
|
3
|
+
> Parte do skill `eng-qa-bug-report`. Leia este arquivo quando precisar de um exemplo completo dos modos create, batch ou generate-report.
|
|
4
|
+
|
|
5
|
+
## Exemplos de Uso
|
|
6
|
+
|
|
7
|
+
### Exemplo 1: Criar card único (BUG-ALTO — todos os campos P1 obrigatórios)
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
/eng-qa-bug-report create \
|
|
11
|
+
--title="[auth] Token expirado retorna 500 ao invés de 401" \
|
|
12
|
+
--category="BUG-ALTO" \
|
|
13
|
+
--severity="P1" \
|
|
14
|
+
--environment="prod" \
|
|
15
|
+
--location="src/auth/token-validator.ts:67" \
|
|
16
|
+
--description="Quando o token JWT expira durante uma requisição autenticada, o serviço retorna HTTP 500 ao invés de 401. Ocorre de forma recorrente em produção para todos os usuários com sessão ativa há mais de 24h." \
|
|
17
|
+
--behavior-actual="POST /auth/validate retorna 500 Internal Server Error quando token está expirado" \
|
|
18
|
+
--behavior-expected="POST /auth/validate retorna 401 Unauthorized com body {error: 'token_expired'}" \
|
|
19
|
+
--reproduction="Pré-condição: usuário com token expirado (criado há >24h). Passos: 1. Fazer qualquer requisição autenticada. 2. Observar resposta. Resultado atual: HTTP 500." \
|
|
20
|
+
--impact="Todos os usuários com sessão ativa há mais de 24h — estimativa de 30% da base ativa. App client não consegue tratar 500 como sessão expirada, causando loop de erro sem logout automático." \
|
|
21
|
+
--entry-endpoint="POST /auth/validate" \
|
|
22
|
+
--affected-services="account,auth" \
|
|
23
|
+
--correlation-id="req-a1b2c3d4" \
|
|
24
|
+
--frequency="recorrente" \
|
|
25
|
+
--linked-to="PROJ-999" \
|
|
26
|
+
--suggestion="Adicionar catch específico para TokenExpiredError antes do handler genérico de erros"
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
### Exemplo 2: Criar cards em batch
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
/eng-qa-bug-report batch \
|
|
33
|
+
--from-audit="./sessions/bug-audit-20260208/bug-audit-report.md" \
|
|
34
|
+
--priority-filter="P0,P1"
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
### Exemplo 3: Gerar relatório
|
|
38
|
+
|
|
39
|
+
```bash
|
|
40
|
+
/eng-qa-bug-report generate-report \
|
|
41
|
+
--bugs="./sessions/bugs-found.json" \
|
|
42
|
+
--output="./sessions/consolidated-bug-report.md" \
|
|
43
|
+
--format="markdown"
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
---
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# Bug-to-Test (pós-criação)
|
|
2
|
+
|
|
3
|
+
> Parte do skill `eng-qa-bug-report`. Leia este arquivo quando depois de criar o card, a pessoa quiser gerar o teste que reproduz o bug.
|
|
4
|
+
|
|
5
|
+
## Bug-to-Test (pós-criação)
|
|
6
|
+
|
|
7
|
+
Após criar o card no $TASK_MANAGER, sempre perguntar:
|
|
8
|
+
|
|
9
|
+
```
|
|
10
|
+
Bug registrado: {TASK-ID} — {título}
|
|
11
|
+
|
|
12
|
+
Deseja gerar um teste de regressão Cypress para este bug?
|
|
13
|
+
Recomendado: previne que o bug retorne após o fix.
|
|
14
|
+
|
|
15
|
+
[S] Gerar agora
|
|
16
|
+
[N] Registrar no backlog de cobertura
|
|
17
|
+
[P] Pular
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
### Se "Gerar agora"
|
|
21
|
+
|
|
22
|
+
Invocar Skill tool: `eng-qa-cypress-e2e` passando como entrada:
|
|
23
|
+
- Título do bug como nome do fluxo
|
|
24
|
+
- Passos de reprodução como sequência de ações
|
|
25
|
+
- Comportamento esperado vs. atual como asserções
|
|
26
|
+
|
|
27
|
+
Nomear o spec: `{dominio}/{TASK-ID}-regression.cy.ts`
|
|
28
|
+
|
|
29
|
+
Após gerar o teste, adicionar comentário no card do bug com o caminho do arquivo criado.
|
|
30
|
+
|
|
31
|
+
### Se "Registrar no backlog"
|
|
32
|
+
|
|
33
|
+
Append em `$DOCS_FOLDER/engineering/qa/test-backlog.md` (criar se não existir):
|
|
34
|
+
|
|
35
|
+
```markdown
|
|
36
|
+
| {TASK-ID} | {título} | {domínio} | {dominio}/{TASK-ID}-regression.cy.ts |
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
Cabeçalho da tabela (inserir apenas se o arquivo for novo):
|
|
40
|
+
```markdown
|
|
41
|
+
# Test Backlog — Testes de Regressão Pendentes
|
|
42
|
+
|
|
43
|
+
| Bug ID | Título | Domínio | Spec sugerida |
|
|
44
|
+
|--------|--------|---------|---------------|
|
|
45
|
+
```
|
|
@@ -137,6 +137,12 @@ Se um padrão de ação se repete em mais de um test file ou é complexo:
|
|
|
137
137
|
- Registrar em `support/commands.ts`
|
|
138
138
|
- Tipar em `support/index.d.ts`
|
|
139
139
|
|
|
140
|
+
### Skills invocados durante a execução do skill
|
|
141
|
+
|
|
142
|
+
| Passo | Skill | Condição |
|
|
143
|
+
|-------|-------|----------|
|
|
144
|
+
| — | Nenhuma — skill autocontida | — |
|
|
145
|
+
|
|
140
146
|
---
|
|
141
147
|
|
|
142
148
|
## Fase 4 — Output
|
|
@@ -22,7 +22,7 @@ Você é o **QA senior do time** orientando um desenvolvedor a escrever testes C
|
|
|
22
22
|
Seu papel é analisar o código, identificar o que precisa de cobertura e explicar **como** testar —
|
|
23
23
|
não fazer o teste pelo dev.
|
|
24
24
|
|
|
25
|
-
> Esta skill **não escreve specs Cypress** — usa `qa-cypress-e2e` para isso.
|
|
25
|
+
> Esta skill **não escreve specs Cypress** — usa `eng-qa-cypress-e2e` para isso.
|
|
26
26
|
> Aqui o objetivo é orientação: o dev entende o que precisa e implementa.
|
|
27
27
|
|
|
28
28
|
---
|
|
@@ -121,6 +121,14 @@ Fixture necessária: fixtures/{dominio}/{recurso}-{metodo}.json
|
|
|
121
121
|
→ Basear no tipo/interface: {caminho do type no projeto}
|
|
122
122
|
```
|
|
123
123
|
|
|
124
|
+
### Skills invocados durante a execução do skill
|
|
125
|
+
|
|
126
|
+
| Passo | Skill | Condição |
|
|
127
|
+
|-------|-------|----------|
|
|
128
|
+
| — | Nenhuma — skill autocontida | — |
|
|
129
|
+
|
|
130
|
+
A skill orienta e não escreve specs Cypress; a escrita de specs é da `eng-qa-cypress-e2e` (delegação declarada, não uma chamada deste fluxo).
|
|
131
|
+
|
|
124
132
|
---
|
|
125
133
|
|
|
126
134
|
## Fase 4 — Checklist de Entrega
|
|
@@ -71,8 +71,8 @@ Use este skill quando:
|
|
|
71
71
|
- Cenários de aceitação do produto precisam virar testes executáveis
|
|
72
72
|
|
|
73
73
|
**NÃO usar quando:**
|
|
74
|
-
- Testes unitários ou de integração → usar `qa-unit-test`
|
|
75
|
-
- Testes com TestSprite MCP → usar `qa-testsprite`
|
|
74
|
+
- Testes unitários ou de integração → usar `eng-qa-unit-test`
|
|
75
|
+
- Testes com TestSprite MCP → usar `eng-qa-testsprite`
|
|
76
76
|
- O projeto já tem Cypress configurado com boa cobertura → manter Cypress
|
|
77
77
|
- Ambiente sem Node.js ou sem acesso a browser headless
|
|
78
78
|
|
|
@@ -291,6 +291,12 @@ describe("{Funcionalidade}", () => {
|
|
|
291
291
|
});
|
|
292
292
|
```
|
|
293
293
|
|
|
294
|
+
### Skills invocados durante a execução do skill
|
|
295
|
+
|
|
296
|
+
| Passo | Skill | Condição |
|
|
297
|
+
|-------|-------|----------|
|
|
298
|
+
| — | Nenhuma — skill autocontida | — |
|
|
299
|
+
|
|
294
300
|
---
|
|
295
301
|
|
|
296
302
|
## Árvore de Decisão
|
|
@@ -397,5 +403,5 @@ Próximo passo: revisar os cenários e adicionar dados de teste no .env
|
|
|
397
403
|
## Recursos Adicionais
|
|
398
404
|
|
|
399
405
|
- **Stagehand docs**: https://docs.stagehand.dev
|
|
400
|
-
- **Skill relacionado**: `$IDE/skills/qa-testsprite/SKILL.md` — para testes unitários/integração com TestSprite
|
|
406
|
+
- **Skill relacionado**: `$IDE/skills/eng-qa-testsprite/SKILL.md` — para testes unitários/integração com TestSprite
|
|
401
407
|
- **Skill relacionado**: `$IDE/skills/eng-scraper-robot-builder/SKILL.md` — para gerar robôs Playwright
|
|
@@ -12,16 +12,16 @@ metadata:
|
|
|
12
12
|
area: qa
|
|
13
13
|
---
|
|
14
14
|
|
|
15
|
-
# qa-e2e-spec-writer
|
|
15
|
+
# eng-qa-e2e-spec-writer
|
|
16
16
|
|
|
17
17
|
Você é um QA architect especializado em especificação de testes E2E. Sua função
|
|
18
18
|
é gerar documentação de handoff completa para que outro time (QA, SDET) possa
|
|
19
19
|
implementar os testes sem precisar ler o código-fonte do frontend.
|
|
20
20
|
|
|
21
21
|
> **Diferença dos outros skills QA:**
|
|
22
|
-
> - `qa-cypress-e2e` → gera **código** `.cy.ts`
|
|
23
|
-
> - `qa-test-plan` → gera **estratégia** de testes
|
|
24
|
-
> - `qa-e2e-spec-writer` → gera **especificação detalhada** com fixtures, Page Objects e setup
|
|
22
|
+
> - `eng-qa-cypress-e2e` → gera **código** `.cy.ts`
|
|
23
|
+
> - `eng-qa-test-plan` → gera **estratégia** de testes
|
|
24
|
+
> - `eng-qa-e2e-spec-writer` → gera **especificação detalhada** com fixtures, Page Objects e setup
|
|
25
25
|
|
|
26
26
|
---
|
|
27
27
|
|
|
@@ -36,7 +36,7 @@ por prioridade, Page Objects, fixtures JSON, intercepts de API, setup de ambient
|
|
|
36
36
|
## Entrada
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
/qa-e2e-spec-writer [rota ou feature]
|
|
39
|
+
/eng-qa-e2e-spec-writer [rota ou feature]
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
- `rota ou feature` (opcional) — escopo da especificação
|
|
@@ -74,8 +74,8 @@ por prioridade, Page Objects, fixtures JSON, intercepts de API, setup de ambient
|
|
|
74
74
|
- Sprint planning precisa estimar esforço de E2E
|
|
75
75
|
|
|
76
76
|
**NÃO usar quando:**
|
|
77
|
-
- Objetivo é gerar código de teste diretamente (usar `qa-cypress-e2e`)
|
|
78
|
-
- Objetivo é planejar estratégia de teste (usar `qa-test-plan`)
|
|
77
|
+
- Objetivo é gerar código de teste diretamente (usar `eng-qa-cypress-e2e`)
|
|
78
|
+
- Objetivo é planejar estratégia de teste (usar `eng-qa-test-plan`)
|
|
79
79
|
- Feature ainda não foi implementada (spec precisa de código real)
|
|
80
80
|
|
|
81
81
|
---
|
|
@@ -239,7 +239,7 @@ $SESSIONS_DIR/qa/{TASK_MANAGER_KEY}/e2e-spec-{feature-slug}.md
|
|
|
239
239
|
```markdown
|
|
240
240
|
# Especificação E2E — {Feature}
|
|
241
241
|
|
|
242
|
-
> Gerado por qa-e2e-spec-writer | {data}
|
|
242
|
+
> Gerado por eng-qa-e2e-spec-writer | {data}
|
|
243
243
|
> Escopo: {rota ou feature}
|
|
244
244
|
|
|
245
245
|
## Resumo
|
|
@@ -269,6 +269,12 @@ $SESSIONS_DIR/qa/{TASK_MANAGER_KEY}/e2e-spec-{feature-slug}.md
|
|
|
269
269
|
|
|
270
270
|
**6.3** Apresentar ao usuário para revisão.
|
|
271
271
|
|
|
272
|
+
### Skills invocados durante a execução do skill
|
|
273
|
+
|
|
274
|
+
| Passo | Skill | Condição |
|
|
275
|
+
|-------|-------|----------|
|
|
276
|
+
| — | Nenhuma — skill autocontida | — |
|
|
277
|
+
|
|
272
278
|
---
|
|
273
279
|
|
|
274
280
|
## Regras
|
|
@@ -313,7 +319,7 @@ $SESSIONS_DIR/qa/{TASK_MANAGER_KEY}/e2e-spec-{feature-slug}.md
|
|
|
313
319
|
## Mensagem de Conclusão
|
|
314
320
|
|
|
315
321
|
```
|
|
316
|
-
── qa-e2e-spec-writer concluído ──────────────────────────
|
|
322
|
+
── eng-qa-e2e-spec-writer concluído ──────────────────────────
|
|
317
323
|
Feature : {nome}
|
|
318
324
|
Cenários : {N} ({P0} smoke, {P1} core, {P2} edge, {P3} extra)
|
|
319
325
|
Pages : {M} Page Objects
|