GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   AI coding project instructions (https://gfy.com/showthread.php?t=1383213)

Mr Pheer 04-06-2025 11:18 AM

AI coding project instructions
 
I've been coding projects with AI for some time now and have had some pretty significant setbacks due to a coding agent losing sight of the goal and adding or taking away project features for no apparent reason as the project grows in size and complexity.

Sometimes I add a new feature and it removes a previous one. Why? Who fucking knows. Sometimes I fix something then move on and fix something else, and then it breaks the previous thing we just fixed again. Aggravating, to say the least.

A few days ago, Claude Sonnet (inside Cursor) started talking to itself about my project and went on for 15 minutes just adding random shit like logging and stats and creating a database and a bunch of stuff I didn't ask for, didn't want, and didn't need.

So, I wrote a clear set of instructions to stop the scope creep (losing sight of the goal) and the removal of things and breaking of others. It's helped me out lot, more than i expected so I'm sharing it here. You can add the instructions to the beginning of your project overview, so that when coding inside of cursor, the AI is much less likely to leave the reservation and start causing havoc and wasted time. it helps me, maybe it helps you.

## DEVELOPMENT GUIDELINES - READ FIRST

### Strict Development Approach

1. **Strict Adherence to Requirements**
- Implement ONLY what is explicitly requested
- Do not add unrequested features or remove existing ones
- Always confirm before making significant changes

2. **Documentation-First Approach**
- Document current working state before making changes
- Create clear reference points that can be used if needed
- Maintain accurate documentation of implemented features

3. **Incremental Changes with Verification**
- Make small, testable changes rather than large rewrites
- Verify each change works before proceeding
- Include explicit verification steps for each change

4. **Version Control Checkpoints**
- Create clear save points before significant changes
- Use proper branching and versioning practices
- Enable easy reversion if changes cause issues

5. **Clear Communication About Tradeoffs**
- Explain potential issues rather than making unilateral decisions
- Present options with pros and cons instead of choosing autonomously
- Seek explicit approval before implementing solutions with tradeoffs

6. **Preserve Working Functionality**
- When a feature is fixed, it must remain fixed
- New features must never break existing functionality
- Each time a change is made, verify that previously fixed issues have not been reintroduced
- Run regression tests on previously fixed components after implementing new features

7. **Anticipate Consequences**
- Before implementing any change, think through all potential impacts on other system components
- Identify dependencies between components and how changes might affect them
- Consider edge cases and failure modes before implementation
- Develop mitigation strategies for potential negative impacts

8. **Testing Protocol**
- After implementing any change, test not just the new feature but all related functionality
- Maintain a checklist of previously fixed issues to verify after each change
- Use both automated tests and manual verification when appropriate
- Document testing results in a consistent format



This shit should be like common sense for a coding agent, but it clearly is not. If you've spent any time coding with AI then you know what i'm talking about.

machinegunkelly 04-06-2025 11:38 AM

https://cursor.directory/rules :thumbsup

Mr Pheer 04-06-2025 11:41 AM

Quote:

Originally Posted by machinegunkelly (Post 23362536)

Well damn, i could have used that weeks ago. Ok thanks :1orglaugh

machinegunkelly 04-06-2025 12:02 PM

Its still gonna go rogue, but it helps

machinegunkelly 04-06-2025 12:10 PM

If ya wanna have some fun.

Install 'roo' extension in cursor.

then set up API provider for OpenRouter.

Then set model to
https://openrouter.ai/openrouter/quasar-alpha

( its a cloaked next gen, so possibly claude 4, GPT 5 etc )

You can then get one agent coding, and another double checking its work... fuckin bonkers.

bannasource 04-06-2025 12:19 PM

Good guide, I was expecting something on building a RAG for adult content. If you are working on AI content would love to learn some how to setup guides.

Mr Pheer 04-06-2025 12:31 PM

Quote:

Originally Posted by machinegunkelly (Post 23362545)
If ya wanna have some fun.

Install 'roo' extension in cursor.

then set up API provider for OpenRouter.

Then set model to
https://openrouter.ai/openrouter/quasar-alpha

( its a cloaked next gen, so possibly claude 4, GPT 5 etc )

You can then get one agent coding, and another double checking its work... fuckin bonkers.

Awesome tip right there, thanks

machinegunkelly 04-06-2025 12:36 PM

Quote:

Originally Posted by Mr Pheer (Post 23362549)
Awesome tip right there, thanks

Yea, the muppets on Youtube have been comparing roo vs cursor, not realizing that Cursor is a fork of VSCode so you can install any extension.

This gets pretty crazy...

Report back when your minds been blown :1orglaugh:1orglaugh


this also dropped yesterday... apparently really good, tho I have not tried it
https://openrouter.ai/meta-llama/llama-4-maverick:free

Huggles 04-06-2025 03:20 PM

https://i.ibb.co/sp5nzMJZ/financiallyrecover.png

I switched back to the non-MAX version after using it to solve a big issue I had with my automation, but now using the less powerful tool you can totally tell it makes waaaaaay more mistakes and doesn't stay on-focus nearly as much!

The MAX versions are awesome, until it keeps calling tool after tool after tool and you're feeding that slot machine .05 at a time!

blackmonsters 04-06-2025 06:43 PM

Wow, who knew this could happen?

:2 cents:

Huggles 04-06-2025 07:28 PM

An anti-"flailing" plugin would be nice for when you're on the MAX $0.05 mode and the Agent starts throwing everything it has at an issue and loads up a bunch of tool calls when another AI could probably cancel it and re-explain what to do and not to try and call tools over and over and over when it costs 5 cents per call!

I bet people are getting nailed, BIGLY, by that.

ANAL PASTE 04-07-2025 03:23 PM

AI is there to help you code, not code for you. You can't read simple Visio flowchart but think some AI can just "code my work for me so I don't have to work"? :1orglaugh:1orglaugh:1orglaugh


All times are GMT -7. The time now is 06:33 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc