AGENTS.md@frontendA
AGENTS.md@frontend from volcengine/openviking is an AGENTS.md file: the standing instructions coding agents read in that repo.
mdr add volcengine/openviking/frontend/AGENTS.md@git:20261105.2fc2f72Pins git:20261105.2fc2f72 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 14 of 14 checks passed
- Kind
- AGENTS.md file
- Repository
- volcengine/openviking
- Path
frontend/AGENTS.md- Versions recorded
- 5
- Latest version
- git:20261105.2fc2f72, committed Nov 5, 2026
- First version recorded
- Nov 4, 2026
- Size
- 10,534 bytes
- Repository stars
- 41,589
- License
- AGPL-3.0
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Frontend Agent Guide 适用于 `frontend/**`。同时遵循仓库 [贡献约定](../CONTRIBUTING.md);开发命令与目录入口见 [README](./README.md),依赖和构建配置以实际文件为准。 ## 模块与依赖 - `frontend/` 是独立 npm workspace,维护自己的锁文件。Studio、产品文档和 SDK 在各自目录构建,通过公开入口消费共享资产。 - 业务模块以 `modules/` 组织,通过 Hook 调用共享 Client、处理数据与状态,再组合 `components/` 视图。Client 默认遵循 OpenViking 原生 API 契约;Provider 通过 Context 下发通用请求配置,模块与独立 Hook 可局部覆盖,非标准网关在宿主接入层适配。宿主可复用组合视图,也可单独使用模块 Hook 自行组装。模块和组件均可复用框架无关的函数、类型和设计资产;禁止反向依赖 Studio 路由、业务代码和全局状态。 - 按共同完成的交互流程划分业务模块,共享状态与跨组件联动在模块内维护,不按单个视图组件拆模块。模块 Hook 或宿主负责数据加载、分页与会话;宿主协调不同模块之间的联动。视图组件通过 props 接收数据和状态,通过事件回调表达操作意图。完整页面由宿主组装;认证、账号作用域、路由、权限执行及产品专属流程由宿主提供。 - 新增依赖、图标和资源必须能在公开环境安装与使用。内部 SDK、Starling、私有 IconBox、内部 CDN 和内部路径不进入公共库或示例。迁入已有代码时检查其授权及第三方许可证,沿用仓库既定许可证,变更许可证属于独立决策。 - React/ReactDOM 保持为 peer dependencies,并从库构建中 externalize;消费者使用自己的 React 实例。重型编辑器、媒体和浏览器专用依赖按需加载,模块导入和服务端渲染阶段应能在没有 `window`、`document` 的环境运行。 - 包导出、类型声明、CSS 和附属资源一起构成消费接口。新增 worker 或其他资源时,验证发布产物及消费端 URL,避免把某个构建工具的源码导入语法直接暴露给消费者。 ## 源码目录 - 按 [README 的目标目录](./README.md#target-layout) 放置资产。React 包发布名为 `@openviking/react`,Vue 落地后独立交付为 `@openviking/vue`。源码边界可以先在 workspace 内共享,通过子路径提供消费入口。有独立安装、依赖隔离或独立发布节奏的需求时再拆包。 …
Read the whole file at its exact version.
How to install
mdr add volcengine/openviking/frontend/AGENTS.md@sha256:9e205eb896c32549The line at the top of this page pins the label git:20261105.2fc2f72, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_fjpblhivlm2mtpxh)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 5 versions of this file, between Nov 4, 2026 and Nov 5, 2026, more than one a day.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261105.2fc2f72 latest | 2026-11-05 | 2fc2f72 | 10,534 B | A | view · diff |
| git:20261105.425b0d7 | 2026-11-05 | 425b0d7 | 10,045 B | A | view · diff |
| git:20261104.0b713a5 | 2026-11-04 | 0b713a5 | 10,045 B | A | view · diff |
| git:20261104.2ace1f2 | 2026-11-04 | 2ace1f2 | 9,330 B | A | view · diff |
| git:20261104.e6437c9 | 2026-11-04 | e6437c9 | 9,342 B | A | view |
Audit of the latest version
- pass: Size between 200 bytes and 200 KB (10534 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
volcengine/openviking · 41,589 stars · license AGPL-3.0 · pushed 2026-11-05 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_fjpblhivlm2mtpxh GET https://markdownregistry.com/api/v1/resolve?ref=volcengine/openviking/frontend/AGENTS.md GET https://markdownregistry.com/api/v1/blob/9e205eb896c32549c6a81f0d995aa30a289a42c9dc984a3b731cf3a71d063d16
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: how to write a good AGENTS.md · AGENTS.md vs CLAUDE.md · which agent file does what.
More from volcengine/openviking
Every file in volcengine/openviking