mirror of
https://github.com/github/awesome-copilot.git
synced 2026-02-20 02:15:12 +00:00
Fix review feedback: mode→agent frontmatter, add applyTo, generate plugin
- Fix prompt frontmatter: mode: 'agent' → agent: 'agent' (repo convention) - Add applyTo: '**' to instructions file - Remove trailing Claude credit from instructions - Generate plugin via npm run plugin:migrate - Rebase onto latest upstream/main
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
---
|
||||
description: 'Guidelines for structuring code and projects to maximize GitHub Copilot effectiveness through better context management'
|
||||
applyTo: '**'
|
||||
---
|
||||
|
||||
# Context Engineering
|
||||
@@ -41,7 +42,3 @@ Principles for helping GitHub Copilot understand your codebase and provide bette
|
||||
- **Missing context**: Open the relevant files in tabs, or explicitly paste code snippets.
|
||||
- **Stale suggestions**: Copilot may not see recent changes. Re-open files or restart the session.
|
||||
- **Generic answers**: Be more specific. Add constraints, mention frameworks, reference existing code.
|
||||
|
||||
---
|
||||
|
||||
*Assisted by [Claude](https://claude.ai)*
|
||||
|
||||
10
plugins/context-engineering/.github/plugin/plugin.json
vendored
Normal file
10
plugins/context-engineering/.github/plugin/plugin.json
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"name": "context-engineering",
|
||||
"description": "Tools and techniques for maximizing GitHub Copilot effectiveness through better context management. Includes guidelines for structuring code, an agent for planning multi-file changes, and prompts for context-aware development.",
|
||||
"version": "1.0.0",
|
||||
"author": {
|
||||
"name": "Awesome Copilot Community"
|
||||
},
|
||||
"repository": "https://github.com/github/awesome-copilot",
|
||||
"license": "MIT"
|
||||
}
|
||||
34
plugins/context-engineering/README.md
Normal file
34
plugins/context-engineering/README.md
Normal file
@@ -0,0 +1,34 @@
|
||||
# Context Engineering Plugin
|
||||
|
||||
Tools and techniques for maximizing GitHub Copilot effectiveness through better context management. Includes guidelines for structuring code, an agent for planning multi-file changes, and prompts for context-aware development.
|
||||
|
||||
## Installation
|
||||
|
||||
```bash
|
||||
# Using Copilot CLI
|
||||
copilot plugin install context-engineering@awesome-copilot
|
||||
```
|
||||
|
||||
## What's Included
|
||||
|
||||
### Commands (Slash Commands)
|
||||
|
||||
| Command | Description |
|
||||
|---------|-------------|
|
||||
| `/context-engineering:context-map` | Generate a map of all files relevant to a task before making changes |
|
||||
| `/context-engineering:what-context-needed` | Ask Copilot what files it needs to see before answering a question |
|
||||
| `/context-engineering:refactor-plan` | Plan a multi-file refactor with proper sequencing and rollback steps |
|
||||
|
||||
### Agents
|
||||
|
||||
| Agent | Description |
|
||||
|-------|-------------|
|
||||
| `context-architect` | An agent that helps plan and execute multi-file changes by identifying relevant context and dependencies |
|
||||
|
||||
## Source
|
||||
|
||||
This plugin is part of [Awesome Copilot](https://github.com/github/awesome-copilot), a community-driven collection of GitHub Copilot extensions.
|
||||
|
||||
## License
|
||||
|
||||
MIT
|
||||
1
plugins/context-engineering/agents/context-architect.md
Symbolic link
1
plugins/context-engineering/agents/context-architect.md
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../agents/context-architect.agent.md
|
||||
1
plugins/context-engineering/commands/context-map.md
Symbolic link
1
plugins/context-engineering/commands/context-map.md
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../prompts/context-map.prompt.md
|
||||
1
plugins/context-engineering/commands/refactor-plan.md
Symbolic link
1
plugins/context-engineering/commands/refactor-plan.md
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../prompts/refactor-plan.prompt.md
|
||||
1
plugins/context-engineering/commands/what-context-needed.md
Symbolic link
1
plugins/context-engineering/commands/what-context-needed.md
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../prompts/what-context-needed.prompt.md
|
||||
@@ -1,5 +1,5 @@
|
||||
---
|
||||
mode: 'agent'
|
||||
agent: 'agent'
|
||||
tools: ['codebase']
|
||||
description: 'Generate a map of all files relevant to a task before making changes'
|
||||
---
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
---
|
||||
mode: 'agent'
|
||||
agent: 'agent'
|
||||
tools: ['codebase', 'terminalCommand']
|
||||
description: 'Plan a multi-file refactor with proper sequencing and rollback steps'
|
||||
---
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
---
|
||||
mode: 'agent'
|
||||
agent: 'agent'
|
||||
tools: ['codebase']
|
||||
description: 'Ask Copilot what files it needs to see before answering a question'
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user