hydra-gate-modal-isolation

Detect inline NcModal and NcDialog markup in Vue components.

1|1|Updated Apr 8, 2026
One-click install
npx skills add https://github.com/ConductionNL/shillinq --skill hydra-gate-modal-isolation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hydra-gate-modal-isolation
Source: https://github.com/ConductionNL/shillinq/tree/main/.claude/skills/hydra-gate-modal-isolation
Command: npx skills add https://github.com/ConductionNL/shillinq --skill hydra-gate-modal-isolation

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill prevents the common issue of bloated, tightly-coupled parent components caused by inline modal and dialog declarations, ensuring a modular and maintainable frontend codebase.

Core Features & Use Cases

  • Automated Linting: Scans the codebase for inline NcModal or NcDialog usage that violates architectural standards.
  • Structural Enforcement: Validates that all modals and dialogs are properly extracted into dedicated files within the src/modals/ or src/dialogs/ directories.
  • Use Case: When refactoring a complex dashboard, use this Skill to identify and isolate scattered modal components, ensuring they are properly imported and managed according to ADR-004.

Quick Start

Run the hydra-gate-modal-isolation skill to scan the current directory for inline modal violations and receive a list of files requiring refactoring.

Frequently Asked Questions about hydra-gate-modal-isolation

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

FAQPage Schema
How do I find inline NcModal and NcDialog usage in Vue components?

This skill detects inline NcModal and NcDialog markup in Vue components by scanning the codebase through shell-based file system traversal and grep pattern matching. It identifies files that violate component isolation rules and require refactoring into dedicated modules.

Why does extracting inline modals improve frontend architecture?

Extracting inline modals improves frontend architecture by preventing bloated, tightly-coupled parent components. This enforces modular standards and ensures a maintainable codebase by requiring modals to be isolated into dedicated files within src/modals/ or src/dialogs/ directories.

How do I enforce ADR-004 modal isolation guidelines in a Nextcloud codebase?

You can enforce ADR-004 modal isolation guidelines by scanning your Nextcloud codebase for inline NcModal or NcDialog declarations. The scan identifies violating files and validates that components are properly extracted into dedicated directories for strict adherence.

Do I need any specific dependencies to scan for inline Vue modal violations?

No specific dependencies are required to scan for inline Vue modal violations. The skill operates using a standard shell environment to execute file system traversal and grep-based pattern matching, requiring no additional packages or external component installations.

What is the best way to refactor scattered modal components in a Vue dashboard?

The best way to refactor scattered modal components in a Vue dashboard is to run an automated architectural scan that identifies inline modal declarations. This provides a targeted list of files requiring extraction into dedicated src/modals/ or src/dialogs/ directory structures.

When should I not use automated modal isolation linting?

You should not use automated modal isolation linting when working outside of Vue or Nextcloud frontend environments, or when your project does not need to adhere to strict ADR-004 component isolation guidelines. It strictly targets NcModal and NcDialog markup patterns.