docs: add hierarchical AGENTS.md for subdirectories
Some checks are pending
CI / Test (windows-latest) (push) Waiting to run
CI / Lint (windows-latest) (push) Waiting to run
CI / Check (windows-latest) (push) Waiting to run
CI / CI OK (push) Blocked by required conditions
CI / Test (ubuntu-latest) (push) Has been skipped
CI / Lint (ubuntu-latest) (push) Has been skipped
CI / Check (ubuntu-latest) (push) Has been skipped
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Has been skipped
Deploy Website on push / Deploy Push Playground Ftp (push) Has been skipped
Deploy Website on push / Deploy Push Docs Ftp (push) Has been skipped
Deploy Website on push / Deploy Push Antd Ftp (push) Has been skipped
Deploy Website on push / Deploy Push Element Ftp (push) Has been skipped
Deploy Website on push / Deploy Push Naive Ftp (push) Has been skipped
Deploy Website on push / Rerun on failure (push) Has been skipped
Release Drafter / update_release_draft (push) Has been skipped

This commit is contained in:
Sam 2026-02-23 00:55:03 +08:00
parent 5cbfb2866c
commit aad1163724

48
AGENTS.md Normal file
View File

@ -0,0 +1,48 @@
# AGENTS.md - Fengling.Console.Web.Vben
**Parent:** `/AGENTS.md`
## Overview
Vue 3 + Vben Admin multi-UI monorepo with 5+ UI variants.
## Structure
```
src/Fengling.Console.Web.Vben/
├── apps/ # UI variants
│ ├── web-ele/ # Element Plus
│ ├── web-tdesign/ # Tdesign
│ ├── web-naive/ # NaiveUI
│ └── web-antd/ # Ant Design
├── packages/ # Shared packages
│ ├── @core/ # Core components
│ ├── @core/ui-kit/ # UI kit (shadcn-ui)
│ └── effects/ # Effects/layouts
├── internal/ # Build configs
│ ├── lint-configs/ # ESLint, Prettier
│ └── tailwind-config/ # Tailwind
└── playground/ # Dev playground
```
## Where to Look
| Task | Location |
|------|----------|
| API calls | `apps/*/src/api/` |
| Components | `packages/@core/ui-kit/shadcn-ui/src/ui/` |
| Stores | `apps/*/src/stores/` |
| Routing | `apps/*/src/router/` |
| Views | `apps/*/src/views/` |
## Conventions
- **Import aliases**: `@/``src/`, `#/``apps/web-ele/src/`
- **Store usage**: Pinia with `defineStore`
- **API**: Auto-generated via Vben conventions
- **Components**: Auto-imported via unplugin-vue-components
## Anti-Patterns
- Don't modify internal configs directly — use overrides
- Don't mix UI frameworks (stick to assigned variant)