langfuse-codebase-navigator
GitHubLangfuse 代码库导航技能,用于定位仓库、代码区域及特定 Agent Skill。提供组织级路由决策,辅助实现、调试、文档编写及运维前的代码探索与上下文准备。
Trigger Scenarios
Install
npx skills add langfuse/langfuse --skill langfuse-codebase-navigator -g -y
SKILL.md
Frontmatter
{
"name": "langfuse-codebase-navigator",
"description": "Navigate Langfuse repositories, code areas, and agent skills. Use to locate code, choose the right repo or skill, search across the Langfuse organization, or orient before implementation, debugging, documentation, support, or operations."
}
Langfuse Codebase Navigator
Use this as the first stop for Langfuse org navigation. Your job is to choose the right repository, code area, and more specific skill before doing deeper work.
Default Workflow
- Classify the request by domain:
- Product app, API, backend, ingestion, worker, ClickHouse, model pricing, evals, prompts, datasets, scores, traces:
langfuse/langfuse. - Documentation, changelog, blog, marketing pages, cookbook, integrations docs:
langfuse/langfuse-docs. - SDK or client library behavior:
langfuse/langfuse-js,langfuse/langfuse-python,langfuse/langfuse-java, or generated clients inlangfuse/langfuse. - Deployment or self-hosting:
langfuse/langfuse-k8s,langfuse/langfuse-terraform-*,langfuse/oss-llmops-stack, and docs self-hosting content. - Langfuse Cloud infrastructure and ops:
langfuse/infrastructure,langfuse/analytics,langfuse/langfuse-ops, orlangfuse/platform. - Agent skills:
langfuse/skills,langfuse/langfuse-internal-skills, repo-local.agents/skills, or repo-local.claude/skills. - GitHub Actions, CLI, MCP, n8n, examples, or experiments: route to the specialized repo in
references/repository-map.md.
- Product app, API, backend, ingestion, worker, ClickHouse, model pricing, evals, prompts, datasets, scores, traces:
- Read references/repository-map.md when the route is not obvious, the task spans repos, or the user asks for org-level orientation.
- Before editing, check for a more specific skill in the target repo or a sibling internal-skills checkout. If one matches, open it and follow it.
- Search locally first in sibling repos next to the current checkout. If a needed repo is absent, clone it into the same parent directory with
gh repo clone langfuse/<repo> "$LANGFUSE_PARENT/<repo>". - Return or act on a route decision with: target repo(s), relevant folders/files, specific skills to load, and the next search command or implementation step.
Quick Skill Routing
- Product implementation in
langfuse/langfuse: choose the matching repo-local skill under.agents/skills, such asbackend-dev-guidelines,frontend-browser-review,clickhouse-best-practices,add-model-price,turborepo,pnpm-upgrade-package,code-review, or production-debug skills as applicable. - Cursor Cloud or Cursor desktop agents implementing a Linear issue, opening a PR, applying the
cursorGitHub label, asking a human to test, or handling Claude, Greptile, or Codex review comments: usecursor-agents-workflow. - A change too large for one reviewable PR: split it into small stacked PRs rather than one wide PR.
- "What should I do today", or preparing a weekly project update: use
linear-work-rhythm. - Reconstructing why a surface is the way it is before changing it, or proposing the reasoning behind finished work onto its Linear ticket: use
linear-context-handover. - Before any agent write to Linear — a comment, a description edit, a ticket: use
linear-agent-writes, the write policy (propose updates; mark every write). Ordinary writes stay a title and a few sentences. Subtickets under an existing parent are free. - Frontend work under
langfuse/langfuse/web: also checkweb/.agents/skills/vercel-react-best-practicesandweb/.agents/skills/vercel-composition-patterns. - Infrastructure autoscaling or cloud capacity: use
infra-scaling. - Public Langfuse usage, docs lookup, API access, instrumentation, prompt migration, SDK upgrade, trace analysis, or CLI work: use the public
langfuseskill fromlangfuse/skills. - Support, support review, PR funnel, social copy, meeting notes, Plain search, blog writing, or unslop work: use the matching skill from
langfuse/langfuse-internal-skillswhen available.
Search Patterns
Use rg and file lists before broad reading.
# Resolve the parent directory that holds sibling Langfuse repos
LANGFUSE_REPO_ROOT="$(git rev-parse --show-toplevel)"
LANGFUSE_PARENT="$(dirname "$LANGFUSE_REPO_ROOT")"
# Find local Langfuse checkouts next to this repo
find "$LANGFUSE_PARENT" -mindepth 2 -maxdepth 2 -type d -name .git -print | sed 's#/.git$##'
# Search one repo
cd "$LANGFUSE_PARENT/langfuse"
rg --files -g '!node_modules' -g '!.git' | rg 'prompts|datasets|scores|traces'
rg -n "symbolOrRouteName" web/src packages/shared/src worker/src
# Refresh org repo inventory when freshness matters
gh repo list langfuse --limit 1000 --json name,description,isPrivate,isArchived,isFork,primaryLanguage,pushedAt,updatedAt,url
For cross-repo code search, prefer local clones if present. Fall back to GitHub search only for repos that are absent locally or when you need to confirm the current default branch.
Routing Output
When the user asks "where is this?" or "which skill/repo should I use?", answer in this shape:
Route: repo(s) and why.Open first: exact skill path or code folder.Search next: one or two concretergorghcommands.Caveat: only include this if the route depends on sparse private-repo metadata or a recently changing repo list.
If multiple routes are plausible and acting in the wrong repo would be risky, ask one concise clarifying question. Otherwise choose the most likely route and keep moving.
Version History
-
5b59af4
Current 2026-09-23 09:06
更新 Linear 工单写入策略,要求先提案再修改;移除重型 Onboarding、PR 栈和线性规划技能;删除身份概念及相关脚本;禁止打印 Linear API 密钥。
- f7e3c26 2026-08-20 17:47


