@dedesfr/prompter 0.6.12 → 0.6.13

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/CHANGELOG.md CHANGED
@@ -1,5 +1,31 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## [0.6.13] - 2026-01-26
4
+
5
+ ### ✨ Added
6
+ - **Guide Command Enhancement**: Enhanced `prompter guide` with document workflow dependencies
7
+ - Added comprehensive workflow dependency table
8
+ - Shows recommended order for generating all document types
9
+ - Clear visualization of document generation pipeline
10
+
11
+ ### 🔄 Changed
12
+ - **Guide Command Output**: Expanded guide with workflow reference table
13
+ - 10 document types with their dependencies listed
14
+ - Strictly Required Inputs column showing must-have dependencies
15
+ - Recommended Extra Inputs column showing optional enhancements
16
+ - Special notation for new vs. existing projects
17
+ - Legend explaining table notation and abbreviations
18
+ - ASCII table format with proper alignment for terminal display
19
+
20
+ ### 📚 Documentation
21
+ - Added workflow dependencies documentation within CLI help
22
+ - Integrated dependency documentation into `prompter guide` command
23
+ - Documents include:
24
+ - Product Brief, PRD, FSD, ERD
25
+ - API Contract, UI Wireframes, Design System
26
+ - TDD, Epics, Stories
27
+ - Clear dependency relationships between all document types
28
+
3
29
  ## [0.6.12] - 2026-01-26
4
30
 
5
31
  ### ✨ Added
package/dist/cli/index.js CHANGED
@@ -9,7 +9,7 @@ const program = new Command();
9
9
  program
10
10
  .name('prompter')
11
11
  .description('Enhance prompts directly in your AI coding workflow')
12
- .version('0.6.12');
12
+ .version('0.6.13');
13
13
  program
14
14
  .command('init')
15
15
  .description('Initialize Prompter in your project')
@@ -1 +1 @@
1
- {"version":3,"file":"guide.d.ts","sourceRoot":"","sources":["../../src/commands/guide.ts"],"names":[],"mappings":"AAEA,qBAAa,YAAY;IACf,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC;CAOjC"}
1
+ {"version":3,"file":"guide.d.ts","sourceRoot":"","sources":["../../src/commands/guide.ts"],"names":[],"mappings":"AAEA,qBAAa,YAAY;IACf,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC;CAqCjC"}
@@ -6,6 +6,31 @@ export class GuideCommand {
6
6
  console.log(chalk.gray(' document based on the project\'s specifics, including a clear description'));
7
7
  console.log(chalk.gray(' of the project, its purpose, the technologies used (tech stack), and any'));
8
8
  console.log(chalk.gray(' conventions or standards being followed.'));
9
+ console.log(chalk.blue('\nDocument Workflow & Dependencies:'));
10
+ console.log(chalk.gray(' This table shows the recommended order for document generation:\n'));
11
+ // Print table header
12
+ console.log(chalk.cyan(' Document │ Strictly Required Inputs │ Recommended Extra Inputs'));
13
+ console.log(chalk.cyan(' ─────────────────┼───────────────────────────────────────┼──────────────────────────────────'));
14
+ // Table rows
15
+ const rows = [
16
+ ['Product Brief ', '— ', '—'],
17
+ ['PRD ', 'Product Brief ', '—'],
18
+ ['FSD ', 'PRD ', 'Product Brief'],
19
+ ['ERD ', 'FSD ', '—'],
20
+ ['API Contract ', 'FSD + ERD ', '—'],
21
+ ['UI Wireframes ', 'FSD + ERD + API Contract ', '—'],
22
+ ['Design System ', 'UI Wireframes (new) / FSD (existing) ', 'Brand guide / existing UI'],
23
+ ['TDD ', 'FSD ', 'ERD + API Contract + UI Wireframes + Design System'],
24
+ ['Epics ', 'FSD + TDD-Lite ', 'UI Wireframes + Design System'],
25
+ ['Stories ', 'Epics ', 'FSD + UI Wireframes + API Contract']
26
+ ];
27
+ rows.forEach(row => {
28
+ console.log(chalk.gray(` ${row[0]} │ ${row[1]} │ ${row[2]}`));
29
+ });
30
+ console.log(chalk.gray('\n Legend:'));
31
+ console.log(chalk.gray(' • Strictly Required: Must-have inputs for high-quality output'));
32
+ console.log(chalk.gray(' • Recommended Extra: Optional inputs that improve document quality'));
33
+ console.log(chalk.gray(' • (new) = For new projects | (existing) = For existing projects\n'));
9
34
  }
10
35
  }
11
36
  //# sourceMappingURL=guide.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"guide.js","sourceRoot":"","sources":["../../src/commands/guide.ts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AAsE,CAAC,CAAC,CAAC;QAChG,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC,uEAAuE,CAAC,CAAC,CAAC;IACrG,CAAC;CACJ"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dedesfr/prompter",
3
- "version": "0.6.12",
3
+ "version": "0.6.13",
4
4
  "description": "Enhance prompts directly in your AI coding workflow",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
package/src/cli/index.ts CHANGED
@@ -11,7 +11,7 @@ const program = new Command();
11
11
  program
12
12
  .name('prompter')
13
13
  .description('Enhance prompts directly in your AI coding workflow')
14
- .version('0.6.12');
14
+ .version('0.6.13');
15
15
 
16
16
  program
17
17
  .command('init')
@@ -7,5 +7,35 @@ export class GuideCommand {
7
7
  console.log(chalk.gray(' document based on the project\'s specifics, including a clear description'));
8
8
  console.log(chalk.gray(' of the project, its purpose, the technologies used (tech stack), and any'));
9
9
  console.log(chalk.gray(' conventions or standards being followed.'));
10
+
11
+ console.log(chalk.blue('\nDocument Workflow & Dependencies:'));
12
+ console.log(chalk.gray(' This table shows the recommended order for document generation:\n'));
13
+
14
+ // Print table header
15
+ console.log(chalk.cyan(' Document │ Strictly Required Inputs │ Recommended Extra Inputs'));
16
+ console.log(chalk.cyan(' ─────────────────┼───────────────────────────────────────┼──────────────────────────────────'));
17
+
18
+ // Table rows
19
+ const rows = [
20
+ ['Product Brief ', '— ', '—'],
21
+ ['PRD ', 'Product Brief ', '—'],
22
+ ['FSD ', 'PRD ', 'Product Brief'],
23
+ ['ERD ', 'FSD ', '—'],
24
+ ['API Contract ', 'FSD + ERD ', '—'],
25
+ ['UI Wireframes ', 'FSD + ERD + API Contract ', '—'],
26
+ ['Design System ', 'UI Wireframes (new) / FSD (existing) ', 'Brand guide / existing UI'],
27
+ ['TDD ', 'FSD ', 'ERD + API Contract + UI Wireframes + Design System'],
28
+ ['Epics ', 'FSD + TDD-Lite ', 'UI Wireframes + Design System'],
29
+ ['Stories ', 'Epics ', 'FSD + UI Wireframes + API Contract']
30
+ ];
31
+
32
+ rows.forEach(row => {
33
+ console.log(chalk.gray(` ${row[0]} │ ${row[1]} │ ${row[2]}`));
34
+ });
35
+
36
+ console.log(chalk.gray('\n Legend:'));
37
+ console.log(chalk.gray(' • Strictly Required: Must-have inputs for high-quality output'));
38
+ console.log(chalk.gray(' • Recommended Extra: Optional inputs that improve document quality'));
39
+ console.log(chalk.gray(' • (new) = For new projects | (existing) = For existing projects\n'));
10
40
  }
11
41
  }