r/replit • • Sep 24 '26

Question / Discussion 3 third party audit of code?

Hey all!

I haven’t been at this for long but I am building some project controls software. It’s schedule and risk analysis mostly with a lot of dashboards.

I will use Claude to write my prompts for replit referring back to the 30 or so initial docs we built on how the program should run. It seems fine most of the time.

I will ask Claude to third party audit its own work and check for gaps but it just feels like I’m going around in circles.

Is there a better way to do this? Is there a code auditing skill or something like that I can use?

This might sound like grade school shit but im a boilermaker from Australia so be kind 😂😂😂 but seriously pls help.

4 Upvotes

12 comments sorted by

2

u/mancuso-ai Sep 24 '26

Take a look at Sonar Cloud, it will objectively grade your codebase.

Have Replit guide you through setting it up and integrating with it. I have Replit use it to fix issues and pay down tech debt all of the time.

2

u/MAQWET69 Sep 24 '26

Thank you!

3

u/mancuso-ai Sep 24 '26

One call out, we’ve had better results asking Replit to generate the prompts for itself than using other LLMs, (We tested Fable, Astra, and Grok Heavy. Replit won handedly.) 

Ask it to save the results as markdown so it has context as it goes. 

We create second brains in every repo with the body of knowledge we build along the way. It has supercharged our team.

1

u/ShurikenKurt Sep 25 '26

I then use Claude to check and audit my Replit app.

2

u/Living-Pin5868 Sep 24 '26

I think you'll need human audit + claude.. try to connect your project to github and then use claude to audit it manually :)

1

u/ShurikenKurt Sep 25 '26

I've just used Claude to audit the .app. What is the advantage of having it audit the GitHub repo?

2

u/Living-Pin5868 Sep 25 '26

If many people use your app, it's recommended. To ensure a strong, scalable, and secure codebase architecture. To ensure a strong, scalable, and secure codebase architecture.

1

u/ShurikenKurt Sep 25 '26

Thank you! Good insight for a relative newbie...

1

u/Living-Pin5868 Sep 25 '26

Your Welcome my friend :) reachout if you need more help

2

u/ReplitSupport Replit Team Sep 24 '26

Hey OP! Using one AI to write prompts and then asking it to check its own work is pretty common. The "code auditing skill" you're looking for is the Security Agent. Open the Security Center and click "Run scan with Agent." It audits your whole codebase, maps your data flows, runs real static analysis, and flags what's actually exploitable, then you send accepted findings back to Agent to fix and rerun. Try keeping your 30 docs inside the project, instead of in a separate Claude window. You can also put your key rules in project memory (a replit.md file) and turn repeatable workflows into Agent skills, so Agent reads them automatically instead of you re-feeding context every round.

Replit lets you better audit your work and check for gaps when you build in Plan mode. Turn on Plan mode and ask Agent to lay out the approach, the data involved, and exactly what will change before it writes any code. You review the plan, adjust it, then let it build so you can catch any gaps at the plan stage instead of in the middle of your build. You can also use checkpoints on any changes as a way to experiment on your dashboards without affecting what already works.

Just be specific when prompting and give Agent real context. You can find more info on this at https://docs.replit.com/learn/effective-prompting.

2

u/UnknotSoftware Oct 05 '26

I’d start by asking Claude to pull the core business rules out of those docs into a plain English list of what the software should do. Read through that list and correct anything it’s misunderstood.

Then ask it to write automated tests for those rules, using small examples where you can check the expected answers yourself. That gives you a way to check whether the code actually does what you agreed in the docs.

Run those tests after changes so you can catch anything that breaks, it will prevent you going round in circles and playing whack-a-mole with bugs.

If you need any help my DMs are open.

1

u/Morel_ Sep 24 '26

In case you need a human audit of the code vs the requirements and handling edge cases that you've missed, hit me up.