Add AGENTS.md authoring/review tooling (agentsmd-author, agentsmd-audit, provider-adapter-author) #79
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
kyberforge is scoped to meta-tooling for building/maintaining the holocron marketplace itself (skills, agents, plugins, marketplace entries) — not generic capabilities for an arbitrary target repo. Authoring/reviewing a target repo's AGENTS.md file is repo-agnostic documentation tooling, so it belongs outside kyberforge. See ADR-0012 (
docs/adr/0012-agentsmd-tooling-in-core-plugin.md) for the full decision record. Research backing this was done in advance atplugins/core/docs/research/docs/agentsmd/(overview.md, configuration.md, examples.md, sources.md — sourced from the official agents.md spec).Plan — three new skills in the
coreplugin (core's first active skills)agentsmd-author— creates/updates a target repo's AGENTS.md, including nested monorepo placement (nearest-file-wins precedence per the spec). Closes out by invokingagentsmd-auditinline (mirrors theskill-author/skill-auditpattern). When it detects an existing provider-specific file (CLAUDE.md, .cursor/rules, copilot-instructions.md, etc.) with content duplicating what AGENTS.md should own, it callsprovider-adapter-authorvia skill composition.agentsmd-audit— single combined pass, three mandatory checks against AGENTS.md only:Never inspects provider adapter files.
provider-adapter-author— detects/converts a provider-specific instruction file into a thin adapter importing AGENTS.md (mirrors this repo's own two-tier CLAUDE.md pattern, ADR-0002/0003). Self-validates via its own bundled deterministic script (scripts/validate-adapter.sh: checks for import reference, no duplicated headings, size threshold) rather than a separate paired audit skill — no LLM judgment needed for this mechanical check.Build order
agentsmd-auditfirst (no deps) →provider-adapter-author(no deps) →agentsmd-author(depends on both existing, since it invokes/composes into them).Each of the three skills will be authored via
kyberforge:skill-authorand independently re-audited via a clean-contextskill-auditrecheck per the standard forge workflow.This is a planning/documentation issue only — no implementation is included here.