.cursor/skills/backend-structure/SKILL.md
Структура backend knowledge-db (cmd/, internal/). Используй при добавлении handlers, пакетов internal/, работе с kb и ingestion.
npx skillsauth add strider2038/knowledge-db backend-structureInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
/
├── cmd/
│ ├── kb-server/ # API + UI + Telegram bot + MCP
│ └── kb-cli/ # validate, init
├── internal/
│ ├── kb/ # работа с data/, валидация, дерево тем
│ ├── api/ # HTTP handlers, роутинг
│ ├── ingestion/ # интерфейс Ingester, pipeline
│ ├── mcp/ # MCP endpoint /api/mcp
│ └── ui/ # embed статики (embed.go, static/)
├── web/ # React исходники
└── .cursor/skills/ # agent skills
KB_DATA_PATH (env)net/http.ServeMux (Go 1.22+)Ingester: IngestText(text), IngestURL(url)internal/ingestion/llm — использует OpenAI Responses API (не Chat Completions)/api/mcp на том же сервереvalidate, initdevelopment
Knowledge base layout and node format for knowledge-db. Use when creating or editing KB markdown files. Root path placeholder {{DATA_PATH}}.
development
Frontend web/ (React, TypeScript, Vite). Используй при работе с web/src/**/*.tsx, web/src/**/*.ts.
tools
Регистрация фоновых процессов через pior/runnable. Используй при добавлении Telegram bot и других воркеров в kb-server.
testing
Verify implementation matches change artifacts. Use when the user wants to validate that implementation is complete, correct, and coherent before archiving.