Command Palette

Search for a command to run...

Back to skills
skill № 50992

code-context-scan

Scan relevant source, tests, commands, and existing project patterns before editing code. Use before non-trivial implementation, bug fixing, or refactoring…

FreeNo executable scripts
SeemSeamby 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
Sign up freeI already have an account

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

  1. Identify the requested behavior and likely owned area.
  2. Inspect nearby source files before editing.
  3. Inspect tests for the same feature, module, helper, or command.
  4. Find project commands from AGENTS.md, package files, Makefiles, CI config, or existing test docs.
  5. Search for existing helpers, components, types, fixtures, validators, and error handling patterns before creating new ones.
  6. 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

Compare code-context-scan with