Skip to content

Skills: apollo-new-project, apollo-build, akb-lesson - #28

Merged
WDrijver merged 2 commits into
mainfrom
skills-first-three
Nov 5, 2026
Merged

WDrijver merged 2 commits into
mainfrom
skills-first-three

Conversation

@WDrijver

@WDrijver WDrijver commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

Step 2 starts: the first three AI agent skills, in the open Agent Skills format (skills/<name>/SKILL.md). They point to knowledge base files instead of copying them.

The skills

Skill What it does
apollo-new-project Asks for the target (OS, mode, core, model, languages, ApolloLib); creates its own git repo with AKB as submodule, AGENTS.md and CLAUDE.md from templates/repo/, the Makefile from ApolloCrossDev's template v1.2, and a starting program (assets/: os-friendly, os-takeover with or without ApolloLib) that must build without warnings
apollo-build scripts/find-acd.sh finds and checks ApolloCrossDev (APOLLOCROSSDEV, GCC-6.50-Dev binaries, template version); builds with make compile; takes every setting from toolchain/; maps symptoms to the toolchain pitfalls; never uploads to the V4 unless asked
akb-lesson AGENTS.md section 8 and CONTRIBUTING.md section 7 step by step: gather, draft from the template, check, show, submit as PR from the submodule, through the Manager, or as issue

How agents find them

  • Every agent: new AGENTS.md section 9 lists the skills and says to read skills/<name>/SKILL.md when the task matches (plus a row in the section 3 table, and pointers in sections 6 and 8).
  • Claude Code: the repository is now also a plugin marketplace (.claude-plugin/): /plugin marketplace add ApolloTeam-dev/ApolloKnowledgeBase, /plugin install akb@apolloknowledgebase, then /akb:apollo-build etc. No version field, so users get every commit.

Rules and checks

  • CONTRIBUTING.md section 12: format (only name and description), description guidance, at most 500 lines, KB <path> references, POSIX sh scripts, assets must build without warnings.
  • tools/check_skills.py (new CI step "Skills"): frontmatter, name = folder, description ≤ 1024, body ≤ 500 lines, every referenced KB path and skill file exists, listed in AGENTS.md section 9.

Toolchain files

toolchain/project-makefile.md and toolchain/apollolib/index.md describe Makefile template v1.2 (WDrijver/ApolloCrossDev#22, merged, d636629): APOLLOCROSSDEV, ApolloLib compiled from source, make compile, clear without a terminal. This also removes the contradiction between the two files about ApolloLib (sources vs ready-made .o files).

Tested

  • The three starting programs build with GCC-6.50-Dev and template v1.2, also with -Wall, without warnings (with and without ApolloLib).
  • find-acd.sh: with and without APOLLOCROSSDEV, and with a wrong one (reported as PROBLEM).
  • check_skills.py, check_frontmatter.py, check_links.py pass.
  • Not tested: installing the plugin in Claude Code (claude isn't installed here), and a full run of each skill by an agent. That comes with step 5 (evals).

Knowledge base files relied on: AGENTS.md, CONTRIBUTING.md, templates/repo/, templates/files/lesson.md, toolchain/*, toolchain/pitfalls/*, toolchain/apollolib/index.md, toolchain/apollolib/system-and-timing.md, os/os-takeover.md, os/best-practices/detect-68080-and-fpu-at-run-time.md, core/best-practices/prefer-library-calls-for-saga-chips.md.

🤖 Generated with Claude Code

Step 2 starts: procedures for recurring tasks in the open Agent Skills
format, in skills/<name>/SKILL.md, pointing to the knowledge base instead
of copying it.

- skills/apollo-new-project: own git repo with AKB as submodule, AGENTS.md
  and CLAUDE.md from templates/repo, Makefile template v1.2, a starting
  program for os-friendly or os-takeover (with or without ApolloLib) that
  builds without warnings.
- skills/apollo-build: find and check ApolloCrossDev (scripts/find-acd.sh),
  make compile, settings from toolchain/, symptoms mapped to pitfalls.
- skills/akb-lesson: AGENTS.md section 8 and CONTRIBUTING.md section 7 step
  by step; submit as PR, through the Manager, or as issue.
- AGENTS.md section 9 lists the skills for every agent; Claude Code installs
  them as plugin akb (.claude-plugin/).
- CONTRIBUTING.md section 12: rules for skills; tools/check_skills.py in CI.
- toolchain/project-makefile.md, apollolib/index.md: Makefile template v1.2
  (ApolloCrossDev PR #22): APOLLOCROSSDEV, ApolloLib from source, make
  compile, clear without a terminal.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@WDrijver
WDrijver requested a review from TuKo1982 as a code owner November 5, 2026 12:04
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@WDrijver
WDrijver merged commit c148e44 into main Nov 5, 2026
2 checks passed
@WDrijver
WDrijver deleted the skills-first-three branch November 5, 2026 12:11
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