/** * Instruction Files Checker — every command and skill the generated CLAUDE.md / * AGENTS.md tells an agent to run must actually exist, and no placeholder may * survive into the file a model reads. * * Checks: * 1. every `specweave ` named in the managed files is registered in bin/specweave.js * 2. every `/sw:` named in them has plugins/specweave/skills//SKILL.md * 3. no `{{` placeholder is left anywhere in the file * * Severity depends on WHERE a reference lives. Inside the SW:SECTION regions * SpecWeave generates, an unresolvable reference is our bug: hard `fail`. * Outside them the text is the user's own writing, which the merger exists to * preserve verbatim — failing a health check over it would be incoherent, so it * is a `warn` that names the 2.0 replacement when one is known. */ import type { HealthChecker, CategoryResult, DoctorOptions } from '../types.js'; /** Command names registered in bin/specweave.js (`.command('name …')`). */ export declare function registeredCommands(root: string): Set; /** Skill directory names shipped by the plugin. */ export declare function availableSkills(root: string): Set; /** * `sw:` -> its 2.0 replacement, from the plugin manifest's `removedIn2_0` * forwarding table. Keys are stored without the `sw:` prefix to match SKILL_RE. */ export declare function removedSkillReplacements(root: string): Map; export declare class InstructionFilesChecker implements HealthChecker { category: string; check(projectRoot: string, _options: DoctorOptions): Promise; private checkPlaceholders; private checkReferences; } //# sourceMappingURL=instruction-files-checker.d.ts.map