Frontend security / security (push) Successful in 8s
Frontend verify / verify (push) Successful in 3m56s
Frontend security / security (pull_request) Successful in 9s
Frontend verify / verify (pull_request) Successful in 3m41s
Conventional commits / commits (pull_request) Successful in 19s
2.5 KiB
2.5 KiB
Frontend router
Общие инструкции — workspace AGENTS. Объединяй triggers задачи, путей и обнаруженных boundaries; читай только нужные темы до решения. Sources выбирает факты/spec/ADR по возникшему вопросу.
| Решение / сигнал | Читать |
|---|---|
| Первое знакомство, data flow, общая архитектура | Mental model |
| Создать/перенести component/module/slice, owner/FSD, cross-slice imports | FSD |
| TS types/props/imports/exports, hooks/effects, derived state, memoization, domain literals | TypeScript/React |
| UI/Mantine, form, container/VM/view, state owner, loading/error/recovery | UI |
| Только продуктовая строка / Zod message | Строки |
| Query/mutation, server cache, shared/api, generated types | Data |
| API/network/application errors, codes и сообщения | Errors |
| Login/refresh/logout, token/cookie, session ownership | Data + Security + Testing |
| Request/response field, route/status/error shape, OpenAPI | Data + HTTP contract source |
| Tests или behavior с regression risk | Testing |
| Storybook/stories/play, theme/tokens/shared UI | Storybook, UI; design facts — через Sources |
| Helper/dependency/новый pattern, refactor/scope | Code health, для пакета — Dependencies |
| Выбор gate, tooling, завершение | Guardrails |
Показ query state не означает изменение fetching. Изменение тестов активирует Testing и без production diff. Повтори routing по итоговому diff, включая новые файлы. Migration backlog читается только при работе над соответствующим finding через plan.