MR
Mayur Rathi
@github
⭐ 34.1k GitHub stars

What-Context-Needed

What-Context-Needed是一款code方向的AI技能,核心价值是Ask Copilot what files it needs to see before answering a question,可用于解决开发者在code领域的实际问题,帮助用户提升效率、自动化重复任务或优化工作流。

Ask Copilot what files it needs to see before answering a question

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

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

Skill Content

# What Context Do You Need?


Before answering my question, tell me what files you need to see.


My Question


{{question}}


Instructions


1. Based on my question, list the files you would need to examine

2. Explain why each file is relevant

3. Note any files you've already seen in this conversation

4. Identify what you're uncertain about


Output Format


markdown
## Files I Need

### Must See (required for accurate answer)
- `path/to/file.ts` — [why needed]

### Should See (helpful for complete answer)
- `path/to/file.ts` — [why helpful]

### Already Have
- `path/to/file.ts` — [from earlier in conversation]

### Uncertainties
- [What I'm not sure about without seeing the code]

After I provide these files, I'll ask my question again.

🎯 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 What-Context-Needed 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 What-Context-Needed 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 What-Context-Needed?

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

How do I install What-Context-Needed?

Copy the install command from the Terminal tab and run it. The skill downloads to ./skills/what-context-needed/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