Agent Skills
› langfuse/langfuse
› agent-setup-maintenance
agent-setup-maintenance
GitHub维护仓库级 Agent 共享配置、技能及安装同步逻辑,确保多工具兼容与构建稳定性。
Trigger Scenarios
修改 .agents/ 下的共享 Agent 配置文件
新增或编辑共享 Skill
变更安装时同步行为或 shim 生成逻辑
Install
npx skills add langfuse/langfuse --skill agent-setup-maintenance -g -y
SKILL.md
Frontmatter
{
"name": "agent-setup-maintenance",
"description": "Shared workflow for editing Langfuse's repo-owned agent setup under `.agents\/`.\nUse when changing AGENTS files, shared skills, `.agents\/config.json`,\ngenerated 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
- 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. 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, keep
SKILL.mdas the entrypoint; do not add skill-by-skill links to rootAGENTS.md. - 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.
Version History
- f7e3c26 Current 2026-08-20 17:46


