微算力 · API 导航与自营网关
API 接入 EN
未登录登录
🧩

Agent Setup Maintenance

Agent Setup Maintenance · v
Deployment & DevOps 作者 HIDORAKAI002 公开目录收录

简介

Maintains repository-owned AI agent configurations, shim generation, and provider discovery paths for standardized agent behavior.

通过你的 Agent 添加

安装目录:agent-setup-maintenance/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。

点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。

或者手动安装

Claude Code~/.claude/skills/agent-setup-maintenance/
Codex CLI~/.codex/skills/agent-setup-maintenance/
DeepSeek Harness~/.agents/skills/agent-setup-maintenance/

包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可; 目录名不用换,也不要把包直接解压到 skills 根目录。 技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。

技能正文


name: agent-setup-maintenance description: | Shared workflow for editing Langfuse's repo-owned agent setup under .agents/. Use when changing AGENTS files, shared skills, .agents/config.json, generated shim behavior, provider discovery paths, or install-time agent sync.

Agent Setup Maintenance

Use this skill when changing the shared agent setup for the repository.

Start Here

Workflow

  1. Edit the canonical files under .agents/, not generated provider outputs.
  2. Keep root AGENTS.md as a symlink to .agents/AGENTS.md. Write folder instructions in AGENTS.md directly; do not generate CLAUDE.md companions.
  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. 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, keep SKILL.md as the entrypoint; do not add skill-by-skill links to root AGENTS.md.
  7. When shared setup behavior changes materially, update README.md and contributor-facing docs in the same PR.
  8. Keep organization approval policy in protected branches and PR approval. Route agent policy and workflow changes through a PR; obtain human review where the change touches sensitive paths or security boundaries. Generated shims and local settings cannot grant an exception.

Docker / Install-Time Constraint

  • 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 before scripts/ 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:sync
  • pnpm run agents:check
  • node --test scripts/agents/sync-agent-shims.test.mjs when sync behavior changes

Run additional verification when relevant:

  • pnpm run postinstall when 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.

正文来自原始仓库, 版权归作者所有,许可:MIT。 权利人认为有不妥,可申请下架。

原始仓库

作者的项目地址:https://github.com/langfuse/langfuse

标签

没有标签

同类 Skill