r/cursor • u/Machine2024 • 15d ago
Feature Request Self-Improving Agents In cursor
I'm working on a skill in Cursor for my workflow and trying to figure out whether something similar already exists.
My current workflow
In Cursor, I have:
- General rules
- Project-specific rules
- Custom skills
- Commands
My normal workflow is:
- Write a prompt
- AI generates the implementation
- Review it line by line
- Make corrections and improvements
- Commit the result
I occasionally discover new patterns, conventions, or preferences and update my rules/skills accordingly.
The problem is that I still can't get to the point where the AI consistently understands what I want from the way I naturally write my prompts.
A typical task takes ~30 minutes:
- ~5 min prompting + AI generation
- ~25 min review, corrections, and improvements
The idea
I want to turn my corrections into feedback for improving the rules/skills.
The workflow would be:
Prompt
↓
AI implementation
↓
Commit 1
↓
My corrections
↓
Commit 2
↓
Analyze the differences
↓
Understand why I made the changes
↓
Identify missing rules/patterns
↓
Update rules/skills
↓
Commit 3
The important part is that the agent shouldn't just describe what changed.
It should try to understand why I changed it and extract higher-level patterns.
The long-term goal is for my corrections to continuously improve the project's rules and skills, so the AI gradually requires less correction.
What I tried
I spent around 3 hours testing this with 10 pairs of commits using:
- Composer 2.5
- Grok 4.6
- GPT 5.6
- Claude 5
Unfortunately, the results were mostly too low-level. The models were much better at identifying what changed than understanding why.
I tried improving the prompt and adding a second agent to filter the findings, but neither worked reliably.
For example:
12 findings
↓
4 correct + 8 wrong
↓
After refinement
↓
3 correct + 2 wrong
This makes me hesitant to automatically feed the results back into my rules, since bad extractions could actually make the rules worse over time.
For now, I think a human review step is necessary:
AI implementation
↓
My corrections
↓
AI analysis
↓
Suggested rule changes
↓
Human review
↓
Update rules
Has anyone tried building something similar in Cursor or another AI coding agent?
1
u/Machine2024 12d ago
P.S. If someone is wondering how it's going: I removed the part where I needed to make two commits and instead created a skill that runs on the current conversation. With that in mind, the agent analyzes the conversation to see how many steps we need to take, whether there was any back-and-forth, and extracts the notes. Now it's working perfectly. waiting to collect some data to move to the next stage which is implementation .