Files
holocron/plugins/core
Defame1297 c59e4bf0c5 refactor(core): retrofit provider-adapter-author to the ADR-0020 contract
Description 833 -> 239 chars, body 370 -> 387 words, Gotchas 41% -> 20%.
The file-type enumeration moves to a new references/provider-matrix.md;
the composition note was already in README.md.

Three defects a clean-context audit found, all fixed:

The 'never edits AGENTS.md' prohibition had become a justification clause
on the false branch of a conditional, so the common path never read a
sentence binding it. That matters because the bundled validator's own
remediation text tells the agent to move content into AGENTS.md, so a
size FAIL actively invited the prohibited edit. Restored as a standing
imperative, plus a counter at the step where the trap fires.

A Gotcha asserted that validate-adapter.sh fails without
--no-import-syntax. The flag is a no-op -- both branches reduce to the
same expression. Reverted to an instruction; the script defect is #115.

The boundary clauses used pronouns to dodge the #110 regex, and 'Not
auditing it' resolved to CLAUDE.md as readily as to AGENTS.md -- routing
'audit my CLAUDE.md' to a skill whose own description declines it.

Refs #99
2026-08-30 15:06:50 +00:00
..

core

Skills for authoring and auditing a repo's AGENTS.md and the provider adapter files that defer to it.

Install

Claude Code:

claude plugin marketplace add <owner>/<repo>
claude plugin install core@<marketplace-name>

GitHub Copilot CLI:

copilot plugin marketplace add <owner>/<repo>
copilot plugin install core

Local (development):

# Claude Code
claude --plugin-dir ./plugins/core

# GitHub Copilot CLI
copilot plugin install ./plugins/core

Contents

Component Path Description
Skills .apm/skills/ → skills/ Slash commands available after install

.apm/ is the authoring source; skills/ is the generated mirror plugin hosts scan (ADR-0017).

Skills

Skill Description
agentsmd-author Create or update a repo's AGENTS.md by exploring real build/test/lint conventions; supports nested monorepo placement and hands off to agentsmd-audit and provider-adapter-author
agentsmd-audit Audit a repo's AGENTS.md for embedded secrets, structural completeness, and drift; produces a findings report
provider-adapter-author Convert a provider-specific instruction file (CLAUDE.md, .cursor/rules/*.mdc, copilot-instructions.md, etc.) into a thin adapter that defers to AGENTS.md

Author

Defame1297