agent-setup-maintenance
作者: langfuse
當需要變更儲存庫的共享代理設定時,使用此技能。
npx skills add https://github.com/langfuse/langfuse --skill agent-setup-maintenanceAgent 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.
來自 langfuse 的更多技能
add-model-price
langfuse
在編輯 worker/src/constants/default-model-prices.json、packages/shared/src/server/llm/types.ts、定價層級、tokenizer ID 或 matchPattern 正則表達式時使用…
official
backend-dev-guidelines
langfuse
Langfuse 的 Next.js、tRPC、BullMQ 與 TypeScript 單一儲存庫的共用後端指南。適用於建立或審查 tRPC 路由器、公開 REST 端點、BullMQ…
official
changelog-writing
langfuse
當一個功能分支完成且需要撰寫變更日誌條目時,請使用此技能。
official
clickhouse-best-practices
langfuse
在審查 ClickHouse 的 schema、查詢或配置時必須使用。包含 28 條規則,在提供建議前必須檢查。務必閱讀…
official
code-review
langfuse
當任務是審查程式碼變更而非實作功能時,使用此技能。
official
frontend-browser-review
langfuse
當變更影響使用者在瀏覽器中看到或進行的操作時,使用此技能。
official
skill-developer
langfuse
遵循Anthropic最佳實踐來建立和管理Claude Code技能。在建立新技能、修改skill-rules.json、理解觸發器時使用…
official
turborepo
langfuse
JavaScript/TypeScript 單一程式碼庫的建置系統。Turborepo 會快取任務輸出,並根據依賴圖平行執行任務。
official