You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit b2c7abb
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: AGENTS.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -225,7 +225,7 @@ knowledge base files it needs instead of repeating them.
225
225
226
226
| Skill | Use it when |
227
227
|---|---|
228
-
|`skills/apollo-new-project/`| the user starts a new Apollo V4 project, or wants a folder of Apollo code set up for AI-assisted work |
228
+
|`skills/apollo-new-project/`| the user starts a new Apollo V4 project (also from the "Start Apollo V4 Project" prompt on apolloknowledgebase.com), or wants a folder of Apollo code set up for AI-assisted work |
229
229
|`skills/apollo-build/`| Apollo V4 code is compiled, linked or assembled, flags come up, a build fails, or before presenting code |
230
230
|`skills/akb-lesson/`| a project, release or milestone is done, the user asks for a summary, or an assumption from section 2 turned out wrong |
description: Set up a new Apollo V4 software project (game, demo, tool, application, library, driver) as its own git repository with ApolloKnowledgeBase as submodule, a filled-in AGENTS.md, the ApolloCrossDevMakefile and a starting program for os-friendly or os-takeover mode that builds without warnings. Checks ApolloCrossDev first and offers updates. Use when the user wants to start, create, scaffold or set up a new program or project for the Apollo V4, Vampire V4, 68080 or SAGA, or wants an existing folder of Apollo code prepared for AI-assisted work.
3
+
description: Set up a new Apollo V4 software project (game, demo, tool, application, library, driver) as its own git repository in which every AI agent uses ApolloKnowledgeBase as its central source of Apollo V4 knowledge, then check, install or update ApolloCrossDev, and create the Makefile and a starting program for os-friendly or os-takeover mode that builds without warnings. Use when the user wants to start, create, scaffold or set up a new program or project for the Apollo V4, Vampire V4, 68080 or SAGA, pastes the "Start Apollo V4 Project" prompt from apolloknowledgebase.com, or wants an existing folder of Apollo code prepared for AI-assisted work.
4
4
---
5
5
6
6
# apollo-new-project
7
7
8
8
Create a project that every AI agent can work in correctly from the first
9
-
prompt: it knows its target, finds ApolloKnowledgeBase, and builds.
10
-
11
-
**The knowledge base (KB):** before the project exists, the repository this
12
-
skill is in (two folders above this file). KB paths below are relative to
13
-
its root. This skill's own files are in `assets/` next to this file.
9
+
prompt: it treats ApolloKnowledgeBase (AKB) as the central source of Apollo
10
+
V4 knowledge, knows its target, and builds with ApolloCrossDev.
11
+
12
+
**Where the files are.** You may have this skill as a local copy (an AKB
13
+
clone, the Claude Code plugin `akb`) or only from its URL on GitHub. Either
14
+
way, from step 2 on use the project's own `ApolloKnowledgeBase/` submodule:
15
+
**KB** paths below are relative to it, and this skill's files are in
16
+
`ApolloKnowledgeBase/skills/apollo-new-project/assets/`, and the toolchain
17
+
check is `ApolloKnowledgeBase/skills/apollo-build/scripts/find-acd.sh`. In step
18
+
1, before the submodule exists, read KB files on GitHub if you need them:
Before creating anything, run the apollo-build skill's check:
39
-
`sh <skills folder>/apollo-build/scripts/find-acd.sh`. Then tell the user
40
-
what you found and let them choose:
41
-
42
-
| Finding | Offer |
43
-
|---|---|
44
-
|`PROBLEM=` ApolloCrossDev not found or incomplete | Install it first (`KB toolchain/index.md`, section Install; needs `sudo`, about 30 minutes). Stop until it is done. |
45
-
|`UPDATE=checkout`|`git pull` in the ApolloCrossDev folder: quick, brings new Makefile templates, ApolloLib and scripts. If `LOCAL_CHANGES=` is reported, the user decides about those first. Run the pull only with their consent. |
46
-
|`UPDATE=compiler`| Reinstall GCC-6.50-Dev (the command is in the line; needs `sudo`, about 30 minutes; the user runs it). Say what the newer build changes: the bug table in `KB toolchain/compiler-variants.md`. The user may also continue now and reinstall later. |
47
-
|`TEMPLATE=` older than v1.2 |`git pull` is required: the project needs `make compile` and builds outside ApolloCrossDev. |
48
-
|`UPDATES=none`| Nothing to offer; say the toolchain is up to date. |
49
-
50
-
Run the check again after an update. The project also needs
51
-
`APOLLOCROSSDEV`, because it lives outside `ApolloCrossDev/Projects/`. If
52
-
the check notes it is unset, ask the user to add
53
-
`export APOLLOCROSSDEV="<ACD_ROOT>"` to `~/.zshrc` (macOS) or `~/.bashrc`
54
-
(Linux), next to `AMIGAHOST`. For this session, pass it on the command
55
-
line: `APOLLOCROSSDEV=<ACD_ROOT> make compile`.
56
-
57
-
## 3. Create the repository
42
+
## 2. Create the repository with AKB
58
43
59
44
In `<where>/<name>`, which must not exist yet or be empty:
Other agents reach the AKB skills through `KB AGENTS.md` section 9, which
89
+
the project's AGENTS.md sends them to.
90
+
91
+
## 4. ApolloCrossDev: check, install or update
92
+
93
+
Run the check from the submodule:
94
+
95
+
```sh
96
+
sh ApolloKnowledgeBase/skills/apollo-build/scripts/find-acd.sh
97
+
```
98
+
99
+
Tell the user what you found and let them choose:
100
+
101
+
| Finding | Offer |
102
+
|---|---|
103
+
|`PROBLEM=` ApolloCrossDev not found | Install it (`KB toolchain/index.md`, sections Host requirements and Install). With the user's consent, clone it: `git clone https://github.com/WDrijver/ApolloCrossDev ~/ApolloCrossDev`. The install script needs `sudo` and takes about 30 minutes, so the user runs it in their terminal: `cd ~/ApolloCrossDev && ./GCC-6.50-Dev-MacOS.sh` (or `-Linux.sh`). Wait until it is done. |
104
+
|`PROBLEM=` a binary is missing | The install failed: point the user to `Compilers/GCC-6.50-Dev/_logs/*_err.log` and the reinstall command. Wait until it is fixed. |
105
+
|`UPDATE=checkout`|`git pull` in the ApolloCrossDev folder: quick, brings new Makefile templates, ApolloLib and scripts. If `LOCAL_CHANGES=` is reported, the user decides about those first. Run the pull only with their consent. |
106
+
|`UPDATE=compiler`| Reinstall GCC-6.50-Dev (the command is in the line; `sudo`, about 30 minutes; the user runs it). Say what the newer build changes: the bug table in `KB toolchain/compiler-variants.md`. The user may also continue now and reinstall later. |
107
+
|`TEMPLATE=` older than v1.2 |`git pull` is required: the project needs `make compile` and builds outside ApolloCrossDev. |
108
+
|`UPDATES=none`| Say the toolchain is up to date. |
109
+
110
+
Run the check again after an install or update, until it reports no
111
+
`PROBLEM=` line.
112
+
113
+
**`APOLLOCROSSDEV`:** the project lives outside `ApolloCrossDev/Projects/`,
114
+
so the Makefile needs it. If the check notes it is unset, offer to add
115
+
`export APOLLOCROSSDEV="<ACD_ROOT>"` to `~/.zshrc` (macOS) or `~/.bashrc`
116
+
(Linux), next to `AMIGAHOST` (the V4's IP address, needed for upload; ask
117
+
for it if that is missing too). Change the file only with the user's
118
+
consent. For this session, pass it on the command line:
119
+
`APOLLOCROSSDEV=<ACD_ROOT> make compile`.
83
120
84
121
## 5. Makefile
85
122
86
-
Copy `$APOLLOCROSSDEV/Projects/_makefiles/Makefile` and change only:
123
+
Copy `<ACD_ROOT>/Projects/_makefiles/Makefile` and change only:
87
124
88
125
| Line | Set to |
89
126
|---|---|
@@ -96,8 +133,8 @@ Keep `C_OPTIONS` and `S_FLAGS` as they are.
96
133
97
134
## 6. The starting program
98
135
99
-
Copy one file from `assets/` to `main.c` and replace`@PROJECT@`, `@WHAT@`
100
-
and `@TARGETS@` (core, model, target OS):
136
+
Copy one file from this skill's `assets/` to `main.c` and replace
0 commit comments