Skip to content

Commit d4a1d1e

Browse files
committed
update prompts
1 parent faabb88 commit d4a1d1e

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

backend/src/build-system/handlers/ux/sitemap-document/prompt.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ export const prompts = {
4141
<UXSitemap>
4242
<page_gen>
4343
N. [Main Section Title]
44+
Description: (Brief description of page purpose)
4445
N.1. [Sub-section Title]
4546
N.1.1. [Further Detail]
4647
N.1.2. [Further Detail]
@@ -49,6 +50,7 @@ export const prompts = {
4950
5051
<page_gen>
5152
2. [Another Main Section]
53+
Description: (Brief description of page purpose)
5254
2.1 [Sub-section Title]
5355
...
5456
</page_gen>

backend/src/build-system/handlers/ux/sitemap-structure/prompt.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export const prompts = {
1313
Output Requirements:
1414
Use plain text (no Markdown).
1515
Begin with <UXSitemap> and end with </UXSitemap>.
16-
Within <UXSitemap>, generate multiple <gen_page> blocks, one for each page.
16+
Within <UXSitemap>, start with <global_comp>, and generate multiple <gen_page> blocks, one for each page.
1717
Each <gen_page> must follow this structure exactly:
1818
1919
<gen_page>
@@ -82,6 +82,7 @@ P#. [Page Name]
8282
1. One or more \`<global_comp>\` blocks (if relevant).
8383
2. Multiple \`<page_gen>\` blocks (one per page).
8484
- Each \`<global_comp>\` or \`<page_gen>\` should include all relevant fields as stated above.
85+
**Number** Goal Component in <global_comp> tag sequentially (G1., G2., etc.).
8586
**Number** pages sequentially (P1., P2., etc.).
8687
**Number** each component and feature sequentially within that page (C1.1, C1.2, F1.1, F1.2, etc.).
8788
Thoroughly parse the PRD to include:

0 commit comments

Comments
 (0)