Activity
Mon
Wed
Fri
Sun
Oct
Nov
Dec
Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
What is this?
Less
More
WavyWorld

51.4k members • Free

5 contributions to Agent Lab
vibe code clean up prompt (run this)
PROMPT: I want to clean up my codebase and improve code quality. This is a complex task, so we'll need 8 subagents. Make a sub agent for each of the following: 1. Deduplicate and consolidate all code, and implement DRY where it reduces complexity 2. Find all type definitions and consolidate any that should be shared 3. Use tools like knip to find all unused code and remove, ensuring that it's actually not referenced anywhere 4. Untangle any circular dependencies, using tools like madge 5. Remove any weak types, for example 'unknown' and 'any' (and the equivalent in other languages), research what the types should be, research in the codebase and related packages to make sure that the replacements are strong types and there are no type issues 6. Remove all try catch and equivalent defensive programming if it doesn't serve a specific role of handling unknown or unsanitized input or otherwise has a reason to be there, with clear error handling and no error hiding or fallback patterns 7. Find any deprecated, legacy or fallback code, remove, and make sure all code paths are clean, concise and as singular as possible 8. Find any AI slop, stubs, larp, unnecessary comments and remove. Any comments that describe in-motion work, replacements of previous work with new work, or otherwise are not helpful should be either removed or replaced with helpful comments for a new user trying to understand the codebase-- but if you do edit, be concise I want each to do detailed research on their task, write a critical assessment of the current code and recommendations, and then implement all high confidence recommendations.
1
0
which is your main AI chat tool
i am curious what people are currently using. i seem to switch up every few weeks.
Poll
5 members have voted
Standard Code Sweep Prompt
Been building an app for awhile - I'm curious if any of you have standard language for a prompt you use to scan through your code and clear out dead code / improve documentation. Feel like there's a lot of artifacts left behind and the code should be agent readable.
0 likes • Apr 10
here is what is used internally at cursor: # Remove AI code slop Check the diff against main, and remove all AI generated slop introduced in this branch. This includes: - Extra comments that a human wouldn't add or is inconsistent with the rest of the file - Extra defensive checks or try/catch blocks that are abnormal for that area of the codebase (especially if called by trusted / validated codepaths) - Casts to any to get around type issues - Any other style that is inconsistent with the file Report at the end with only a 1-3 sentence summary of what you changed
Rallyd pt 2
Hey everyone. I added screenshots of my app Rallyd. It's going pretty good so far, and the main part I'm focusing on is the ranking up to wood, bronze, silver, etc. Alex was saying something about how someone else is working on a pickleball app, and I would love to work with them on this.
Rallyd pt 2
0 likes • Mar 3
this is cool man. is it basically to log your tennis matches?
Welcome to Agent Lab: Start Here 👋
1. Drop your intro in the comments: what you do, what brought you here, and what you're trying to build. 👋 2. Head to the Classroom and start with The Foundation (free course). Everything else builds on this. 📚 3. Check in at the bottom of each module. Polls, discussion posts, other members working through the same stuff. 👨‍🎓 4. Post what you're building, ask questions, help others when you can. Someone in here is working on the same thing as you. 🛠️
1 like • Feb 26
Hey all - I'm Mike Neal. My main work is in the finance interview space but also building a curated audiobook library for modern English translations of Western canon.
0 likes • Feb 27
@Deleted thanks man. Kind of unexpected inspo from this 1970s NYC subway design manual: https://archive.org/details/nycta-gs-manual
1-5 of 5
Mike Neal
2
15 points to level up
@mike-neal-9007
building offergoblin.com and summa.ink

Active 16d ago
Joined Apr 10, 2026
Powered by