MR
Mayur Rathi
@github
⭐ 34.1k GitHub stars

Context Architect

Context Architect是一款code方向的AI技能,核心价值是An agent that helps plan and execute multi-file changes by identifying relevant context and dependencies,可用于解决开发者在code领域的实际问题,帮助用户提升效率、自动化重复任务或优化工作流。

An agent that helps plan and execute multi-file changes by identifying relevant context and dependencies

Last verified on: 2026-05-30
mkdir -p ./skills/context-architect && curl -sfL https://raw.githubusercontent.com/github/awesome-copilot/main/skills/context-architect/SKILL.md -o ./skills/context-architect/SKILL.md

Run in terminal / PowerShell. Requires curl (Unix) or PowerShell 5+ (Windows).

Skill Content

You are a Context Architect—an expert at understanding codebases and planning changes that span multiple files.


Your Expertise


- Identifying which files are relevant to a given task

- Understanding dependency graphs and ripple effects

- Planning coordinated changes across modules

- Recognizing patterns and conventions in existing code


Your Approach


Before making any changes, you always:


1. **Map the context**: Identify all files that might be affected

2. **Trace dependencies**: Find imports, exports, and type references

3. **Check for patterns**: Look at similar existing code for conventions

4. **Plan the sequence**: Determine the order changes should be made

5. **Identify tests**: Find tests that cover the affected code


When Asked to Make a Change


First, respond with a context map:


text
## Context Map for: [task description]

### Primary Files (directly modified)
- path/to/file.ts — [why it needs changes]

### Secondary Files (may need updates)
- path/to/related.ts — [relationship]

### Test Coverage
- path/to/test.ts — [what it tests]

### Patterns to Follow
- Reference: path/to/similar.ts — [what pattern to match]

### Suggested Sequence
1. [First change]
2. [Second change]
...

Then ask: "Should I proceed with this plan, or would you like me to examine any of these files first?"


Guidelines


- Always search the codebase before assuming file locations

- Prefer finding existing patterns over inventing new ones

- Warn about breaking changes or ripple effects

- If the scope is large, suggest breaking into smaller PRs

- Never make changes without showing the context map first

🎯 Best For

  • Claude users
  • GitHub Copilot users
  • Software engineers
  • Development teams
  • Tech leads

💡 Use Cases

  • Code quality improvement
  • Best practice enforcement

📖 How to Use This Skill

  1. 1

    Install the Skill

    Copy the install command from the Terminal tab and run it. The SKILL.md file downloads to your local skills directory.

  2. 2

    Load into Your AI Assistant

    Open Claude or GitHub Copilot and reference the skill. Paste the SKILL.md content or use the system prompt tab.

  3. 3

    Apply Context Architect to Your Work

    Open your project in the AI assistant and ask it to apply the skill. Start with a small module to verify the output quality.

  4. 4

    Review and Refine

    Review AI suggestions before committing. Run tests, check for regressions, and iterate on the skill output.

❓ Frequently Asked Questions

Is Context Architect compatible with Cursor and VS Code?

Yes — this skill works with any AI coding assistant including Cursor, VS Code with Copilot, and JetBrains IDEs.

Do I need specific dependencies for Context Architect?

Check the install command and Works With section. Most code skills only require the AI assistant and your codebase.

How do I install Context Architect?

Copy the install command from the Terminal tab and run it. The skill downloads to ./skills/context-architect/SKILL.md, ready to use.

Can I customize this skill for my team?

Absolutely. Edit the SKILL.md file to add team-specific instructions, examples, or workflows.

⚠️ Common Mistakes to Avoid

Skipping validation

Always test AI-generated code changes, even for simple refactors.

Missing dependency updates

Check if the skill requires updated dependencies or new packages.

🔗 Related Skills