agent-setup-maintenance

โดย langfuse

ใช้ทักษะนี้เมื่อต้องการเปลี่ยนการตั้งค่าเอเจนต์ที่ใช้ร่วมกันสำหรับพื้นที่เก็บข้อมูล

npx skills add https://github.com/langfuse/langfuse --skill agent-setup-maintenance

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.

Skills เพิ่มเติมจาก langfuse

frontend-browser-review
langfuse
ใช้ทักษะนี้เมื่อการเปลี่ยนแปลงส่งผลต่อสิ่งที่ผู้ใช้เห็นหรือทำในเบราว์เซอร์
frontend-large-feature-architecture
langfuse
ใช้เมื่อสร้าง เปลี่ยนแปลง หรือปรับโครงสร้างฟีเจอร์ frontend ขนาดใหญ่ของ Langfuse, รายการแบบ virtualized, ตารางขนาดใหญ่, คอมโพเนนต์ตัวควบคุม, ฟีเจอร์เฉพาะที่…
skill-developer
langfuse
สร้างและจัดการทักษะ Claude Code ตามแนวทางปฏิบัติที่ดีที่สุดของ Anthropic ใช้เมื่อสร้างทักษะใหม่ แก้ไข skill-rules.json ทำความเข้าใจทริกเกอร์…
langfuse-prompt-migration
langfuse
โยกย้ายพรอมต์ที่ถูกเขียนตายตัวไปยัง Langfuse เพื่อการควบคุมเวอร์ชันและการปรับเปลี่ยนโดยไม่ต้องดีพลอย ใช้เมื่อผู้ใช้ต้องการทำให้พรอมต์เป็นภายนอก ย้ายพรอมต์ไปยัง Langfuse…
incident-alert-tickets
langfuse
Read and, after human approval, update the Linear `incident-alert` knowledge base. Use before and after investigating a named Datadog monitor,…
refactor-react-effects
langfuse
ปรับปรุงการใช้งาน React useEffect ที่ไม่จำเป็นในโค้ด frontend ของ Langfuse ใช้เมื่อเพิ่ม ตรวจสอบ หรือลบ effects; เริ่มต้นฟอร์มหรือ state ของ UI ในเครื่องจาก...
sentry-instrumentation
langfuse
Decide whether and how errors report to Sentry. Use when touching capture or error-handling paths in `web/**`, triaging Sentry noise, or changing Sentry…
posthog-instrumentation
langfuse
Product analytics with posthog. Use when adding a meaningful user action or feature in `web/**`, touching PostHog capture code, or answering product-usage…