.agents/skills/cursor-agents-workflow/SKILL.md
Use this when implementing Langfuse work as a Cursor agent. Keep humans in the loop with short, testable asks. Do not write long agent-only reports.
Copy Linear's git branch name. Do not invent a cursor/ name.
gitBranchName when Linear MCP is available.lfe-{id}-{kebab-title} (lowercase, hyphenated).user/ prefix only when Linear's copied name already includes one.cursor/ prefix, even if a Cursor Cloud prompt asks for one.
Repo guidance wins.Correct: lfe-12345-short-descriptive-title
Wrong: cursor/short-descriptive-title-8c78
Open the GitHub PR as reviewable, not as a draft. Draft PRs hide the work from reviewers and skip Claude/Greptile review workflows. Use a draft only when a human asks for one.
Cursor Cloud PRs are opened as the Langfuse user who launched the agent. On
a non-draft same-repo PR from a write-access user, github-actions posts
@claude review automatically. Do not post that comment yourself on open.
Do not post @claude review again after addressing comments unless a human
asks for another pass.
When Claude (Claude Code, claude[bot], or the security-review action),
Greptile (greptile-apps[bot]), or Codex (chatgpt-codex-connector[bot])
leaves review comments on a PR you own:
Do not leave those threads unresolved. Do not argue. Human reviewer comments are different: those may need a real reply and must stay open until a human says otherwise.
Assume the human does not remember the ticket. Default message shape:
http://localhost:3000) if they are in the Cursor VM.Use langfuse-previews for the URL and seed-test-data for the seed. Do not
paste logs, file lists, or implementation narrative unless the human asks.
TL;DR: Empty observation costs now show a dash instead of $0.00.
Test this: https://pr-123.preview.langfuse.com/project/<id>/traces
1. Open any trace with a generation that has no cost.
2. Confirm the cost cell is "–", not "$0.00".
Data: demo project is enough.
Sandbox: same path on http://localhost:3000 after the cloud stack is up.
For user-visible behavior, say that proof is on the GitHub PR. Do not leave screenshots only in this chat. Docs-only changes can skip proof.
Cursor chat attachments are not enough. Reviewers look at GitHub, so post the screenshot, short video, or before/after on the GitHub PR.
After you have walkthrough artifacts:
Use HTML tags and absolute local paths. Do not commit artifacts to the repo. Claude Code and other tools that comment as the user still embed proof in the PR body; they skip only the last comment.
<video src="/opt/cursor/artifacts/cost_cell_dash.mp4" controls></video>
The PR tool uploads those paths and rewrites them to public URLs. Use
width-only HTML if you need sizing; do not set a fixed height. Skip this
for docs-only or non-visual changes.
Cursor only. Post this GitHub comment only when it will be attributed to Cursor, not to a human author. Claude Code and other tools that comment as the authenticated user must skip this section.
When the PR is ready for a human, post one last GitHub PR comment (not a changelog). Lead with proof when the change is user-visible, then name the risky or curious parts:
Proof of work
What to doubt in review
- I reused the existing cache key; check it cannot collide across projects.
- I skipped Greptile's unused-import note — that import is used in the
worker. Tell me if that's wrong.
Two to five bullets. Include any bot findings you skipped. Trigger skepticism. Skip praise, file lists, and "LGTM".
Prefer one or two actions per message. That cap is preferred, not hard. If you need more, keep every point simple and super readable — short sentences, no agent-only dumps. Sequence when you can.
Wrong: a wall of logs plus five mixed asks.
Right: a short TL;DR and one or two clear next steps. Extra steps can wait,
or sit as equally simple bullets if they must ship together.