Skip to content

Add thin toolkit-routing agent adapters - #3

Merged
dieterbaier merged 3 commits into
mainfrom
feature/agent-adapter-alignment
Jul 12, 2026
Merged

Add thin toolkit-routing agent adapters#3
dieterbaier merged 3 commits into
mainfrom
feature/agent-adapter-alignment

Conversation

@dieterbaier

Copy link
Copy Markdown
Member

Summary

Bring docs-toolbox in line with the architecture-knowledge-toolkit's generated agent-adapter approach. docs-toolbox keeps no local skills, so the adapters route agents to the toolkit.

  • Add scripts/build-agent-adapters.js and scripts/check-agent-adapters.js generating thin Codex/Vibe/GitHub Copilot/Cursor adapters under adapters/ that route to the toolkit.
  • Wire adapters / check-adapters / test into build.sh and add adapter check + generator test to the CI validate job.
  • Turn .github/copilot-instructions.md into a thin entry point pointing to adapters/github-copilot/.
  • Document reference, don't copy in AGENTS.md and general-semantic-contracts.md, and record the toolkit lookup order with an upward directory search (no direct-sibling assumption). Note Node.js/npm in the image tool list.
  • Add test/build-agent-adapters.test.mjs (4 scenarios).

Verification

  • node scripts/check-agent-adapters.js: adapters current.
  • node --test test/build-agent-adapters.test.mjs: 4/4 pass.
  • sh -n build.sh and local adapters / check-adapters / test commands verified.

🤖 Generated with Claude Code

Dieter Baier and others added 2 commits July 12, 2026 10:39
Add scripts/build-agent-adapters.js and check-agent-adapters.js that generate thin Codex/Vibe/GitHub Copilot/Cursor adapters routing to the architecture-knowledge-toolkit (no local skills). Wire adapters/check-adapters/test into build.sh and the CI validate job, turn .github/copilot-instructions.md into a thin entry point, and document the reference-don't-copy principle in AGENTS.md and general-semantic-contracts.md.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Do not assume the architecture-knowledge-toolkit is a direct sibling. The local lookup order now searches ../architecture-knowledge-toolkit and then each parent directory up to the filesystem root, so projects outside the toolkit's parent folder still resolve it before the public fallback.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

@dieterbaier dieterbaier left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Die Änderungen sind technisch schlüssig, die CI läuft erfolgreich und der Adapter-Check ist sauber eingebunden. Ich habe nur eine kleine Zukunfts-Inkonsistenz im Generator kommentiert; für den aktuellen Zustand ohne lokale Skills ist das nicht blockierend.

Comment thread scripts/build-agent-adapters.js Outdated
const body = `# ${target.title}

This is a thin ${target.agent}-specific wrapper for the ${project}
repository. ${project} keeps no local agent skills of its own; architecture and

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kleine Zukunfts-Inkonsistenz: Sobald skills.length > 0 ist, hängt der Generator zwar einen Abschnitt „Local Skills“ an, behauptet direkt davor aber weiterhin, dass docs-toolbox keine lokalen Skills besitzt. Für den heutigen Zustand ist das korrekt; falls die angekündigte Erweiterbarkeit wirklich gewollt ist, sollte dieser Satz ebenfalls abhängig von skills.length gerendert werden.

Review nit: the generator appended a Local Skills section once skills existed but still claimed docs-toolbox has no local skills. Make the intro and skill-selection step depend on skills.length so the wording stays correct if local skills are ever added. No change to current output (no local skills today).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@dieterbaier

Copy link
Copy Markdown
Member Author

Nit adressiert (96051d1): Intro und Skill-Auswahlschritt hängen jetzt von skills.length ab, sodass der „no local skills"-Text nur ohne lokale Skills erscheint. Kein Effekt auf die heutige Ausgabe (keine lokalen Skills), Adapter bleiben aktuell, CI grün.

@dieterbaier dieterbaier left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nachprüfung nach 96051d1: Der kommentierte Widerspruch ist sauber behoben. Intro und Skill-Auswahlschritt wechseln jetzt konsistent mit skills.length; die aktuelle Ausgabe ohne lokale Skills bleibt unverändert. Von meiner Seite keine weiteren Findings.

@dieterbaier
dieterbaier merged commit 689814b into main Jul 12, 2026
3 checks passed
@dieterbaier
dieterbaier deleted the feature/agent-adapter-alignment branch July 12, 2026 09:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant