Files
holocron/plugins/core/skills/provider-adapter-author/scripts
Defame1297 1c3af75642 fix(core): make --no-import-syntax actually change the adapter validation
Both branches of the flag reduced to the same expression, so the option was
inert: a caller who asked for the no-import form got the import-form check
anyway and a passing result that meant nothing.

Two further defects in the same validator: --max-lines failed silently when
given a value it could not use, and the Fix text told the agent to edit
AGENTS.md when the offending content is the provider adapter's. The boundary
clauses now name the operation being routed rather than the file type, which
was ambiguous where both skills touch the same file.

Addresses #115.
2026-08-31 08:01:45 +00:00
..

scripts/

Deterministic self-check this skill shells out to instead of relying on LLM judgment for a mechanical check.

File Purpose
validate-adapter.sh Checks a rewritten provider file (CLAUDE.md, etc.) has a reference to AGENTS.md, doesn't duplicate its content, and stays under a thin-file line threshold

Takes <adapter-file> <agents-md-file>, with optional --no-import-syntax and --max-lines N flags. Prints FAIL findings to stdout and exits non-zero on any failure.