Kaynağa Gözat

Move the topic skills to .claude/skills so Claude Code discovers them.

Skills under skills/ were only reachable by reading AGENTS.md. Paths in
AGENTS.md, README.md, newLang/AGENTS.md, the powerc skill, and the Power C
reverse-engineering notes now point at the new location; skills/README.md
remains as a pointer.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
refactor/agent-workflow
Daniel Covington 1 hafta önce
ebeveyn
işleme
37f813052a
16 değiştirilmiş dosya ile 36 ekleme ve 32 silme
  1. +0
    -0
      .claude/skills/6510-assembly/SKILL.md
  2. +0
    -0
      .claude/skills/basic-programming/SKILL.md
  3. +0
    -0
      .claude/skills/compiler-design/SKILL.md
  4. +0
    -0
      .claude/skills/disk-io-1541/SKILL.md
  5. +0
    -0
      .claude/skills/graphics-vic2/SKILL.md
  6. +0
    -0
      .claude/skills/interrupts/SKILL.md
  7. +0
    -0
      .claude/skills/kernal-routines/SKILL.md
  8. +0
    -0
      .claude/skills/memory-map/SKILL.md
  9. +2
    -2
      .claude/skills/powerc/SKILL.md
  10. +0
    -0
      .claude/skills/sound-sid/SKILL.md
  11. +0
    -0
      .claude/skills/vice-emulator/SKILL.md
  12. +16
    -16
      AGENTS.md
  13. +11
    -11
      README.md
  14. +2
    -2
      newLang/AGENTS.md
  15. +1
    -1
      reference/powerc-re/README.md
  16. +4
    -0
      skills/README.md

skills/6510-assembly/SKILL.md → .claude/skills/6510-assembly/SKILL.md Dosyayı Görüntüle


skills/basic-programming/SKILL.md → .claude/skills/basic-programming/SKILL.md Dosyayı Görüntüle


skills/compiler-design/SKILL.md → .claude/skills/compiler-design/SKILL.md Dosyayı Görüntüle


skills/disk-io-1541/SKILL.md → .claude/skills/disk-io-1541/SKILL.md Dosyayı Görüntüle


skills/graphics-vic2/SKILL.md → .claude/skills/graphics-vic2/SKILL.md Dosyayı Görüntüle


skills/interrupts/SKILL.md → .claude/skills/interrupts/SKILL.md Dosyayı Görüntüle


skills/kernal-routines/SKILL.md → .claude/skills/kernal-routines/SKILL.md Dosyayı Görüntüle


skills/memory-map/SKILL.md → .claude/skills/memory-map/SKILL.md Dosyayı Görüntüle


skills/powerc/SKILL.md → .claude/skills/powerc/SKILL.md Dosyayı Görüntüle

@@ -14,7 +14,7 @@ description: >

Power C is a disk-based native-code C compiler. Everything runs from a Shell
(`$` prompt) on the disk image `reference/POWERc.d81`. For emulator mechanics
(keybuf, warp, screenshots) load `skills/vice-emulator/SKILL.md`; this skill is
(keybuf, warp, screenshots) load `.claude/skills/vice-emulator/SKILL.md`; this skill is
the C side.

## Language: what to write
@@ -215,7 +215,7 @@ x64sc -autostart "work.d81:squares" -autostart-warp

Work on a **copy** of `reference/POWERc.d81` (`examples/powerc-work.d81`); VICE
writes persist. Scripts: `examples/powerc-ced.bat`, `examples/powerc-build.bat`.
Full emulator details are in `skills/vice-emulator/SKILL.md`
Full emulator details are in `.claude/skills/vice-emulator/SKILL.md`
("Automating Disk-Based Tools").

## Pitfalls checklist

skills/sound-sid/SKILL.md → .claude/skills/sound-sid/SKILL.md Dosyayı Görüntüle


skills/vice-emulator/SKILL.md → .claude/skills/vice-emulator/SKILL.md Dosyayı Görüntüle


+ 16
- 16
AGENTS.md Dosyayı Görüntüle

@@ -9,23 +9,23 @@

## How to Use This Knowledge Base

This repository contains structured skills and reference material for developing software on the Commodore 64. Each subdirectory under `skills/` is a self-contained topic skill. When answering a C64 development question, consult the most relevant skill first, then cross-reference the `reference/` files.
This repository contains structured skills and reference material for developing software on the Commodore 64. Each subdirectory under `.claude/skills/` is a self-contained topic skill. When answering a C64 development question, consult the most relevant skill first, then cross-reference the `reference/` files.

### Skill Index

| Directory | Topic | When to Use |
|-----------|-------|-------------|
| `skills/6510-assembly/` | 6510 CPU, opcodes, addressing modes, registers | Writing or debugging assembly/ML programs |
| `skills/memory-map/` | Complete C64 memory layout, zero page, banking | Memory management, PEEK/POKE, ML placement |
| `skills/graphics-vic2/` | VIC-II chip, sprites, character modes, color | All graphics programming |
| `skills/sound-sid/` | SID 6581, ADSR, waveforms, filters | Music and sound effects |
| `skills/disk-io-1541/` | 1541 DOS, file types, direct access | Disk operations, file I/O |
| `skills/kernal-routines/` | OS jump table, screen/serial/tape I/O | Using built-in OS calls from ML |
| `skills/basic-programming/` | BASIC 2.0 interpreter, extending BASIC, tokens | BASIC programs, BASIC extensions |
| `skills/interrupts/` | IRQ, NMI, CIA timers, raster interrupts | Interrupt-driven code, timing |
| `skills/compiler-design/` | Compiler & assembler construction for C64/128 | Writing compilers, assemblers, parsers |
| `skills/vice-emulator/` | VICE emulator, autostart, monitor, snapshots, automation | Running, testing, and debugging C64 software in VICE |
| `skills/powerc/` | Power C compiler on the C64 | Writing, compiling, linking, and running C programs with Power C (reference/POWERc.d81); load this whenever Power C or on-C64 C development is requested |
| `.claude/skills/6510-assembly/` | 6510 CPU, opcodes, addressing modes, registers | Writing or debugging assembly/ML programs |
| `.claude/skills/memory-map/` | Complete C64 memory layout, zero page, banking | Memory management, PEEK/POKE, ML placement |
| `.claude/skills/graphics-vic2/` | VIC-II chip, sprites, character modes, color | All graphics programming |
| `.claude/skills/sound-sid/` | SID 6581, ADSR, waveforms, filters | Music and sound effects |
| `.claude/skills/disk-io-1541/` | 1541 DOS, file types, direct access | Disk operations, file I/O |
| `.claude/skills/kernal-routines/` | OS jump table, screen/serial/tape I/O | Using built-in OS calls from ML |
| `.claude/skills/basic-programming/` | BASIC 2.0 interpreter, extending BASIC, tokens | BASIC programs, BASIC extensions |
| `.claude/skills/interrupts/` | IRQ, NMI, CIA timers, raster interrupts | Interrupt-driven code, timing |
| `.claude/skills/compiler-design/` | Compiler & assembler construction for C64/128 | Writing compilers, assemblers, parsers |
| `.claude/skills/vice-emulator/` | VICE emulator, autostart, monitor, snapshots, automation | Running, testing, and debugging C64 software in VICE |
| `.claude/skills/powerc/` | Power C compiler on the C64 | Writing, compiling, linking, and running C programs with Power C (reference/POWERc.d81); load this whenever Power C or on-C64 C development is requested |

### Reference Files

@@ -117,7 +117,7 @@ $E000–$FFFF Kernal ROM — Operating system (or RAM when banked out)
%011 $33 BASIC + Kernal ROM, character ROM at $D000 (no I/O)
%000 $30 all RAM
```
BASIC ROM needs LORAM=1 and HIRAM=1. Full table: `skills/memory-map/SKILL.md`.
BASIC ROM needs LORAM=1 and HIRAM=1. Full table: `.claude/skills/memory-map/SKILL.md`.

---

@@ -244,11 +244,11 @@ This knowledge base was compiled from these canonical references:
When an AI agent receives a C64 development question:

1. **Identify the domain** using the Skill Index table above
2. **Load the relevant SKILL.md** from the appropriate `skills/` subdirectory
2. **Load the relevant SKILL.md** from the appropriate `.claude/skills/` subdirectory
3. **Cross-reference** `reference/` files for specific register values, addresses, or opcodes
4. **Check examples/** for working code patterns
5. **If the task involves running or debugging software in an emulator**, load `skills/vice-emulator/SKILL.md` and `reference/vice-usage.md`
6. **If the task involves writing C for the C64** (user mentions C, Power C, `ced`, `cc`, `link`, or `reference/POWERc.d81`), load `skills/powerc/SKILL.md` first. Power C is K&R C (no prototypes/`void`, 2-byte `int`, 8-char identifiers), sources on disk are PETSCII, and `cc`/`link` need specific steps. Also load `skills/vice-emulator/SKILL.md` to automate the build in VICE (copy `reference/POWERc.d81` first; never write to the original). Note: `examples/moonlander.c` and `examples/linked-list-test.c` use **cc65**, not Power C; pick the toolchain the user asked for.
5. **If the task involves running or debugging software in an emulator**, load `.claude/skills/vice-emulator/SKILL.md` and `reference/vice-usage.md`
6. **If the task involves writing C for the C64** (user mentions C, Power C, `ced`, `cc`, `link`, or `reference/POWERc.d81`), load `.claude/skills/powerc/SKILL.md` first. Power C is K&R C (no prototypes/`void`, 2-byte `int`, 8-char identifiers), sources on disk are PETSCII, and `cc`/`link` need specific steps. Also load `.claude/skills/vice-emulator/SKILL.md` to automate the build in VICE (copy `reference/POWERc.d81` first; never write to the original). Note: `examples/moonlander.c` and `examples/linked-list-test.c` use **cc65**, not Power C; pick the toolchain the user asked for.
7. **Apply the 150-expert consensus**: prefer documented Kernal routines over custom implementations; use zero-page for speed; always consider memory banking when accessing $D000–$DFFF

---


+ 11
- 11
README.md Dosyayı Görüntüle

@@ -72,16 +72,16 @@ c64-dev-knowledge/

| I want to… | Start here |
|-----------|-----------|
| Write 6510 machine code | `skills/6510-assembly/SKILL.md` |
| Understand the memory map | `skills/memory-map/SKILL.md` + `reference/memory-map-complete.md` |
| Program sprites or bitmap graphics | `skills/graphics-vic2/SKILL.md` |
| Make sound or music | `skills/sound-sid/SKILL.md` |
| Read/write disk files | `skills/disk-io-1541/SKILL.md` |
| Use Kernal routines | `skills/kernal-routines/SKILL.md` + `reference/kernal-jumplist.md` |
| Extend or interface with BASIC | `skills/basic-programming/SKILL.md` |
| Write custom IRQ handlers | `skills/interrupts/SKILL.md` |
| Build a compiler or assembler | `skills/compiler-design/SKILL.md` |
| Run or debug software in VICE | `skills/vice-emulator/SKILL.md` + `reference/vice-usage.md` |
| Write 6510 machine code | `.claude/skills/6510-assembly/SKILL.md` |
| Understand the memory map | `.claude/skills/memory-map/SKILL.md` + `reference/memory-map-complete.md` |
| Program sprites or bitmap graphics | `.claude/skills/graphics-vic2/SKILL.md` |
| Make sound or music | `.claude/skills/sound-sid/SKILL.md` |
| Read/write disk files | `.claude/skills/disk-io-1541/SKILL.md` |
| Use Kernal routines | `.claude/skills/kernal-routines/SKILL.md` + `reference/kernal-jumplist.md` |
| Extend or interface with BASIC | `.claude/skills/basic-programming/SKILL.md` |
| Write custom IRQ handlers | `.claude/skills/interrupts/SKILL.md` |
| Build a compiler or assembler | `.claude/skills/compiler-design/SKILL.md` |
| Run or debug software in VICE | `.claude/skills/vice-emulator/SKILL.md` + `reference/vice-usage.md` |
| Look up an opcode | `reference/6510-opcodes.md` |
| Look up a chip register | `reference/vic-registers.md`, `sid-registers.md`, `cia-registers.md` |
| Find a Kernal routine | `reference/kernal-jumplist.md` |
@@ -105,7 +105,7 @@ Supplemental emulator material is intentionally kept separate from the canonical

## VICE Debugging

For emulator debugging, start with `skills/vice-emulator/SKILL.md`, then use `reference/vice-usage.md` as the command quick reference.
For emulator debugging, start with `.claude/skills/vice-emulator/SKILL.md`, then use `reference/vice-usage.md` as the command quick reference.

The most useful repo examples are:



+ 2
- 2
newLang/AGENTS.md Dosyayı Görüntüle

@@ -23,8 +23,8 @@ Read these files in order before changing implementation files:
6. `planning/agent-workflow.md`

Also read the repository-root `AGENTS.md` and the relevant skills under
`../skills/`. Compiler work requires `../skills/compiler-design/SKILL.md`.
Emulator work also requires `../skills/vice-emulator/SKILL.md`.
`../.claude/skills/`. Compiler work requires `../.claude/skills/compiler-design/SKILL.md`.
Emulator work also requires `../.claude/skills/vice-emulator/SKILL.md`.

## Authority and Change Control



+ 1
- 1
reference/powerc-re/README.md Dosyayı Görüntüle

@@ -28,7 +28,7 @@ python reference\powerc-re\tools\regress.py # optimizer on/off, compare
the original linker using the improved runtime objects, and (with `-Run`) starts the program and
saves the final screen. `-NoOpt` gives the original behaviour for comparison. Sources are plain
ASCII; the scripts convert to PETSCII. Remember Power C is K&R C and cannot type `||`
(see `skills/powerc/SKILL.md`).
(see `.claude/skills/powerc/SKILL.md`).

## How the toolchain works (reverse engineered)



+ 4
- 0
skills/README.md Dosyayı Görüntüle

@@ -0,0 +1,4 @@
# Skills moved

The topic skills now live in [`.claude/skills/`](../.claude/skills/) so Claude Code
discovers them automatically. Each one is `.claude/skills/<name>/SKILL.md`.

Yükleniyor…
İptal
Kaydet

Powered by TurnKey Linux.