agentleFS
xerrorsxerrors/Yuxi/frontend/AGENTS.md

Yuxi / frontend

AGENTS.md7.6k starsChanged 7 months agoMITView on GitHub

本目录是 Vue 3 / Vite 前端。先阅读根 AGENTS.md;架构与开发指南按根文件的任务范围加载。涉及界面设计、交互或响应式方案时读取设计规范。 UI 改动必须在真实页面验证,并提供最终截图或录屏;适用时覆盖浅/深色、响应式、loading、empty 和 error 状态。适配与验收宽度遵循设计规范的响应式范围。

Files
AGENTS.md

Frontend 约定

本目录是 Vue 3 / Vite 前端。先阅读根 AGENTS.md;架构与开发指南按根文件的任务范围加载。涉及界面设计、交互或响应式方案时读取设计规范。

  • API 调用统一放在 src/apis;组件不直接拼接普通 HTTP 请求。
  • 跨模块导入只使用 @/modules/<domain>(模型/用例)或 @/modules/<domain>/ui/**.vue(组件);不得直达 model/ 或其他内部路径。
  • 前端权限与路由守卫只提供体验约束,后端始终执行最终授权。
  • 复用 src/assets/css/base.css 变量和 @lucide/vue;不为一次性视觉需求引入新依赖。
  • 保持 loading、empty、error、断线恢复和终态投影语义一致;不要用乐观 UI 覆盖 PostgreSQL 返回的最终事实。
  • pnpm run lint:check 是只读 gate;pnpm run lint 才允许本地自动修复。

提交前运行:

docker compose exec frontend pnpm run lint:check
docker compose exec frontend pnpm run test:unit
docker compose exec frontend pnpm run build

UI 改动必须在真实页面验证,并提供最终截图或录屏;适用时覆盖浅/深色、响应式、loading、empty 和 error 状态。适配与验收宽度遵循设计规范的响应式范围。

Download now (ZIP)

Trending

Quiet since August.thin dataabout the whole repository

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 0 mentionsJul 2026: 0 mentionsAug 2026: 2 mentionsSep 2026: 0 mentionsOct 2026: 0 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the xerrors/Yuxi repository that our weekly crawl found: only 2 in all, so this is a hint, not a trend. There is no adoption data for this file yet.
  • Other versions1 project uses a version of this.

    Word for word · 1

    1. xerrors/Yuxi-Know★ 7.6k100% same

    Edited · 0

    None found.

    Wrote their own version · 0

    None found.

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository3 other files it gives its agents.

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.