prop-drill

Trace a React prop from its origin through the component tree to all consumers.

1|1|Updated Feb 13, 2026
One-click install
npx skills add https://github.com/laststance/skills --skill prop-drill
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: prop-drill
Source: https://github.com/laststance/skills/tree/main/skills/prop-drill
Command: npx skills add https://github.com/laststance/skills --skill prop-drill

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps developers identify where a React prop originates and how it propagates through the component tree, reducing debugging time and confusion when props are passed through multiple layers.

Core Features & Use Cases

  • Prop origin tracing: Locate the initial declaration of a given prop.
  • Drill-path visualization: Map the path from origin to each consumer, with context about renames and passthroughs.
  • Diagnostics aids: Surface where a prop is transformed or aliased during refactors.

Quick Start

Trace a prop through a React component tree to locate its origin and all consumers.

Frequently Asked Questions about prop-drill

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

FAQPage Schema
How do I trace where a React prop originates and map its path through the component tree?

To trace a React prop, you map its origin declaration and follow it through the component tree to all consumers. This identifies the initial file and module where the prop is first defined and tracks every component that receives or passes it.

What is the best way to find where a prop is renamed or passed through in a React app?

Finding where a prop is renamed or passed through requires drill-path visualization across the React component tree. You surface these transformations by mapping the path from origin to each consumer, providing context about aliases and passthroughs.

Can I trace props across TSX and JSX files to debug React component tree issues?

Yes, you can trace props across TSX and JSX files to debug React component tree issues. This analysis provides actionable debugging context by identifying the module and file where the prop is first defined and mapping every component that receives it.

How do I get refactor guidance for prop drilling in my React components?

To get refactor guidance for prop drilling, you trace the prop from its origin to all consumers and surface where it is transformed or aliased. This diagnostic aid reduces debugging time and confusion when props are passed through multiple layers.

Why does tracing a prop through multiple React component layers take so much time?

Tracing a prop through multiple React component layers takes time because you must manually locate the initial declaration and map every component that receives or passes it. Identifying the module and file where the prop is first defined reduces this debugging effort.

Does prop tracing work for React apps that pass props through multiple layers without a state manager?

Yes, prop tracing works for React apps that pass props through multiple layers without a state manager. It helps developers identify where a prop originates and how it propagates through the component tree, reducing confusion when props are passed through multiple layers.