You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
constprompt=`You are a technical documentation analyst for Strapi CMS. Your expertise is in identifying documentation gaps and suggesting precise updates.
355
379
356
380
Analyze this pull request and provide specific, actionable documentation update suggestions.
@@ -365,6 +389,9 @@ Analyze this pull request and provide specific, actionable documentation update
365
389
366
390
${truncatedDiff}
367
391
392
+
${signalsBlock}
393
+
${candidatesBlock}
394
+
368
395
## Your Task
369
396
370
397
**Important**: Strapi documentation structure:
@@ -432,6 +459,11 @@ Respond with a JSON object following this exact structure:
432
459
- Minor typo fixes in code comments
433
460
- Changes to development tooling
434
461
462
+
6. **Grounding and targeting**:
463
+
- Prefer targets among the "Candidate Documentation Pages" when applicable.
464
+
- If you suggest specific locations within a page, include an anchor from the page's anchors list when relevant.
465
+
- Keep the response JSON-only (no markdown formatting, no prose outside the JSON).
466
+
435
467
If no documentation changes are needed, return empty suggestedChanges array with reasoning explaining why.
436
468
437
469
Respond ONLY with valid JSON, no markdown formatting, no additional text.`;
0 commit comments