preen-window-consistency

Normalize window components and consolidate shared logic into packages/window-manager.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/a2f0/tearleads --skill preen-window-consistency
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: preen-window-consistency
Source: https://github.com/a2f0/tearleads/tree/main/.codex/skills/preen-window-consistency
Command: npx skills add https://github.com/a2f0/tearleads --skill preen-window-consistency

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill addresses inconsistencies in how window components are built and managed across the application, leading to duplicated logic, non-standard UI patterns, and maintenance overhead.

Core Features & Use Cases

  • Normalize Window Components: Standardizes UI elements like sidebars, headers, and control bars.
  • Consolidate Shared Logic: Centralizes common functionalities into the packages/window-manager.
  • Standardize Refresh Patterns: Ensures consistent data fetching and state management across windows.
  • Use Case: Refactor a custom-built refresh mechanism in a sidebar component to use the standardized useSidebarRefetch hook from packages/window-manager, improving maintainability and reducing code duplication.

Quick Start

Run the preen-window-consistency skill to find and refactor duplicated patterns across windowed applications.

Frequently Asked Questions about preen-window-consistency

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

FAQPage Schema
How do I standardize window components and reduce duplicated UI logic across my application?

To standardize window components, this Skill proactively normalizes UI elements like sidebars and headers, consolidating shared logic into a centralized window manager package to eliminate duplicated patterns and maintenance overhead.

What is the best way to fix inconsistent refresh patterns in windowed applications?

Fixing inconsistent refresh patterns involves standardizing data fetching and state management across windows. This Skill refactors custom refresh mechanisms to use unified hooks, ensuring consistent data updates and reducing code duplication.

How do I refactor legacy window implementations to use a shared window manager?

Refactoring legacy window implementations requires migrating non-standard UI patterns and logic into shared abstractions. This Skill consolidates common functionalities into a dedicated window-manager package, replacing legacy code with standardized structures.

Can I use this to normalize cross-window navigation issues and component structures?

Yes, you can normalize cross-window navigation issues by enforcing defined window structure patterns. This Skill proactively addresses navigation inconsistencies by requiring adherence to standardized structures and utilizing available window manager abstractions.

Do I need an existing window manager package to standardize sidebar and header components?

You need a target package structure to consolidate logic. This Skill centralizes shared functionalities like sidebar refetch hooks into a defined packages/window-manager directory, requiring adherence to those defined window structure patterns during refactoring.