mirror of
https://github.com/jeffvli/feishin.git
synced 2026-11-20 00:51:26 -08:00
Introduce AGENTS.md (CLAUDE.md symlink), docs/agents guides, repo skills, and CI commitlint with Feishin scopes.
1.6 KiB
1.6 KiB
Mantine
Feishin wraps the Mantine components and hooks it uses under src/shared/components/ and src/shared/hooks/. Feature code imports those wrappers (/@/shared/...), not @mantine/*.
Default (most UI work)
- Import from
/@/shared/components/...and/@/shared/hooks/.... - Match callers and props already in use — the wrapper is the API.
- Do not fetch Mantine LLM docs, MCP, or upstream skills.
@mantine/* belongs only inside the wrapper modules (and a few shared theme/type utilities).
When to open upstream docs
Reach for live Mantine docs only if you are:
- Debugging a wrapper — behavior/bug lives in
src/shared/components/*orsrc/shared/hooks/*(or adjacent shared Mantine adapters), or - Adding a new wrapped component or hook — introducing a new
/@/shared/...re-export that did not exist.
Then:
- Confirm Mantine v9 in
package.json. - Prefer Mantine MCP if configured (
search_docs,get_item_doc,get_item_props); else https://mantine.dev/llms.txt → the linked per-page.mdfor that item only. - Do not vendor
llms-full.txt.
Skill branches (new wrappers only)
Install from mantinedev/skills only when scaffolding a matching new wrapper:
| New wrapper kind | Skill |
|---|---|
@mantine/form / validation / form context |
mantine-form |
Custom select via Combobox |
mantine-combobox |
| Factory + Styles API component | mantine-custom-components |
Repo theme notes
User-loadable desktop theme JSON and mantineOverride: docs/CUSTOM_THEMES.md — only when changing that behavior or theme-object shape.