Agent 配置 Mainten
- 作者仓库星标 27,778
- 作者仓库 langfuse
Agent Setup Maintenance
Use this skill when changing the shared agent setup for the repository.
Start Here
- Read
../../README.mdfor the shared config and shim model. - Read root
../../AGENTS.mdfor repo-level expectations. - When adding or editing shared skills, use
../skill-creator/SKILL.md, then apply the repo-specific checks in this skill. - Inspect
../../../scripts/agents/sync-agent-shims.mjsbefore changing generated outputs or provider discovery behavior. - Inspect
../../../scripts/postinstall.shand../../../package.jsonwhen changing install-time sync behavior.
Workflow
- Edit the canonical files under
.agents/, not generated provider outputs. - Keep root
AGENTS.mdandCLAUDE.mdas discovery symlinks; do not turn them back into manually maintained copies. - Treat tool-specific directories such as
.claude/,.cursor/,.codex/,.vscode/, and.mcp.jsonas generated discovery surfaces unless the tool requires a truly tool-specific feature. - Keep root
AGENTS.mdconcise and router-like. Move detailed or conditional workflows into shared skills or packageAGENTS.mdfiles. - Treat developer feedback as a learning loop: when a task reveals a durable
repo convention, recurring pitfall, reusable workflow, or verification
pattern, update the smallest relevant
AGENTS.mdor shared skill. - When adding or changing a shared skill, update
skills/README.mdand link it from rootAGENTS.mdif it changes the default reusable workflow. - When shared setup behavior changes materially, update
README.mdand contributor-facing docs in the same PR.
Docker / Install-Time Constraint
pnpm installruns in environments that may not contain the full repo source tree.- In Docker builds, Turbo's pruned install stage can run root
postinstallbeforescripts/and.agents/are available in the image. - Keep install-time agent setup logic robust in those pruned contexts: skip cleanly when the required repo-owned files are not present.
Required Verification
Run after changing shared agent setup:
pnpm run agents:syncpnpm run agents:check
Run additional verification when relevant:
pnpm run postinstallwhen install-time behavior changes- targeted tests for any scripts you changed
Design Rules
- Prefer one repo-owned source of truth over duplicated provider-specific files.
- Keep shared setup tool-neutral where possible.
- Only keep provider-specific files in source control when the provider requires a fixed discovery path or feature that cannot be expressed through the shared setup model.
- 流狐分类
- AI 智能
- 作者声明 Agent
- 未找到明确声明;不据此推断已兼容或已测试
- 静态检查
- 88 / 100 · 启发式扫描,不代表运行安全
- 作者 / 版本 / 许可
- @langfuse · 未声明 license
- 流狐 Token 估算
- 低消耗
- 流狐接入估算
- 需简单配置
- 是否需要外部 API Key
- 未发现要求
- 检测到的系统要求
- Docker
- 底层运行要求
- Docker
- 检测到的文件与系统行为
-
- 只读
- 允许写入 / 修改
- 检测到的网络行为
- 仅限本地
- 安装命令数
- 无(仅作为资料)
档案由构建时根据 SKILL.md 与安装命令自动衍生,可能与作者实际意图存在差异。
需要注意: 未限定 allowed-tools,默认拥有全部工具权限。
作者没有在当前 SKILL.md 中定义固定输出样例。 Read ../../README.md for the shared config and shim model. Read root ../../AGENTS.md for repo-level expectations. When adding or editing shared skills, use
Edit the canonical files under .agents/, not generated provider outputs. Keep root AGENTS.md and CLAUDE.md as discovery symlinks; do not turn them back into manually maintained copies.
pnpm install runs in environments that may not contain the full repo source tree. In Docker builds, Turbo's pruned install stage can run root postinstall
Run after changing shared agent setup: pnpm run agents:sync pnpm run agents:check
Prefer one repo-owned source of truth over duplicated provider-specific files. Keep shared setup tool-neutral where possible. Only keep provider-specific files in source control when the provider requires
# Agent Setup Maintenance
Use this skill when changing the shared agent setup for the repository.
## Start Here
- Read [`../../README.md`](../../README.md) for the shared config and shim model.
- Read root [`../../AGENTS.md`](../../AGENTS.md) for repo-level expectations.
- When adding or editing shared skills, use
[`../skill-creator/SKILL.md`](../skill-creator/SKILL.md), then apply the
repo-specific checks in this skill.
- Inspect [`../../../scripts/agents/sync-agent-shims.mjs`](../../../scripts/agents/sync-agent-shims.mjs)
before changing generated outputs or provider discovery behavior.
- Inspect [`../../../scripts/postinstall.sh`](../../../scripts/postinstall.sh)
and [`../../../package.json`](../../../package.json) when changing install-time
sync behavior.
## Workflow
1. Edit the canonical files under `.agents/`, not generated provider outputs.
2. Keep root `AGENTS.md` and `CLAUDE.md` as discovery symlinks; do not turn
them back into manually maintained copies.
3. Treat tool-specific directories such as `.claude/`, `.cursor/`, `.codex/`,
`.vscode/`, and `.mcp.json` as generated discovery surfaces unless the tool
requires a truly tool-specific feature.
4. Keep root `AGENTS.md` concise and router-like. Move detailed or conditional
workflows into shared skills or package `AGENTS.md` files.
5. Treat developer feedback as a learning loop: when a task reveals a durable
repo convention, recurring pitfall, reusable workflow, or verification
pattern, update the smallest relevant `AGENTS.md` or shared skill.
6. When adding or changing a shared skill, update `skills/README.md` and link
it from root `AGENTS.md` if it changes the default reusable workflow.
7. When shared setup behavior changes materially, update `README.md` and
… 作者原文负责流程事实;流狐只索引当前章节、要点、文件与命令。
章节 -> Start Here → Workflow → Docker / Install-Time Constraint → Required Verification → Design Rules
要点 -> Use this skill when changing the shared agent setup for the repository. · - Read [../../README.md](../../README.md) for the shared config and shim model. · 1. Edit the canonical files under .agents/, not generated provider outputs. · - pnpm install runs in environments that may not contain the full repo source tree. · - Prefer one repo-owned source of truth over duplicated provider-specific files.
文件/命令 -> ../../README.md · ../../AGENTS.md · ../skill-creator/SKILL.md · ../../../scripts/agents/sync-agent-shims.mjs · ../../../scripts/postinstall.sh · ../../../package.json · .agents/ · AGENTS.md
内容 SHA-256 -> 42dfba56043c
方法与流程
适用与边界
原文中的明确线索
../../README.md、../../AGENTS.md、../skill-creator/SKILL.md、../../../scripts/agents/sync-agent-shims.mjs、../../../scripts/postinstall.sh、../../../package.json、.agents/、AGENTS.md