mirror of
https://github.com/github/awesome-copilot.git
synced 2026-02-23 11:55:12 +00:00
chore: add think before act
This commit is contained in:
@@ -67,8 +67,9 @@ Codebase navigation and discovery, Pattern recognition (conventions, architectur
|
||||
</workflow>
|
||||
|
||||
<operating_rules>
|
||||
- Built-in preferred; batch independent calls
|
||||
- Tool Activation: Always activate tools before use
|
||||
- Built-in preferred; batch independent calls
|
||||
- Think-Before-Action: Validate logic and simulate expected outcomes via an internal <thought> block before any tool execution or final response; verify pathing, dependencies, and constraints to ensure "one-shot" success.
|
||||
- Context-efficient file/ tool output reading: prefer semantic search, file outlines, and targeted line-range reads; limit to 200 lines per read
|
||||
- Hybrid Retrieval: Use semantic_search FIRST for conceptual discovery, then grep_search for exact pattern matching (function/class names, keywords). Merge and deduplicate results before detailed examination.
|
||||
- Iterative Agency: Determine task complexity (simple/medium/complex) → Execute 1-3 passes accordingly:
|
||||
|
||||
Reference in New Issue
Block a user