adi_dev_workflow 1.1.1 → 1.3.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/bin/index.js +8 -8
- package/frameworks/agents/qa-staff-engineer.md +311 -311
- package/frameworks/agents/qa-validation-expert.md +458 -458
- package/frameworks/agents/tech-review-conformance.md +200 -200
- package/frameworks/commands/ministack/README.md +2 -0
- package/frameworks/commands/ministack/code-review.md +2 -0
- package/frameworks/commands/ministack/generate-intent.md +2 -0
- package/frameworks/commands/ministack/generate-scope.md +2 -0
- package/frameworks/commands/ministack/generate-tasks.md +2 -0
- package/frameworks/commands/ministack/generate-tech-direction.md +2 -0
- package/frameworks/commands/ministack/run-ministack-tasks.md +3 -0
- package/frameworks/commands/ministack/run-ministack-withlinear.md +2 -0
- package/frameworks/commands/ministack/status.md +2 -0
- package/frameworks/commands/sdd/code-review.md +2 -0
- package/frameworks/commands/sdd/generate-prd.md +2 -0
- package/frameworks/commands/sdd/generate-task-plan.md +2 -0
- package/frameworks/commands/sdd/generate-tech-direction.md +2 -0
- package/frameworks/commands/sdd/generate-tech-spec.md +2 -0
- package/frameworks/commands/sdd/generate-tests.md +2 -0
- package/frameworks/commands/sdd/run_tasks.md +3 -0
- package/frameworks/commands/sdd/run_tasks_withlinear.md +2 -0
- package/frameworks/commands/sdd/status.md +2 -0
- package/frameworks/commands/sdd/validate-sdd.md +2 -0
- package/frameworks/commands/sync-tasks-to-linear.md +2 -0
- package/frameworks/commands/taskcard/generate-taskcard.md +2 -0
- package/frameworks/commands/taskcard/run-taskcard.md +2 -0
- package/frameworks/config/ai-framework-config.yaml +112 -0
- package/frameworks/skills/ministack-tasks-expert/SKILL.md +204 -204
- package/frameworks/skills/ministack-tasks-expert/templates/task_plan_template.md +78 -78
- package/frameworks/skills/ministack-tasks-expert/templates/task_template.md +103 -103
- package/frameworks/skills/sdd-task-plan-expert-workspace/iteration-1/benchmark.json +99 -99
- package/frameworks/skills/sdd-task-plan-expert-workspace/iteration-1/benchmark.md +64 -64
- package/frameworks/skills/sdd-task-plan-expert-workspace/iteration-1/eval-1-happy-path/eval_metadata.json +12 -12
- package/frameworks/skills/sdd-task-plan-expert-workspace/iteration-1/eval-1-happy-path/with_skill/grading.json +32 -32
- package/frameworks/skills/sdd-task-plan-expert-workspace/iteration-1/eval-1-happy-path/with_skill/outputs/response.md +134 -134
- package/frameworks/skills/sdd-task-plan-expert-workspace/iteration-1/eval-1-happy-path/with_skill/outputs/transcript.md +68 -68
- package/frameworks/skills/sdd-task-plan-expert-workspace/iteration-1/eval-1-happy-path/with_skill/timing.json +5 -5
- package/frameworks/skills/sdd-task-plan-expert-workspace/iteration-1/eval-1-happy-path/without_skill/grading.json +32 -32
- package/frameworks/skills/sdd-task-plan-expert-workspace/iteration-1/eval-1-happy-path/without_skill/outputs/response.md +525 -525
- package/frameworks/skills/sdd-task-plan-expert-workspace/iteration-1/eval-1-happy-path/without_skill/outputs/transcript.md +30 -30
- package/frameworks/skills/sdd-task-plan-expert-workspace/iteration-1/eval-1-happy-path/without_skill/timing.json +5 -5
- package/frameworks/skills/sdd-task-plan-expert-workspace/iteration-1/eval-2-spec-simples/eval_metadata.json +12 -12
- package/frameworks/skills/sdd-task-plan-expert-workspace/iteration-1/eval-2-spec-simples/with_skill/grading.json +32 -32
- package/frameworks/skills/sdd-task-plan-expert-workspace/iteration-1/eval-2-spec-simples/with_skill/outputs/response.md +1126 -1126
- package/frameworks/skills/sdd-task-plan-expert-workspace/iteration-1/eval-2-spec-simples/with_skill/outputs/transcript.md +131 -131
- package/frameworks/skills/sdd-task-plan-expert-workspace/iteration-1/eval-2-spec-simples/with_skill/timing.json +5 -5
- package/frameworks/skills/sdd-task-plan-expert-workspace/iteration-1/eval-2-spec-simples/without_skill/grading.json +32 -32
- package/frameworks/skills/sdd-task-plan-expert-workspace/iteration-1/eval-2-spec-simples/without_skill/outputs/response.md +452 -452
- package/frameworks/skills/sdd-task-plan-expert-workspace/iteration-1/eval-2-spec-simples/without_skill/outputs/transcript.md +78 -78
- package/frameworks/skills/sdd-task-plan-expert-workspace/iteration-1/eval-2-spec-simples/without_skill/timing.json +5 -5
- package/frameworks/skills/sdd-task-plan-expert-workspace/iteration-1/eval-3-sem-user-stories/eval_metadata.json +12 -12
- package/frameworks/skills/sdd-task-plan-expert-workspace/iteration-1/eval-3-sem-user-stories/with_skill/grading.json +32 -32
- package/frameworks/skills/sdd-task-plan-expert-workspace/iteration-1/eval-3-sem-user-stories/with_skill/outputs/response.md +101 -101
- package/frameworks/skills/sdd-task-plan-expert-workspace/iteration-1/eval-3-sem-user-stories/with_skill/outputs/transcript.md +133 -133
- package/frameworks/skills/sdd-task-plan-expert-workspace/iteration-1/eval-3-sem-user-stories/with_skill/timing.json +5 -5
- package/frameworks/skills/sdd-task-plan-expert-workspace/iteration-1/eval-3-sem-user-stories/without_skill/grading.json +32 -32
- package/frameworks/skills/sdd-task-plan-expert-workspace/iteration-1/eval-3-sem-user-stories/without_skill/outputs/response.md +248 -248
- package/frameworks/skills/sdd-task-plan-expert-workspace/iteration-1/eval-3-sem-user-stories/without_skill/outputs/transcript.md +49 -49
- package/frameworks/skills/sdd-task-plan-expert-workspace/iteration-1/eval-3-sem-user-stories/without_skill/timing.json +5 -5
- package/frameworks/skills/sdd-task-plan-expert-workspace/iteration-1/review.html +1325 -1325
- package/frameworks/skills/sdd-task-plan-expert-workspace/iteration-2/benchmark.json +94 -94
- package/frameworks/skills/sdd-task-plan-expert-workspace/iteration-2/benchmark.md +67 -67
- package/frameworks/skills/sdd-task-plan-expert-workspace/iteration-2/eval-1-happy-path/eval_metadata.json +12 -12
- package/frameworks/skills/sdd-task-plan-expert-workspace/iteration-2/eval-1-happy-path/with_skill/grading.json +32 -32
- package/frameworks/skills/sdd-task-plan-expert-workspace/iteration-2/eval-1-happy-path/with_skill/outputs/response.md +117 -117
- package/frameworks/skills/sdd-task-plan-expert-workspace/iteration-2/eval-1-happy-path/with_skill/outputs/transcript.md +91 -91
- package/frameworks/skills/sdd-task-plan-expert-workspace/iteration-2/eval-1-happy-path/with_skill/timing.json +1 -1
- package/frameworks/skills/sdd-task-plan-expert-workspace/iteration-2/eval-1-happy-path/without_skill/grading.json +32 -32
- package/frameworks/skills/sdd-task-plan-expert-workspace/iteration-2/eval-1-happy-path/without_skill/outputs/response.md +694 -694
- package/frameworks/skills/sdd-task-plan-expert-workspace/iteration-2/eval-1-happy-path/without_skill/outputs/transcript.md +45 -45
- package/frameworks/skills/sdd-task-plan-expert-workspace/iteration-2/eval-1-happy-path/without_skill/timing.json +1 -1
- package/frameworks/skills/sdd-task-plan-expert-workspace/iteration-2/eval-2-spec-simples/eval_metadata.json +12 -12
- package/frameworks/skills/sdd-task-plan-expert-workspace/iteration-2/eval-2-spec-simples/with_skill/grading.json +32 -32
- package/frameworks/skills/sdd-task-plan-expert-workspace/iteration-2/eval-2-spec-simples/with_skill/outputs/response.md +1087 -1087
- package/frameworks/skills/sdd-task-plan-expert-workspace/iteration-2/eval-2-spec-simples/with_skill/outputs/transcript.md +124 -124
- package/frameworks/skills/sdd-task-plan-expert-workspace/iteration-2/eval-2-spec-simples/with_skill/timing.json +1 -1
- package/frameworks/skills/sdd-task-plan-expert-workspace/iteration-2/eval-2-spec-simples/without_skill/grading.json +32 -32
- package/frameworks/skills/sdd-task-plan-expert-workspace/iteration-2/eval-2-spec-simples/without_skill/outputs/response.md +458 -458
- package/frameworks/skills/sdd-task-plan-expert-workspace/iteration-2/eval-2-spec-simples/without_skill/outputs/transcript.md +84 -84
- package/frameworks/skills/sdd-task-plan-expert-workspace/iteration-2/eval-2-spec-simples/without_skill/timing.json +1 -1
- package/frameworks/skills/sdd-task-plan-expert-workspace/iteration-2/eval-3-sem-user-stories/eval_metadata.json +12 -12
- package/frameworks/skills/sdd-task-plan-expert-workspace/iteration-2/eval-3-sem-user-stories/with_skill/grading.json +32 -32
- package/frameworks/skills/sdd-task-plan-expert-workspace/iteration-2/eval-3-sem-user-stories/with_skill/outputs/response.md +70 -70
- package/frameworks/skills/sdd-task-plan-expert-workspace/iteration-2/eval-3-sem-user-stories/with_skill/outputs/transcript.md +148 -148
- package/frameworks/skills/sdd-task-plan-expert-workspace/iteration-2/eval-3-sem-user-stories/with_skill/timing.json +1 -1
- package/frameworks/skills/sdd-task-plan-expert-workspace/iteration-2/eval-3-sem-user-stories/without_skill/grading.json +32 -32
- package/frameworks/skills/sdd-task-plan-expert-workspace/iteration-2/eval-3-sem-user-stories/without_skill/outputs/response.md +249 -249
- package/frameworks/skills/sdd-task-plan-expert-workspace/iteration-2/eval-3-sem-user-stories/without_skill/outputs/transcript.md +80 -80
- package/frameworks/skills/sdd-task-plan-expert-workspace/iteration-2/eval-3-sem-user-stories/without_skill/timing.json +1 -1
- package/frameworks/skills/sdd-task-plan-expert-workspace/iteration-2/review.html +1325 -1325
- package/frameworks/skills/sdd-tech-spec-expert/SKILL.md +317 -317
- package/frameworks/skills/sdd-tech-spec-expert/evals/evals.json +199 -199
- package/frameworks/skills/sdd-tech-spec-expert/templates/spec_tech_template.md +290 -290
- package/frameworks/skills/sdd-tech-spec-expert/templates/tech_direction-template.md +23 -23
- package/package.json +28 -28
- package/src/cli.js +121 -121
- package/src/installer.js +155 -136
- package/src/transformer.js +86 -86
package/src/transformer.js
CHANGED
|
@@ -1,86 +1,86 @@
|
|
|
1
|
-
const REPLACEMENTS = [
|
|
2
|
-
// Remove Claude Code specific tool instructions
|
|
3
|
-
{
|
|
4
|
-
pattern: /- \*\*Claude Code\*\*: use a ferramenta `AskUserQuestion`[^\n]*/g,
|
|
5
|
-
replacement: '',
|
|
6
|
-
},
|
|
7
|
-
{
|
|
8
|
-
pattern: /\*\*Claude Code\*\*: use a ferramenta `AskUserQuestion`[^\n]*/g,
|
|
9
|
-
replacement: '',
|
|
10
|
-
},
|
|
11
|
-
// Replace AskUserQuestion references with generic
|
|
12
|
-
{
|
|
13
|
-
pattern: /`AskUserQuestion`/g,
|
|
14
|
-
replacement: 'perguntas interativas ao usuario',
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
pattern: /AskUserQuestion/g,
|
|
18
|
-
replacement: 'pergunte ao usuario',
|
|
19
|
-
},
|
|
20
|
-
// Replace directory references
|
|
21
|
-
{
|
|
22
|
-
pattern: /\.claude\/rules\//g,
|
|
23
|
-
replacement: '.cursor/rules/',
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
pattern: /\.claude\/templates\//g,
|
|
27
|
-
replacement: '.cursor/templates/',
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
pattern: /\.claude\/skills\//g,
|
|
31
|
-
replacement: '.cursor/skills/',
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
pattern: /\.claude\/commands\//g,
|
|
35
|
-
replacement: '.cursor/commands/',
|
|
36
|
-
},
|
|
37
|
-
// Replace .claude/agents/ references
|
|
38
|
-
{
|
|
39
|
-
pattern: /\.claude\/agents\//g,
|
|
40
|
-
replacement: '.cursor/agents/',
|
|
41
|
-
},
|
|
42
|
-
// Replace all remaining .claude/ references
|
|
43
|
-
{
|
|
44
|
-
pattern: /`\.claude\//g,
|
|
45
|
-
replacement: '`.cursor/',
|
|
46
|
-
},
|
|
47
|
-
// Replace tool/IDE name references
|
|
48
|
-
{
|
|
49
|
-
pattern: /no Claude Code/g,
|
|
50
|
-
replacement: 'no Cursor',
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
pattern: /do Claude Code/g,
|
|
54
|
-
replacement: 'do Cursor',
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
pattern: /Claude Code Review Agent/g,
|
|
58
|
-
replacement: 'Code Review Agent',
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
pattern: /\(Claude Code\)/g,
|
|
62
|
-
replacement: '(Cursor)',
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
pattern: /Claude Code/g,
|
|
66
|
-
replacement: 'Cursor',
|
|
67
|
-
},
|
|
68
|
-
];
|
|
69
|
-
|
|
70
|
-
/**
|
|
71
|
-
* Transform file content from Claude Code format to Cursor format.
|
|
72
|
-
* Returns unchanged content if target is 'claude'.
|
|
73
|
-
*/
|
|
74
|
-
export function transformContent(content, target) {
|
|
75
|
-
if (target === 'claude') return content;
|
|
76
|
-
|
|
77
|
-
let result = content;
|
|
78
|
-
for (const { pattern, replacement } of REPLACEMENTS) {
|
|
79
|
-
result = result.replace(pattern, replacement);
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
// Clean up empty lines left by removed lines
|
|
83
|
-
result = result.replace(/\n{3,}/g, '\n\n');
|
|
84
|
-
|
|
85
|
-
return result;
|
|
86
|
-
}
|
|
1
|
+
const REPLACEMENTS = [
|
|
2
|
+
// Remove Claude Code specific tool instructions
|
|
3
|
+
{
|
|
4
|
+
pattern: /- \*\*Claude Code\*\*: use a ferramenta `AskUserQuestion`[^\n]*/g,
|
|
5
|
+
replacement: '',
|
|
6
|
+
},
|
|
7
|
+
{
|
|
8
|
+
pattern: /\*\*Claude Code\*\*: use a ferramenta `AskUserQuestion`[^\n]*/g,
|
|
9
|
+
replacement: '',
|
|
10
|
+
},
|
|
11
|
+
// Replace AskUserQuestion references with generic
|
|
12
|
+
{
|
|
13
|
+
pattern: /`AskUserQuestion`/g,
|
|
14
|
+
replacement: 'perguntas interativas ao usuario',
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
pattern: /AskUserQuestion/g,
|
|
18
|
+
replacement: 'pergunte ao usuario',
|
|
19
|
+
},
|
|
20
|
+
// Replace directory references
|
|
21
|
+
{
|
|
22
|
+
pattern: /\.claude\/rules\//g,
|
|
23
|
+
replacement: '.cursor/rules/',
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
pattern: /\.claude\/templates\//g,
|
|
27
|
+
replacement: '.cursor/templates/',
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
pattern: /\.claude\/skills\//g,
|
|
31
|
+
replacement: '.cursor/skills/',
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
pattern: /\.claude\/commands\//g,
|
|
35
|
+
replacement: '.cursor/commands/',
|
|
36
|
+
},
|
|
37
|
+
// Replace .claude/agents/ references
|
|
38
|
+
{
|
|
39
|
+
pattern: /\.claude\/agents\//g,
|
|
40
|
+
replacement: '.cursor/agents/',
|
|
41
|
+
},
|
|
42
|
+
// Replace all remaining .claude/ references
|
|
43
|
+
{
|
|
44
|
+
pattern: /`\.claude\//g,
|
|
45
|
+
replacement: '`.cursor/',
|
|
46
|
+
},
|
|
47
|
+
// Replace tool/IDE name references
|
|
48
|
+
{
|
|
49
|
+
pattern: /no Claude Code/g,
|
|
50
|
+
replacement: 'no Cursor',
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
pattern: /do Claude Code/g,
|
|
54
|
+
replacement: 'do Cursor',
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
pattern: /Claude Code Review Agent/g,
|
|
58
|
+
replacement: 'Code Review Agent',
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
pattern: /\(Claude Code\)/g,
|
|
62
|
+
replacement: '(Cursor)',
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
pattern: /Claude Code/g,
|
|
66
|
+
replacement: 'Cursor',
|
|
67
|
+
},
|
|
68
|
+
];
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* Transform file content from Claude Code format to Cursor format.
|
|
72
|
+
* Returns unchanged content if target is 'claude'.
|
|
73
|
+
*/
|
|
74
|
+
export function transformContent(content, target) {
|
|
75
|
+
if (target === 'claude') return content;
|
|
76
|
+
|
|
77
|
+
let result = content;
|
|
78
|
+
for (const { pattern, replacement } of REPLACEMENTS) {
|
|
79
|
+
result = result.replace(pattern, replacement);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
// Clean up empty lines left by removed lines
|
|
83
|
+
result = result.replace(/\n{3,}/g, '\n\n');
|
|
84
|
+
|
|
85
|
+
return result;
|
|
86
|
+
}
|