Skip to content
EARNST.

Vibe Code Janitor

Vibe Code Janitor | EARNST

Vibe coding ships fast. But is it production ready? We make code from Cursor, Copilot, and Claude deployment-ready. Then we help you get users: clean tracking, targeted ads, measurable results.

What this service does

Vibe Code Janitor transforms AI-generated prototypes into production-ready systems that can handle real users, real data, and real problems.

Vibe coding with Cursor, GitHub Copilot, and Claude generates functional code fast, but that code rarely includes error handling, security hardening, or automated tests. It works as a demo but breaks under production load. We audit the codebase, identify technical debt, fix critical issues, add test coverage, and document architectural decisions. This is surgical improvement, not complete rewrites: fixing security vulnerabilities, adding proper error boundaries, optimizing performance bottlenecks, writing tests for critical paths, and documenting how everything works so your team can maintain it.

Who needs this?

Teams that built working prototypes with AI coding tools but face deployment anxiety when real users and real money are on the line.

Typical clients: startups with AI-built MVPs approaching launch, agencies who used AI coding tools to accelerate client projects, product teams who prototyped with Claude and now need to deploy, companies with junior developers using Copilot who need senior code oversight. If you're asking "is this code safe to deploy?" the answer is probably not yet.

How EARNST approaches it

We start with a comprehensive audit, then fix issues systematically based on severity: critical security vulnerabilities first, then production bugs, then technical debt.

The refactoring process is surgical, not wholesale rewriting. We fix critical security issues first, add error handling and logging, write tests for essential functionality, optimize performance where needed, and document architectural decisions. Every change is version controlled, tested, and explained. The goal is "good enough to deploy confidently and maintain efficiently," not perfect code that takes six months to ship.

Project scope

Typical Code Janitor engagement takes 2 to 4 weeks: 1-2 days audit, then systematic fixes for security, bugs, testing, and documentation.

Very small projects (single page apps, simple scripts) can be audited in 3-5 days. Large, complex systems may require 6-8 weeks. Ongoing support available on monthly retainer basis for teams who want continued oversight of AI-generated code contributions.

Phase 2: Launch & Grow

The code is clean, tests pass, deployment works. Now the question becomes: how do users find the app, and how do you measure what works?

Tracking Setup

Conversion tracking must be implemented before launch, not after. Missing the first weeks of user data means you cannot tell whether your product-market fit works or which acquisition channels deliver results.

We set up GA4 events for actions that matter to your business: signups, purchases, trial starts, feature activations, checkout steps. No generic templates, but events tailored to your app's specific user flows. Plus conversion tracking for Google Ads and Meta configured correctly, so every advertising euro maps to a measurable action. The advantage over pure marketing agencies: we already know your codebase architecture, understand where data flows happen, implement events directly in code instead of fragile tag manager configurations that break on the next deployment.

Event Implementation

Reliable tracking requires events implemented at the right moment in the right part of your code, not added as afterthought scripts in the frontend.

Campaign Launch

After tracking works reliably, we launch targeted campaigns on Google Ads and Meta with clear performance metrics from day one.

Ongoing Optimization

After launch, campaigns need continuous optimization based on conversion data, not monthly check-ins.

Before / After: Typical Vibe Code Project

Test Coverage

72

Security Issues (Critical)

0

Lighthouse Score

92

Build Time

24

Typical Security Findings in AI-Generated Code

From Audit to Campaign

1

Week 1

Code Audit

2

Week 2–4

Refactoring & Tests

3

Week 5

Tracking Setup

4

Week 6+

Ads & Growth

Typical Results

70%+

Test coverage after Code Janitor engagement

0

Critical security issues after audit

100%

Documented, maintainable code

Day 1

Tracking live from launch

What you get

Code Audit & Report

Comprehensive review of security issues, bugs, and architectural problems.

Refactoring Plan

Prioritized list of what needs fixing and why it matters.

Test Suite

Automated tests covering critical functionality and edge cases.

Security Check

Vulnerability scan, dependency audit, and security hardening.

Technical Documentation

Architecture overview, setup guide, and deployment documentation.

Analytics & Tracking Setup

GA4 events for key actions, conversion tracking for Google Ads and Meta. Every relevant user action captured.

Campaign Setup

Google Ads and Meta Ads campaigns with correct conversion tracking. Structured, measurable, ROAS-optimized.

Launch Dashboard

Real-time overview: conversions, traffic sources, cost-per-acquisition. Numbers instead of guesswork.

“Ernst is the marketing professional you want by your side when the fires of disruption are raging.”

Bradford Goodwin

Inhaber, Malcontent Marketing

Frequently Asked Questions

Which AI tools do you work with?

Cursor, GitHub Copilot, Claude (Code and Artifacts), ChatGPT, v0, Bolt. We know the typical patterns and problems each tool produces and what to watch out for.

How much does a code audit cost?

The code audit starts at 500 EUR. You receive a report covering security, performance, and maintainability assessment within 3-5 business days.

How much does the cleanup cost?

Based on the audit findings: 2,000 to 5,000 EUR depending on scope. Includes error handling, tests (70%+ coverage), security fixes, and documentation.

Is there a launch package?

Yes. From 2,500 EUR: tracking setup (server-side), Google/Meta Ads campaign, and launch support. Your code becomes not only production-ready but also visible.

Do you do the refactoring or just consulting?

Both. We can deliver the code audit as a report only (your team implements) or handle the complete refactoring. Often we fix the critical issues and your team works through the medium priorities.

How does ongoing code review work?

We review pull requests before they are merged, similar to a senior engineer on your team. Via GitHub/GitLab integration, with comments directly in the code. Monthly package or per PR.

Is AI-generated code really that bad?

Not bad, but unreliable. AI produces functional code but misses edge cases, security best practices, and long-term maintainability. Fine for prototypes, not for production with real users.

Do you also handle marketing for the finished app?

Yes. Phase 2 after code cleanup: we set up GA4 events, configure conversion tracking for Google Ads and Meta, and launch the first campaigns. Since we already know your code, we implement events directly, without tag manager chaos, no briefing a third-party agency.

Which advertising platforms do you use?

Google Ads (Search, Display, Performance Max) and Meta Ads (Facebook, Instagram). Plus GA4 as analytics foundation and GTM Server-Side for clean first-party tracking. Everything GDPR-compliant with Consent Mode v2.

Ready to discuss?

Tell us about your project. We will get back to you within 24 hours.