shared-state-components-auditor

Audit shared EmptyState, ErrorState, and LoadingSkeleton component usage across application pages.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/BruceTyndall/socelle-global --skill shared-state-components-auditor
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: shared-state-components-auditor
Source: https://github.com/BruceTyndall/socelle-global/tree/main/.agents/skills/shared-state-components-auditor
Command: npx skills add https://github.com/BruceTyndall/socelle-global --skill shared-state-components-auditor

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill ensures that consistent UI state components (EmptyState, ErrorState, LoadingSkeleton) are reused across the application, preventing duplicated effort and maintaining a unified user experience.

Core Features & Use Cases

  • Component Auditing: Scans the codebase to identify instances of shared state components and checks for their consistent usage.
  • Deduplication Enforcement: Flags pages that implement bespoke state UI elements instead of leveraging the existing shared components.
  • Use Case: After introducing new shared state components, run this audit to verify that all relevant pages are updated to use them, ensuring design and functional consistency.

Quick Start

Run the shared-state-components-auditor skill to check for consistent usage of shared state components.

Frequently Asked Questions about shared-state-components-auditor

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

FAQPage Schema
How do I audit shared UI state components for consistency across pages?

To audit shared UI state components for consistency, run a scan targeting the `src/components` and `src/pages` directories to identify instances of EmptyState, ErrorState, and LoadingSkeleton and check their usage. This ensures a unified user experience through component reuse.

Why do my frontend pages have duplicated empty, error, and loading state UI elements?

Duplicated empty, error, and loading state UI elements occur when pages implement bespoke designs instead of leveraging shared components. Running a component audit flags these duplicated efforts, ensuring design and functional consistency across the application by enforcing the use of shared state components.

What's the best way to enforce deduplication of EmptyState and LoadingSkeleton components?

The best way to enforce deduplication of EmptyState and LoadingSkeleton components is to run a scan that flags pages implementing bespoke state UI elements. This verifies all relevant pages are updated to use the existing shared components, maintaining a unified user experience.

Do I need a specific project directory structure to check shared component reuse?

You need a project directory structure containing `src/components` and `src/pages` directories. The audit searches specifically within these paths to identify instances of shared state components and verify their consistent usage across the application's frontend pages.

When do I need to run a UI state component consistency audit?

You need to run a UI state component consistency audit after introducing new shared state components. This verifies that all relevant frontend pages are updated to use them, preventing duplicated effort and maintaining a uniform user experience throughout the application.

Can I use this component auditing tool to check ErrorState components in my web application?

Yes, you can use this component auditing tool to check ErrorState components in your web application. It scans the codebase to identify instances of shared ErrorState components, alongside EmptyState and LoadingSkeleton, and checks for their consistent usage across pages.