Coding with AI
How Tools Like Cursor Are Changing the Developer's Workflow
https://slides.com/agesteira/coding-with-ai-cursor
-> The Chat
-> The Landscape
-> The IDE
-> The Workflow
-> The Review
/in/andres-gesteira-26a95813
Born in Madrid
Senior Frontend Architect @ Fever
NG Poland lover
Likes cinema, books, and food...
@GeorgeKaplan_G
So let us go through them quickly
Previously known as "Composer". It is a single set of context and requests, which could involve multiple returns to an LLM, potentially involving different LLMs or small Cursor models for context fetching, often constituting one sequential chat.
- name: Perform code review
env:
CURSOR_API_KEY: ${{ secrets.CURSOR_API_KEY }}
GH_TOKEN: ${{ github.token }}
run: |
cursor-agent --force --model "$MODEL" --output-format=text --print "You are operating
in a GitHub Actions runner performing automated code review. The gh CLI is available and
authenticated via GH_TOKEN. You may comment on pull requests.
Context:
- Repo: ${{ github.repository }}
- PR Number: ${{ github.event.pull_request.number }}
- PR Head SHA: ${{ github.event.pull_request.head.sha }}
- PR Base SHA: ${{ github.event.pull_request.base.sha }}
Objectives:
1) Re-check existing review comments and reply resolved when addressed
2) Review the current PR diff and flag only clear, high-severity issues
3) Leave very short inline comments (1-2 sentences) on changed lines only and a brief summary at the end
Procedure:
- Get existing comments: gh pr view --json comments
- Get diff: gh pr diff
- If a previously reported issue appears fixed by nearby changes, reply: ✅ This issue appears to be
resolved by the recent changes
- Avoid duplicates: skip if similar feedback already exists on or near the same lines
Commenting rules:
- Max 10 inline comments total; prioritize the most critical issues
- One issue per comment; place on the exact changed line
- Natural tone, specific and actionable; do not mention automated or high-confidence
- Use emojis: 🚨 Critical 🔒 Security ⚡ Performance ⚠️ Logic ✅ Resolved ✨ Improvement
Submission:
- Submit one review containing inline comments plus a concise summary
- Use only: gh pr review --comment
- Do not use: gh pr review --approve or --request-changes"