request-context-gatherer

Analyze files related to a code modification request before execution.

Updated Feb 25, 2026
One-click install
npx skills add https://github.com/LayerDynamics/Lore --skill request-context-gatherer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: request-context-gatherer
Source: https://github.com/LayerDynamics/Lore/tree/main/lore/skills/request-context-gatherer
Command: npx skills add https://github.com/LayerDynamics/Lore --skill request-context-gatherer

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill prevents common coding errors caused by modifying code without fully understanding its impact on the rest of the system, such as breaking downstream functionality or missing dependencies.

Core Features & Use Cases

  • Comprehensive Impact Analysis: Ensures all related files, including imports, callers, and tests, are reviewed before any code modification.
  • Systematic Workflow: Guides the user through a step-by-step process of reading target files, identifying consumers and dependencies, and tracing call chains.
  • Use Case: Before refactoring a core utility function, use this Skill to ensure you read all files that import it, all tests that cover it, and understand the expected behavior of its callers, preventing unexpected regressions.

Quick Start

Use the request-context-gatherer skill to analyze the impact of changing the user_auth module.

Frequently Asked Questions about request-context-gatherer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I prevent regressions when refactoring shared code?

Prevent regressions during refactoring by systematically reviewing all related files, including imports, callers, and tests, before executing any code modification. This impact analysis traces call chains to identify dependencies, avoiding unintended consequences and maintaining system integrity.

What is code impact analysis and when do I need it?

Code impact analysis is the process of reviewing all files affected by a modification request, including direct targets, imports, and callers. You need it before any code change scenario to prevent blind edits and ensure complete understanding of dependencies and expected caller behavior.

How to check for affected callers and dependencies before modifying a function?

Check for affected callers and dependencies by following a systematic workflow that reads target files, identifies consumers, and traces call chains. This ensures all imports and tests covering the function are reviewed before execution, preventing unexpected downstream breaks.

Does this impact analysis approach work for any code change scenario?

Yes, this impact analysis approach applies to any code change scenario requiring modification. It systematically analyzes direct target files, imports, callers, and tests regardless of context, ensuring system integrity by preventing unintended consequences across the entire codebase.

What's the best way to review all related files before a code modification request?

The best way to review related files is using a systematic step-by-step process that reads direct targets, maps imports, identifies callers, and checks tests. This comprehensive impact analysis prevents blind code edits by ensuring full contextual understanding before execution.