Skip to content

Conversation

@marcklingen
Copy link
Member

Adds agentic onboarding documentation and a prompt to guide AI assistants in migrating hardcoded prompts to Langfuse Prompt Management.

This feature provides a step-by-step guide and a detailed agent prompt, enabling AI coding assistants (like Cursor or Claude Code) to automate the discovery of hardcoded prompts, their creation in Langfuse via the MCP server, and the subsequent update of the codebase to fetch these prompts at runtime. This streamlines the adoption of Langfuse Prompt Management for improved iteration, versioning, and collaboration.


Linear Issue: LFE-7942

Open in Cursor Open in Web

@cursor
Copy link

cursor bot commented Dec 3, 2025

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@vercel
Copy link

vercel bot commented Dec 3, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
langfuse-docs Ready Ready Preview Comment Dec 3, 2025 2:27am

@github-actions
Copy link

github-actions bot commented Dec 3, 2025

📦 Next.js Bundle Analysis for langfuse-docs

This analysis was generated by the Next.js Bundle Analysis action. 🤖

One Page Changed Size

The following page changed size from the code in this PR compared to its base branch:

Page Size (compressed) First Load % of Budget (350 KB)
/docs/prompt-management/features/mcp-server 59.33 KB 463.83 KB 132.52% (🟡 +0.75%)
Details

Only the gzipped size is provided here based on an expert tip.

First Load is the size of the global bundle plus the bundle for the individual page. If a user were to show up to your website and land on a given page, the first load size represents the amount of javascript that user would need to download. If next/link is used, subsequent page loads would only need to download that page's bundle (the number in the "Size" column), since the global bundle has already been downloaded.

Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis

The "Budget %" column shows what percentage of your performance budget the First Load total takes up. For example, if your budget was 100kb, and a given page's first load size was 10kb, it would be 10% of your budget. You can also see how much this has increased or decreased compared to the base branch of your PR. If this percentage has increased by 20% or more, there will be a red status indicator applied, indicating that special attention should be given to this. If you see "+/- <0.01%" it means that there was a change in bundle size, but it is a trivial enough amount that it can be ignored.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants