enhance-cross-file

Detect cross-file inconsistencies across prompts, frontmatter, agents, and workflows.

951|110|Updated Jan 15, 2026
One-click install
npx skills add https://github.com/agent-sh/agentsys --skill enhance-cross-file-agent-sh
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: enhance-cross-file
Source: https://github.com/agent-sh/agentsys/tree/main/.kiro/skills/enhance-cross-file
Command: npx skills add https://github.com/agent-sh/agentsys --skill enhance-cross-file-agent-sh

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Cross-file consistency across prompts, frontmatter, agent references, and workflow definitions.

Core Features & Use Cases

  • Detects tool usage that exists in a body but not in the frontmatter tools list.
  • Validates that referenced agents exist and are declared.
  • Flags duplicate instructions and contradictory rules across files.
  • Provides structured findings to guide remediation.

Quick Start

Analyze a codebase with multiple skills and workflows to surface cross-file inconsistencies.

Frequently Asked Questions about enhance-cross-file

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

FAQPage Schema
How do I detect cross-file inconsistencies in prompts and workflows?

Cross-file inconsistencies in prompts and workflows are detected by validating frontmatter, analyzing agent references, and surfacing tool usage mismatches. It flags missing references and contradictory rules across multiple skill files in large codebases.

What is cross-file consistency validation for agent references?

Cross-file consistency validation for agent references checks that declared agents exist and are properly referenced across workflows. It identifies missing references and validates frontmatter to ensure agents align with their skill definitions.

How do I validate frontmatter tools list against actual tool usage?

Frontmatter tools list validation detects tools used in a file body but missing from the frontmatter declaration. It surfaces these mismatches alongside contradictory rules and duplicate instructions across skill files.

Can I find duplicate instructions and contradictory rules across multiple skill files?

You can find duplicate instructions and contradictory rules across multiple skill files by analyzing prompts and workflow definitions. It compares cross-file content to flag conflicting rules and redundant directives for remediation.

Does cross-file validation work for large codebases with multiple workflows?

Cross-file validation applies to large codebases with multiple skills and workflows. It analyzes references in prompts and skill definitions to surface tool usage mismatches and missing references in a structured findings format.

What's the best way to surface missing references in workflow definitions?

The best way to surface missing references in workflow definitions is to analyze cross-file prompts and agent declarations. It validates referenced agents exist and reports findings in a structured format to guide remediation.