mirror of
https://github.com/black-ant/Ant-Browser.git
synced 2026-07-14 18:48:55 +08:00
38 lines
2.8 KiB
Markdown
38 lines
2.8 KiB
Markdown
# Project Agent Instructions
|
||
|
||
<!-- ant-ready-start-skills:start -->
|
||
|
||
## Shared Local Skills
|
||
|
||
Use the shared local skills below when the task matches their scope:
|
||
|
||
- `page-style-linear-flow`: `D:\code\open_source\ant-ready-start\skills\page-style-linear-flow\SKILL.md`
|
||
- `ui-ux-pro-max`: `D:\code\open_source\ant-ready-start\skills\ui-ux-pro-max\SKILL.md`
|
||
- `frontend-skill`: `D:\code\open_source\ant-ready-start\skills\frontend-skill\SKILL.md`
|
||
- `create-plan`: `D:\code\open_source\ant-ready-start\skills\create-plan\SKILL.md`
|
||
- `create-plan-doc`: `D:\code\open_source\ant-ready-start\skills\create-plan-doc\SKILL.md`
|
||
|
||
Apply it for frontend page design or refactors involving pages, admin panels, forms, tables, dashboards, detail views, wizards, modal/drawer placement, or multi-step flows.
|
||
|
||
Apply `ui-ux-pro-max` for broader UI/UX design work involving visual direction, design-system shaping, palette and typography selection, component styling, landing pages, dashboards, and cross-stack interface generation when linear-flow rules alone are not enough.
|
||
|
||
Apply `frontend-skill` when the task needs stronger frontend art direction, visual hierarchy, landing-page composition, sparse premium layouts, image-led sections, or restrained motion design.
|
||
|
||
Apply `create-plan` when the user explicitly asks for a plan, task breakdown, implementation roadmap, rollout outline, or a step-by-step execution plan before coding.
|
||
|
||
Apply `create-plan-doc` when the user explicitly asks for a plan that should also be saved into the repository as a markdown document under `docs/plan`.
|
||
|
||
Core expectations:
|
||
|
||
- Keep each page focused on one primary responsibility.
|
||
- Do not mix operational tables and submit forms on the same screen.
|
||
- Use modal/drawer for short low-risk forms; use a dedicated page or wizard for complex flows.
|
||
- Remove filler copy, repeated headings, decorative cards, and meaningless whitespace.
|
||
- Keep the next action obvious and preserve predictable back/cancel/save behavior.
|
||
- 代理连接必须遵守两套连接栈规则,详见 `docs/proxy-connector-stacks.md`:`browser.default_connector_type=xray` 表示 Xray + sing-box 组合栈,Xray 负责 vmess/vless/trojan/shadowsocks/链式代理等,sing-box 负责 hysteria2/tuic/anytls 等协议;`browser.default_connector_type=mihomo` 表示独立 Mihomo 栈。实例启动、测速、真实连通性、IP 健康、预热和代理下载都必须按当前连接栈执行,不允许在 `xray` 组合栈和 `mihomo` 栈之间自动混用;不要把 sing-box 协议误判成“xray 不支持”。
|
||
- For detailed UI checks, selectively read `D:\code\open_source\ant-ready-start\skills\page-style-linear-flow\references\checklist.md`.
|
||
|
||
These shared skill instructions supplement project-specific rules in this `AGENTS.md`; keep more specific project rules authoritative for this repository.
|
||
|
||
<!-- ant-ready-start-skills:end -->
|