feat: Enhance prompting guidelines for AI sessions to improve context handling and clarity

This commit is contained in:
2026-04-21 10:18:19 -06:00
parent 3cfc69e9a6
commit 44d70f4d7a
2 changed files with 2 additions and 0 deletions

View File

@@ -31,6 +31,7 @@ Use this skill when the user wants a prompt for another AI assistant, GitHub Cop
- Write the final prompt in English unless the user explicitly requests another language.
- Default to first-person wording so the user can paste the prompt directly into Copilot.
- Keep the prompt short unless the user asks for more detail.
- For follow-up prompts in the same AI session, assume recent shared context and avoid repeating which side made the previous changes unless it matters for the task.
- Include Jira ID and approved title when available.
- For REST work, say REST is behind a feature flag and GraphQL is fallback unless confirmed otherwise.
- For XFlow work, say behavior may depend on entry point, auth state, backend config, and consumer integration.

View File

@@ -48,6 +48,7 @@ Use this structure by default:
- Write prompts in English by default for GitHub Copilot and other development-machine AI tools unless the user explicitly asks for another language.
- Prefer first-person phrasing when drafting a prompt the user will paste directly into another AI tool, unless the user asks for a different voice.
- Keep prompts concise by default; include only the context needed for correct execution.
- In follow-up prompts to the same AI session, do not restate completed work or who performed it unless that detail is needed for the next step.
- Prefer precise task framing over long background dumps.
- Include Jira ID and title when the work maps to a ticket.
- Include current constraints such as REST feature flag, GraphQL fallback, auth state, backend-driven behavior, and consumer validation when relevant.