.cursor/skills/web-frontend/SKILL.md
Frontend web/ (React, TypeScript, Vite). Используй при работе с web/src/**/*.tsx, web/src/**/*.ts.
npx skillsauth add strider2038/knowledge-db web-frontendInstall 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.
Применяется при работе с web/:
react-router-dom (SPA-роутинг)Цель — чистый, предсказуемый UI, согласованный с API kb-server.
web/src/main.tsx — входная точка, BrowserRouterweb/src/App.tsx — основное приложениеcomponents/ — UI-компонентыpages/ — страницы (Добавить, Поиск)hooks/ — кастомные хукиservices/ — API-клиентtypes/ — типы (Node, Tree и т.п.)useEffect/хукахanytypes/services/api.tsVITE_API_URL (по умолчанию localhost)useState — локальное UIloading, error, success — для асинхронных операцийanydevelopment
Knowledge base layout and node format for knowledge-db. Use when creating or editing KB markdown files. Root path placeholder {{DATA_PATH}}.
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.
data-ai
Sync delta specs from a change to main specs. Use when the user wants to update main specs with changes from a delta spec, without archiving the change.