Context Map
GitHubOfficialOriginally contributed by @vfaraji89 as prompts/context-map.prompt.md; moved into a skill by pull request #761Distributed by GitHub
- Skill
- Research and analysis
- Software development
- MIT
- No issues found
AutoGineer summary
Written by AutoGineer from the skill’s own files, not by the author
The context-map skill provides a systematic approach to pre-development planning. By requiring a comprehensive analysis of the codebase, dependencies, and testing requirements, it helps developers visualize the scope of a task and identify potential risks before writing code. The skill enforces a standardized output format that captures modified files, dependency impacts, relevant tests, and reference patterns, ensuring that changes are well-planned and documented.
What it does
- Analyzes the codebase to identify files relevant to a specific task.
- Maps direct dependencies and imports that may require updates.
- Locates associated test files to ensure functional coverage.
- Identifies existing code patterns to serve as implementation references.
- Performs a structured risk assessment for breaking changes or infrastructure needs.
When to use it
- Before starting a new feature implementation or bug fix.
- When working in a complex codebase with many interdependencies.
- When you need to ensure all affected areas are covered by tests.
- When you want to minimize the risk of breaking existing functionality.
Advantages
- Reduces the likelihood of missing side effects in dependent code.
- Standardizes the planning phase of development tasks.
- Provides a clear checklist of requirements before implementation begins.
- Helps in identifying necessary database or configuration changes early.
Usage examples
- “Create a context map for adding a new user authentication endpoint.”
- The agent will scan the codebase for existing authentication logic, identify dependent API files, list relevant test suites, and provide a risk assessment table.
- “I need to refactor the payment processing module. Generate a context map.”
- The agent will produce a table of files to modify, identify downstream services that import the payment module, and highlight potential breaking changes.
Install
Download the skill as a ZIP:
https://mp-staging.autogineer.com/agent-skills/github/context-map/downloadUnzip it into the cross-client skills folder of your project:
mkdir -p .agents/skills && unzip context-map.zip -d .agents/skills
Documentation by vfaraji89
Context Map
Before implementing any changes, analyze the codebase and create a context map.
Task
{{task_description}}
Instructions
Search the codebase for files related to this task
Identify direct dependencies (imports/exports)
Find related tests
Look for similar patterns in existing code
Output Format
## Context Map
### Files to Modify
| File | Purpose | Changes Needed |
|------|---------|----------------|
| path/to/file | description | what changes |
### Dependencies (may need updates)
| File | Relationship |
|------|--------------|
| path/to/dep | imports X from modified file |
### Test Files
| Test | Coverage |
|------|----------|
| path/to/test | tests affected functionality |
### Reference Patterns
| File | Pattern |
|------|---------|
| path/to/similar | example to follow |
### Risk Assessment
- [ ] Breaking changes to public API
- [ ] Database migrations needed
- [ ] Configuration changes requiredDo not proceed with implementation until this map is reviewed.
Files
- ATTRIBUTION.mdAdded by AutoGineer1.1 KiB
- LICENSELicence file added by AutoGineer1.0 KiB
- SKILL.md1.1 KiB
LICENSE
MIT License Copyright GitHub, Inc. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Requirements and compatibility
Written for: GitHub Copilot
Works with: Claude Code, Claude apps, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI, Kiro, OpenCode, Goose, Amp, Roo Code, JetBrains Junie, Factory Droid, Devin (ex-Windsurf), Mistral Vibe, OpenHands, Letta
“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.
Security
No issues found by our static scan· No issues found
A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.
Attribution and licence
- Originally contributed by
@vfaraji89as prompts/context-map.prompt.mdmoved into a skill by pull request #761
- Publisher
- GitHub (Official)
- Distributed by
- GitHub
- Source
- github/awesome-copilot · skills/context-map · commit 797337f
- Licence
- MIT License (redistribution allowed)
- LICENSE (added by AutoGineer from LICENSE)
- ATTRIBUTION.md (written by AutoGineer)
- Synced
- Contributors
- vfaraji89
AutoGineer is not affiliated with or endorsed by vfaraji89 or GitHub.
Download ZIP
The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download context-map.zip