docs: keep agents doc focused
This commit is contained in:
parent
b87fcab248
commit
b1b768c845
27
Agents.md
27
Agents.md
@ -25,33 +25,6 @@ Keep this file aligned with PRD, README, and docs/planning/AI-Docs-Plan.md when
|
|||||||
- Plan a refactor before making edits.
|
- Plan a refactor before making edits.
|
||||||
- Summarize and assess risks across files.
|
- Summarize and assess risks across files.
|
||||||
|
|
||||||
## Chat Types In Copilot (Ask, Edit, Agent, Plan)
|
|
||||||
These are the four ways you can run a Copilot chat. Pick the lightest mode that matches the job.
|
|
||||||
|
|
||||||
### Ask
|
|
||||||
Use this for questions, explanations, summaries, or quick guidance. It does not change files.
|
|
||||||
|
|
||||||
Example:
|
|
||||||
"Explain what this function does and list the top 3 risks."
|
|
||||||
|
|
||||||
### Edit
|
|
||||||
Use this for small, specific file edits with clear constraints.
|
|
||||||
|
|
||||||
Example:
|
|
||||||
"In this file, rename `UserProfile` to `AccountProfile` and update all references. Do not change behavior."
|
|
||||||
|
|
||||||
### Plan
|
|
||||||
Use this to get a step-by-step plan before any edits happen.
|
|
||||||
|
|
||||||
Example:
|
|
||||||
"Give me a 5-step plan to refactor this module. Wait for approval before making changes."
|
|
||||||
|
|
||||||
### Agent
|
|
||||||
Use this for multi-step tasks that span files, require checks, or need a structured workflow.
|
|
||||||
|
|
||||||
Example:
|
|
||||||
"Refactor these three files to remove duplication, update tests, then summarize the changes and test results."
|
|
||||||
|
|
||||||
## How to Use Agents
|
## How to Use Agents
|
||||||
1. Define the outcome in one sentence.
|
1. Define the outcome in one sentence.
|
||||||
2. List inputs (files, context, constraints).
|
2. List inputs (files, context, constraints).
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user