add-check

Add a static analysis check for cross-file route and component relationships.

Updated Jan 16, 2026
One-click install
npx skills add https://github.com/glideapps/roto-rooter --skill add-check
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: add-check
Source: https://github.com/glideapps/roto-rooter/tree/main/.claude/skills/add-check
Command: npx skills add https://github.com/glideapps/roto-rooter --skill add-check

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enables creating new static checks for roto-rooter that analyze cross-file relationships between routes, components, and exports, reducing missed errors in React Router apps.

Core Features & Use Cases

  • Check scaffolding: Create a new check module, tests, and documentation.
  • Registration and execution: Wire the check into the analyzer and enable it via default or configured runs.
  • Validation and debugging: Provide fixtures and tests to validate cross-file consistency and proper error signaling.

Quick Start

Use the add-check skill to scaffold a new cross-file roto-rooter check named '<check-name>' and follow the included steps to implement, test, and document it.

Frequently Asked Questions about add-check

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

FAQPage Schema
How do I add a cross-file static analysis check to React Router routes and components?

To add cross-file static analysis checks for React Router routes and components, you scaffold a new check module, modify TypeScript types, register it in the analyzer, and create tests with fixtures to validate multi-file dependencies and route consistency.

What is AST-based cross-file analysis for multi-file dependencies?

AST-based cross-file analysis for multi-file dependencies parses abstract syntax trees across routes, components, and exports to detect consistency errors. It enables static checks to trace relationships between separate files in React Router applications.

How do I register a new static analysis check module in an analyzer?

To register a new static analysis check module in an analyzer, you wire the check into the analyzer's configuration, modify TypeScript types, and enable it via default or configured runs to ensure it executes during multi-file route and component validation.

Can I integrate external schemas into multi-file static analysis checks?

Yes, you can integrate external schemas into multi-file static analysis checks. The check implementation supports analyzing cross-file route and component relationships against external schemas to validate dependencies and exports.

How do I create test fixtures to validate cross-file route and component consistency?

To create test fixtures validating cross-file route and component consistency, you set up multi-file test contexts with routes, components, and exports, then run the check module to verify proper error signaling and end-to-end static analysis accuracy.

What are the limitations of static analysis for cross-file React Router dependencies?

Static analysis for cross-file React Router dependencies is limited to checking AST-level relationships between routes, components, and exports. It cannot catch runtime-only errors or dynamic route generation issues that require actual application execution.