Agent Skills › langfuse/langfuse › agent-setup-maintenance

agent-setup-maintenance

GitHub

管理仓库级 Agent 共享配置与技能,规范 .agents/ 目录下的 AGENTS.md、SKILL.md 及同步脚本的维护流程。

.agents/skills/agent-setup-maintenance/SKILL.md langfuse/langfuse

Trigger Scenarios

修改 Agent 共享配置或技能 调整安装时同步行为

Install

npx skills add langfuse/langfuse --skill agent-setup-maintenance -g -y
More Options

Non-standard path

npx skills add https://github.com/langfuse/langfuse/tree/main/.agents/skills/agent-setup-maintenance -g -y

Use without installing

npx skills use langfuse/langfuse@agent-setup-maintenance

指定 Agent (Claude Code)

npx skills add langfuse/langfuse --skill agent-setup-maintenance -a claude-code -g -y

安装 repo 全部 skill

npx skills add langfuse/langfuse --all -g -y

预览 repo 内 skill

npx skills add langfuse/langfuse --list

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

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.

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.

Version History

  • 5b59af4 Current 2026-09-23 09:05

    移除兼容性别名及生成器,直接使用 AGENTS.md 作为文件夹指令入口,并升级 Agent 运行时版本以支持该变更。

  • f7e3c26 2026-08-20 17:46

Same Skill Collection

.agents/skills/add-model-price/SKILL.md
.agents/skills/analyze-cloud-costs/SKILL.md
.agents/skills/backend-dev-guidelines/SKILL.md
.agents/skills/changelog-writing/SKILL.md
.agents/skills/clickhouse-best-practices/SKILL.md
.agents/skills/code-review/SKILL.md
.agents/skills/create-repo-agent/SKILL.md
.agents/skills/cursor-agents-workflow/SKILL.md
.agents/skills/datadog-query-recipes/SKILL.md
.agents/skills/debug-issue-with-datadog/SKILL.md
.agents/skills/frontend-browser-review/SKILL.md
.agents/skills/frontend-large-feature-architecture/SKILL.md
.agents/skills/git-workflow/SKILL.md
.agents/skills/grill-me/SKILL.md
.agents/skills/housekeeping/SKILL.md
.agents/skills/incident-alert-tickets/SKILL.md
.agents/skills/infra-scaling/SKILL.md
.agents/skills/langfuse-codebase-navigator/SKILL.md
.agents/skills/langfuse-previews/SKILL.md
.agents/skills/linear-agent-writes/SKILL.md
.agents/skills/linear-bug-triage/SKILL.md
.agents/skills/linear-context-handover/SKILL.md
.agents/skills/pnpm-upgrade-package/SKILL.md
.agents/skills/posthog-instrumentation/SKILL.md
.agents/skills/react-component-cleaner/SKILL.md
.agents/skills/react-component-guidelines/SKILL.md
.agents/skills/refactor-react-effects/SKILL.md
.agents/skills/security-review/SKILL.md
.agents/skills/seed-test-data/SKILL.md
.agents/skills/sentry-instrumentation/SKILL.md
.agents/skills/skill-creator/SKILL.md
.agents/skills/turborepo/SKILL.md
.agents/skills/weekly-production-review/SKILL.md
web/.agents/skills/vercel-composition-patterns/SKILL.md
web/.agents/skills/vercel-react-best-practices/SKILL.md
.agents/skills/linear-work-rhythm/SKILL.md
.agents/skills/storybook/SKILL.md

Metadata

Files
0
Version
5b59af4
Hash
59cd2f47
Indexed
2026-08-20 17:46

Home - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-25 22:09
浙ICP备14020137号-1