cc-viewer 1.6.232 → 1.6.233
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/concepts/ar/CustomUltraplanExpert.md +165 -0
- package/concepts/ar/UltraPlan.md +101 -0
- package/concepts/da/CustomUltraplanExpert.md +165 -0
- package/concepts/da/UltraPlan.md +101 -0
- package/concepts/de/CustomUltraplanExpert.md +165 -0
- package/concepts/de/UltraPlan.md +101 -0
- package/concepts/en/CustomUltraplanExpert.md +4 -0
- package/concepts/en/UltraPlan.md +40 -22
- package/concepts/es/CustomUltraplanExpert.md +165 -0
- package/concepts/es/UltraPlan.md +101 -0
- package/concepts/fr/CustomUltraplanExpert.md +165 -0
- package/concepts/fr/UltraPlan.md +101 -0
- package/concepts/it/CustomUltraplanExpert.md +165 -0
- package/concepts/it/UltraPlan.md +101 -0
- package/concepts/ja/CustomUltraplanExpert.md +165 -0
- package/concepts/ja/UltraPlan.md +101 -0
- package/concepts/ko/CustomUltraplanExpert.md +165 -0
- package/concepts/ko/UltraPlan.md +101 -0
- package/concepts/no/CustomUltraplanExpert.md +165 -0
- package/concepts/no/UltraPlan.md +101 -0
- package/concepts/pl/CustomUltraplanExpert.md +165 -0
- package/concepts/pl/UltraPlan.md +101 -0
- package/concepts/pt-BR/CustomUltraplanExpert.md +165 -0
- package/concepts/pt-BR/UltraPlan.md +101 -0
- package/concepts/ru/CustomUltraplanExpert.md +165 -0
- package/concepts/ru/UltraPlan.md +101 -0
- package/concepts/th/CustomUltraplanExpert.md +165 -0
- package/concepts/th/UltraPlan.md +101 -0
- package/concepts/tr/CustomUltraplanExpert.md +165 -0
- package/concepts/tr/UltraPlan.md +101 -0
- package/concepts/uk/CustomUltraplanExpert.md +165 -0
- package/concepts/uk/UltraPlan.md +101 -0
- package/concepts/zh/CustomUltraplanExpert.md +4 -0
- package/concepts/zh/UltraPlan.md +40 -22
- package/concepts/zh-TW/CustomUltraplanExpert.md +162 -0
- package/concepts/zh-TW/UltraPlan.md +101 -0
- package/dist/assets/App-Bg0pmp2M.js +1 -0
- package/dist/assets/MdxEditorPanel-B7jA0Knu.js +1 -0
- package/dist/assets/{AppHeader-shbV-3zU.css → MemoryDetailModal-Cfq64XwU.css} +2 -2
- package/dist/assets/MemoryDetailModal-D-hhLwDU.js +2 -0
- package/dist/assets/Mobile-g_Cnk1v4.js +1 -0
- package/dist/assets/{_baseUniq-_yALeOHi.js → _baseUniq-7WyLOfOD.js} +1 -1
- package/dist/assets/{arc-B5pRnfqS.js → arc-BqtQ2TR5.js} +1 -1
- package/dist/assets/{architectureDiagram-Q4EWVU46-DthmH4OR.js → architectureDiagram-Q4EWVU46-DNsON_uI.js} +1 -1
- package/dist/assets/{blockDiagram-DXYQGD6D-DcTaGOKa.js → blockDiagram-DXYQGD6D-BAnmw6RY.js} +1 -1
- package/dist/assets/{c4Diagram-AHTNJAMY-BQKUCu8F.js → c4Diagram-AHTNJAMY-BVTMAIlF.js} +1 -1
- package/dist/assets/{channel-BWJQxTbE.js → channel-DpzUDUvG.js} +1 -1
- package/dist/assets/{chunk-4BX2VUAB-DYZKWvRi.js → chunk-4BX2VUAB-63nvqcse.js} +1 -1
- package/dist/assets/{chunk-4TB4RGXK-CS19SHdi.js → chunk-4TB4RGXK-DscRWqiR.js} +1 -1
- package/dist/assets/{chunk-55IACEB6-Rs-HDnQc.js → chunk-55IACEB6-DzsFGeoV.js} +1 -1
- package/dist/assets/{chunk-EDXVE4YY-hXx6TNZ7.js → chunk-EDXVE4YY-ZgTnVGTc.js} +1 -1
- package/dist/assets/{chunk-FMBD7UC4-Dg-nxK_6.js → chunk-FMBD7UC4-DIKVKEfO.js} +1 -1
- package/dist/assets/{chunk-OYMX7WX6-C6d9RMbp.js → chunk-OYMX7WX6-w_HztfnV.js} +1 -1
- package/dist/assets/{chunk-QZHKN3VN-BNOQ1kBe.js → chunk-QZHKN3VN-BCvptAWT.js} +1 -1
- package/dist/assets/{chunk-YZCP3GAM-D_ANME8r.js → chunk-YZCP3GAM-C-nVBIjq.js} +1 -1
- package/dist/assets/classDiagram-6PBFFD2Q-50wMH0oC.js +1 -0
- package/dist/assets/classDiagram-v2-HSJHXN6E-50wMH0oC.js +1 -0
- package/dist/assets/clone-Cr4FyA_-.js +1 -0
- package/dist/assets/{cose-bilkent-S5V4N54A-CTmbOA5L.js → cose-bilkent-S5V4N54A-r4X4a6GB.js} +1 -1
- package/dist/assets/{dagre-KV5264BT-LfeX0c6P.js → dagre-KV5264BT-BHPzoGQS.js} +1 -1
- package/dist/assets/{diagram-5BDNPKRD-C8bE96Vc.js → diagram-5BDNPKRD-Czb-PWGQ.js} +1 -1
- package/dist/assets/{diagram-G4DWMVQ6-CEpwug4a.js → diagram-G4DWMVQ6-DwjmplbB.js} +1 -1
- package/dist/assets/{diagram-MMDJMWI5-B4IUGPuz.js → diagram-MMDJMWI5-CX8iQI58.js} +1 -1
- package/dist/assets/{diagram-TYMM5635-BOT2RZZr.js → diagram-TYMM5635-BKLl1-2F.js} +1 -1
- package/dist/assets/{erDiagram-SMLLAGMA-CLF596PW.js → erDiagram-SMLLAGMA-Dr0QHMWl.js} +1 -1
- package/dist/assets/{flowDiagram-DWJPFMVM-MBM9yHXX.js → flowDiagram-DWJPFMVM-BUQN9yen.js} +1 -1
- package/dist/assets/{ganttDiagram-T4ZO3ILL-C0UBNZaj.js → ganttDiagram-T4ZO3ILL-lOHwk9xE.js} +1 -1
- package/dist/assets/{gitGraphDiagram-UUTBAWPF-CxHPXW7u.js → gitGraphDiagram-UUTBAWPF-DcNim81F.js} +1 -1
- package/dist/assets/{graph-olBhWx_l.js → graph-BkFt1bfK.js} +1 -1
- package/dist/assets/{index-BSqibSQz.js → index-B2Kc9sK3.js} +1 -1
- package/dist/assets/{index-CyPMm5q-.js → index-COwu7beD.js} +1 -1
- package/dist/assets/{index-DsEqauU9.js → index-CeM_RmDZ.js} +1 -1
- package/dist/assets/{index-DJMCeDYQ.js → index-DCgVszdq.js} +1 -1
- package/dist/assets/{index-DrQ6M-Gu.js → index-DdYkqLM-.js} +1 -1
- package/dist/assets/{index-yzMYxfsJ.js → index-Df4X98RK.js} +1 -1
- package/dist/assets/{index-hcbJYwvG.js → index-DxgQkYpd.js} +1 -1
- package/dist/assets/{index-CHO5znSo.js → index-o_Xzd98u.js} +2 -2
- package/dist/assets/{infoDiagram-42DDH7IO-CqV9mkMZ.js → infoDiagram-42DDH7IO-BYux_n61.js} +1 -1
- package/dist/assets/{ishikawaDiagram-UXIWVN3A-Czpfcqi6.js → ishikawaDiagram-UXIWVN3A-COJ7k4kv.js} +1 -1
- package/dist/assets/{journeyDiagram-VCZTEJTY-CH10JTQU.js → journeyDiagram-VCZTEJTY-CNTmiD7P.js} +1 -1
- package/dist/assets/{kanban-definition-6JOO6SKY-C9Q4Fy8z.js → kanban-definition-6JOO6SKY-D6gAzHkR.js} +1 -1
- package/dist/assets/{layout-BI-B9yUD.js → layout-CLLpxzZt.js} +1 -1
- package/dist/assets/{linear-Dw3iBwM1.js → linear-De2FOjos.js} +1 -1
- package/dist/assets/{mermaid.core-B_VD4Hvj.js → mermaid.core-Cydvnbop.js} +2 -2
- package/dist/assets/{min-Du9adfPH.js → min-svWQ_itm.js} +1 -1
- package/dist/assets/{mindmap-definition-QFDTVHPH-CaMicHMI.js → mindmap-definition-QFDTVHPH-DB_mVE41.js} +1 -1
- package/dist/assets/{pieDiagram-DEJITSTG-DCJQvpAG.js → pieDiagram-DEJITSTG-BPsEiPgY.js} +1 -1
- package/dist/assets/{quadrantDiagram-34T5L4WZ-CAM_s8Xc.js → quadrantDiagram-34T5L4WZ-B0vwxgTT.js} +1 -1
- package/dist/assets/{requirementDiagram-MS252O5E-DF3NSseQ.js → requirementDiagram-MS252O5E-Dh5h8Iim.js} +1 -1
- package/dist/assets/{sankeyDiagram-XADWPNL6-BPdFQNTe.js → sankeyDiagram-XADWPNL6-DJd-MIyc.js} +1 -1
- package/dist/assets/{sequenceDiagram-FGHM5R23-Du8-vUmN.js → sequenceDiagram-FGHM5R23-DL8FmWmM.js} +1 -1
- package/dist/assets/{stateDiagram-FHFEXIEX-B9CfSrrU.js → stateDiagram-FHFEXIEX-BvM-YO9H.js} +1 -1
- package/dist/assets/{stateDiagram-v2-QKLJ7IA2-De-L2Tw-.js → stateDiagram-v2-QKLJ7IA2-DrW9i5SO.js} +1 -1
- package/dist/assets/{timeline-definition-GMOUNBTQ-CX-WGfJI.js → timeline-definition-GMOUNBTQ-Cmgo8NKr.js} +1 -1
- package/dist/assets/{vendor-antd-DW2QvF0l.js → vendor-antd-COAwO2n0.js} +1 -1
- package/dist/assets/{vendor-codemirror-Bh_IP9SJ.js → vendor-codemirror-B_arK_ec.js} +1 -1
- package/dist/assets/{vendor-mdxeditor-DmzrSr0n.js → vendor-mdxeditor-lhz8HD2R.js} +2 -2
- package/dist/assets/{vendor-qrcode-CXOKgQeD.js → vendor-qrcode-CMjqs6Gh.js} +1 -1
- package/dist/assets/{vendor-virtuoso-CU5wFM1_.js → vendor-virtuoso-CR72uTTv.js} +1 -1
- package/dist/assets/{vennDiagram-DHZGUBPP-BDTC-m_V.js → vennDiagram-DHZGUBPP-fSI5n23s.js} +1 -1
- package/dist/assets/{wardley-RL74JXVD-c78hCql7.js → wardley-RL74JXVD-DYGzf-CJ.js} +1 -1
- package/dist/assets/{wardleyDiagram-NUSXRM2D-CMiF49Ci.js → wardleyDiagram-NUSXRM2D-BTrxJ754.js} +1 -1
- package/dist/assets/{xychartDiagram-5P7HB3ND-DrfnrMDg.js → xychartDiagram-5P7HB3ND-HzTx9Jn2.js} +1 -1
- package/dist/index.html +4 -4
- package/package.json +1 -1
- package/dist/assets/App-Do67d04Y.js +0 -1
- package/dist/assets/AppHeader.module-DAis3JIf.js +0 -2
- package/dist/assets/MdxEditorPanel-DTjCB4JK.js +0 -1
- package/dist/assets/Mobile-BtHBEqlu.js +0 -1
- package/dist/assets/classDiagram-6PBFFD2Q-D7FdAnCO.js +0 -1
- package/dist/assets/classDiagram-v2-HSJHXN6E-D7FdAnCO.js +0 -1
- package/dist/assets/clone-CkOXLPKP.js +0 -1
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
# Custom UltraPlan Expert — คู่มือการเขียน
|
|
2
|
+
|
|
3
|
+
## สองช่องป้อนข้อมูลทำหน้าที่อะไร
|
|
4
|
+
|
|
5
|
+
- **ชื่อผู้เชี่ยวชาญ (Expert name)**: ป้ายที่แสดงบนปุ่มบทบาทในแถวตัวเลือก UltraPlan (สูงสุด 30 อักขระ) เป็นเพียงชื่อสำหรับแสดงผลและจะ**ไม่**ถูกส่งไปยัง Claude Code
|
|
6
|
+
- **เนื้อหา prompt (Prompt body)**: คำสั่งบทบาทของคุณ ขณะส่ง cc-viewer จะ**ห่อหุ้มอัตโนมัติ**ด้วยแท็ก `<system-reminder>...</system-reminder>` พร้อมส่วนหัวขอบเขต `[SCOPED INSTRUCTION]` ดังนั้น**เขียนเฉพาะเนื้อหา**เท่านั้น — อย่าเพิ่มแท็ก `<system-reminder>` ด้วยตัวเอง
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## เทมเพลตผู้เชี่ยวชาญหน้าตาเป็นอย่างไร?
|
|
11
|
+
|
|
12
|
+
ผู้เชี่ยวชาญในตัวทุกตัว (Code Expert / Research Expert) เป็นบล็อก `<system-reminder>` ที่ฉีดเข้าไปในบริบทของ Claude Code โดยพื้นฐาน ผู้เชี่ยวชาญที่กำหนดเองของคุณก็ผ่าน pipeline เดียวกันทุกประการ นี่คือการแยกส่วนเทมเพลต **Research Expert**:
|
|
13
|
+
|
|
14
|
+
```xml
|
|
15
|
+
<system-reminder>
|
|
16
|
+
[SCOPED INSTRUCTION] The following instructions are intended for the next 1–3
|
|
17
|
+
interactions. Once the task is complete, these instructions should be gradually
|
|
18
|
+
deprioritized and no longer influence subsequent interactions.
|
|
19
|
+
|
|
20
|
+
Pre-requisite: Use `AskUserQuestion` to clarify the research scope, target
|
|
21
|
+
audience, and deliverable format whenever the user's intent is ambiguous. Skip
|
|
22
|
+
only if the intent is unambiguous.
|
|
23
|
+
|
|
24
|
+
Leverage a multi-agent exploration mechanism to formulate an exceptionally
|
|
25
|
+
detailed implementation plan.
|
|
26
|
+
|
|
27
|
+
Instructions:
|
|
28
|
+
1. Utilize the Agent tool to spawn parallel agents that simultaneously explore
|
|
29
|
+
various facets of the requirements:
|
|
30
|
+
- If necessary, deploy a preliminary investigator to conduct an initial
|
|
31
|
+
survey of industry-specific solutions using `webSearch`;
|
|
32
|
+
- If necessary, deploy a specialized investigator to research authoritative
|
|
33
|
+
sources—such as academic papers, news articles, and research reports—
|
|
34
|
+
using `webSearch`;
|
|
35
|
+
- Assign an agent to synthesize the target solution, while simultaneously
|
|
36
|
+
verifying the rigor and credibility of the gathered papers, news, and
|
|
37
|
+
research reports;
|
|
38
|
+
- If necessary, assign an agent to analyze competitor data to provide
|
|
39
|
+
supplementary analytical perspectives;
|
|
40
|
+
- If necessary, assign an agent to handle the implementation of a product
|
|
41
|
+
demo (generating outputs such as HTML, Markdown, etc.);
|
|
42
|
+
- If the task is sufficiently complex, you may assign additional teammates
|
|
43
|
+
to the roles defined above, or introduce other specialized roles; you are
|
|
44
|
+
permitted to schedule up to 5 teammates concurrently.
|
|
45
|
+
|
|
46
|
+
2. Synthesize the findings from the aforementioned agents into a comprehensive,
|
|
47
|
+
step-by-step implementation plan.
|
|
48
|
+
|
|
49
|
+
3. Utilize the Agent tool to spawn a set of parallel review agents; these
|
|
50
|
+
agents shall scrutinize the plan from multiple roles and perspectives to
|
|
51
|
+
identify any omitted steps and to propose reasonable additions or
|
|
52
|
+
optimizations.
|
|
53
|
+
|
|
54
|
+
4. Consolidate the feedback received from the review agents, then invoke
|
|
55
|
+
`ExitPlanMode` to submit your final plan.
|
|
56
|
+
|
|
57
|
+
5. Upon receiving the result from `ExitPlanMode`:
|
|
58
|
+
- If Approved: Proceed to execute the plan within this current session.
|
|
59
|
+
- If Rejected: Revise the plan based on the provided feedback, and then
|
|
60
|
+
invoke `ExitPlanMode` once again.
|
|
61
|
+
- If an Error Occurs: Do *not* follow the suggestions; prompt the user for
|
|
62
|
+
further instructions.
|
|
63
|
+
|
|
64
|
+
Your final plan must include the following elements:
|
|
65
|
+
- A clear summary of the proposed implementation strategy;
|
|
66
|
+
- An ordered list of files to be created or modified, specifying the exact
|
|
67
|
+
changes required for each;
|
|
68
|
+
- A step-by-step sequence for executing the implementation;
|
|
69
|
+
- Identification of potential risks and corresponding mitigation strategies;
|
|
70
|
+
- Creative ideation and suggestions for advanced enhancements;
|
|
71
|
+
- If a product demo was generated, place the corresponding demo output in an
|
|
72
|
+
appropriate location and notify the user.
|
|
73
|
+
</system-reminder>
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
---
|
|
77
|
+
|
|
78
|
+
## การวิเคราะห์ทีละส่วน
|
|
79
|
+
|
|
80
|
+
### 1. ส่วนหัวขอบเขต `[SCOPED INSTRUCTION]` (ตัวห่อหุ้ม — สร้างอัตโนมัติ)
|
|
81
|
+
> The following instructions are intended for the next 1–3 interactions...
|
|
82
|
+
|
|
83
|
+
นี่บอก Claude Code ว่า: **คำสั่งเหล่านี้ใช้งานได้เฉพาะในการสนทนา 1–3 รอบถัดไป**เท่านั้น จากนั้นจะค่อยๆ จางหาย ป้องกันไม่ให้ "บุคลิกผู้เชี่ยวชาญ" รั่วไหลเข้าสู่บทสนทนาที่ไม่เกี่ยวข้องในภายหลัง
|
|
84
|
+
|
|
85
|
+
**บรรทัดนี้สร้างโดย cc-viewer อัตโนมัติ คุณไม่จำเป็นต้องเขียน**
|
|
86
|
+
|
|
87
|
+
### 2. คำจำกัดความงานเริ่มต้น (**นี่คือสิ่งที่คุณควรเขียนใหม่**)
|
|
88
|
+
> Leverage a multi-agent exploration mechanism to formulate an exceptionally detailed implementation plan.
|
|
89
|
+
|
|
90
|
+
นี่คือ "ประธาน-กริยา-กรรม" ของเทมเพลตทั้งหมด: **บอก Claude Code ถึงท่าทีและเป้าหมาย** ค่าเริ่มต้น "การสำรวจหลายเอเจนต์ + แผนการนำไปใช้" เหมาะกับงานด้าน**วิศวกรรมซอฟต์แวร์ / การวางแผน**ดี แต่ดูแปลกสำหรับโดเมนอื่นๆ จำนวนมาก (การตรวจทานเนื้อหา การวิเคราะห์ข้อมูล การเขียนคำโฆษณา การวิจัยตลาด การตรวจสอบการปฏิบัติตามข้อกำหนด...)
|
|
91
|
+
|
|
92
|
+
**เราขอแนะนำอย่างยิ่งให้เขียนบรรทัดนี้ใหม่ตามวัตถุประสงค์ของคุณ** เช่น:
|
|
93
|
+
|
|
94
|
+
- **ผู้ตรวจทานเนื้อหา**: "You are a senior content reviewer specializing in {domain}. Your goal is to identify factual inaccuracies, tone inconsistencies, and structural weaknesses in the provided material."
|
|
95
|
+
- **นักวิเคราะห์การแข่งขัน**: "Conduct a rigorous competitive analysis for {product category}. Produce a comparison matrix, positioning insights, and strategic recommendations."
|
|
96
|
+
- **นักเขียนคำโฆษณา**: "Generate multiple creative copy variants for {scenario}, each with distinct positioning, tone, and call-to-action strategy."
|
|
97
|
+
|
|
98
|
+
### 3. ขั้นตอนกระบวนการทำงาน (1–5 รายการ — **ตัดทอนหรือขยายตามความซับซ้อน**)
|
|
99
|
+
|
|
100
|
+
Research Expert มี 5 ขั้นตอน: **สำรวจ → สังเคราะห์ → ตรวจทาน → ส่งแผน → ดำเนินการ** ซึ่งบังคับใช้ "หลายเอเจนต์ขนาน + การตรวจทานข้าม + การอนุมัติแผน" — ความเข้มงวดสามชั้น เหมาะสำหรับงานที่มีเดิมพันสูง/ขอบเขตกว้าง แต่**มากเกินไปสำหรับงานเบาๆ**
|
|
101
|
+
|
|
102
|
+
- **งานง่าย** (การค้นหาเดี่ยว / แก้ไขเล็กน้อย): ตัดการกระจายงานหลายเอเจนต์และการตรวจทานออก เพียง "ผลิตคำตอบ" ในขั้นตอนเดียว
|
|
103
|
+
- **งานปานกลาง**: เก็บ "สำรวจ → สังเคราะห์ → ตรวจทาน" ไว้ ตัดการเต้น ExitPlanMode ออก ส่งมอบผลโดยตรง
|
|
104
|
+
- **งานซับซ้อนต้นทุนสูง** (การ refactor ขนาดใหญ่ การเปรียบเทียบหลายตัวเลือก การวิจัยข้ามโดเมน): เก็บทั้ง 5 ขั้นตอน อาจเพิ่มขั้นตอน "โมเดลความเสี่ยง" หรือ "เมทริกซ์เปรียบเทียบตัวเลือก"
|
|
105
|
+
|
|
106
|
+
### 4. บทบาทย่อยในขั้นตอนที่ 1 (**ปรับแต่งตามโดเมนของคุณ**)
|
|
107
|
+
|
|
108
|
+
Research Expert ระบุ 6 บทบาทที่เป็นไปได้ (ผู้สำรวจอุตสาหกรรม นักวิจัยวิชาการ ผู้สังเคราะห์ + ผู้ตรวจสอบข้อเท็จจริง นักวิเคราะห์คู่แข่ง ผู้สร้าง demo ช่องสำหรับขยาย) **เขียนรายการนี้ใหม่ตามสถานการณ์ของคุณ**:
|
|
109
|
+
|
|
110
|
+
- **การเขียน**: "source collector + style analyst + fact checker"
|
|
111
|
+
- **การวิเคราะห์ข้อมูล**: "data-cleaning agent + statistical modeling agent + visualization agent"
|
|
112
|
+
- **การตรวจสอบโค้ด**: "static-analysis agent + dependency-chain auditor + threat modeler"
|
|
113
|
+
|
|
114
|
+
### 5. รายการตรวจสอบผลลัพธ์ขั้นสุดท้าย (**สอดคล้องกับความต้องการจริงของคุณ**)
|
|
115
|
+
|
|
116
|
+
> Your final plan must include the following elements: ...
|
|
117
|
+
|
|
118
|
+
เทมเพลตเดิมระบุ 6 องค์ประกอบของ "แผนการนำไปใช้" ผลลัพธ์ของคุณอาจเป็นสิ่งอื่นที่แตกต่างไปโดยสิ้นเชิง:
|
|
119
|
+
|
|
120
|
+
- **รายงานวิจัย** → "Executive summary / Methodology / Key findings / Limitations / Action recommendations"
|
|
121
|
+
- **รายงานการตรวจทาน** → "Issue list / Severity rating / Fix suggestions / Before-after examples"
|
|
122
|
+
- **เมทริกซ์เปรียบเทียบ** → "Dimension definitions / Scoring rubric / Conclusions / Recommendation rationale"
|
|
123
|
+
|
|
124
|
+
---
|
|
125
|
+
|
|
126
|
+
## เคล็ดลับการเขียน (TL;DR)
|
|
127
|
+
|
|
128
|
+
1. **เก็บตัวห่อหุ้มไว้**: บรรทัด `<system-reminder>` + `[SCOPED INSTRUCTION]` ถูกเพิ่มโดย cc-viewer — อย่าเขียนซ้ำ
|
|
129
|
+
2. **เขียนประโยคเปิดใหม่**: ระบุบทบาท เป้าหมาย และรูปแบบผลลัพธ์ในบรรทัดเดียว
|
|
130
|
+
3. **ปรับเปลี่ยนกระบวนการทำงาน**: 1–2 ขั้นตอนสำหรับงานเบาๆ ใช้วงรอบ 5 ขั้นตอนเต็มเฉพาะงานซับซ้อนเท่านั้น
|
|
131
|
+
4. **เขียนบทบาทย่อยในขั้นตอนที่ 1 ใหม่**: ค่าเริ่มต้น (เอกสารวิชาการ / คู่แข่ง / demo) อาจไม่ใช่สิ่งที่คุณต้องการ
|
|
132
|
+
5. **"รายการตรวจสอบผลลัพธ์" สุดท้ายคือมาตรฐานคุณภาพของคุณ**: ระบุโครงสร้างผลลัพธ์ออกมา — Claude Code จะปฏิบัติตามอย่างเคร่งครัด
|
|
133
|
+
|
|
134
|
+
---
|
|
135
|
+
|
|
136
|
+
## ตัวอย่างที่ปรับโครงสร้างใหม่: Competitive Analyst
|
|
137
|
+
|
|
138
|
+
```
|
|
139
|
+
You are a senior competitive intelligence analyst for {industry}. Your goal is to
|
|
140
|
+
produce a decision-grade competitive landscape report for the product "{our product}".
|
|
141
|
+
|
|
142
|
+
Instructions:
|
|
143
|
+
1. Use the Agent tool to dispatch 3 parallel investigators:
|
|
144
|
+
- Market landscape agent: map the top 5–8 competitors with core positioning
|
|
145
|
+
- Feature matrix agent: compile a feature-by-feature comparison using
|
|
146
|
+
publicly available sources (webSearch)
|
|
147
|
+
- Pricing & GTM agent: analyze pricing models, distribution channels, and
|
|
148
|
+
go-to-market motions
|
|
149
|
+
|
|
150
|
+
2. Synthesize the three streams into a unified competitive report.
|
|
151
|
+
|
|
152
|
+
3. Dispatch one review agent to stress-test the report: challenge any
|
|
153
|
+
assumption lacking a cited source, flag outdated data (>12 months), and
|
|
154
|
+
propose one "non-obvious" insight.
|
|
155
|
+
|
|
156
|
+
4. Deliver the final report with the following sections:
|
|
157
|
+
- TL;DR (3 bullets)
|
|
158
|
+
- Competitor positioning map
|
|
159
|
+
- Feature matrix (markdown table)
|
|
160
|
+
- Pricing & GTM table
|
|
161
|
+
- Top 3 strategic implications for our product
|
|
162
|
+
- Caveats & data gaps
|
|
163
|
+
```
|
|
164
|
+
|
|
165
|
+
เทียบกับ Research Expert ดั้งเดิม: ตัดเหลือ 4 ขั้นตอน บทบาทย่อยลดจาก 6 เหลือ 3 รายการผลลัพธ์ถูกเขียนใหม่ทั้งหมดเป็น "ส่วนของรายงาน"
|
package/concepts/th/UltraPlan.md
CHANGED
|
@@ -53,3 +53,104 @@ UltraPlan นำเสนอบทบาทผู้เชี่ยวชาญ
|
|
|
53
53
|
4. สังเคราะห์ข้อค้นพบทั้งหมดเป็นแผนการดำเนินงานที่ครอบคลุม
|
|
54
54
|
5. ส่งเอเจนต์ตรวจสอบหลายตัวเพื่อพิจารณาแผนจากบทบาทและมุมมองที่หลากหลาย
|
|
55
55
|
6. ดำเนินการตามแผนเมื่อได้รับอนุมัติ
|
|
56
|
+
|
|
57
|
+
---
|
|
58
|
+
|
|
59
|
+
## Raw Templates
|
|
60
|
+
|
|
61
|
+
Below are the two raw prompt templates UltraPlan actually sends to Claude Code (see `src/utils/ultraplanTemplates.js`):
|
|
62
|
+
|
|
63
|
+
### Code Expert (codeExpert)
|
|
64
|
+
|
|
65
|
+
<textarea readonly><system-reminder>
|
|
66
|
+
[SCOPED INSTRUCTION] The following instructions apply only to the next 1–3 interactions. Once the task is complete, these instructions should gradually decrease in priority and no longer affect subsequent interactions.
|
|
67
|
+
|
|
68
|
+
Pre-requisite: Use `AskUserQuestion` to clarify user intent whenever the request is ambiguous (target element, interaction style, scope of platforms, etc.). Skip only if the intent is unambiguous.
|
|
69
|
+
|
|
70
|
+
Leverage a multi-agent exploration mechanism to formulate a highly detailed implementation plan.
|
|
71
|
+
|
|
72
|
+
Instructions:
|
|
73
|
+
1. Use the `Agent` tool to spawn parallel agents that simultaneously explore different aspects of the codebase:
|
|
74
|
+
- If necessary, assign a preliminary researcher to use the `webSearch` tool to first investigate cutting-edge solutions in the relevant industry domain;
|
|
75
|
+
- One agent responsible for understanding the relevant existing code and architecture;
|
|
76
|
+
- One agent responsible for identifying all files that need to be modified;
|
|
77
|
+
- One agent responsible for identifying potential risks, edge cases, and dependencies;
|
|
78
|
+
- You may add other roles or deploy additional agents beyond the three listed above; the maximum number of concurrently dispatched agents is 5.
|
|
79
|
+
|
|
80
|
+
2. Synthesize the findings from all agents into a detailed, step-by-step implementation plan.
|
|
81
|
+
|
|
82
|
+
3. Use the `Agent` tool to spawn 2-3 review agents that examine the plan from different perspectives, checking for missing steps, potential risks, or corresponding mitigation strategies.
|
|
83
|
+
|
|
84
|
+
4. Integrate the feedback gathered during the review process, then call `ExitPlanMode` to submit your final plan.
|
|
85
|
+
|
|
86
|
+
5. Once `ExitPlanMode` returns a result:
|
|
87
|
+
- If approved: proceed to execute the plan within this session.
|
|
88
|
+
- If rejected: revise the plan based on the feedback provided and call `ExitPlanMode` again.
|
|
89
|
+
- If an error occurs (including receiving a "Not in Plan Mode" message): do **not** follow the suggestions provided in the error message; instead, prompt the user for further instructions.
|
|
90
|
+
|
|
91
|
+
Your final plan must include the following elements:
|
|
92
|
+
- A clear summary of the implementation strategy;
|
|
93
|
+
- An ordered list of files to be created or modified, with precise details of the required changes for each file;
|
|
94
|
+
- A step-by-step execution sequence;
|
|
95
|
+
- Testing and validation procedures;
|
|
96
|
+
- Potential risks and their corresponding mitigation strategies;
|
|
97
|
+
|
|
98
|
+
6. After the final plan has been successfully executed:
|
|
99
|
+
First run `git diff --quiet && git diff --cached --quiet` (or equivalent) to detect whether the working tree actually has non-trivial changes; if there are no real changes (or only whitespace/comment-only edits), skip the UltraReview step.
|
|
100
|
+
Otherwise, if the project is managed with Git:
|
|
101
|
+
Initiate a team (`TeamCreate`), dynamically allocating the number of teammates based on task complexity (5 is recommended);
|
|
102
|
+
Task: Conduct a Code Review of the current git changes from multiple perspectives;
|
|
103
|
+
Pre-requisites:
|
|
104
|
+
- The git repository may be located in a subdirectory of the current directory; prefer `git rev-parse --show-toplevel` (fall back to recursive lookup) before proceeding;
|
|
105
|
+
- In the case of multiple repositories, tasks may be executed separately;
|
|
106
|
+
The team's goal is to analyze the current Git change log and validate each modification from different perspectives, specifically including:
|
|
107
|
+
- Whether requirements/objectives have been met and functionality is complete;
|
|
108
|
+
- Whether newly added code introduces side effects, breaks existing functionality, or poses potential risks;
|
|
109
|
+
- Code quality: naming, readability, complexity, technical debt, maintainability;
|
|
110
|
+
- Testing and documentation: whether there is adequate test coverage, and whether critical logic has necessary comments or documentation;
|
|
111
|
+
- Dependencies and compatibility: whether new dependencies or version compatibility issues have been introduced;
|
|
112
|
+
Workflow:
|
|
113
|
+
- Each teammate, according to their own role, covers the review dimensions one by one and independently outputs a report;
|
|
114
|
+
- After consolidating the reports, perform a cross-review to identify conflicts or shared concerns;
|
|
115
|
+
- Distill specific, actionable modification suggestions and annotate them with priority levels (P0/P1/P2/P3);
|
|
116
|
+
- Upon completion, adopt P0 items, and selectively adopt P1 items when they are concrete and low-risk; defer P2/P3 to backlog;
|
|
117
|
+
- After execution is complete, close the team (`TeamDelete`);
|
|
118
|
+
</system-reminder></textarea>
|
|
119
|
+
|
|
120
|
+
### Research Expert (researchExpert)
|
|
121
|
+
|
|
122
|
+
<textarea readonly><system-reminder>
|
|
123
|
+
[SCOPED INSTRUCTION] The following instructions are intended for the next 1–3 interactions. Once the task is complete, these instructions should be gradually deprioritized and no longer influence subsequent interactions.
|
|
124
|
+
|
|
125
|
+
Pre-requisite: Use `AskUserQuestion` to clarify the research scope, target audience, and deliverable format whenever the user's intent is ambiguous. Skip only if the intent is unambiguous.
|
|
126
|
+
|
|
127
|
+
Leverage a multi-agent exploration mechanism to formulate an exceptionally detailed implementation plan.
|
|
128
|
+
|
|
129
|
+
Instructions:
|
|
130
|
+
1. Utilize the Agent tool to spawn parallel agents that simultaneously explore various facets of the requirements:
|
|
131
|
+
- If necessary, deploy a preliminary investigator to conduct an initial survey of industry-specific solutions using `webSearch`;
|
|
132
|
+
- If necessary, deploy a specialized investigator to research authoritative sources—such as academic papers, news articles, and research reports—using `webSearch`;
|
|
133
|
+
- Assign an agent to synthesize the target solution, while simultaneously verifying the rigor and credibility of the gathered papers, news, and research reports;
|
|
134
|
+
- If necessary, assign an agent to analyze competitor data to provide supplementary analytical perspectives;
|
|
135
|
+
- If necessary, assign an agent to handle the implementation of a product demo (generating outputs such as HTML, Markdown, etc.);
|
|
136
|
+
- If the task is sufficiently complex, you may assign additional teammates to the roles defined above, or introduce other specialized roles; you are permitted to schedule up to 5 teammates concurrently.
|
|
137
|
+
|
|
138
|
+
2. Synthesize the findings from the aforementioned agents into a comprehensive, step-by-step implementation plan.
|
|
139
|
+
|
|
140
|
+
3. Utilize the Agent tool to spawn a set of parallel review agents; these agents shall scrutinize the plan from multiple roles and perspectives to identify any omitted steps and to propose reasonable additions or optimizations.
|
|
141
|
+
|
|
142
|
+
4. Consolidate the feedback received from the review agents, then invoke `ExitPlanMode` to submit your final plan.
|
|
143
|
+
|
|
144
|
+
5. Upon receiving the result from `ExitPlanMode`:
|
|
145
|
+
- If Approved: Proceed to execute the plan within this current session.
|
|
146
|
+
- If Rejected: Revise the plan based on the provided feedback, and then invoke `ExitPlanMode` once again.
|
|
147
|
+
- If an Error Occurs (including the message "Not in Plan Mode"): Do *not* follow the suggestions provided by the error message; instead, prompt the user for further instructions.
|
|
148
|
+
|
|
149
|
+
Your final plan must include the following elements:
|
|
150
|
+
- A clear summary of the proposed implementation strategy;
|
|
151
|
+
- An ordered list of files to be created or modified, specifying the exact changes required for each;
|
|
152
|
+
- A step-by-step sequence for executing the implementation;
|
|
153
|
+
- Identification of potential risks and corresponding mitigation strategies;
|
|
154
|
+
- Creative ideation and suggestions for advanced enhancements;
|
|
155
|
+
- If a product demo was generated, place the corresponding demo output in an appropriate location and notify the user.
|
|
156
|
+
</system-reminder></textarea>
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
# Custom UltraPlan Expert — Yazım Kılavuzu
|
|
2
|
+
|
|
3
|
+
## İki giriş alanı ne işe yarar
|
|
4
|
+
|
|
5
|
+
- **Uzman adı**: UltraPlan varyant satırındaki rol düğmesinde gösterilen etiket (maks. 30 karakter). Yalnızca bir görüntü adıdır ve **asla** Claude Code'a gönderilmez.
|
|
6
|
+
- **Prompt gövdesi**: rol talimatınız. Gönderim sırasında cc-viewer **otomatik olarak** bunu `[SCOPED INSTRUCTION]` kapsam başlığıyla birlikte `<system-reminder>...</system-reminder>` etiketleriyle sarmalar. Bu yüzden **yalnızca gövdeyi yazın** — `<system-reminder>` etiketlerini kendiniz eklemeyin.
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## Uzman şablonu nasıl görünür?
|
|
11
|
+
|
|
12
|
+
Yerleşik her uzman (Code Expert / Research Expert) esasen Claude Code bağlamına enjekte edilen bir `<system-reminder>` bloğudur. Özel uzmanınız da tam olarak aynı pipeline üzerinden geçer. İşte **Research Expert** şablonunun ayrıştırılmış hali:
|
|
13
|
+
|
|
14
|
+
```xml
|
|
15
|
+
<system-reminder>
|
|
16
|
+
[SCOPED INSTRUCTION] The following instructions are intended for the next 1–3
|
|
17
|
+
interactions. Once the task is complete, these instructions should be gradually
|
|
18
|
+
deprioritized and no longer influence subsequent interactions.
|
|
19
|
+
|
|
20
|
+
Pre-requisite: Use `AskUserQuestion` to clarify the research scope, target
|
|
21
|
+
audience, and deliverable format whenever the user's intent is ambiguous. Skip
|
|
22
|
+
only if the intent is unambiguous.
|
|
23
|
+
|
|
24
|
+
Leverage a multi-agent exploration mechanism to formulate an exceptionally
|
|
25
|
+
detailed implementation plan.
|
|
26
|
+
|
|
27
|
+
Instructions:
|
|
28
|
+
1. Utilize the Agent tool to spawn parallel agents that simultaneously explore
|
|
29
|
+
various facets of the requirements:
|
|
30
|
+
- If necessary, deploy a preliminary investigator to conduct an initial
|
|
31
|
+
survey of industry-specific solutions using `webSearch`;
|
|
32
|
+
- If necessary, deploy a specialized investigator to research authoritative
|
|
33
|
+
sources—such as academic papers, news articles, and research reports—
|
|
34
|
+
using `webSearch`;
|
|
35
|
+
- Assign an agent to synthesize the target solution, while simultaneously
|
|
36
|
+
verifying the rigor and credibility of the gathered papers, news, and
|
|
37
|
+
research reports;
|
|
38
|
+
- If necessary, assign an agent to analyze competitor data to provide
|
|
39
|
+
supplementary analytical perspectives;
|
|
40
|
+
- If necessary, assign an agent to handle the implementation of a product
|
|
41
|
+
demo (generating outputs such as HTML, Markdown, etc.);
|
|
42
|
+
- If the task is sufficiently complex, you may assign additional teammates
|
|
43
|
+
to the roles defined above, or introduce other specialized roles; you are
|
|
44
|
+
permitted to schedule up to 5 teammates concurrently.
|
|
45
|
+
|
|
46
|
+
2. Synthesize the findings from the aforementioned agents into a comprehensive,
|
|
47
|
+
step-by-step implementation plan.
|
|
48
|
+
|
|
49
|
+
3. Utilize the Agent tool to spawn a set of parallel review agents; these
|
|
50
|
+
agents shall scrutinize the plan from multiple roles and perspectives to
|
|
51
|
+
identify any omitted steps and to propose reasonable additions or
|
|
52
|
+
optimizations.
|
|
53
|
+
|
|
54
|
+
4. Consolidate the feedback received from the review agents, then invoke
|
|
55
|
+
`ExitPlanMode` to submit your final plan.
|
|
56
|
+
|
|
57
|
+
5. Upon receiving the result from `ExitPlanMode`:
|
|
58
|
+
- If Approved: Proceed to execute the plan within this current session.
|
|
59
|
+
- If Rejected: Revise the plan based on the provided feedback, and then
|
|
60
|
+
invoke `ExitPlanMode` once again.
|
|
61
|
+
- If an Error Occurs: Do *not* follow the suggestions; prompt the user for
|
|
62
|
+
further instructions.
|
|
63
|
+
|
|
64
|
+
Your final plan must include the following elements:
|
|
65
|
+
- A clear summary of the proposed implementation strategy;
|
|
66
|
+
- An ordered list of files to be created or modified, specifying the exact
|
|
67
|
+
changes required for each;
|
|
68
|
+
- A step-by-step sequence for executing the implementation;
|
|
69
|
+
- Identification of potential risks and corresponding mitigation strategies;
|
|
70
|
+
- Creative ideation and suggestions for advanced enhancements;
|
|
71
|
+
- If a product demo was generated, place the corresponding demo output in an
|
|
72
|
+
appropriate location and notify the user.
|
|
73
|
+
</system-reminder>
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
---
|
|
77
|
+
|
|
78
|
+
## Bölüm bölüm analiz
|
|
79
|
+
|
|
80
|
+
### 1. `[SCOPED INSTRUCTION]` kapsam başlığı (sarmalayıcı — otomatik üretilir)
|
|
81
|
+
> The following instructions are intended for the next 1–3 interactions...
|
|
82
|
+
|
|
83
|
+
Bu, Claude Code'a şunu söyler: **bu talimatlar yalnızca sonraki 1–3 turda etkindir**, sonra silinir. "Uzman kişiliğinin" sonradan ilgisiz konuşmalara sızmasını önler.
|
|
84
|
+
|
|
85
|
+
**Bu satır cc-viewer tarafından otomatik üretilir. Sizin yazmanıza gerek yok.**
|
|
86
|
+
|
|
87
|
+
### 2. Açılış görev tanımı (**yeniden yazmanız gereken kısım budur**)
|
|
88
|
+
> Leverage a multi-agent exploration mechanism to formulate an exceptionally detailed implementation plan.
|
|
89
|
+
|
|
90
|
+
Bu, tüm şablonun "özne-yüklem-nesne"sidir: **Claude Code'a tutum ve hedefi söyler**. Varsayılan "çoklu ajan keşfi + uygulama planı" **yazılım mühendisliği / planlama** görevlerine iyi uyar, ancak diğer birçok alan için tuhaf görünür (içerik incelemesi, veri analizi, metin yazarlığı, pazar araştırması, uyumluluk denetimi…).
|
|
91
|
+
|
|
92
|
+
**Bu satırı hedefinize göre yeniden yazmanızı şiddetle öneririz**, örneğin:
|
|
93
|
+
|
|
94
|
+
- **İçerik denetçisi**: "You are a senior content reviewer specializing in {domain}. Your goal is to identify factual inaccuracies, tone inconsistencies, and structural weaknesses in the provided material."
|
|
95
|
+
- **Rekabet analisti**: "Conduct a rigorous competitive analysis for {product category}. Produce a comparison matrix, positioning insights, and strategic recommendations."
|
|
96
|
+
- **Metin yazarı**: "Generate multiple creative copy variants for {scenario}, each with distinct positioning, tone, and call-to-action strategy."
|
|
97
|
+
|
|
98
|
+
### 3. İş akışı adımları (1–5 öğe — **karmaşıklığa göre kısaltın veya genişletin**)
|
|
99
|
+
|
|
100
|
+
Research Expert'in 5 adımı vardır: **keşif → sentez → inceleme → plan gönderme → yürütme**. Bu, "paralel çoklu ajan + çapraz inceleme + plan onayı" — üç katman titizlik dayatır; yüksek riskli/geniş kapsamlı görevler için uygundur ancak **hafif görevler için aşırıdır**.
|
|
101
|
+
|
|
102
|
+
- **Basit görev** (tek arama / küçük düzeltme): çoklu ajan dağıtımını ve incelemeyi atlayın; tek adımda "yanıtı üretin".
|
|
103
|
+
- **Orta görev**: "keşif → sentez → inceleme"yi koruyun; ExitPlanMode dansını atlayın; sonucu doğrudan teslim edin.
|
|
104
|
+
- **Karmaşık, yüksek maliyetli görev** (büyük refactor, çoklu seçenek karşılaştırması, alanlar arası araştırma): 5 adımın hepsini koruyun, muhtemelen bir "risk modeli" veya "seçenek karşılaştırma matrisi" adımı ekleyin.
|
|
105
|
+
|
|
106
|
+
### 4. Adım 1'deki alt roller (**alanınıza göre uyarlayın**)
|
|
107
|
+
|
|
108
|
+
Research Expert 6 potansiyel rolü listeler (sektör keşifçisi, akademik araştırmacı, sentezleyici + olgu denetleyici, rakip analisti, demo üreticisi, genişletilebilirlik yuvası). **Bu listeyi senaryonuza göre yeniden yazın**:
|
|
109
|
+
|
|
110
|
+
- **Yazma**: "source collector + style analyst + fact checker"
|
|
111
|
+
- **Veri analizi**: "data-cleaning agent + statistical modeling agent + visualization agent"
|
|
112
|
+
- **Kod denetimi**: "static-analysis agent + dependency-chain auditor + threat modeler"
|
|
113
|
+
|
|
114
|
+
### 5. Nihai teslimat kontrol listesi (**gerçek ihtiyacınızla hizalayın**)
|
|
115
|
+
|
|
116
|
+
> Your final plan must include the following elements: ...
|
|
117
|
+
|
|
118
|
+
Orijinal şablon "uygulama planının" 6 öğesini listeler. Teslimatınız tamamen başka bir şey olabilir:
|
|
119
|
+
|
|
120
|
+
- **Araştırma raporu** → "Executive summary / Methodology / Key findings / Limitations / Action recommendations"
|
|
121
|
+
- **İnceleme raporu** → "Issue list / Severity rating / Fix suggestions / Before-after examples"
|
|
122
|
+
- **Karşılaştırma matrisi** → "Dimension definitions / Scoring rubric / Conclusions / Recommendation rationale"
|
|
123
|
+
|
|
124
|
+
---
|
|
125
|
+
|
|
126
|
+
## Yazım ipuçları (TL;DR)
|
|
127
|
+
|
|
128
|
+
1. **Sarmalayıcıyı koruyun**: `<system-reminder>` + `[SCOPED INSTRUCTION]` satırı cc-viewer tarafından eklenir — tekrarlamayın.
|
|
129
|
+
2. **Açılış cümlesini yeniden yazın**: rol, hedef ve çıktı formatını tek satırda belirtin.
|
|
130
|
+
3. **İş akışını esnetin**: hafif görevler için 1–2 adım, tam 5 adımlı döngü yalnızca karmaşık olanlar için.
|
|
131
|
+
4. **Adım 1 alt rollerini yeniden yazın**: varsayılanlar (akademik makaleler / rakipler / demo) muhtemelen istediğiniz şey değildir.
|
|
132
|
+
5. **Nihai "teslimat kontrol listesi" kalite çıtanızdır**: çıktı yapısını detaylı belirtin — Claude Code buna katı şekilde uyacaktır.
|
|
133
|
+
|
|
134
|
+
---
|
|
135
|
+
|
|
136
|
+
## Yeniden düzenlenmiş örnek: Competitive Analyst
|
|
137
|
+
|
|
138
|
+
```
|
|
139
|
+
You are a senior competitive intelligence analyst for {industry}. Your goal is to
|
|
140
|
+
produce a decision-grade competitive landscape report for the product "{our product}".
|
|
141
|
+
|
|
142
|
+
Instructions:
|
|
143
|
+
1. Use the Agent tool to dispatch 3 parallel investigators:
|
|
144
|
+
- Market landscape agent: map the top 5–8 competitors with core positioning
|
|
145
|
+
- Feature matrix agent: compile a feature-by-feature comparison using
|
|
146
|
+
publicly available sources (webSearch)
|
|
147
|
+
- Pricing & GTM agent: analyze pricing models, distribution channels, and
|
|
148
|
+
go-to-market motions
|
|
149
|
+
|
|
150
|
+
2. Synthesize the three streams into a unified competitive report.
|
|
151
|
+
|
|
152
|
+
3. Dispatch one review agent to stress-test the report: challenge any
|
|
153
|
+
assumption lacking a cited source, flag outdated data (>12 months), and
|
|
154
|
+
propose one "non-obvious" insight.
|
|
155
|
+
|
|
156
|
+
4. Deliver the final report with the following sections:
|
|
157
|
+
- TL;DR (3 bullets)
|
|
158
|
+
- Competitor positioning map
|
|
159
|
+
- Feature matrix (markdown table)
|
|
160
|
+
- Pricing & GTM table
|
|
161
|
+
- Top 3 strategic implications for our product
|
|
162
|
+
- Caveats & data gaps
|
|
163
|
+
```
|
|
164
|
+
|
|
165
|
+
Orijinal Research Expert ile karşılaştırıldığında: 4 adıma kısaltıldı, alt roller 6'dan 3'e düşürüldü, teslimat listesi tamamen "rapor bölümleri" olarak yeniden yazıldı.
|
package/concepts/tr/UltraPlan.md
CHANGED
|
@@ -53,3 +53,104 @@ Araştırma ve analiz görevleri için tasarlanmış çoklu ajan iş akışı:
|
|
|
53
53
|
4. Tüm bulguları kapsamlı bir uygulama planında sentezleme
|
|
54
54
|
5. Planı farklı roller ve perspektiflerden incelemek için birden fazla inceleme ajanı dağıtma
|
|
55
55
|
6. Onaylandıktan sonra planı yürütme
|
|
56
|
+
|
|
57
|
+
---
|
|
58
|
+
|
|
59
|
+
## Raw Templates
|
|
60
|
+
|
|
61
|
+
Below are the two raw prompt templates UltraPlan actually sends to Claude Code (see `src/utils/ultraplanTemplates.js`):
|
|
62
|
+
|
|
63
|
+
### Code Expert (codeExpert)
|
|
64
|
+
|
|
65
|
+
<textarea readonly><system-reminder>
|
|
66
|
+
[SCOPED INSTRUCTION] The following instructions apply only to the next 1–3 interactions. Once the task is complete, these instructions should gradually decrease in priority and no longer affect subsequent interactions.
|
|
67
|
+
|
|
68
|
+
Pre-requisite: Use `AskUserQuestion` to clarify user intent whenever the request is ambiguous (target element, interaction style, scope of platforms, etc.). Skip only if the intent is unambiguous.
|
|
69
|
+
|
|
70
|
+
Leverage a multi-agent exploration mechanism to formulate a highly detailed implementation plan.
|
|
71
|
+
|
|
72
|
+
Instructions:
|
|
73
|
+
1. Use the `Agent` tool to spawn parallel agents that simultaneously explore different aspects of the codebase:
|
|
74
|
+
- If necessary, assign a preliminary researcher to use the `webSearch` tool to first investigate cutting-edge solutions in the relevant industry domain;
|
|
75
|
+
- One agent responsible for understanding the relevant existing code and architecture;
|
|
76
|
+
- One agent responsible for identifying all files that need to be modified;
|
|
77
|
+
- One agent responsible for identifying potential risks, edge cases, and dependencies;
|
|
78
|
+
- You may add other roles or deploy additional agents beyond the three listed above; the maximum number of concurrently dispatched agents is 5.
|
|
79
|
+
|
|
80
|
+
2. Synthesize the findings from all agents into a detailed, step-by-step implementation plan.
|
|
81
|
+
|
|
82
|
+
3. Use the `Agent` tool to spawn 2-3 review agents that examine the plan from different perspectives, checking for missing steps, potential risks, or corresponding mitigation strategies.
|
|
83
|
+
|
|
84
|
+
4. Integrate the feedback gathered during the review process, then call `ExitPlanMode` to submit your final plan.
|
|
85
|
+
|
|
86
|
+
5. Once `ExitPlanMode` returns a result:
|
|
87
|
+
- If approved: proceed to execute the plan within this session.
|
|
88
|
+
- If rejected: revise the plan based on the feedback provided and call `ExitPlanMode` again.
|
|
89
|
+
- If an error occurs (including receiving a "Not in Plan Mode" message): do **not** follow the suggestions provided in the error message; instead, prompt the user for further instructions.
|
|
90
|
+
|
|
91
|
+
Your final plan must include the following elements:
|
|
92
|
+
- A clear summary of the implementation strategy;
|
|
93
|
+
- An ordered list of files to be created or modified, with precise details of the required changes for each file;
|
|
94
|
+
- A step-by-step execution sequence;
|
|
95
|
+
- Testing and validation procedures;
|
|
96
|
+
- Potential risks and their corresponding mitigation strategies;
|
|
97
|
+
|
|
98
|
+
6. After the final plan has been successfully executed:
|
|
99
|
+
First run `git diff --quiet && git diff --cached --quiet` (or equivalent) to detect whether the working tree actually has non-trivial changes; if there are no real changes (or only whitespace/comment-only edits), skip the UltraReview step.
|
|
100
|
+
Otherwise, if the project is managed with Git:
|
|
101
|
+
Initiate a team (`TeamCreate`), dynamically allocating the number of teammates based on task complexity (5 is recommended);
|
|
102
|
+
Task: Conduct a Code Review of the current git changes from multiple perspectives;
|
|
103
|
+
Pre-requisites:
|
|
104
|
+
- The git repository may be located in a subdirectory of the current directory; prefer `git rev-parse --show-toplevel` (fall back to recursive lookup) before proceeding;
|
|
105
|
+
- In the case of multiple repositories, tasks may be executed separately;
|
|
106
|
+
The team's goal is to analyze the current Git change log and validate each modification from different perspectives, specifically including:
|
|
107
|
+
- Whether requirements/objectives have been met and functionality is complete;
|
|
108
|
+
- Whether newly added code introduces side effects, breaks existing functionality, or poses potential risks;
|
|
109
|
+
- Code quality: naming, readability, complexity, technical debt, maintainability;
|
|
110
|
+
- Testing and documentation: whether there is adequate test coverage, and whether critical logic has necessary comments or documentation;
|
|
111
|
+
- Dependencies and compatibility: whether new dependencies or version compatibility issues have been introduced;
|
|
112
|
+
Workflow:
|
|
113
|
+
- Each teammate, according to their own role, covers the review dimensions one by one and independently outputs a report;
|
|
114
|
+
- After consolidating the reports, perform a cross-review to identify conflicts or shared concerns;
|
|
115
|
+
- Distill specific, actionable modification suggestions and annotate them with priority levels (P0/P1/P2/P3);
|
|
116
|
+
- Upon completion, adopt P0 items, and selectively adopt P1 items when they are concrete and low-risk; defer P2/P3 to backlog;
|
|
117
|
+
- After execution is complete, close the team (`TeamDelete`);
|
|
118
|
+
</system-reminder></textarea>
|
|
119
|
+
|
|
120
|
+
### Research Expert (researchExpert)
|
|
121
|
+
|
|
122
|
+
<textarea readonly><system-reminder>
|
|
123
|
+
[SCOPED INSTRUCTION] The following instructions are intended for the next 1–3 interactions. Once the task is complete, these instructions should be gradually deprioritized and no longer influence subsequent interactions.
|
|
124
|
+
|
|
125
|
+
Pre-requisite: Use `AskUserQuestion` to clarify the research scope, target audience, and deliverable format whenever the user's intent is ambiguous. Skip only if the intent is unambiguous.
|
|
126
|
+
|
|
127
|
+
Leverage a multi-agent exploration mechanism to formulate an exceptionally detailed implementation plan.
|
|
128
|
+
|
|
129
|
+
Instructions:
|
|
130
|
+
1. Utilize the Agent tool to spawn parallel agents that simultaneously explore various facets of the requirements:
|
|
131
|
+
- If necessary, deploy a preliminary investigator to conduct an initial survey of industry-specific solutions using `webSearch`;
|
|
132
|
+
- If necessary, deploy a specialized investigator to research authoritative sources—such as academic papers, news articles, and research reports—using `webSearch`;
|
|
133
|
+
- Assign an agent to synthesize the target solution, while simultaneously verifying the rigor and credibility of the gathered papers, news, and research reports;
|
|
134
|
+
- If necessary, assign an agent to analyze competitor data to provide supplementary analytical perspectives;
|
|
135
|
+
- If necessary, assign an agent to handle the implementation of a product demo (generating outputs such as HTML, Markdown, etc.);
|
|
136
|
+
- If the task is sufficiently complex, you may assign additional teammates to the roles defined above, or introduce other specialized roles; you are permitted to schedule up to 5 teammates concurrently.
|
|
137
|
+
|
|
138
|
+
2. Synthesize the findings from the aforementioned agents into a comprehensive, step-by-step implementation plan.
|
|
139
|
+
|
|
140
|
+
3. Utilize the Agent tool to spawn a set of parallel review agents; these agents shall scrutinize the plan from multiple roles and perspectives to identify any omitted steps and to propose reasonable additions or optimizations.
|
|
141
|
+
|
|
142
|
+
4. Consolidate the feedback received from the review agents, then invoke `ExitPlanMode` to submit your final plan.
|
|
143
|
+
|
|
144
|
+
5. Upon receiving the result from `ExitPlanMode`:
|
|
145
|
+
- If Approved: Proceed to execute the plan within this current session.
|
|
146
|
+
- If Rejected: Revise the plan based on the provided feedback, and then invoke `ExitPlanMode` once again.
|
|
147
|
+
- If an Error Occurs (including the message "Not in Plan Mode"): Do *not* follow the suggestions provided by the error message; instead, prompt the user for further instructions.
|
|
148
|
+
|
|
149
|
+
Your final plan must include the following elements:
|
|
150
|
+
- A clear summary of the proposed implementation strategy;
|
|
151
|
+
- An ordered list of files to be created or modified, specifying the exact changes required for each;
|
|
152
|
+
- A step-by-step sequence for executing the implementation;
|
|
153
|
+
- Identification of potential risks and corresponding mitigation strategies;
|
|
154
|
+
- Creative ideation and suggestions for advanced enhancements;
|
|
155
|
+
- If a product demo was generated, place the corresponding demo output in an appropriate location and notify the user.
|
|
156
|
+
</system-reminder></textarea>
|