AGENTS.md@frontend/packages/react/src/componentsA

AGENTS.md@frontend/packages/react/src/components from volcengine/openviking is an AGENTS.md file: the standing instructions coding agents read in that repo.

Install it, pinned
mdr add volcengine/openviking/frontend/packages/react/src/components/AGENTS.md@git:20261105.425b0d7

Pins git:20261105.425b0d7 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 14 of 14 checks passed
Kind
AGENTS.md file
Repository
volcengine/openviking
Path
frontend/packages/react/src/components/AGENTS.md
Versions recorded
4
Latest version
git:20261105.425b0d7, committed Nov 5, 2026
First version recorded
Nov 4, 2026
Size
2,251 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

# Components Agent Guide

适用于本目录及其子目录,同时遵循 [Frontend Agent Guide](../../../../AGENTS.md)。

## 视图层边界

- 本目录只承载可复用的 UI 展示与交互,当前包括目录树、文件预览、TUI、作用域选择与 Agent 接入视图。组件的归属由职责决定。
- 通过 props 接收渲染所需的数据及加载、空态、错误等状态,通过事件回调表达展开、搜索、保存、重试等用户意图。回调可以返回组件渲染所需的输入(例如编辑前取回的完整正文),但不得返回任一宿主接口的数据结构;组件不能依赖某个宿主既定的接口格式。上层执行数据操作后,业务状态仍以 props 传入。
- 不自行调用 fetch、Axios 或业务 SDK,不创建业务 WebSocket/SSE 连接,也不通过私有 Hook、工具或 Store 间接引入数据获取逻辑。请求参数、响应适配、分页请求、流式连接和取消由上层负责。
- 组件内可做格式化等展示计算,可维护折叠、焦点、输入草稿等实例内交互状态。业务数据处理、权限判断、账号作用域、持久化和请求缓存由上层负责;组件接收处理后的数据与可操作状态。
- 组件不依赖业务模块、应用路由或业务服务。上层 [modules](../modules/AGENTS.md) 或宿主通过 Hook 获取和处理数据,再组合这些组件;组件仍可由宿主直接使用。

## 新增与迁移

- 每个组件独占一个 kebab-case 目录,入口文件与目录同名;组件私有的子组件、Hook、类型和样式就近放置。
- 迁入代码时先拆出数据获取和业务编排,组件仅保留视图、交互和必要的公开接口。示例使用固定公开数据,由示例外层模拟状态更新;组件在没有后端连接时也应能独立展示和操作。
- 组件公开入口为 `components/<模块>`,样式入口为 `components/<模块>/style.css`,并纳入 `components/style.css` 和整包 `style.css`。单组件 CSS 必须可独立消费,JS 入口不隐式加载 CSS。不提供 `components` 聚合 JS 入口。
- 更新公开入口时同步维护包导出、Rslib 入口、声明路径及示例;验证要求沿用 Frontend Agent Guide。

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add volcengine/openviking/frontend/packages/react/src/components/AGENTS.md@sha256:cb6ca5b97789af15

The line at the top of this page pins the label git:20261105.425b0d7, 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.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_atujxlgprsukf3ft.svg)](https://markdownregistry.com/a/art_atujxlgprsukf3ft)

0 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 4 versions of this file, between Nov 4, 2026 and Nov 5, 2026, more than one a day.

versioncommittedcommitsizeaudit
git:20261105.425b0d7 latest2026-11-05 425b0d7 2,251 BA view · diff
git:20261104.0b713a52026-11-04 0b713a5 2,211 BA view · diff
git:20261104.2ace1f22026-11-04 2ace1f2 2,177 BA view · diff
git:20261104.e6437c92026-11-04 e6437c9 2,246 BA view

Audit of the latest version

A  14 of 14 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Size between 200 bytes and 200 KB (2251 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

GitHub

volcengine/openviking · 41,589 stars · license AGPL-3.0 · pushed 2026-11-05 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_atujxlgprsukf3ft
GET https://markdownregistry.com/api/v1/resolve?ref=volcengine/openviking/frontend/packages/react/src/components/AGENTS.md
GET https://markdownregistry.com/api/v1/blob/cb6ca5b97789af15cc82ae823fcae500cfbb074ffe1c8e5833753a6958b8d284

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

openviking-memory SKILL.md skill
volcengine/openviking · agent-plugins/skills/openviking-memory/SKILL.md · Recall and persist long-term memory through the OpenViking MCP tools. Use at the start of any substantive task (coding…
git:20261014.46e15a2 · audit A · 41,589 stars
openviking-skills SKILL.md skill
volcengine/openviking · agent-plugins/skills/openviking-skills/SKILL.md · Find, use, create, install, share, update, and migrate agent skills stored in OpenViking (viking://~/skills and…
git:20261102.88c72b9 · audit A · 41,589 stars
ov-experience-memory SKILL.md skill
volcengine/openviking · agent-plugins/skills/ov-experience-memory/SKILL.md · Retrieve and apply OpenViking Experience memories through the Agent runtime's generic OpenViking search and read tools…
git:20261001.0fabc5e · audit A · 41,589 stars
ov-kanban SKILL.md skill
volcengine/openviking · agent-plugins/skills/ov-kanban/SKILL.md · Work through tasks on a kanban board stored in OpenViking (viking://agent/kanban/<board>/, one markdown file per task)…
git:20260929.5b23459 · audit A · 41,589 stars
ov-memory-troubleshoot SKILL.md skill
volcengine/openviking · agent-plugins/skills/ov-memory-troubleshoot/SKILL.md · Diagnose OpenViking memory issues by tracing backward from a memory file to its archive memory_diff.json and, when…
git:20260910.e03ce0a · audit A · 41,589 stars
ov-resources SKILL.md skill
volcengine/openviking · agent-plugins/skills/ov-resources/SKILL.md · Search and read documents, repos, URLs, and other resources stored in OpenViking under viking://resources/. Use…
git:20261102.88c72b9 · audit A · 41,589 stars
experience_loader SKILL.md skill
volcengine/openviking · benchmark/tau2/train/experience_loader_template/SKILL.md · Load relevant OpenViking experience memories via case-linked experience candidates before solving a task.
git:20260703.fd73dcf · audit A · 41,589 stars
cron SKILL.md skill
volcengine/openviking · bot/workspace/skills/cron/SKILL.md · Schedule reminders and recurring tasks.
git:20260228.006a06f · audit A · 41,589 stars
github-proxy SKILL.md skill
volcengine/openviking · bot/workspace/skills/github-proxy/SKILL.md · GitHub 国内访问加速 skill,使用 githubproxy.cc 代理加速 GitHub 仓库克隆、文件下载、Raw 文件访问等操作。使用场景:(1) 需要 git clone GitHub 仓库时加速,(2) 下载…
git:20260228.006a06f · audit A · 41,589 stars
github SKILL.md skill
volcengine/openviking · bot/workspace/skills/github/SKILL.md · Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and…
git:20260228.006a06f · audit A · 41,589 stars
opencode SKILL.md skill
volcengine/openviking · bot/workspace/skills/opencode/SKILL.md · Monitor and manage your OpenCode tasks using helper scripts.
git:20260309.c4cdb5f · audit A · 41,589 stars
skill-creator SKILL.md skill
volcengine/openviking · bot/workspace/skills/skill-creator/SKILL.md · Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
git:20260228.006a06f · audit A · 41,589 stars

Every file in volcengine/openviking

Browse by kind, by grade A, or by owner.