Claude Marketplaces
SkillsMCP serversMarketplacesDigestTools
Submit

This week in Claude

Every Monday: Claude Code, Agent SDK, MCP, and the Anthropic platform moves worth your time.

Skills by category
Frontend DevelopmentBackend & APIsTesting & QASecurityDevOps & CI/CDGit & Pull RequestsDocumentationCode Review & QualityAI & Agent BuildingSkill Development
MCP servers by category
Sales & MarketingWeb & Browser AutomationDatabasesAI & LLM ToolsCloud & InfrastructureCommunication & MessagingDeveloper ToolsDesign & CreativeDocuments & KnowledgeSearch & Web Crawling
Marketplaces by category
AI Agents & OrchestrationLLM IntegrationDevelopment ToolsFrontend & UIBackend & APIsDatabasesTesting & Code QualityDevOps & CloudSecurity & ComplianceGit & Version Control
Claude Marketplaces

An independent directory of skills, plugins and MCP servers for Claude Code. Not affiliated with Anthropic.

Browse

  • Skills
  • MCP servers
  • Marketplaces
  • Weekly digest
  • Skill index
  • MCP index
  • Marketplace index

Site

  • About
  • Tools
  • Submit
  • Feedback
  • Privacy
  • llms.txt
  • Plugins reference

Maker

  • Snug
  • Agent Caffeine
  • knobs
  • Wax
  • Vectoys
  • mertduzgun.com
Crafted at
Skills/Frontend Development
langgenius avatar

Component Refactoring

langgenius/difyOfficial

This handles the messy work of breaking down overgrown React components in the Dify frontend. It kicks in when complexity scores hit 50+ or line counts exceed 300, using metrics from their analyze-component tooling. The patterns are practical: extract custom hooks for state management, split UI into focused sub-components, flatten nested conditionals with lookup tables, and pull modal management into dedicated hooks. It's opinionated about Dify's conventions, like where hooks live and how to use their existing form infrastructure. The refactor-component command generates structured prompts based on actual code analysis. If you're staring at a 500-line component wondering where to start cutting, this gives you a methodical approach that fits how Dify's codebase is already organized.

installs
3.7K
GitHub stars
159.6K
last updated
Aug 21, 2026
View on GitHubSave

Install

$ npx -y skills add langgenius/dify --skill component-refactoring --agent claude-code

Installs into .claude/skills of the current project.

Files

This handles the messy work of breaking down overgrown React components in the Dify frontend. It kicks in when complexity scores hit 50+ or line counts exceed 300, using metrics from their analyze-component tooling. The patterns are practical: extract custom hooks for state management, split UI into focused sub-components, flatten nested conditionals with lookup tables, and pull modal management into dedicated hooks. It's opinionated about Dify's conventions, like where hooks live and how to use their existing form infrastructure. The refactor-component command generates structured prompts based on actual code analysis. If you're staring at a 500-line component wondering where to start cutting, this gives you a methodical approach that fits how Dify's codebase is already organized.

Browse the repository on GitHub

Sponsors

SnugThe clipboard manager you and your agent can use, safelyAgent CaffeineClose your lid, come back to finished workWaxBlock anything with supervision, without erasing your iPhoneOpen StepsSponsoredFree and open-source skills that make AI coding agents easier to understand, verify, and control.

Details

Repository
github.com/langgenius/dify
Categories
Frontend Development, Testing & QA, Code Review & Quality

More from langgenius/dify

All 8
  • Backend Code Review2.1K
  • Skill Creator755
  • Orpc Contract First713
  • Web Design Guidelines688
  • Vercel React Best Practices612
  • Frontend Code Review10.1K
  • Frontend Testing3.8K

Recommended

More Frontend Development
1forcedotcom avatarbuilding-ui-bundle-appforcedotcom/sf-skillsMUST activate when the user wants to build, create, or generate a React application, React app, web application, single-page application (SPA), or frontend appl3.7Kinstalls
2jezweb avatarshadcn-uijezweb/claude-skillsInstall and configure shadcn/ui components for React projects. Guides component selection, installation order, dependency management, customisation with semanti3.6Kinstalls
3dimillian avatarswiftui-ui-patternsdimillian/skillsBest practices and example-driven guidance for building SwiftUI views and components, including navigation hierarchies, custom view modifiers, and responsive la3.6Kinstalls
4chakra-ui avatarchakra-ui-builderchakra-ui/chakra-uiBuild responsive, accessible UI components and layouts using Chakra UI v3, install or configure Chakra UI in new and existing projects, and design scalable them3.5Kinstalls
5forcedotcom avatarimplementing-ui-bundle-agentforce-conversation-clientforcedotcom/sf-skillsUse this skill when the user asks to add, embed, integrate, configure, style, or remove an agent, chatbot, chat widget, conversation client, or AI assistant in 3.5Kinstalls
6majidmanzarpour avatarthreejs-game-ui-designermajidmanzarpour/threejs-game-skillsDesign premium Three.js game UI. Use for HUDs, menus, overlays, pause/win/lose screens, settings, icon controls, touch UI, typography, responsive layout, safe a3.4Kinstalls