|
skills: catalog of skills and protocols with a settings tab
One registry for reusable methodologies: markdown with YAML front matter, stored in PostgreSQL alongside a full edit history. A row is either a `skill` (advice, adapt as needed) or a `protocol` (a committed order of actions), and a protocol is refused on save unless it declares its steps, post-checks and the three escape hatches — on_deviation, on_blocked, on_already_done — because an honest run needs a way out when reality differs from the plan. - `SkillStore`: lazy DDL, uniqueness on (owner_id, kind, name), version bump with an appended `skill_versions` row, `content_hash` as the only hive-sync hook. Personal rows carry an owner; shared rows have an empty one and are writable by an admin. - REST `/skills` (list/get/create/update/delete/versions) and the agent tool `skills` (search/load) that renders a compact document — numbered steps and escape hatches for a protocol, the instructions for a skill. - Settings → Скилы и протоколы: catalog with search and kind/area filters, a document editor that shows the server's validation error verbatim, create from a template, delete, edit history, and the personal/shared switch for an admin. Manuals stay where they are: tool knowledge, separate from this catalog. |
|---|
|
|
| docs/index.md |
|---|
| docs/skills.md 0 → 100644 |
|---|
| manuals/skills.md 0 → 100644 |
|---|
| navi/api/deps.py |
|---|
| navi/api/routes/skills.py 0 → 100644 |
|---|
| navi/core/container.py |
|---|
| navi/core/registry.py |
|---|
| navi/main.py |
|---|
| navi/profiles/assistant/config.json |
|---|
| navi/profiles/developer/config.json |
|---|
| navi/profiles/discuss/config.json |
|---|
| navi/profiles/server_admin/config.json |
|---|
| navi/skills/__init__.py 0 → 100644 |
|---|
| navi/skills/models.py 0 → 100644 |
|---|
| navi/skills/store.py 0 → 100644 |
|---|
| navi/tools/skills.py 0 → 100644 |
|---|
| tests/unit/skills/test_models.py 0 → 100644 |
|---|
| tests/unit/skills/test_skill_store.py 0 → 100644 |
|---|
| tests/unit/tools/test_skills.py 0 → 100644 |
|---|
| webclient/dist/assets/index-Blo-O92P.css 0 → 100644 |
|---|
| webclient/dist/assets/index-CWgaqwH4.js 100644 → 0 |
|---|
|
Not supported
|
| webclient/dist/assets/index-Ch7d_Xst.css 100644 → 0 |
|---|
| webclient/dist/assets/index-Yyi3-5xJ.js 0 → 100644 |
|---|
|
Not supported
|
| webclient/dist/index.html |
|---|
| webclient/dist/sw.js |
|---|
| webclient/src/api/index.js |
|---|
| webclient/src/components/settings/SettingsView.vue |
|---|
| webclient/src/components/settings/SkillsPanel.vue 0 → 100644 |
|---|
| webclient/src/i18n/messages/en.js |
|---|
| webclient/src/i18n/messages/ru.js |
|---|
| webclient/src/i18n/messages/uk.js |
|---|
| webclient/tests/unit/components/settings/settingsView.test.js |
|---|
| webclient/tests/unit/components/settings/skillsPanel.test.js 0 → 100644 |
|---|