github avatar

What Context Needed

When working with AI coding assistants, you often get incomplete answers because the AI doesn't have visibility into your full codebase. This prompt forces Claude to explicitly list what files it needs before attempting to answer your coding question. It breaks down requirements into must-see versus nice-to-have files, explains the reasoning, and identifies knowledge gaps. Instead of getting a generic response based on assumptions, you'll know exactly what context to provide for an accurate, project-specific answer. Saves time by frontloading the context gathering instead of going back and forth with clarifying questions.

skills.sh installs
8.9K
GitHub stars
41K
last updated
Aug 21, 2026

Install

$ npx -y skills add github/awesome-copilot --skill what-context-needed --agent claude-code

Installs into .claude/skills of the current project.

Files

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

## 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.

Sponsors

Details

Repository
github.com/github/awesome-copilot
Categories
Git & Pull Requests, AI & Agent Building

More from github/awesome-copilot

All 318
1github avatarupdate-markdown-file-indexgithub/awesome-copilotUpdate a markdown file section with an index/table of files from a specified folder.8.9Kskills.sh installs
2github avatarazure-static-web-appsgithub/awesome-copilotHelps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development, configu8.9Kskills.sh installs
3github avatarjava-refactoring-remove-parametergithub/awesome-copilotRefactoring using Remove Parameter in Java Language8.9Kskills.sh installs
4github avatarlegacy-circuit-mockupsgithub/awesome-copilotGenerate breadboard circuit mockups and visual diagrams using HTML5 Canvas drawing techniques. Use when asked to create circuit layouts, visualize electronic co8.9Kskills.sh installs
5github avatarpower-bi-performance-troubleshootinggithub/awesome-copilotSystematic Power BI performance troubleshooting prompt for identifying, diagnosing, and resolving performance issues in Power BI models, reports, and queries.8.9Kskills.sh installs
6github avatarcontainerize-aspnetcoregithub/awesome-copilotContainerize an ASP.NET Core project by creating Dockerfile and .dockerfile files customized for the project.8.9Kskills.sh installs