AGENTS.md
ui/AGENTS.mdAGENTS.md
Quality
79/100
Scores the file, not the repository.Length
208 words
5 headings · 0 code blocksRepository
39k
— · pushed 0 days agoLast changed
today
First indexed 3 days ago.1# Frontend Guidelines23`ui/` is the Vue 3 + TypeScript + TailwindCSS frontend, managed with pnpm workspaces.45## Structure67- `ui/src/` — console application.8- `ui/uc-src/` — user center application.9- `ui/packages/` — shared workspace packages (`@halo-dev/api-client`, `@halo-dev/components`, `@halo-dev/console-shared`, `@halo-dev/editor`, `@halo-dev/shared`, `@halo-dev/ui-plugin-bundler-kit`).10- Unit tests: `*.spec.ts` files, usually under `__tests__/` next to the code they cover.1112## Commands1314Run from the repo root:1516- `pnpm -C ui install` / `pnpm -C ui dev` — install dependencies / run the dev server.17- `pnpm -C ui build` — production build.18- `pnpm -C ui typecheck` — `vue-tsc` type checking.19- `pnpm -C ui lint` — ESLint (fails on any warning).20- `pnpm -C ui format` / `pnpm -C ui format:check` — Prettier formatting.21- `pnpm -C ui test:unit` — Vitest unit tests.22- `./gradlew generateOpenApiDocs && pnpm -C ui api-client:gen` — regenerate `ui/packages/api-client` after backend contract changes.2324## Conventions2526- Follow existing component and composable patterns; match surrounding code rather than introducing new stylistic islands.27- Never hand-edit `ui/packages/api-client/src/` — it is generated; regenerate it instead.28- Keep dependency versions in `ui/package.json`; never hard-code versions.29- Payload or UX changes usually ship together with the backend change that defines the contract.3031## Boundaries3233- New npm dependencies require approval.34
Also in halo-dev/halo
Diff this repo’s formatsOne repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| halo-dev/haloapi/AGENTS.md · 39k | AGENTS.md | styleapi | 56/100 | today | |
| halo-dev/haloAGENTS.md · 39k | AGENTS.md | archsecuritydo-notagent-behaviour | 70/100 | today | |
| halo-dev/haloapplication/AGENTS.md · 39k | AGENTS.md | stylearchagent-behaviour | 67/100 | today | |
| halo-dev/haloplatform/application/AGENTS.md · 39k | AGENTS.md | no sections | 24/100 | today | |
| halo-dev/haloplatform/plugin/AGENTS.md · 39k | AGENTS.md | no sections | 16/100 | today |
Similar configs
Same format, overlapping stack, ranked by quality.
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| aaif-goose/gooseAGENTS.md · 52k | AGENTS.md | setupbuildtestlint-format+6 | 100/100 | 3 days ago | |
| code-yeongyu/oh-my-openagentpackages/web/AGENTS.md · 67k | AGENTS.md | setupbuildtestlint-format+6 | 100/100 | 2 days ago | |
| n8n-io/n8npackages/@n8n/agents/AGENTS.md · 199k | AGENTS.md | buildteststylearch+3 | 100/100 | 3 days ago | |
| duckduckgo/content-scope-scriptsspecial-pages/AGENTS.md · 70 | AGENTS.md | buildteststylearch+3 | 100/100 | 3 days ago | |
| mui/material-uiAGENTS.md · 99k | AGENTS.md | setupbuildtestlint-format+9 | 100/100 | 3 days ago | |
| TryGhost/Ghoste2e/AGENTS.md · 55k | AGENTS.md | setupteststylearch+2 | 100/100 | 3 days ago | |
| trick77/agents-md-syncAGENTS.md · 2 | AGENTS.md | setupbuildteststyle+5 | 100/100 | 3 days ago | |
| elastic/elasticsearchx-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/AGENTS.md · 78k | AGENTS.md | buildtestlint-formatstyle+2 | 100/100 | 3 days ago |
