From 7e2ea5a275a2c7812ea0d354aec2c33c90ebc6e7 Mon Sep 17 00:00:00 2001 From: eka Date: Wed, 23 Sep 2026 12:17:57 +0500 Subject: [PATCH] chore: add developer-documentation skill to catalog MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - catalog/developer-documentation-skill: submodule → NateBJones-Projects/developer-documentation-skill (v1.0.1, CC BY 4.0 / MIT) - README: раскладки репозиториев каталога и ручная установка скиллов --- .gitmodules | 3 +++ README.md | 28 +++++++++++++++++++++++++-- catalog/developer-documentation-skill | 1 + 3 files changed, 30 insertions(+), 2 deletions(-) create mode 160000 catalog/developer-documentation-skill diff --git a/.gitmodules b/.gitmodules index d431261..ee08945 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,6 @@ [submodule "catalog/jakubkrehel-skills"] path = catalog/jakubkrehel-skills url = https://github.com/jakubkrehel/skills.git +[submodule "catalog/developer-documentation-skill"] + path = catalog/developer-documentation-skill + url = https://github.com/NateBJones-Projects/developer-documentation-skill.git diff --git a/README.md b/README.md index 217f558..03028e3 100644 --- a/README.md +++ b/README.md @@ -7,8 +7,9 @@ ``` dev/harness/ ├── agents/ # Определения агентов OpenCode (leader, fixer, devops, admin, ...) -├── catalog/ # Скиллы: git submodule'ы на внешние репы -│ └── jakubkrehel-skills/ # submodule → github.com/jakubkrehel/skills (11 скиллов UI) +├── catalog/ # Скиллы: git submodule'ы на внешние репы +│ ├── jakubkrehel-skills/ # → github.com/jakubkrehel/skills (11 скиллов UI) +│ └── developer-documentation-skill/ # → NateBJones-Projects/… (доки; ставится вручную) ├── scripts/ │ └── harness # Основной CLI-скрипт └── README.md @@ -160,6 +161,29 @@ git commit -m "chore: add user-skills to catalog" обновит его через `git pull`, но такой каталог не попадёт в коммит репы (вложенная репа не станет submodule автоматически). +### Раскладка репозитория и ручная установка + +CLI `harness` понимает одну раскладку — `<репа>/skills//SKILL.md`. +Репозитории с другой структурой он показывает как `(no skills/)`, и их скиллы +ставятся вручную. Ограничение только у CLI: сам OpenCode сканирует рекурсивно +(`skills/**/SKILL.md`, а через `skills.paths` — `**/SKILL.md` на любой глубине). + +Пример — `developer-documentation-skill` держит `SKILL.md` в корне репы: + +```bash +ln -s /mnt/data/Agent/dev/harness/catalog/developer-documentation-skill \ + ~/.agents/skills/developer-documentation +``` + +Альтернатива без симлинков — указать в конфиге OpenCode корень каталога: + +```json +{ "skills": { "paths": ["/mnt/data/Agent/dev/harness/catalog"] } } +``` + +Тогда OpenCode найдёт все `SKILL.md` из каталога, в любой раскладке. Минус — +подхватывается всё содержимое разом, включая ненужное. + ## Как добавить агента Положить `.md` файл в `agents/` репозитория — и он сразу виден через `harness list agents`. diff --git a/catalog/developer-documentation-skill b/catalog/developer-documentation-skill new file mode 160000 index 0000000..5a68d19 --- /dev/null +++ b/catalog/developer-documentation-skill @@ -0,0 +1 @@ +Subproject commit 5a68d19b8f20fe5cee4a97f7b00f3dc9441bc1f6