Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions .github/copilot-instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,13 @@ Copilot must still follow these steps:
## Prompt Feedback (Compact)
- Always assess prompt quality for every prompt and emit scores unless the scoring thresholds for suppression are met.
- When feedback is not suppressed, use the following format:
- Format: `Scores: Completeness X/10, Assumptions X/10, Clarity X/10 | Critique: <brief> | Improve: <specific edit>`.
- Scoring: Completeness and Clarity are higher-is-better; Assumptions is lower-is-better.
- Format: `Scores: Completeness X/10, Assumptions X/10, Clarity X/10, CostRisk X/10 | Critique: <brief> | Improve: <specific edit>`.
- Scoring: Completeness and Clarity are higher-is-better; Assumptions and CostRisk are lower-is-better.
- **CostRisk** estimates likely token usage and repository traversal behaviour.
- Score higher when the prompt involves: large logs, many files, broad repository
requests, unrestricted agent instructions, repeated context, or exploratory prompting.
- Score lower when the prompt is narrowly scoped, attaches minimal context,
and targets a specific outcome.
- Strict rubric for underspecified prompts:
- If the prompt is extremely vague (for example: "build something"), score it harshly.
- For these prompts, use: Completeness 0-3/10, Clarity 0-3/10, Assumptions 7-10/10.
Expand All @@ -78,7 +83,7 @@ Copilot must still follow these steps:
- Never suppress scored feedback for underspecified prompts (including
prompts that fall under the strict rubric above).
- Suppress displayed feedback when Completeness >= 8, Assumptions <= 2,
and Clarity >= 8,
Clarity >= 8, and CostRisk <= 3,
unless the user explicitly asks to apply feedback to the current prompt.
- Determine suppression from the current user prompt only; retrospective analysis of earlier prompts should be provided only when explicitly requested.
- Prefer high-compliance guidance: suggest exact wording that reduces
Expand Down
Loading
Loading