All skills
github avatar

/context-map

@90921cc official
by githubgithub/awesome-copilot40k stars
5,040

Generate a map of all files relevant to a task before making changes

Use this Skill: https://skilld.dev/gh/github/awesome-copilot/context-map

This session only. Nothing lands on disk.

SKILL.md

≈20 tokens always: the name and description. ≈259 when used: this file.

Context Map

Before implementing any changes, analyze the codebase and create a context map.

Task

{{task_description}}

Instructions

  1. Search the codebase for files related to this task
  2. Identify direct dependencies (imports/exports)
  3. Find related tests
  4. 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 required

Do not proceed with implementation until this map is reviewed.

Source: SKILL.md on GitHub

1 warning17d5 checks · Risk SAFE
  • Gen Agent Trust Hub17d

    This skill is a planning utility that guides the agent to analyze the codebase and document dependencies before making changes. It consists entirely of text instructions and does not execute code, access sensitive files, or perform network operations.

  • Socket17d

    No alerts

  • Snyk17d

    Risk: LOW · No issues

  • Runlayer7mo

    1/1 file flagged

  • ZeroLeaks5mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at 90921cc. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 19 hours ago.

Activeupdated 5 months ago
  • Refactoring
  • codebase-analysis
  • dependencies
  • task-planning
  • code-navigation

README badge

README badge for github/awesome-copilot/context-map

Generates a dependency map of files relevant to a task before implementation, identifying direct imports, related tests, and similar code patterns. Use this skill to audit scope and risk before making changes to an unfamiliar codebase.

Generated from the current SKILL.md.

What does this skill do before making code changes?
It analyzes the codebase to identify all files relevant to a task, including direct dependencies, related tests, and similar patterns, then outputs a structured context map as markdown.
Does this skill actually implement changes?
No. It only generates a map for review. Implementation happens in a separate step after the map is approved.
What information does the context map include?
Files to modify, dependencies that may need updates, related test files, reference patterns from existing code, and a risk assessment checklist.

Generated from the current SKILL.md. These answers refresh after source changes.