@brunosps00/dev-workflow 0.6.1 → 0.7.0
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/lib/constants.js
CHANGED
|
@@ -1,61 +1,61 @@
|
|
|
1
1
|
const COMMANDS = {
|
|
2
2
|
en: [
|
|
3
|
-
{ name: 'dw-adr', description: '
|
|
4
|
-
{ name: 'dw-analyze-project', description: '
|
|
5
|
-
{ name: 'dw-autopilot', description: '
|
|
6
|
-
{ name: 'dw-brainstorm', description: '
|
|
7
|
-
{ name: 'dw-bugfix', description: '
|
|
8
|
-
{ name: 'dw-code-review', description: '
|
|
9
|
-
{ name: 'dw-commit', description: '
|
|
10
|
-
{ name: 'dw-create-prd', description: '
|
|
11
|
-
{ name: 'dw-create-tasks', description: '
|
|
12
|
-
{ name: 'dw-create-techspec', description: '
|
|
13
|
-
{ name: 'dw-deep-research', description: '
|
|
14
|
-
{ name: 'dw-fix-qa', description: '
|
|
15
|
-
{ name: 'dw-functional-doc', description: '
|
|
16
|
-
{ name: 'dw-generate-pr', description: '
|
|
17
|
-
{ name: 'dw-help', description: '
|
|
18
|
-
{ name: 'dw-intel', description: '
|
|
19
|
-
{ name: 'dw-quick', description: '
|
|
20
|
-
{ name: 'dw-redesign-ui', description: '
|
|
21
|
-
{ name: 'dw-refactoring-analysis', description: '
|
|
22
|
-
{ name: 'dw-resume', description: '
|
|
23
|
-
{ name: 'dw-review-implementation', description: '
|
|
24
|
-
{ name: 'dw-revert-task', description: '
|
|
25
|
-
{ name: 'dw-run-plan', description: '
|
|
26
|
-
{ name: 'dw-run-qa', description: '
|
|
27
|
-
{ name: 'dw-run-task', description: '
|
|
28
|
-
{ name: 'dw-security-check', description: '
|
|
29
|
-
{ name: 'dw-update', description: '
|
|
3
|
+
{ name: 'dw-adr', description: 'Records an architectural decision and the trade-offs accepted, before they get lost.' },
|
|
4
|
+
{ name: 'dw-analyze-project', description: 'Scans the repo to learn its stack and conventions, then writes the rules other commands rely on.' },
|
|
5
|
+
{ name: 'dw-autopilot', description: 'Takes a wish and runs the full PRD-to-PR pipeline, stopping only at three approval gates.' },
|
|
6
|
+
{ name: 'dw-brainstorm', description: 'Refines an idea using the product\'s existing features as ground truth, before any PRD.' },
|
|
7
|
+
{ name: 'dw-bugfix', description: 'Triages a bug report, asks three sharp questions, then fixes it or routes it to a PRD.' },
|
|
8
|
+
{ name: 'dw-code-review', description: 'Level-3 review against PRD, rules, tests, and security; saves a verdict you can act on.' },
|
|
9
|
+
{ name: 'dw-commit', description: 'Groups changes by intent and writes Conventional Commits messages that read clean.' },
|
|
10
|
+
{ name: 'dw-create-prd', description: 'Writes a PRD after asking the questions that would otherwise haunt the techspec later.' },
|
|
11
|
+
{ name: 'dw-create-tasks', description: 'Breaks the PRD and techspec into tasks small enough to ship one at a time.' },
|
|
12
|
+
{ name: 'dw-create-techspec', description: 'Translates a finished PRD into a techspec the team can actually build from.' },
|
|
13
|
+
{ name: 'dw-deep-research', description: 'Researches a topic across sources, tracks citations, and flags claims that don\'t check out.' },
|
|
14
|
+
{ name: 'dw-fix-qa', description: 'Fixes bugs found in QA and retests them with screenshot evidence until they stay fixed.' },
|
|
15
|
+
{ name: 'dw-functional-doc', description: 'Maps screens and user flows into a functional doc, validated end-to-end with Playwright.' },
|
|
16
|
+
{ name: 'dw-generate-pr', description: 'Pushes the branch and opens a PR with a body that explains what changed and how to test it.' },
|
|
17
|
+
{ name: 'dw-help', description: 'Lists every command and the flows that connect them. Pass a keyword for a contextual shortcut.' },
|
|
18
|
+
{ name: 'dw-intel', description: 'Answers questions about the codebase using its own rules and intel as the source of truth.' },
|
|
19
|
+
{ name: 'dw-quick', description: 'Runs a small, well-defined change with workflow guarantees, no PRD needed.' },
|
|
20
|
+
{ name: 'dw-redesign-ui', description: 'Audits a frontend page, proposes design directions you choose from, then ships the redesign.' },
|
|
21
|
+
{ name: 'dw-refactoring-analysis', description: 'Catalogs code smells in Fowler\'s vocabulary and ranks them by impact, P0 to P3.' },
|
|
22
|
+
{ name: 'dw-resume', description: 'Picks up where you left off — reads the active PRD, the last task, and tells you what\'s next.' },
|
|
23
|
+
{ name: 'dw-review-implementation', description: 'Maps every PRD requirement to the code that delivers it, and lists what is still missing.' },
|
|
24
|
+
{ name: 'dw-revert-task', description: 'Reverts the commits of one task, but only after checking nothing downstream depends on it.' },
|
|
25
|
+
{ name: 'dw-run-plan', description: 'Runs every pending task in order, with PRD-compliance review at the end.' },
|
|
26
|
+
{ name: 'dw-run-qa', description: 'Drives the browser to test happy paths, edge cases, and accessibility, with screenshot proof.' },
|
|
27
|
+
{ name: 'dw-run-task', description: 'Implements one task, runs the validation that comes with it, and commits when it passes.' },
|
|
28
|
+
{ name: 'dw-security-check', description: 'OWASP review plus Trivy CVE/secret/IaC scan for TS, Python, C#, or Rust. CRITICAL or HIGH blocks the PR.' },
|
|
29
|
+
{ name: 'dw-update', description: 'Updates dev-workflow to the latest npm release in-place, with a snapshot you can roll back to.' },
|
|
30
30
|
],
|
|
31
31
|
'pt-br': [
|
|
32
|
-
{ name: 'dw-adr', description: '
|
|
33
|
-
{ name: 'dw-analyze-project', description: '
|
|
34
|
-
{ name: 'dw-autopilot', description: '
|
|
35
|
-
{ name: 'dw-brainstorm', description: '
|
|
36
|
-
{ name: 'dw-bugfix', description: '
|
|
37
|
-
{ name: 'dw-code-review', description: '
|
|
38
|
-
{ name: 'dw-commit', description: '
|
|
39
|
-
{ name: 'dw-create-prd', description: '
|
|
40
|
-
{ name: 'dw-create-tasks', description: '
|
|
41
|
-
{ name: 'dw-create-techspec', description: '
|
|
42
|
-
{ name: 'dw-deep-research', description: 'Pesquisa
|
|
43
|
-
{ name: 'dw-fix-qa', description: '
|
|
44
|
-
{ name: 'dw-functional-doc', description: '
|
|
45
|
-
{ name: 'dw-generate-pr', description: '
|
|
46
|
-
{ name: 'dw-help', description: '
|
|
47
|
-
{ name: 'dw-intel', description: '
|
|
48
|
-
{ name: 'dw-quick', description: '
|
|
49
|
-
{ name: 'dw-redesign-ui', description: '
|
|
50
|
-
{ name: 'dw-refactoring-analysis', description: '
|
|
51
|
-
{ name: 'dw-resume', description: '
|
|
52
|
-
{ name: 'dw-review-implementation', description: '
|
|
53
|
-
{ name: 'dw-revert-task', description: '
|
|
54
|
-
{ name: 'dw-run-plan', description: '
|
|
55
|
-
{ name: 'dw-run-qa', description: '
|
|
56
|
-
{ name: 'dw-run-task', description: '
|
|
57
|
-
{ name: 'dw-security-check', description: '
|
|
58
|
-
{ name: 'dw-update', description: '
|
|
32
|
+
{ name: 'dw-adr', description: 'Registra uma decisao arquitetural e os trade-offs aceitos, antes que se percam.' },
|
|
33
|
+
{ name: 'dw-analyze-project', description: 'Escaneia o repo para aprender stack e convencoes, e escreve as regras que os outros commands usam.' },
|
|
34
|
+
{ name: 'dw-autopilot', description: 'Pega um desejo e roda do PRD ao PR, parando so em tres gates de aprovacao.' },
|
|
35
|
+
{ name: 'dw-brainstorm', description: 'Refina uma ideia usando as features existentes do produto como base, antes de qualquer PRD.' },
|
|
36
|
+
{ name: 'dw-bugfix', description: 'Tria um bug, faz tres perguntas certas, e entao corrige ou redireciona para PRD.' },
|
|
37
|
+
{ name: 'dw-code-review', description: 'Review Nivel 3 contra PRD, rules, testes e seguranca; gera um veredicto acionavel.' },
|
|
38
|
+
{ name: 'dw-commit', description: 'Agrupa as mudancas por intencao e escreve mensagens Conventional Commits limpas.' },
|
|
39
|
+
{ name: 'dw-create-prd', description: 'Escreve um PRD depois de fazer as perguntas que assombrariam o techspec depois.' },
|
|
40
|
+
{ name: 'dw-create-tasks', description: 'Quebra PRD e techspec em tasks pequenas o suficiente para entregar uma de cada vez.' },
|
|
41
|
+
{ name: 'dw-create-techspec', description: 'Traduz um PRD pronto em um techspec que o time consegue construir de fato.' },
|
|
42
|
+
{ name: 'dw-deep-research', description: 'Pesquisa um topico em varias fontes, rastreia citacoes e marca o que nao confere.' },
|
|
43
|
+
{ name: 'dw-fix-qa', description: 'Corrige bugs do QA e retesta com evidencia em screenshot ate ficarem estaveis.' },
|
|
44
|
+
{ name: 'dw-functional-doc', description: 'Mapeia telas e fluxos em um dossie funcional, validado E2E com Playwright.' },
|
|
45
|
+
{ name: 'dw-generate-pr', description: 'Faz push da branch e abre um PR com corpo explicando o que mudou e como testar.' },
|
|
46
|
+
{ name: 'dw-help', description: 'Lista todos os commands e os fluxos que os conectam. Passe uma keyword para atalho contextual.' },
|
|
47
|
+
{ name: 'dw-intel', description: 'Responde perguntas sobre o codebase usando suas proprias rules e intel como fonte.' },
|
|
48
|
+
{ name: 'dw-quick', description: 'Roda uma mudanca pequena e bem definida com garantias do workflow, sem precisar de PRD.' },
|
|
49
|
+
{ name: 'dw-redesign-ui', description: 'Audita uma pagina frontend, propoe direcoes de design que voce escolhe, e entrega o redesign.' },
|
|
50
|
+
{ name: 'dw-refactoring-analysis', description: 'Cataloga code smells no vocabulario de Fowler e ranqueia por impacto, P0 a P3.' },
|
|
51
|
+
{ name: 'dw-resume', description: 'Retoma de onde voce parou — le o PRD ativo, a ultima task, e diz qual o proximo passo.' },
|
|
52
|
+
{ name: 'dw-review-implementation', description: 'Mapeia cada requisito do PRD ao codigo que o entrega, e lista o que ainda falta.' },
|
|
53
|
+
{ name: 'dw-revert-task', description: 'Reverte os commits de uma task, mas so depois de checar que nada a frente depende dela.' },
|
|
54
|
+
{ name: 'dw-run-plan', description: 'Roda todas as tasks pendentes em ordem, com review de PRD compliance no final.' },
|
|
55
|
+
{ name: 'dw-run-qa', description: 'Pilota o browser para testar fluxo feliz, edge cases e acessibilidade, com screenshot.' },
|
|
56
|
+
{ name: 'dw-run-task', description: 'Implementa uma task, roda a validacao que vem com ela, e commita quando passa.' },
|
|
57
|
+
{ name: 'dw-security-check', description: 'Review OWASP + scan Trivy CVE/secret/IaC para TS, Python, C# ou Rust. CRITICAL ou HIGH bloqueia PR.' },
|
|
58
|
+
{ name: 'dw-update', description: 'Atualiza o dev-workflow para o release mais recente no npm, com snapshot para rollback.' },
|
|
59
59
|
],
|
|
60
60
|
};
|
|
61
61
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brunosps00/dev-workflow",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0",
|
|
4
4
|
"description": "AI-driven development workflow commands for any project. Scaffolds a complete PRD-to-PR pipeline with multi-platform AI assistant support.",
|
|
5
5
|
"bin": {
|
|
6
6
|
"dev-workflow": "./bin/dev-workflow.js"
|
|
@@ -1,13 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: dw-council
|
|
3
|
-
description:
|
|
4
|
-
Orchestrates a multi-advisor debate (3-5 archetypes) to stress-test
|
|
5
|
-
high-stakes product, architecture, or scope decisions. Uses parallel
|
|
6
|
-
subagents with steel-manning, concession tracking, and dissent-preserving
|
|
7
|
-
synthesis. Invoked opt-in via `--council` flag from dw-brainstorm and
|
|
8
|
-
dw-create-techspec, or standalone when the user explicitly needs a
|
|
9
|
-
rigorous debate. Do not use for small decisions, routine implementation,
|
|
10
|
-
or when a single answer is already obvious.
|
|
3
|
+
description: Multi-advisor debate (3-5 archetypes) with steel-manning and dissent preserved, for high-stakes product or architecture calls.
|
|
11
4
|
allowed-tools:
|
|
12
5
|
- Read
|
|
13
6
|
- Task
|
|
@@ -1,13 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: dw-memory
|
|
3
|
-
description:
|
|
4
|
-
Maintains workflow-scoped memory for dev-workflow PRD runs using
|
|
5
|
-
.dw/spec/prd-<name>/MEMORY.md (shared) and .dw/spec/prd-<name>/tasks/<N>_memory.md
|
|
6
|
-
(task-local). Use when a dev-workflow command needs to persist or recall
|
|
7
|
-
durable cross-task context (decisions, constraints, risks) across task
|
|
8
|
-
executions. Invoked from dw-run-task, dw-run-plan, dw-autopilot, and
|
|
9
|
-
dw-resume. Do not use for PR review remediation, user preferences, or
|
|
10
|
-
event-log summarization.
|
|
3
|
+
description: Two-tier workflow memory (shared + per-task) with promotion test, so cross-task context survives without bloating files.
|
|
11
4
|
allowed-tools:
|
|
12
5
|
- Read
|
|
13
6
|
- Write
|
|
@@ -1,12 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: dw-review-rigor
|
|
3
|
-
description:
|
|
4
|
-
Applies review discipline to code-review and analysis commands:
|
|
5
|
-
de-duplicates issues, orders by severity, verifies intent before flagging,
|
|
6
|
-
prioritizes signal over volume, and skips concerns that linters already
|
|
7
|
-
catch. Invoked from dw-code-review, dw-review-implementation, and
|
|
8
|
-
dw-refactoring-analysis. Do not use for fetching reviews from external
|
|
9
|
-
providers or for executing fixes.
|
|
3
|
+
description: Five rules for review output — dedupe, severity-order, verify intent, skip linter noise, prefer signal over volume.
|
|
10
4
|
allowed-tools:
|
|
11
5
|
- Read
|
|
12
6
|
- Grep
|
|
@@ -1,11 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: dw-verify
|
|
3
|
-
description:
|
|
4
|
-
Enforces fresh verification evidence before any completion, fix, or passing
|
|
5
|
-
claim — and before commits or PR creation. Use when a dev-workflow command
|
|
6
|
-
is about to report success, hand off work, or commit code. Invoked from
|
|
7
|
-
dw-run-task, dw-run-plan, dw-fix-qa, dw-bugfix, dw-code-review, dw-generate-pr,
|
|
8
|
-
and dw-quick. Do not use for early planning or brainstorming.
|
|
3
|
+
description: Demands fresh verification evidence before any success claim or commit. No PASS report, no claim — no exceptions.
|
|
9
4
|
allowed-tools:
|
|
10
5
|
- Bash
|
|
11
6
|
- Read
|