code-context-scan
Scan relevant source, tests, commands, and existing project patterns before editing code. Use before non-trivial implementation, bug fixing, or refactoring…
by SeemSeam★ 18 GitHub stars
Install code-context-scan in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
About this skill
Code Context Scan
Use this skill before writing code when the task is more than a tiny self-contained edit.
Read templates/implementation-brief.md when the implementation scope or
verification needs to be made explicit.
Workflow
- Identify the requested behavior and likely owned area.
- Inspect nearby source files before editing.
- Inspect tests for the same feature, module, helper, or command.
- Find project commands from
AGENTS.md, package files, Makefiles, CI config, or existing test docs. - Search for existing helpers, components, types, fixtures, validators, and error handling patterns before creating new ones.
- State the implementation brief:
- goal;
- scope;
- out of scope;
- existing pattern to follow;
- verification command.
Guardrails
- Do not scan the entire repository when a focused search is enough.
- Do not start editing before you understand at least one nearby pattern.
- Do not invent commands when the repo already documents them.
- If the task appears to need architecture, review, frontend, mobile, security, or release ownership, surface that before writing.
Output
Context Scan
- goal:
- relevant files:
- existing pattern:
- tests:
- command:
- scope boundary:
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
FAQ
What does the code-context-scan skill do?
Scan relevant source, tests, commands, and existing project patterns before editing code. Use before non-trivial implementation, bug fixing, or refactoring when the right local pattern is unclear.
How do I install the code-context-scan skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the code-context-scan skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…