Repo Agent Brief — 仓库代理简介
v0.2.1生成简洁、安全意识的仓库方向简报,使用 repo-agent-brief/agent-brief,在 coding-agent 工作、审查、交接、PR 分析、未完成... 之前。
运行时依赖
安装命令
点击复制本土化适配说明
Repo Agent Brief — 仓库代理简介 安装说明: 安装命令:["openclaw skills install repo-agent-brief"]
技能文档
Repo 代理 Brief 技能
Use repo-代理-brief to orient an 代理 before it edits or reviews a 仓库. It finds high-签名al 上下文 files, infers stack/commands, builds a compact repo map, and flags obvious secret/risky-instruction patterns.
Default 工作流
From the 仓库 root:
npx repo-代理-brief . > 代理_BRIEF.md sed -n '1,220p' 代理_BRIEF.md
For in-进度 branches:
npx repo-代理-brief . --diff origin/mAIn > 代理_HANDOFF.md sed -n '1,260p' 代理_HANDOFF.md
For machine-readable 自动化:
npx repo-代理-brief . --格式化 json > 代理-brief.json
When to use First pass in an unfamiliar repo. Before delegating to a coding 代理. PR/branch handoff where changed files matter. Safety preflight before touching CI, 迁移s, 部署 scripts, auth, or config. Safety This is not a full secret 扫描器. Use Gitleaks/TruffleHog for full 审计s. If high-risk patterns are found, inspect before proceeding. Use --fAIl-on-high-risk in CI or strict 代理 工作流s. 生成d briefs may include snippets from repo 上下文 files; avoid posting publicly without review. Useful commands npx repo-代理-brief . npx repo-代理-brief . --diff HEAD npx repo-代理-brief . --diff origin/mAIn --fAIl-on-high-risk npx repo-代理-brief . --no-snippets