@dedesfr/prompter 0.4.2 → 0.5.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/.github/prompts/prd-agent-generator.prompt.md +133 -0
- package/dist/cli/index.js +2 -11
- package/dist/cli/index.js.map +1 -1
- package/dist/commands/init.d.ts +4 -0
- package/dist/commands/init.d.ts.map +1 -1
- package/dist/commands/init.js +129 -4
- package/dist/commands/init.js.map +1 -1
- package/dist/commands/prd-agent-generator.d.ts +11 -0
- package/dist/commands/prd-agent-generator.d.ts.map +1 -0
- package/dist/commands/prd-agent-generator.js +95 -0
- package/dist/commands/prd-agent-generator.js.map +1 -0
- package/dist/core/config.d.ts +7 -0
- package/dist/core/config.d.ts.map +1 -1
- package/dist/core/config.js +50 -0
- package/dist/core/config.js.map +1 -1
- package/dist/core/configurators/slash/antigravity.d.ts.map +1 -1
- package/dist/core/configurators/slash/antigravity.js +2 -0
- package/dist/core/configurators/slash/antigravity.js.map +1 -1
- package/dist/core/configurators/slash/base.js +1 -1
- package/dist/core/configurators/slash/base.js.map +1 -1
- package/dist/core/configurators/slash/claude.d.ts.map +1 -1
- package/dist/core/configurators/slash/claude.js +2 -0
- package/dist/core/configurators/slash/claude.js.map +1 -1
- package/dist/core/configurators/slash/codex.d.ts.map +1 -1
- package/dist/core/configurators/slash/codex.js +2 -0
- package/dist/core/configurators/slash/codex.js.map +1 -1
- package/dist/core/configurators/slash/github-copilot.d.ts.map +1 -1
- package/dist/core/configurators/slash/github-copilot.js +2 -0
- package/dist/core/configurators/slash/github-copilot.js.map +1 -1
- package/dist/core/configurators/slash/kilocode.d.ts.map +1 -1
- package/dist/core/configurators/slash/kilocode.js +2 -0
- package/dist/core/configurators/slash/kilocode.js.map +1 -1
- package/dist/core/configurators/slash/opencode.d.ts.map +1 -1
- package/dist/core/configurators/slash/opencode.js +2 -0
- package/dist/core/configurators/slash/opencode.js.map +1 -1
- package/dist/core/templates/slash-command-templates.d.ts +1 -1
- package/dist/core/templates/slash-command-templates.d.ts.map +1 -1
- package/dist/core/templates/slash-command-templates.js +128 -0
- package/dist/core/templates/slash-command-templates.js.map +1 -1
- package/package.json +1 -1
- package/prompt/prd-agent-generator.md +147 -0
- package/src/cli/index.ts +2 -12
- package/src/commands/init.ts +146 -4
- package/src/commands/prd-agent-generator.ts +115 -0
- package/src/core/config.ts +58 -0
- package/src/core/configurators/slash/antigravity.ts +2 -0
- package/src/core/configurators/slash/base.ts +1 -1
- package/src/core/configurators/slash/claude.ts +2 -0
- package/src/core/configurators/slash/codex.ts +2 -0
- package/src/core/configurators/slash/github-copilot.ts +2 -0
- package/src/core/configurators/slash/kilocode.ts +2 -0
- package/src/core/configurators/slash/opencode.ts +2 -0
- package/src/core/templates/slash-command-templates.ts +130 -1
package/dist/core/config.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.js","sourceRoot":"","sources":["../../src/core/config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,IAAI,EAAE,EAAE,MAAM,IAAI,CAAC;AACpC,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,MAAM,CAAC,MAAM,YAAY,GAAG,UAAU,CAAC;AAEvC,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC5B,KAAK,EAAE,iCAAiC;IACxC,GAAG,EAAE,+BAA+B;CACvC,CAAC;
|
|
1
|
+
{"version":3,"file":"config.js","sourceRoot":"","sources":["../../src/core/config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,IAAI,EAAE,EAAE,MAAM,IAAI,CAAC;AACpC,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,MAAM,CAAC,MAAM,YAAY,GAAG,UAAU,CAAC;AAEvC,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC5B,KAAK,EAAE,iCAAiC;IACxC,GAAG,EAAE,+BAA+B;CACvC,CAAC;AAgBF,MAAM,CAAC,MAAM,eAAe,GAAiB;IACzC,EAAE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wC;QACrD,UAAU,EAAE,kBAAkB;KACjC;IACD;QACI,IAAI,EAAE,kBAAkB;QACxB,KAAK,EAAE,kBAAkB;QACzB,WAAW,EAAE,sDAAsD;QACnE,UAAU,EAAE,qBAAqB;KACpC;IACD;QACI,IAAI,EAAE,eAAe;QACrB,KAAK,EAAE,eAAe;QACtB,WAAW,EAAE,qDAAqD;QAClE,UAAU,EAAE,kBAAkB;KACjC;IACD;QACI,IAAI,EAAE,gBAAgB;QACtB,KAAK,EAAE,cAAc;QACrB,WAAW,EAAE,4CAA4C;QACzD,UAAU,EAAE,iBAAiB;KAChC;CACJ,CAAC;AAEF,MAAM,OAAO,cAAc;IACvB,MAAM,CAAC,KAAK,CAAC,iBAAiB,CAAC,WAAmB;QAC9C,MAAM,YAAY,GAAG,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,YAAY,CAAC,CAAC;QAC1D,MAAM,EAAE,CAAC,KAAK,CAAC,YAAY,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;QAClD,OAAO,YAAY,CAAC;IACxB,CAAC;IAED,MAAM,CAAC,KAAK,CAAC,iBAAiB,CAAC,WAAmB;QAC9C,IAAI,CAAC;YACD,MAAM,YAAY,GAAG,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,YAAY,CAAC,CAAC;YAC1D,MAAM,EAAE,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC;YAC9B,OAAO,IAAI,CAAC;QAChB,CAAC;QAAC,MAAM,CAAC;YACL,OAAO,KAAK,CAAC;QACjB,CAAC;IACL,CAAC;CACJ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"antigravity.d.ts","sourceRoot":"","sources":["../../../../src/core/configurators/slash/antigravity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAC;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"antigravity.d.ts","sourceRoot":"","sources":["../../../../src/core/configurators/slash/antigravity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAC;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AA0B1D,qBAAa,uBAAwB,SAAQ,wBAAwB;IACjE,QAAQ,CAAC,MAAM,iBAAiB;IAChC,QAAQ,CAAC,WAAW,QAAQ;IAE5B,SAAS,CAAC,eAAe,CAAC,EAAE,EAAE,cAAc,GAAG,MAAM;IAIrD,SAAS,CAAC,cAAc,CAAC,EAAE,EAAE,cAAc,GAAG,MAAM,GAAG,SAAS;CAInE"}
|
|
@@ -2,6 +2,7 @@ import { SlashCommandConfigurator } from './base.js';
|
|
|
2
2
|
const FILE_PATHS = {
|
|
3
3
|
enhance: '.agent/workflows/prompter-enhance.md',
|
|
4
4
|
'prd-generator': '.agent/workflows/prd-generator.md',
|
|
5
|
+
'prd-agent-generator': '.agent/workflows/prd-agent-generator.md',
|
|
5
6
|
'product-brief': '.agent/workflows/product-brief.md',
|
|
6
7
|
'epic-single': '.agent/workflows/epic-single.md',
|
|
7
8
|
'story-single': '.agent/workflows/story-single.md',
|
|
@@ -12,6 +13,7 @@ const FILE_PATHS = {
|
|
|
12
13
|
const DESCRIPTIONS = {
|
|
13
14
|
enhance: 'Enhance a rough prompt into a professional specification',
|
|
14
15
|
'prd-generator': 'Generate a comprehensive Product Requirements Document (PRD)',
|
|
16
|
+
'prd-agent-generator': 'Generate a PRD with autonomous assumptions (non-interactive mode)',
|
|
15
17
|
'product-brief': 'Generate an executive-level product brief (1-page summary)',
|
|
16
18
|
'epic-single': 'Generate a single well-defined Jira Epic',
|
|
17
19
|
'story-single': 'Generate a single Jira User Story from requirements',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"antigravity.js","sourceRoot":"","sources":["../../../../src/core/configurators/slash/antigravity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAC;AAGrD,MAAM,UAAU,GAAmC;IAC/C,OAAO,EAAE,sCAAsC;IAC/C,eAAe,EAAE,mCAAmC;IACpD,eAAe,EAAE,mCAAmC;IACpD,aAAa,EAAE,iCAAiC;IAChD,cAAc,EAAE,kCAAkC;IAClD,kBAAkB,EAAE,sCAAsC;IAC1D,eAAe,EAAE,mCAAmC;IACpD,cAAc,EAAE,kCAAkC;CACrD,CAAC;AAEF,MAAM,YAAY,GAAmC;IACjD,OAAO,EAAE,0DAA0D;IACnE,eAAe,EAAE,8DAA8D;IAC/E,eAAe,EAAE,4DAA4D;IAC7E,aAAa,EAAE,0CAA0C;IACzD,cAAc,EAAE,qDAAqD;IACrE,kBAAkB,EAAE,6CAA6C;IACjE,eAAe,EAAE,mEAAmE;IACpF,cAAc,EAAE,mFAAmF;CACtG,CAAC;AAEF,MAAM,OAAO,uBAAwB,SAAQ,wBAAwB;IACxD,MAAM,GAAG,aAAa,CAAC;IACvB,WAAW,GAAG,IAAI,CAAC;IAElB,eAAe,CAAC,EAAkB;QACxC,OAAO,UAAU,CAAC,EAAE,CAAC,CAAC;IAC1B,CAAC;IAES,cAAc,CAAC,EAAkB;QACvC,MAAM,WAAW,GAAG,YAAY,CAAC,EAAE,CAAC,CAAC;QACrC,OAAO,qBAAqB,WAAW,OAAO,CAAC;IACnD,CAAC;CACJ"}
|
|
1
|
+
{"version":3,"file":"antigravity.js","sourceRoot":"","sources":["../../../../src/core/configurators/slash/antigravity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAC;AAGrD,MAAM,UAAU,GAAmC;IAC/C,OAAO,EAAE,sCAAsC;IAC/C,eAAe,EAAE,mCAAmC;IACpD,qBAAqB,EAAE,yCAAyC;IAChE,eAAe,EAAE,mCAAmC;IACpD,aAAa,EAAE,iCAAiC;IAChD,cAAc,EAAE,kCAAkC;IAClD,kBAAkB,EAAE,sCAAsC;IAC1D,eAAe,EAAE,mCAAmC;IACpD,cAAc,EAAE,kCAAkC;CACrD,CAAC;AAEF,MAAM,YAAY,GAAmC;IACjD,OAAO,EAAE,0DAA0D;IACnE,eAAe,EAAE,8DAA8D;IAC/E,qBAAqB,EAAE,mEAAmE;IAC1F,eAAe,EAAE,4DAA4D;IAC7E,aAAa,EAAE,0CAA0C;IACzD,cAAc,EAAE,qDAAqD;IACrE,kBAAkB,EAAE,6CAA6C;IACjE,eAAe,EAAE,mEAAmE;IACpF,cAAc,EAAE,mFAAmF;CACtG,CAAC;AAEF,MAAM,OAAO,uBAAwB,SAAQ,wBAAwB;IACxD,MAAM,GAAG,aAAa,CAAC;IACvB,WAAW,GAAG,IAAI,CAAC;IAElB,eAAe,CAAC,EAAkB;QACxC,OAAO,UAAU,CAAC,EAAE,CAAC,CAAC;IAC1B,CAAC;IAES,cAAc,CAAC,EAAkB;QACvC,MAAM,WAAW,GAAG,YAAY,CAAC,EAAE,CAAC,CAAC;QACrC,OAAO,qBAAqB,WAAW,OAAO,CAAC;IACnD,CAAC;CACJ"}
|
|
@@ -2,7 +2,7 @@ import { promises as fs } from 'fs';
|
|
|
2
2
|
import path from 'path';
|
|
3
3
|
import { TemplateManager } from '../../templates/index.js';
|
|
4
4
|
import { PROMPTER_MARKERS } from '../../config.js';
|
|
5
|
-
const ALL_COMMANDS = ['enhance', 'prd-generator', 'product-brief', 'epic-single', 'story-single', 'qa-test-scenario', 'skill-creator', 'ai-humanizer'];
|
|
5
|
+
const ALL_COMMANDS = ['enhance', 'prd-generator', 'prd-agent-generator', 'product-brief', 'epic-single', 'story-single', 'qa-test-scenario', 'skill-creator', 'ai-humanizer'];
|
|
6
6
|
export class SlashCommandConfigurator {
|
|
7
7
|
getTargets() {
|
|
8
8
|
return ALL_COMMANDS.map((id) => ({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base.js","sourceRoot":"","sources":["../../../../src/core/configurators/slash/base.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,I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Q,EAAE,cAAc,EAAE,OAAO,CAAC,CAAC;IAC1D,CAAC;IAEO,KAAK,CAAC,UAAU,CAAC,QAAgB;QACrC,IAAI,CAAC;YACD,MAAM,EAAE,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;YAC1B,OAAO,IAAI,CAAC;QAChB,CAAC;QAAC,MAAM,CAAC;YACL,OAAO,KAAK,CAAC;QACjB,CAAC;IACL,CAAC;CACJ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"claude.d.ts","sourceRoot":"","sources":["../../../../src/core/configurators/slash/claude.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAC;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"claude.d.ts","sourceRoot":"","sources":["../../../../src/core/configurators/slash/claude.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAC;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AA0B1D,qBAAa,kBAAmB,SAAQ,wBAAwB;IAC5D,QAAQ,CAAC,MAAM,YAAY;IAC3B,QAAQ,CAAC,WAAW,QAAQ;IAE5B,SAAS,CAAC,eAAe,CAAC,EAAE,EAAE,cAAc,GAAG,MAAM;IAIrD,SAAS,CAAC,cAAc,CAAC,EAAE,EAAE,cAAc,GAAG,MAAM,GAAG,SAAS;CAInE"}
|
|
@@ -2,6 +2,7 @@ import { SlashCommandConfigurator } from './base.js';
|
|
|
2
2
|
const FILE_PATHS = {
|
|
3
3
|
enhance: '.claude/commands/prompter/enhance.md',
|
|
4
4
|
'prd-generator': '.claude/commands/prompter/prd-generator.md',
|
|
5
|
+
'prd-agent-generator': '.claude/commands/prompter/prd-agent-generator.md',
|
|
5
6
|
'product-brief': '.claude/commands/prompter/product-brief.md',
|
|
6
7
|
'epic-single': '.claude/commands/prompter/epic-single.md',
|
|
7
8
|
'story-single': '.claude/commands/prompter/story-single.md',
|
|
@@ -12,6 +13,7 @@ const FILE_PATHS = {
|
|
|
12
13
|
const DESCRIPTIONS = {
|
|
13
14
|
enhance: 'Enhance a rough prompt into a professional specification',
|
|
14
15
|
'prd-generator': 'Generate a comprehensive Product Requirements Document (PRD)',
|
|
16
|
+
'prd-agent-generator': 'Generate a PRD with autonomous assumptions (non-interactive mode)',
|
|
15
17
|
'product-brief': 'Generate an executive-level product brief (1-page summary)',
|
|
16
18
|
'epic-single': 'Generate a single well-defined Jira Epic',
|
|
17
19
|
'story-single': 'Generate a single Jira User Story from requirements',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"claude.js","sourceRoot":"","sources":["../../../../src/core/configurators/slash/claude.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAC;AAGrD,MAAM,UAAU,GAAmC;IAC/C,OAAO,EAAE,sCAAsC;IAC/C,eAAe,EAAE,4CAA4C;IAC7D,eAAe,EAAE,4CAA4C;IAC7D,aAAa,EAAE,0CAA0C;IACzD,cAAc,EAAE,2CAA2C;IAC3D,kBAAkB,EAAE,+CAA+C;IACnE,eAAe,EAAE,4CAA4C;IAC7D,cAAc,EAAE,2CAA2C;CAC9D,CAAC;AAEF,MAAM,YAAY,GAAmC;IACjD,OAAO,EAAE,0DAA0D;IACnE,eAAe,EAAE,8DAA8D;IAC/E,eAAe,EAAE,4DAA4D;IAC7E,aAAa,EAAE,0CAA0C;IACzD,cAAc,EAAE,qDAAqD;IACrE,kBAAkB,EAAE,6CAA6C;IACjE,eAAe,EAAE,mEAAmE;IACpF,cAAc,EAAE,mFAAmF;CACtG,CAAC;AAEF,MAAM,OAAO,kBAAmB,SAAQ,wBAAwB;IACnD,MAAM,GAAG,QAAQ,CAAC;IAClB,WAAW,GAAG,IAAI,CAAC;IAElB,eAAe,CAAC,EAAkB;QACxC,OAAO,UAAU,CAAC,EAAE,CAAC,CAAC;IAC1B,CAAC;IAES,cAAc,CAAC,EAAkB;QACvC,oDAAoD;QACpD,OAAO,SAAS,CAAC;IACrB,CAAC;CACJ"}
|
|
1
|
+
{"version":3,"file":"claude.js","sourceRoot":"","sources":["../../../../src/core/configurators/slash/claude.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAC;AAGrD,MAAM,UAAU,GAAmC;IAC/C,OAAO,EAAE,sCAAsC;IAC/C,eAAe,EAAE,4CAA4C;IAC7D,qBAAqB,EAAE,kDAAkD;IACzE,eAAe,EAAE,4CAA4C;IAC7D,aAAa,EAAE,0CAA0C;IACzD,cAAc,EAAE,2CAA2C;IAC3D,kBAAkB,EAAE,+CAA+C;IACnE,eAAe,EAAE,4CAA4C;IAC7D,cAAc,EAAE,2CAA2C;CAC9D,CAAC;AAEF,MAAM,YAAY,GAAmC;IACjD,OAAO,EAAE,0DAA0D;IACnE,eAAe,EAAE,8DAA8D;IAC/E,qBAAqB,EAAE,mEAAmE;IAC1F,eAAe,EAAE,4DAA4D;IAC7E,aAAa,EAAE,0CAA0C;IACzD,cAAc,EAAE,qDAAqD;IACrE,kBAAkB,EAAE,6CAA6C;IACjE,eAAe,EAAE,mEAAmE;IACpF,cAAc,EAAE,mFAAmF;CACtG,CAAC;AAEF,MAAM,OAAO,kBAAmB,SAAQ,wBAAwB;IACnD,MAAM,GAAG,QAAQ,CAAC;IAClB,WAAW,GAAG,IAAI,CAAC;IAElB,eAAe,CAAC,EAAkB;QACxC,OAAO,UAAU,CAAC,EAAE,CAAC,CAAC;IAC1B,CAAC;IAES,cAAc,CAAC,EAAkB;QACvC,oDAAoD;QACpD,OAAO,SAAS,CAAC;IACrB,CAAC;CACJ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"codex.d.ts","sourceRoot":"","sources":["../../../../src/core/configurators/slash/codex.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAC;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"codex.d.ts","sourceRoot":"","sources":["../../../../src/core/configurators/slash/codex.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAC;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AA0B1D,qBAAa,iBAAkB,SAAQ,wBAAwB;IAC3D,QAAQ,CAAC,MAAM,WAAW;IAC1B,QAAQ,CAAC,WAAW,QAAQ;IAE5B,SAAS,CAAC,eAAe,CAAC,EAAE,EAAE,cAAc,GAAG,MAAM;IAIrD,SAAS,CAAC,cAAc,CAAC,EAAE,EAAE,cAAc,GAAG,MAAM,GAAG,SAAS;CAInE"}
|
|
@@ -2,6 +2,7 @@ import { SlashCommandConfigurator } from './base.js';
|
|
|
2
2
|
const FILE_PATHS = {
|
|
3
3
|
enhance: '.codex/prompts/prompter-enhance.md',
|
|
4
4
|
'prd-generator': '.codex/prompts/prd-generator.md',
|
|
5
|
+
'prd-agent-generator': '.codex/prompts/prd-agent-generator.md',
|
|
5
6
|
'product-brief': '.codex/prompts/product-brief.md',
|
|
6
7
|
'epic-single': '.codex/prompts/epic-single.md',
|
|
7
8
|
'story-single': '.codex/prompts/story-single.md',
|
|
@@ -12,6 +13,7 @@ const FILE_PATHS = {
|
|
|
12
13
|
const DESCRIPTIONS = {
|
|
13
14
|
enhance: 'Enhance a rough prompt into a professional specification',
|
|
14
15
|
'prd-generator': 'Generate a comprehensive Product Requirements Document (PRD)',
|
|
16
|
+
'prd-agent-generator': 'Generate a PRD with autonomous assumptions (non-interactive mode)',
|
|
15
17
|
'product-brief': 'Generate an executive-level product brief (1-page summary)',
|
|
16
18
|
'epic-single': 'Generate a single well-defined Jira Epic',
|
|
17
19
|
'story-single': 'Generate a single Jira User Story from requirements',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"codex.js","sourceRoot":"","sources":["../../../../src/core/configurators/slash/codex.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAC;AAGrD,MAAM,UAAU,GAAmC;IAC/C,OAAO,EAAE,oCAAoC;IAC7C,eAAe,EAAE,iCAAiC;IAClD,eAAe,EAAE,iCAAiC;IAClD,aAAa,EAAE,+BAA+B;IAC9C,cAAc,EAAE,gCAAgC;IAChD,kBAAkB,EAAE,oCAAoC;IACxD,eAAe,EAAE,iCAAiC;IAClD,cAAc,EAAE,gCAAgC;CACnD,CAAC;AAEF,MAAM,YAAY,GAAmC;IACjD,OAAO,EAAE,0DAA0D;IACnE,eAAe,EAAE,8DAA8D;IAC/E,eAAe,EAAE,4DAA4D;IAC7E,aAAa,EAAE,0CAA0C;IACzD,cAAc,EAAE,qDAAqD;IACrE,kBAAkB,EAAE,6CAA6C;IACjE,eAAe,EAAE,mEAAmE;IACpF,cAAc,EAAE,mFAAmF;CACtG,CAAC;AAEF,MAAM,OAAO,iBAAkB,SAAQ,wBAAwB;IAClD,MAAM,GAAG,OAAO,CAAC;IACjB,WAAW,GAAG,IAAI,CAAC;IAElB,eAAe,CAAC,EAAkB;QACxC,OAAO,UAAU,CAAC,EAAE,CAAC,CAAC;IAC1B,CAAC;IAES,cAAc,CAAC,EAAkB;QACvC,MAAM,WAAW,GAAG,YAAY,CAAC,EAAE,CAAC,CAAC;QACrC,OAAO,qBAAqB,WAAW,OAAO,CAAC;IACnD,CAAC;CACJ"}
|
|
1
|
+
{"version":3,"file":"codex.js","sourceRoot":"","sources":["../../../../src/core/configurators/slash/codex.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAC;AAGrD,MAAM,UAAU,GAAmC;IAC/C,OAAO,EAAE,oCAAoC;IAC7C,eAAe,EAAE,iCAAiC;IAClD,qBAAqB,EAAE,uCAAuC;IAC9D,eAAe,EAAE,iCAAiC;IAClD,aAAa,EAAE,+BAA+B;IAC9C,cAAc,EAAE,gCAAgC;IAChD,kBAAkB,EAAE,oCAAoC;IACxD,eAAe,EAAE,iCAAiC;IAClD,cAAc,EAAE,gCAAgC;CACnD,CAAC;AAEF,MAAM,YAAY,GAAmC;IACjD,OAAO,EAAE,0DAA0D;IACnE,eAAe,EAAE,8DAA8D;IAC/E,qBAAqB,EAAE,mEAAmE;IAC1F,eAAe,EAAE,4DAA4D;IAC7E,aAAa,EAAE,0CAA0C;IACzD,cAAc,EAAE,qDAAqD;IACrE,kBAAkB,EAAE,6CAA6C;IACjE,eAAe,EAAE,mEAAmE;IACpF,cAAc,EAAE,mFAAmF;CACtG,CAAC;AAEF,MAAM,OAAO,iBAAkB,SAAQ,wBAAwB;IAClD,MAAM,GAAG,OAAO,CAAC;IACjB,WAAW,GAAG,IAAI,CAAC;IAElB,eAAe,CAAC,EAAkB;QACxC,OAAO,UAAU,CAAC,EAAE,CAAC,CAAC;IAC1B,CAAC;IAES,cAAc,CAAC,EAAkB;QACvC,MAAM,WAAW,GAAG,YAAY,CAAC,EAAE,CAAC,CAAC;QACrC,OAAO,qBAAqB,WAAW,OAAO,CAAC;IACnD,CAAC;CACJ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"github-copilot.d.ts","sourceRoot":"","sources":["../../../../src/core/configurators/slash/github-copilot.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAC;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"github-copilot.d.ts","sourceRoot":"","sources":["../../../../src/core/configurators/slash/github-copilot.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAC;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AA6B1D,qBAAa,yBAA0B,SAAQ,wBAAwB;IACnE,QAAQ,CAAC,MAAM,oBAAoB;IACnC,QAAQ,CAAC,WAAW,QAAQ;IAE5B,SAAS,CAAC,eAAe,CAAC,EAAE,EAAE,cAAc,GAAG,MAAM;IAIrD,SAAS,CAAC,cAAc,CAAC,EAAE,EAAE,cAAc,GAAG,MAAM,GAAG,SAAS;IAK1D,WAAW,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC;YAgC3C,eAAe;CAQhC"}
|
|
@@ -5,6 +5,7 @@ import { PROMPTER_MARKERS } from '../../config.js';
|
|
|
5
5
|
const FILE_PATHS = {
|
|
6
6
|
enhance: '.github/prompts/prompter-enhance.prompt.md',
|
|
7
7
|
'prd-generator': '.github/prompts/prd-generator.prompt.md',
|
|
8
|
+
'prd-agent-generator': '.github/prompts/prd-agent-generator.prompt.md',
|
|
8
9
|
'product-brief': '.github/prompts/product-brief.prompt.md',
|
|
9
10
|
'epic-single': '.github/prompts/epic-single.prompt.md',
|
|
10
11
|
'story-single': '.github/prompts/story-single.prompt.md',
|
|
@@ -15,6 +16,7 @@ const FILE_PATHS = {
|
|
|
15
16
|
const DESCRIPTIONS = {
|
|
16
17
|
enhance: 'Enhance a rough prompt into a professional specification',
|
|
17
18
|
'prd-generator': 'Generate a comprehensive Product Requirements Document (PRD)',
|
|
19
|
+
'prd-agent-generator': 'Generate a PRD with autonomous assumptions (non-interactive mode)',
|
|
18
20
|
'product-brief': 'Generate an executive-level product brief (1-page summary)',
|
|
19
21
|
'epic-single': 'Generate a single well-defined Jira Epic',
|
|
20
22
|
'story-single': 'Generate a single Jira User Story from requirements',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"github-copilot.js","sourceRoot":"","sources":["../../../../src/core/configurators/slash/github-copilot.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAC;AAErD,OAAO,EAAE,QAAQ,IAAI,EAAE,EAAE,MAAM,IAAI,CAAC;AACpC,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,EAAE,gBAAgB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AAgB,CAAC;IAC5B,CAAC;IAEO,KAAK,CAAC,eAAe,CAAC,QAAgB;QAC1C,IAAI,CAAC;YACD,MAAM,EAAE,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;YAC1B,OAAO,IAAI,CAAC;QAChB,CAAC;QAAC,MAAM,CAAC;YACL,OAAO,KAAK,CAAC;QACjB,CAAC;IACL,CAAC;CACJ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kilocode.d.ts","sourceRoot":"","sources":["../../../../src/core/configurators/slash/kilocode.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAC;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"kilocode.d.ts","sourceRoot":"","sources":["../../../../src/core/configurators/slash/kilocode.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAC;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AA0B1D,qBAAa,oBAAqB,SAAQ,wBAAwB;IAC9D,QAAQ,CAAC,MAAM,cAAc;IAC7B,QAAQ,CAAC,WAAW,QAAQ;IAE5B,SAAS,CAAC,eAAe,CAAC,EAAE,EAAE,cAAc,GAAG,MAAM;IAIrD,SAAS,CAAC,cAAc,CAAC,EAAE,EAAE,cAAc,GAAG,MAAM,GAAG,SAAS;CAInE"}
|
|
@@ -2,6 +2,7 @@ import { SlashCommandConfigurator } from './base.js';
|
|
|
2
2
|
const FILE_PATHS = {
|
|
3
3
|
enhance: '.kilocode/workflows/prompter-enhance.md',
|
|
4
4
|
'prd-generator': '.kilocode/workflows/prd-generator.md',
|
|
5
|
+
'prd-agent-generator': '.kilocode/workflows/prd-agent-generator.md',
|
|
5
6
|
'product-brief': '.kilocode/workflows/product-brief.md',
|
|
6
7
|
'epic-single': '.kilocode/workflows/epic-single.md',
|
|
7
8
|
'story-single': '.kilocode/workflows/story-single.md',
|
|
@@ -12,6 +13,7 @@ const FILE_PATHS = {
|
|
|
12
13
|
const DESCRIPTIONS = {
|
|
13
14
|
enhance: 'Enhance a rough prompt into a professional specification',
|
|
14
15
|
'prd-generator': 'Generate a comprehensive Product Requirements Document (PRD)',
|
|
16
|
+
'prd-agent-generator': 'Generate a PRD with autonomous assumptions (non-interactive mode)',
|
|
15
17
|
'product-brief': 'Generate an executive-level product brief (1-page summary)',
|
|
16
18
|
'epic-single': 'Generate a single well-defined Jira Epic',
|
|
17
19
|
'story-single': 'Generate a single Jira User Story from requirements',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kilocode.js","sourceRoot":"","sources":["../../../../src/core/configurators/slash/kilocode.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAC;AAGrD,MAAM,UAAU,GAAmC;IAC/C,OAAO,EAAE,yCAAyC;IAClD,eAAe,EAAE,sCAAsC;IACvD,eAAe,EAAE,sCAAsC;IACvD,aAAa,EAAE,oCAAoC;IACnD,cAAc,EAAE,qCAAqC;IACrD,kBAAkB,EAAE,yCAAyC;IAC7D,eAAe,EAAE,sCAAsC;IACvD,cAAc,EAAE,qCAAqC;CACxD,CAAC;AAEF,MAAM,YAAY,GAAmC;IACjD,OAAO,EAAE,0DAA0D;IACnE,eAAe,EAAE,8DAA8D;IAC/E,eAAe,EAAE,4DAA4D;IAC7E,aAAa,EAAE,0CAA0C;IACzD,cAAc,EAAE,qDAAqD;IACrE,kBAAkB,EAAE,6CAA6C;IACjE,eAAe,EAAE,mEAAmE;IACpF,cAAc,EAAE,mFAAmF;CACtG,CAAC;AAEF,MAAM,OAAO,oBAAqB,SAAQ,wBAAwB;IACrD,MAAM,GAAG,UAAU,CAAC;IACpB,WAAW,GAAG,IAAI,CAAC;IAElB,eAAe,CAAC,EAAkB;QACxC,OAAO,UAAU,CAAC,EAAE,CAAC,CAAC;IAC1B,CAAC;IAES,cAAc,CAAC,EAAkB;QACvC,MAAM,WAAW,GAAG,YAAY,CAAC,EAAE,CAAC,CAAC;QACrC,OAAO,qBAAqB,WAAW,OAAO,CAAC;IACnD,CAAC;CACJ"}
|
|
1
|
+
{"version":3,"file":"kilocode.js","sourceRoot":"","sources":["../../../../src/core/configurators/slash/kilocode.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAC;AAGrD,MAAM,UAAU,GAAmC;IAC/C,OAAO,EAAE,yCAAyC;IAClD,eAAe,EAAE,sCAAsC;IACvD,qBAAqB,EAAE,4CAA4C;IACnE,eAAe,EAAE,sCAAsC;IACvD,aAAa,EAAE,oCAAoC;IACnD,cAAc,EAAE,qCAAqC;IACrD,kBAAkB,EAAE,yCAAyC;IAC7D,eAAe,EAAE,sCAAsC;IACvD,cAAc,EAAE,qCAAqC;CACxD,CAAC;AAEF,MAAM,YAAY,GAAmC;IACjD,OAAO,EAAE,0DAA0D;IACnE,eAAe,EAAE,8DAA8D;IAC/E,qBAAqB,EAAE,mEAAmE;IAC1F,eAAe,EAAE,4DAA4D;IAC7E,aAAa,EAAE,0CAA0C;IACzD,cAAc,EAAE,qDAAqD;IACrE,kBAAkB,EAAE,6CAA6C;IACjE,eAAe,EAAE,mEAAmE;IACpF,cAAc,EAAE,mFAAmF;CACtG,CAAC;AAEF,MAAM,OAAO,oBAAqB,SAAQ,wBAAwB;IACrD,MAAM,GAAG,UAAU,CAAC;IACpB,WAAW,GAAG,IAAI,CAAC;IAElB,eAAe,CAAC,EAAkB;QACxC,OAAO,UAAU,CAAC,EAAE,CAAC,CAAC;IAC1B,CAAC;IAES,cAAc,CAAC,EAAkB;QACvC,MAAM,WAAW,GAAG,YAAY,CAAC,EAAE,CAAC,CAAC;QACrC,OAAO,qBAAqB,WAAW,OAAO,CAAC;IACnD,CAAC;CACJ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"opencode.d.ts","sourceRoot":"","sources":["../../../../src/core/configurators/slash/opencode.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAC;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"opencode.d.ts","sourceRoot":"","sources":["../../../../src/core/configurators/slash/opencode.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAC;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AA0B1D,qBAAa,oBAAqB,SAAQ,wBAAwB;IAC9D,QAAQ,CAAC,MAAM,cAAc;IAC7B,QAAQ,CAAC,WAAW,QAAQ;IAE5B,SAAS,CAAC,eAAe,CAAC,EAAE,EAAE,cAAc,GAAG,MAAM;IAIrD,SAAS,CAAC,cAAc,CAAC,EAAE,EAAE,cAAc,GAAG,MAAM,GAAG,SAAS;CAInE"}
|
|
@@ -2,6 +2,7 @@ import { SlashCommandConfigurator } from './base.js';
|
|
|
2
2
|
const FILE_PATHS = {
|
|
3
3
|
enhance: '.opencode/prompts/prompter-enhance.md',
|
|
4
4
|
'prd-generator': '.opencode/prompts/prd-generator.md',
|
|
5
|
+
'prd-agent-generator': '.opencode/prompts/prd-agent-generator.md',
|
|
5
6
|
'product-brief': '.opencode/prompts/product-brief.md',
|
|
6
7
|
'epic-single': '.opencode/prompts/epic-single.md',
|
|
7
8
|
'story-single': '.opencode/prompts/story-single.md',
|
|
@@ -12,6 +13,7 @@ const FILE_PATHS = {
|
|
|
12
13
|
const DESCRIPTIONS = {
|
|
13
14
|
enhance: 'Enhance a rough prompt into a professional specification',
|
|
14
15
|
'prd-generator': 'Generate a comprehensive Product Requirements Document (PRD)',
|
|
16
|
+
'prd-agent-generator': 'Generate a PRD with autonomous assumptions (non-interactive mode)',
|
|
15
17
|
'product-brief': 'Generate an executive-level product brief (1-page summary)',
|
|
16
18
|
'epic-single': 'Generate a single well-defined Jira Epic',
|
|
17
19
|
'story-single': 'Generate a single Jira User Story from requirements',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"opencode.js","sourceRoot":"","sources":["../../../../src/core/configurators/slash/opencode.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAC;AAGrD,MAAM,UAAU,GAAmC;IAC/C,OAAO,EAAE,uCAAuC;IAChD,eAAe,EAAE,oCAAoC;IACrD,eAAe,EAAE,oCAAoC;IACrD,aAAa,EAAE,kCAAkC;IACjD,cAAc,EAAE,mCAAmC;IACnD,kBAAkB,EAAE,uCAAuC;IAC3D,eAAe,EAAE,oCAAoC;IACrD,cAAc,EAAE,mCAAmC;CACtD,CAAC;AAEF,MAAM,YAAY,GAAmC;IACjD,OAAO,EAAE,0DAA0D;IACnE,eAAe,EAAE,8DAA8D;IAC/E,eAAe,EAAE,4DAA4D;IAC7E,aAAa,EAAE,0CAA0C;IACzD,cAAc,EAAE,qDAAqD;IACrE,kBAAkB,EAAE,6CAA6C;IACjE,eAAe,EAAE,mEAAmE;IACpF,cAAc,EAAE,mFAAmF;CACtG,CAAC;AAEF,MAAM,OAAO,oBAAqB,SAAQ,wBAAwB;IACrD,MAAM,GAAG,UAAU,CAAC;IACpB,WAAW,GAAG,IAAI,CAAC;IAElB,eAAe,CAAC,EAAkB;QACxC,OAAO,UAAU,CAAC,EAAE,CAAC,CAAC;IAC1B,CAAC;IAES,cAAc,CAAC,EAAkB;QACvC,MAAM,WAAW,GAAG,YAAY,CAAC,EAAE,CAAC,CAAC;QACrC,OAAO,qBAAqB,WAAW,OAAO,CAAC;IACnD,CAAC;CACJ"}
|
|
1
|
+
{"version":3,"file":"opencode.js","sourceRoot":"","sources":["../../../../src/core/configurators/slash/opencode.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAC;AAGrD,MAAM,UAAU,GAAmC;IAC/C,OAAO,EAAE,uCAAuC;IAChD,eAAe,EAAE,oCAAoC;IACrD,qBAAqB,EAAE,0CAA0C;IACjE,eAAe,EAAE,oCAAoC;IACrD,aAAa,EAAE,kCAAkC;IACjD,cAAc,EAAE,mCAAmC;IACnD,kBAAkB,EAAE,uCAAuC;IAC3D,eAAe,EAAE,oCAAoC;IACrD,cAAc,EAAE,mCAAmC;CACtD,CAAC;AAEF,MAAM,YAAY,GAAmC;IACjD,OAAO,EAAE,0DAA0D;IACnE,eAAe,EAAE,8DAA8D;IAC/E,qBAAqB,EAAE,mEAAmE;IAC1F,eAAe,EAAE,4DAA4D;IAC7E,aAAa,EAAE,0CAA0C;IACzD,cAAc,EAAE,qDAAqD;IACrE,kBAAkB,EAAE,6CAA6C;IACjE,eAAe,EAAE,mEAAmE;IACpF,cAAc,EAAE,mFAAmF;CACtG,CAAC;AAEF,MAAM,OAAO,oBAAqB,SAAQ,wBAAwB;IACrD,MAAM,GAAG,UAAU,CAAC;IACpB,WAAW,GAAG,IAAI,CAAC;IAElB,eAAe,CAAC,EAAkB;QACxC,OAAO,UAAU,CAAC,EAAE,CAAC,CAAC;IAC1B,CAAC;IAES,cAAc,CAAC,EAAkB;QACvC,MAAM,WAAW,GAAG,YAAY,CAAC,EAAE,CAAC,CAAC;QACrC,OAAO,qBAAqB,WAAW,OAAO,CAAC;IACnD,CAAC;CACJ"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type SlashCommandId = 'enhance' | 'prd-generator' | 'product-brief' | 'epic-single' | 'story-single' | 'qa-test-scenario' | 'skill-creator' | 'ai-humanizer';
|
|
1
|
+
export type SlashCommandId = 'enhance' | 'prd-generator' | 'prd-agent-generator' | 'product-brief' | 'epic-single' | 'story-single' | 'qa-test-scenario' | 'skill-creator' | 'ai-humanizer';
|
|
2
2
|
export declare const slashCommandBodies: Record<SlashCommandId, string>;
|
|
3
3
|
export declare function getSlashCommandBody(id: SlashCommandId): string;
|
|
4
4
|
export declare class TemplateManager {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"slash-command-templates.d.ts","sourceRoot":"","sources":["../../../src/core/templates/slash-command-templates.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,cAAc,GAAG,SAAS,GAAG,eAAe,GAAG,eAAe,GAAG,aAAa,GAAG,cAAc,GAAG,kBAAkB,GAAG,eAAe,GAAG,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"slash-command-templates.d.ts","sourceRoot":"","sources":["../../../src/core/templates/slash-command-templates.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,cAAc,GAAG,SAAS,GAAG,eAAe,GAAG,qBAAqB,GAAG,eAAe,GAAG,aAAa,GAAG,cAAc,GAAG,kBAAkB,GAAG,eAAe,GAAG,cAAc,CAAC;AA0/B5L,eAAO,MAAM,kBAAkB,EAAE,MAAM,CAAC,cAAc,EAAE,MAAM,CAU7D,CAAC;AAEF,wBAAgB,mBAAmB,CAAC,EAAE,EAAE,cAAc,GAAG,MAAM,CAE9D;AAED,qBAAa,eAAe;IACxB,MAAM,CAAC,mBAAmB,CAAC,EAAE,EAAE,cAAc,GAAG,MAAM;CAGzD"}
|
|
@@ -244,6 +244,133 @@ Before finalizing, verify:
|
|
|
244
244
|
5. Save the PRD to \`prompter/<slug>/prd.md\`
|
|
245
245
|
6. Report the saved file path
|
|
246
246
|
|
|
247
|
+
## REFERENCE
|
|
248
|
+
- Read \`prompter/project.md\` for project context if needed`;
|
|
249
|
+
const prdAgentGeneratorWorkflow = `# PRD Generator (Non-Interactive Mode)
|
|
250
|
+
|
|
251
|
+
Create detailed Product Requirements Documents that are clear, actionable, and suitable for implementation based solely on the user's initial input.
|
|
252
|
+
|
|
253
|
+
---
|
|
254
|
+
|
|
255
|
+
## The Job
|
|
256
|
+
|
|
257
|
+
1. Receive a feature description from the user
|
|
258
|
+
2. Analyze the input and make reasonable assumptions where details are missing
|
|
259
|
+
3. Generate a structured PRD based on the input
|
|
260
|
+
|
|
261
|
+
---
|
|
262
|
+
|
|
263
|
+
## Handling Ambiguity
|
|
264
|
+
|
|
265
|
+
When the user's input lacks specific details:
|
|
266
|
+
|
|
267
|
+
- **Make reasonable assumptions** based on common patterns and best practices
|
|
268
|
+
- **Document assumptions** in the PRD under "Assumptions Made"
|
|
269
|
+
- **Flag critical unknowns** in the "Open Questions" section
|
|
270
|
+
- **Err on the side of MVP scope** when scope is unclear
|
|
271
|
+
- **Default to standard patterns** (e.g., CRUD operations, standard UI components)
|
|
272
|
+
|
|
273
|
+
---
|
|
274
|
+
|
|
275
|
+
## PRD Structure
|
|
276
|
+
|
|
277
|
+
Generate the PRD with these sections:
|
|
278
|
+
|
|
279
|
+
### 1. Introduction/Overview
|
|
280
|
+
Brief description of the feature and the problem it solves.
|
|
281
|
+
|
|
282
|
+
### 2. Assumptions Made
|
|
283
|
+
List key assumptions made due to missing details in the original request:
|
|
284
|
+
- "Assumed target users are [X] based on feature context"
|
|
285
|
+
- "Assumed MVP scope since no specific scope mentioned"
|
|
286
|
+
- "Assumed standard authentication is already in place"
|
|
287
|
+
|
|
288
|
+
### 3. Goals
|
|
289
|
+
Specific, measurable objectives (bullet list).
|
|
290
|
+
|
|
291
|
+
### 4. User Stories
|
|
292
|
+
Each story needs:
|
|
293
|
+
- **Title:** Short descriptive name
|
|
294
|
+
- **Description:** "As a [user], I want [feature] so that [benefit]"
|
|
295
|
+
- **Acceptance Criteria:** Verifiable checklist of what "done" means
|
|
296
|
+
|
|
297
|
+
Each story should be small enough to implement in one focused session.
|
|
298
|
+
|
|
299
|
+
**Format:**
|
|
300
|
+
\`\`\`markdown
|
|
301
|
+
### US-001: [Title]
|
|
302
|
+
**Description:** As a [user], I want [feature] so that [benefit].
|
|
303
|
+
|
|
304
|
+
**Acceptance Criteria:**
|
|
305
|
+
- [ ] Specific verifiable criterion
|
|
306
|
+
- [ ] Another criterion
|
|
307
|
+
- [ ] Typecheck/lint passes
|
|
308
|
+
- [ ] **[UI stories only]** Verify in browser using dev-browser skill
|
|
309
|
+
\`\`\`
|
|
310
|
+
|
|
311
|
+
**Important:**
|
|
312
|
+
- Acceptance criteria must be verifiable, not vague. "Works correctly" is bad. "Button shows confirmation dialog before deleting" is good.
|
|
313
|
+
- **For any story with UI changes:** Always include "Verify in browser using dev-browser skill" as acceptance criteria. This ensures visual verification of frontend work.
|
|
314
|
+
|
|
315
|
+
### 5. Functional Requirements
|
|
316
|
+
Numbered list of specific functionalities:
|
|
317
|
+
- "FR-1: The system must allow users to..."
|
|
318
|
+
- "FR-2: When a user clicks X, the system must..."
|
|
319
|
+
|
|
320
|
+
Be explicit and unambiguous.
|
|
321
|
+
|
|
322
|
+
### 6. Non-Goals (Out of Scope)
|
|
323
|
+
What this feature will NOT include. Critical for managing scope.
|
|
324
|
+
|
|
325
|
+
### 7. Design Considerations (Optional)
|
|
326
|
+
- UI/UX requirements
|
|
327
|
+
- Link to mockups if available
|
|
328
|
+
- Relevant existing components to reuse
|
|
329
|
+
|
|
330
|
+
### 8. Technical Considerations (Optional)
|
|
331
|
+
- Known constraints or dependencies
|
|
332
|
+
- Integration points with existing systems
|
|
333
|
+
- Performance requirements
|
|
334
|
+
|
|
335
|
+
### 9. Success Metrics
|
|
336
|
+
How will success be measured?
|
|
337
|
+
- "Reduce time to complete X by 50%"
|
|
338
|
+
- "Increase conversion rate by 10%"
|
|
339
|
+
|
|
340
|
+
### 10. Open Questions
|
|
341
|
+
Remaining questions or areas needing clarification. This is where you document:
|
|
342
|
+
- Critical unknowns that affect implementation
|
|
343
|
+
- Areas where the original request was ambiguous
|
|
344
|
+
- Decisions that may need stakeholder input
|
|
345
|
+
|
|
346
|
+
---
|
|
347
|
+
|
|
348
|
+
## Writing for Junior Developers
|
|
349
|
+
|
|
350
|
+
The PRD reader may be a junior developer or AI agent. Therefore:
|
|
351
|
+
|
|
352
|
+
- Be explicit and unambiguous
|
|
353
|
+
- Avoid jargon or explain it
|
|
354
|
+
- Provide enough detail to understand purpose and core logic
|
|
355
|
+
- Number requirements for easy reference
|
|
356
|
+
- Use concrete examples where helpful
|
|
357
|
+
|
|
358
|
+
---
|
|
359
|
+
|
|
360
|
+
## Output
|
|
361
|
+
|
|
362
|
+
- **Format:** Markdown (\`.md\`)
|
|
363
|
+
|
|
364
|
+
---
|
|
365
|
+
|
|
366
|
+
## WORKFLOW STEPS
|
|
367
|
+
1. Read the user's input about the feature
|
|
368
|
+
2. Generate a unique, URL-friendly slug from the feature name (lowercase, hyphen-separated)
|
|
369
|
+
3. Create the directory \`prompter/<slug>/\` if it doesn't exist
|
|
370
|
+
4. Generate the complete PRD following all requirements above
|
|
371
|
+
5. Save the PRD to \`prompter/<slug>/prd-agent.md\`
|
|
372
|
+
6. Report the saved file path
|
|
373
|
+
|
|
247
374
|
## REFERENCE
|
|
248
375
|
- Read \`prompter/project.md\` for project context if needed`;
|
|
249
376
|
const epicSingleWorkflow = `Your job is to take a user requirement and structure it into **a single, well-defined Jira Epic**.
|
|
@@ -881,6 +1008,7 @@ You are an expert copywriter and proofreader. Your mission is to meticulously re
|
|
|
881
1008
|
export const slashCommandBodies = {
|
|
882
1009
|
enhance: enhanceWorkflow,
|
|
883
1010
|
'prd-generator': prdGeneratorWorkflow,
|
|
1011
|
+
'prd-agent-generator': prdAgentGeneratorWorkflow,
|
|
884
1012
|
'product-brief': productBriefWorkflow,
|
|
885
1013
|
'epic-single': epicSingleWorkflow,
|
|
886
1014
|
'story-single': storySingleWorkflow,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"slash-command-templates.js","sourceRoot":"","sources":["../../../src/core/templates/slash-command-templates.ts"],"names":[],"mappings":"AAEA,MAAM,eAAe,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mEAyC2C,CAAC;AAEpE,MAAM,oBAAoB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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BAAmB,CAAC,EAAkB;QACzC,OAAO,mBAAmB,CAAC,EAAE,CAAC,CAAC;IACnC,CAAC;CACJ"}
|
package/package.json
CHANGED
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
# PRD Generator (Non-Interactive Mode)
|
|
2
|
+
|
|
3
|
+
Create detailed Product Requirements Documents that are clear, actionable, and suitable for implementation based solely on the user's initial input.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## The Job
|
|
8
|
+
|
|
9
|
+
1. Receive a feature description from the user
|
|
10
|
+
2. Analyze the input and make reasonable assumptions where details are missing
|
|
11
|
+
3. Generate a structured PRD based on the input
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
## Handling Ambiguity
|
|
16
|
+
|
|
17
|
+
When the user's input lacks specific details:
|
|
18
|
+
|
|
19
|
+
- **Make reasonable assumptions** based on common patterns and best practices
|
|
20
|
+
- **Document assumptions** in the PRD under "Assumptions Made"
|
|
21
|
+
- **Flag critical unknowns** in the "Open Questions" section
|
|
22
|
+
- **Err on the side of MVP scope** when scope is unclear
|
|
23
|
+
- **Default to standard patterns** (e.g., CRUD operations, standard UI components)
|
|
24
|
+
|
|
25
|
+
---
|
|
26
|
+
|
|
27
|
+
## PRD Structure
|
|
28
|
+
|
|
29
|
+
Generate the PRD with these sections:
|
|
30
|
+
|
|
31
|
+
### 1. Introduction/Overview
|
|
32
|
+
Brief description of the feature and the problem it solves.
|
|
33
|
+
|
|
34
|
+
### 2. Assumptions Made
|
|
35
|
+
List key assumptions made due to missing details in the original request:
|
|
36
|
+
- "Assumed target users are [X] based on feature context"
|
|
37
|
+
- "Assumed MVP scope since no specific scope mentioned"
|
|
38
|
+
- "Assumed standard authentication is already in place"
|
|
39
|
+
|
|
40
|
+
### 3. Goals
|
|
41
|
+
Specific, measurable objectives (bullet list).
|
|
42
|
+
|
|
43
|
+
### 4. User Stories
|
|
44
|
+
Each story needs:
|
|
45
|
+
- **Title:** Short descriptive name
|
|
46
|
+
- **Description:** "As a [user], I want [feature] so that [benefit]"
|
|
47
|
+
- **Acceptance Criteria:** Verifiable checklist of what "done" means
|
|
48
|
+
|
|
49
|
+
Each story should be small enough to implement in one focused session.
|
|
50
|
+
|
|
51
|
+
**Format:**
|
|
52
|
+
```markdown
|
|
53
|
+
### US-001: [Title]
|
|
54
|
+
**Description:** As a [user], I want [feature] so that [benefit].
|
|
55
|
+
|
|
56
|
+
**Acceptance Criteria:**
|
|
57
|
+
- [ ] Specific verifiable criterion
|
|
58
|
+
- [ ] Another criterion
|
|
59
|
+
- [ ] Typecheck/lint passes
|
|
60
|
+
- [ ] **[UI stories only]** Verify in browser using dev-browser skill
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
**Important:**
|
|
64
|
+
- Acceptance criteria must be verifiable, not vague. "Works correctly" is bad. "Button shows confirmation dialog before deleting" is good.
|
|
65
|
+
- **For any story with UI changes:** Always include "Verify in browser using dev-browser skill" as acceptance criteria. This ensures visual verification of frontend work.
|
|
66
|
+
|
|
67
|
+
### 5. Functional Requirements
|
|
68
|
+
Numbered list of specific functionalities:
|
|
69
|
+
- "FR-1: The system must allow users to..."
|
|
70
|
+
- "FR-2: When a user clicks X, the system must..."
|
|
71
|
+
|
|
72
|
+
Be explicit and unambiguous.
|
|
73
|
+
|
|
74
|
+
### 6. Non-Goals (Out of Scope)
|
|
75
|
+
What this feature will NOT include. Critical for managing scope.
|
|
76
|
+
|
|
77
|
+
### 7. Design Considerations (Optional)
|
|
78
|
+
- UI/UX requirements
|
|
79
|
+
- Link to mockups if available
|
|
80
|
+
- Relevant existing components to reuse
|
|
81
|
+
|
|
82
|
+
### 8. Technical Considerations (Optional)
|
|
83
|
+
- Known constraints or dependencies
|
|
84
|
+
- Integration points with existing systems
|
|
85
|
+
- Performance requirements
|
|
86
|
+
|
|
87
|
+
### 9. Success Metrics
|
|
88
|
+
How will success be measured?
|
|
89
|
+
- "Reduce time to complete X by 50%"
|
|
90
|
+
- "Increase conversion rate by 10%"
|
|
91
|
+
|
|
92
|
+
### 10. Open Questions
|
|
93
|
+
Remaining questions or areas needing clarification. This is where you document:
|
|
94
|
+
- Critical unknowns that affect implementation
|
|
95
|
+
- Areas where the original request was ambiguous
|
|
96
|
+
- Decisions that may need stakeholder input
|
|
97
|
+
|
|
98
|
+
---
|
|
99
|
+
|
|
100
|
+
## Writing for Junior Developers
|
|
101
|
+
|
|
102
|
+
The PRD reader may be a junior developer or AI agent. Therefore:
|
|
103
|
+
|
|
104
|
+
- Be explicit and unambiguous
|
|
105
|
+
- Avoid jargon or explain it
|
|
106
|
+
- Provide enough detail to understand purpose and core logic
|
|
107
|
+
- Number requirements for easy reference
|
|
108
|
+
- Use concrete examples where helpful
|
|
109
|
+
|
|
110
|
+
---
|
|
111
|
+
|
|
112
|
+
## Output
|
|
113
|
+
|
|
114
|
+
- **Format:** Markdown (`.md`)
|
|
115
|
+
|
|
116
|
+
---
|
|
117
|
+
|
|
118
|
+
## Example PRD
|
|
119
|
+
|
|
120
|
+
```markdown
|
|
121
|
+
# PRD: Task Priority System
|
|
122
|
+
|
|
123
|
+
## Introduction
|
|
124
|
+
|
|
125
|
+
Add priority levels to tasks so users can focus on what matters most. Tasks can be marked as high, medium, or low priority, with visual indicators and filtering to help users manage their workload effectively.
|
|
126
|
+
|
|
127
|
+
## Assumptions Made
|
|
128
|
+
|
|
129
|
+
- Assumed this is for an existing task management system with a tasks table
|
|
130
|
+
- Assumed standard web UI (not mobile app)
|
|
131
|
+
- Assumed MVP scope - basic priority features without advanced automation
|
|
132
|
+
- Assumed users are familiar with priority systems from other tools
|
|
133
|
+
|
|
134
|
+
## Goals
|
|
135
|
+
|
|
136
|
+
- Allow assigning priority (high/medium/low) to any task
|
|
137
|
+
- Provide clear visual differentiation between priority levels
|
|
138
|
+
- Enable filtering and sorting by priority
|
|
139
|
+
- Default new tasks to medium priority
|
|
140
|
+
|
|
141
|
+
## User Stories
|
|
142
|
+
|
|
143
|
+
### US-001: Add priority field to database
|
|
144
|
+
**Description:** As a developer, I need to store task priority so it persists across sessions.
|
|
145
|
+
|
|
146
|
+
**Acceptance Criteria:**
|
|
147
|
+
- [ ] Add priority column to tasks table: 'high' | 'medium' | 'low' (default 'medium')
|
package/src/cli/index.ts
CHANGED
|
@@ -3,19 +3,19 @@ import { InitCommand } from '../commands/init.js';
|
|
|
3
3
|
import { UpdateCommand } from '../commands/update.js';
|
|
4
4
|
import { ListCommand } from '../commands/list.js';
|
|
5
5
|
import { GuideCommand } from '../commands/guide.js';
|
|
6
|
-
import { AiHumanizerCommand } from '../commands/ai-humanizer.js';
|
|
7
6
|
|
|
8
7
|
const program = new Command();
|
|
9
8
|
|
|
10
9
|
program
|
|
11
10
|
.name('prompter')
|
|
12
11
|
.description('Enhance prompts directly in your AI coding workflow')
|
|
13
|
-
.version('0.
|
|
12
|
+
.version('0.5.0');
|
|
14
13
|
|
|
15
14
|
program
|
|
16
15
|
.command('init')
|
|
17
16
|
.description('Initialize Prompter in your project')
|
|
18
17
|
.option('--tools <tools...>', 'Specify AI tools to configure (antigravity, claude, codex, github-copilot, opencode, kilocode)')
|
|
18
|
+
.option('--prompts <prompts...>', 'Specify prompts to install (ai-humanizer, epic-single, prd-agent-generator, prd-generator, product-brief, qa-test-scenario, skill-creator, story-single)')
|
|
19
19
|
.option('--no-interactive', 'Run without interactive prompts')
|
|
20
20
|
.action(async (options) => {
|
|
21
21
|
const initCommand = new InitCommand();
|
|
@@ -47,14 +47,4 @@ program
|
|
|
47
47
|
await guideCommand.execute();
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
program
|
|
51
|
-
.command('ai-humanizer')
|
|
52
|
-
.description('Generate AI humanizer workflow files for configured tools')
|
|
53
|
-
.option('--tools <tools...>', 'Specify AI tools to generate for')
|
|
54
|
-
.option('--no-interactive', 'Run without interactive prompts')
|
|
55
|
-
.action(async (options) => {
|
|
56
|
-
const aiHumanizerCommand = new AiHumanizerCommand();
|
|
57
|
-
await aiHumanizerCommand.execute(options);
|
|
58
|
-
});
|
|
59
|
-
|
|
60
50
|
program.parse();
|