Refactor codebase

This commit is contained in:
iacore
2026-07-10 21:34:07 +08:00
parent b62a488e11
commit 52c0f83376
61 changed files with 1039 additions and 5107 deletions
+6 -5
View File
@@ -4,12 +4,13 @@
| Directory | Contents |
|---|---|
| `skills/` | Hermes Agent skills — loaded via `~/.hermes/config.yaml` `external_dirs`. [Install guide →](skills/readme.dj) |
| `terms-search/` | Term database (DuckDB) + search CLI (`search.py`). Priority: DoT定稿 > 内部特色词 > 佛教术语 |
| `toolkit/skills/` | Hermes Agent skills — loaded via `~/.hermes/config.yaml` `external_dirs`. [Install guide →](toolkit/skills/readme.dj) |
| `toolkit/terms-database/` | Term database (DuckDB) + search CLI (`search.py`). Priority: DoT定稿 > 内部特色词 > 佛教术语 |
| `translate-files/` | Translation projects: `<topic>/<article>/` with `source.dj`, `target.dj`, `bilingual.dj` |
| `scripts/` | Utility scripts (fish shell): `dj2docx.fish` |
| `guide/` | Reference materials — 术语库 source data |
| `AGENTS.md` | Project conventions for AI agents — translation workflow, djot rules, skill usage |
| `toolkit/scripts/` | Utility scripts (fish shell): `dj2docx.fish` |
| `references/` | Reference materials — Typst design notes, Google Docs review journey, formatting guides |
| `toolkit/` | Git submodule containing skills, scripts, term database, and AGENTS.md |
| `AGENTS.md` | Stub pointing to `toolkit/AGENTS.md` |
## Translation Stages