arctisdev/frontgate-mcp/prop-drilling
Claude Code and agent skill by arctisdev/frontgate-mcp
- community
- ext:[{"type":"context","description":"Custom context provider definitions"}]
Checking that the SKILL.md file is still in the repository.
Install
npx vskill@latest install arctisdev/frontgate-mcp/prop-drillingSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as arctisdev/frontgate-mcp/prop-drilling.
Skill: Avoiding Prop Drilling
Category
CleanCode
Description
Prop drilling occurs when data is passed through multiple layers of components that do not actually consume it, creating tightly coupled component trees and making refactoring painful. This skill teaches the AI agent to recognize when props are threaded through intermediate components unnecessarily and to apply alternatives such as React Context, component composition via children/render props, or restructuring the component hierarchy to colocate state with the consumers that need it.
By avoiding prop drilling, the resulting codebase becomes easier to maintain and reason about. Each component receives only the data it directly uses, reducing cognitive overhead for developers and minimizing the surface area for bugs when prop signatures change. The agent should learn to identify drilling patterns early and suggest the most appropriate abstraction for the situation at hand.
Expected Outcome
- Detect props that pass through components without being consumed by them
- Suggest Context providers or composition patterns when prop chains exceed two levels
- Reduce the total number of prop declarations across the component tree
- Keep component interfaces lean and focused on their direct responsibilities
Heuristic Triggers
CountNewTopLevelComponents: Detects creation of wrapper components whose sole purpose is forwarding propsExtractClassNames: Surfaces tightly coupled class hierarchies that mirror prop chainsCountAddedWrapperDivs: Flags unnecessary structural wrappers introduced to pass props through
Scoring Axes Most Affected
- component_reuse: Components become more reusable when they do not depend on specific parent prop shapes
- template_likeness: Clean component boundaries produce templates that feel intentional rather than tangled
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingbenchmarks/tasks/CleanCode/prop-drilling/skill.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Extension points
contextCustom context provider definitions
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/arctisdev/frontgate-mcp/prop-drilling)