It verifiesthis is a cleaner, I guess he meant verifying these emails?
# COMPREHENSIVE PROJECT KNOWLEDGE BASE
*Reusable Patterns, Methodologies & Frameworks for Future Projects*
## **MAJOR UPDATE**: ALL-PURPOSE DYNAMIC INDUSTRY SYSTEM
*This project successfully transformed from a hardcoded solar-only system to a dynamic all-industry lead generation platform. This knowledge base now includes patterns for building industry-agnostic AI systems.*
## **TABLE OF CONTENTS**
1. [5 Core Documentation Framework](#5-core-documentation-framework)
2. [Dynamic Industry AI System Architecture](#dynamic-industry-ai-system-architecture)
3. [TaskMaster Integration Methodology](#taskmaster-integration-methodology)
4. [Debugging Methodology & 30-Minute Rule](#debugging-methodology--30-minute-rule)
5. [Cursor Rules Structure & Self-Improvement](#cursor-rules-structure--self-improvement)
6. [Development Workflow Patterns](#development-workflow-patterns)
7. [Project Architecture Patterns](#project-architecture-patterns)
8. [Environment & Configuration Management](#environment--configuration-management)
9. [Testing & Validation Approaches](#testing--validation-approaches)
Amazing update, just a few questions:update:
So this is quickly turning into me getting sucked into a wormhole of assistant-based coding of a massive automation network. It's getting out of hand.
I finally finished my reply bot. Here's how it works.
Instantly sends cold email campaign to a lead telling them we made a quick demo of a custom chatbot for their company, and to let us know if they want to see it
If positive response, AI builds the demo with their name/branding/location on a custom domain (ourdomain.com/lead-company-demo) and sends it back (the email also contains a calendar link if they want to book a call to discuss)
It sounds simple, but it was quite a lot of work building it with AI and getting it to make the demos dynamically. My goal was to be able to feed a massive list of leads in different industries into the campaign and then just let it rip without having to split for dentists, agencies, lawyers, etc. Just mix and match and the bot will send a demo tailored to that industry with nothing hardcoded, all created by AI on the spot. Obviously to get this done took a lot of fine tuning and work, made more difficult by the fact that building with ai agents is like working with an overeager supergenius with a terrible short term memory.
Anyway, once I finished my first project I was all happy and proud of myself. One of the things you have to do when you code like this is tell the bot to make lots of documentation. It doesn't remember from chat to chat, so instead of me trying to explain over and over what I want, I can just tell it once to create a CHANGELOG doc, for example, which will track all recent changes to the code. So then if I open a new chat, I can say "ok go read the changelog so you know where we're at."
In addition to the changelog, while I was building the project I also created more documentation. For example here is a snippet of another doc that is a more high level overview:
All of this was written with AI. I dont' remember what I told it, but I probably said something like, "analyze the entire codebase and make some documentation that identifies all the patterns and methodologies we used to build this." What's cool is that the dutiful little AI went and did it. I am not a master programmer, in fact I've never coded anything the old fashioned way. But if you can articulate what you want the AI to do properly, then it can do it for you.
Long story short, after a few days of this kind of thing, I had around 10 documents that all explained different strategies and frameworks for the project. I can share them if there is any interest, I think they are pretty valuable. My whole reason for making them was so that if I wanted to make something else, like make the lead generation system better or have more features, that I wouldn't have to beat the AI with a stick to get it to do what I wanted. I would just be able to feed it some docs and say, "ok go do this now." That's what it's supposed to do in theory, but it's not so easy.
AI Agents
At this point I saw something on yt about people building workflows with AI agents that talk to each other. So I put two and two together and thought, "how can I use these design principles to build a team of agents that will build software for me in a layered approach based on these design principles?"
One thing lead to another, and now I have 3/7 "meta agents" who will each be responsible for 1 step in the process of building future tools. Is it overkill? Probably. Do I need to do it to make stuff? No. But it's very fun.
So bottom line here is the new plan:
Finish building the meta agents (done by Fri)
Use the meta agents to build additional agents for the leadgen workflow (done by end of next week)
Use those agents + my cold email + autodemo to crank out targeted campaigns, generate leads, and close deals (Aug 1 let's say)
THEN start hiring sales people and training them (Sept 1, after 1 month of me working the leads myself)
Happy to share whatever details, I know it seems like it's taken a turn but CC is very fun and I highly recommend you guys get into it.
I have a landing page set up now but it's very sparse on the details, it's basically a giant reskinned Calendly page. In terms of linkedin, "results" and testimonials and all that, yeah that's not a bad idea. I could have AI make me some fake testimonials or wahtever, but I think what I am going to do instead once I turn my focus more towards sales is to create organic social media content showcasing the workflows.Are you going to build a website for your chat bot/AI services, I would personally want to have a look at a website see some LinkedIn profile ect with some social proof on ect before buying a high ticket service

Yes, I could share the workflows. I thought about sharing the github repo as it's all in there, but I think I may develop this into a commercial solution down the line so idk about having all the code out there. Maybe if you ask me really nicelyAmazing update, just a few questions:
- Any chance you could share with us the workflows you have been developing for autoresponse and creation of the custom bot for the customers?
- what are the specific tasks you’re building each of the meta-agents for?
- in the end will you be selling a custom chatbot to the leads? Or still thinking about the idea about the database reactivation?
- will you design the client product yourself? Or will you hire freelancers for it?
Many thanks! Keep up the good work!


Awesome, thank you again for the hard work and posting your updates and answers to the questions! Following up closely and replicating some of the ideas for my AI side hustle too, here are some of the questions that come to mind:I have a landing page set up now but it's very sparse on the details, it's basically a giant reskinned Calendly page. In terms of linkedin, "results" and testimonials and all that, yeah that's not a bad idea. I could have AI make me some fake testimonials or wahtever, but I think what I am going to do instead once I turn my focus more towards sales is to create organic social media content showcasing the workflows.
View attachment 461148
I've seen a lot of people find success on social media by sharing tutorials, tips, tricks, workflows, etc. It's actually a great niche because there is so much interest, and because it's a new field, there's a ton to talk about and all of the info is recent. New breakthroughs being released on the daily basically.
But what I want to do first is finish building this AI project for the meta agents and future lead gen agents. Once I've done that, turned it on, and verified that it works, I'll start cranking social.
Yes, I could share the workflows. I thought about sharing the github repo as it's all in there, but I think I may develop this into a commercial solution down the line so idk about having all the code out there. Maybe if you ask me really nicely
Specific tasks for the meta agents are as follows:
-this is technically not an agent, it's just hte input that would be given to the system to start it off. So think of it like a prompt or whatever. "Build me a lead generation system for a dentist in California." For this, I need to make it complex like an intake form so that the team of agents doesn't just assume what they want. So we'd have to have a list of 20-30 short questions in the input funnel, i.e.
- Input Funnel → Clean the idea, check what exists, ask missing questions, output a clear brief.
"what do you want this to do?"
"who is this for?"
"what do you want this to not do?"
"do you want to use any special software"
I haven't done this yet, but once the inputs are created, here is how they are handled.
Project Planner (PRD Parser & Task Graph Builder) - most important
Reads the brief and turns it into a to‑do list with clear steps, dependencies, and pass/fail checks. Updates it when the brief changes.
Code Factory (Template Engine / Code Factory Agent)
Writes the actual code, tests, and config files from reusable templates. If tasks change, it regenerates so things stay in sync.
Health Checker (Infrastructure Orchestrator Agent)
Scans the repo for ticking time bombs like hardcoded limits or missing env vars. Flags them and suggests safer fixes before deployment.
Data Wiring Tech (Parameter Flow Agent)
Lists every input and output between services, makes sure names and types match, and auto‑builds tests to prove the connections work.
Living Docs Keeper (Five Document Framework Agent)
Maintains five plain‑English docs: what we are building, why it matters, how it is built, how to run or fix it, and what changed. Updates them automatically.
Stall Timer (Thirty Minute Rule Agent)
Watches for tasks that are stuck. When the timer hits the limit, it triggers a simpler approach, skips the task for now, or pings a human. Logs what happened.
Project Starter Kit (Scaffold Generator / All Purpose Pattern Agent)
Spins up a fresh repo with your standard folder layout, CI, linting, tests, and infra stubs so new projects start clean and consistent.
Deployer (Vercel Native Architecture Agent)
Sets up the Vercel project, environment variables, routes, logging, and monitoring, then deploys in the same reliable way every time.
Research Feed (R and D Agent)
Constantly hunts for better libraries, examples, and patterns, and feeds that back into templates, prompts, and task plans so the whole system improves over time.
Why is the Parser most important? Because it breaks your project into manageable tasks and subtasks, then uses Perplexity to accurately research the most accurate solution for accomplishing that task. I use this method to build everything, and if it's not working I refuse to proceed. It's 1 million times better than just relying on the AI to whip up some code off the top of its head. Extra planning = smooth project.
Many of these agents are not things that you would consider when building anything, but they were constructed because the processes they automate were repeated enough times in this project that it's just impossible to deny how important they are. There are so many components that go into writing software that you will end up creating these little tools and automations inside the greater automation just because it simplifies an important part of the process.
For example, something that's not on this list is a Parameter Matching document. The currently spans multiple "surfaces" each with their own sets of variables, arguments, documentation, etc. It's a lot of shit to keep track of. If I am working on Instantly, N8N, my own custom API, Vercel, and a vector database, chances are different variables are mapped differently.
This can be a big problem when you have thousands of lines of code and variables across 8 surfaces that need to be tracked so they can be referenced later in the project. One little error means the whole thing breaks.
The Parameter Matching document is like a giant glossary of terms for how variables and arguments are coded on the different surfaces. So any time the AI is writing code, it can reference that doc and know how it's supposed to refer to specific items. And since parameter matching is important enough that we created documentation on it, that means it's important enough to turn into an agent. Here is a snippet of the parameter flow agent:
View attachment 461150
Little things like that will pop up after going in circles on the same error for 2 hours. I once spent an entire day on a bug because I was calling the wrong arguments for the Instantly API. And what makes matters worse is that the AI will forget what's worked in the past and revert to making the same mistakes it made. So you have to constantly remind it to do the same thing.
In fact, the short term memory of AI coding assistants is a massive roadblock for getting momentum while working on a project. There is no inherent "memory" in the sense that you can store files that will persist after you restart the coding agent. Had a bunch of good breakthroughs in your last chat? Well they're gone once you close the chat.
The solution I've found is to create something called a RAG, which is a database where you can store tagged information about shit that's important in your project. So if you say, "ok I want you to continue building the parser agent with taskmaster and context7," then it will use the RAG to look up what those terms mean, how to use them, and there will be very little guesswork from the AI as to what to do. Combine this with the actual parser agent that uses Perplexity to research each little task and subtask for whatever you're working on, and you have a shot at being efficient.
Anyway, the project is moving along. I am actually wrapping up all the meta agents now. But I had to stop to create a RAG. And I also added an "observational monitoring" dashboard as well.
This is still in the process of being worked on, but basically it's a big dashboard that will show you in real time what all of your agents are doing. If you've read this far then you understand that this project is complex, lots of moving parts, lots of places for the chain to break. And if the chain breaks, we don't always know where it broke. But with this observational dashboard, all of the agents are monitored and we can see exactly what they're doing. So it's going to be much easier to fine tune the development.
View attachment 461147
I honestly think I have the seed of a commercial software development workflow that will be able to spit out very solid tech in a more or less automated fashion. All of this was done to make it easier to build tools for my lead generation suite, but I think long term this meta agent suite is actually going to be what's most valuable.
My previous lead campaign is out of juice so I will need to get more leads and crank through again. I should probably just go for the direct appraoch this time and not try to book podcasts. We will see
so are you a software engineer? or just breaking down the coding assignments into smaller tasks for AI to do the coding? I have created a few applications with AI that work but are small/simple. It would be intuitive that AI can handle smaller tasks better than one huge coding project.I have a landing page set up now but it's very sparse on the details, it's basically a giant reskinned Calendly page. In terms of linkedin, "results" and testimonials and all that, yeah that's not a bad idea. I could have AI make me some fake testimonials or wahtever, but I think what I am going to do instead once I turn my focus more towards sales is to create organic social media content showcasing the workflows.
View attachment 461148
I've seen a lot of people find success on social media by sharing tutorials, tips, tricks, workflows, etc. It's actually a great niche because there is so much interest, and because it's a new field, there's a ton to talk about and all of the info is recent. New breakthroughs being released on the daily basically.
But what I want to do first is finish building this AI project for the meta agents and future lead gen agents. Once I've done that, turned it on, and verified that it works, I'll start cranking social.
Yes, I could share the workflows. I thought about sharing the github repo as it's all in there, but I think I may develop this into a commercial solution down the line so idk about having all the code out there. Maybe if you ask me really nicely
Specific tasks for the meta agents are as follows:
-this is technically not an agent, it's just hte input that would be given to the system to start it off. So think of it like a prompt or whatever. "Build me a lead generation system for a dentist in California." For this, I need to make it complex like an intake form so that the team of agents doesn't just assume what they want. So we'd have to have a list of 20-30 short questions in the input funnel, i.e.
- Input Funnel → Clean the idea, check what exists, ask missing questions, output a clear brief.
"what do you want this to do?"
"who is this for?"
"what do you want this to not do?"
"do you want to use any special software"
I haven't done this yet, but once the inputs are created, here is how they are handled.
Project Planner (PRD Parser & Task Graph Builder) - most important
Reads the brief and turns it into a to‑do list with clear steps, dependencies, and pass/fail checks. Updates it when the brief changes.
Code Factory (Template Engine / Code Factory Agent)
Writes the actual code, tests, and config files from reusable templates. If tasks change, it regenerates so things stay in sync.
Health Checker (Infrastructure Orchestrator Agent)
Scans the repo for ticking time bombs like hardcoded limits or missing env vars. Flags them and suggests safer fixes before deployment.
Data Wiring Tech (Parameter Flow Agent)
Lists every input and output between services, makes sure names and types match, and auto‑builds tests to prove the connections work.
Living Docs Keeper (Five Document Framework Agent)
Maintains five plain‑English docs: what we are building, why it matters, how it is built, how to run or fix it, and what changed. Updates them automatically.
Stall Timer (Thirty Minute Rule Agent)
Watches for tasks that are stuck. When the timer hits the limit, it triggers a simpler approach, skips the task for now, or pings a human. Logs what happened.
Project Starter Kit (Scaffold Generator / All Purpose Pattern Agent)
Spins up a fresh repo with your standard folder layout, CI, linting, tests, and infra stubs so new projects start clean and consistent.
Deployer (Vercel Native Architecture Agent)
Sets up the Vercel project, environment variables, routes, logging, and monitoring, then deploys in the same reliable way every time.
Research Feed (R and D Agent)
Constantly hunts for better libraries, examples, and patterns, and feeds that back into templates, prompts, and task plans so the whole system improves over time.
Why is the Parser most important? Because it breaks your project into manageable tasks and subtasks, then uses Perplexity to accurately research the most accurate solution for accomplishing that task. I use this method to build everything, and if it's not working I refuse to proceed. It's 1 million times better than just relying on the AI to whip up some code off the top of its head. Extra planning = smooth project.
Many of these agents are not things that you would consider when building anything, but they were constructed because the processes they automate were repeated enough times in this project that it's just impossible to deny how important they are. There are so many components that go into writing software that you will end up creating these little tools and automations inside the greater automation just because it simplifies an important part of the process.
For example, something that's not on this list is a Parameter Matching document. The currently spans multiple "surfaces" each with their own sets of variables, arguments, documentation, etc. It's a lot of shit to keep track of. If I am working on Instantly, N8N, my own custom API, Vercel, and a vector database, chances are different variables are mapped differently.
This can be a big problem when you have thousands of lines of code and variables across 8 surfaces that need to be tracked so they can be referenced later in the project. One little error means the whole thing breaks.
The Parameter Matching document is like a giant glossary of terms for how variables and arguments are coded on the different surfaces. So any time the AI is writing code, it can reference that doc and know how it's supposed to refer to specific items. And since parameter matching is important enough that we created documentation on it, that means it's important enough to turn into an agent. Here is a snippet of the parameter flow agent:
View attachment 461150
Little things like that will pop up after going in circles on the same error for 2 hours. I once spent an entire day on a bug because I was calling the wrong arguments for the Instantly API. And what makes matters worse is that the AI will forget what's worked in the past and revert to making the same mistakes it made. So you have to constantly remind it to do the same thing.
In fact, the short term memory of AI coding assistants is a massive roadblock for getting momentum while working on a project. There is no inherent "memory" in the sense that you can store files that will persist after you restart the coding agent. Had a bunch of good breakthroughs in your last chat? Well they're gone once you close the chat.
The solution I've found is to create something called a RAG, which is a database where you can store tagged information about shit that's important in your project. So if you say, "ok I want you to continue building the parser agent with taskmaster and context7," then it will use the RAG to look up what those terms mean, how to use them, and there will be very little guesswork from the AI as to what to do. Combine this with the actual parser agent that uses Perplexity to research each little task and subtask for whatever you're working on, and you have a shot at being efficient.
Anyway, the project is moving along. I am actually wrapping up all the meta agents now. But I had to stop to create a RAG. And I also added an "observational monitoring" dashboard as well.
This is still in the process of being worked on, but basically it's a big dashboard that will show you in real time what all of your agents are doing. If you've read this far then you understand that this project is complex, lots of moving parts, lots of places for the chain to break. And if the chain breaks, we don't always know where it broke. But with this observational dashboard, all of the agents are monitored and we can see exactly what they're doing. So it's going to be much easier to fine tune the development.
View attachment 461147
I honestly think I have the seed of a commercial software development workflow that will be able to spit out very solid tech in a more or less automated fashion. All of this was done to make it easier to build tools for my lead generation suite, but I think long term this meta agent suite is actually going to be what's most valuable.
My previous lead campaign is out of juice so I will need to get more leads and crank through again. I should probably just go for the direct appraoch this time and not try to book podcasts. We will see
No, not a software engineer. I think of myself more as an entrepreneur since I run an actual business, but I want to pivot. And you're right about AI being better at the small things. But what's appealing to me is that as someone who isn't a programmer but who is always thinking strategy, I can tell an AI coding assistant to make me some software and it will do it.so are you a software engineer? or just breaking down the coding assignments into smaller tasks for AI to do the coding? I have created a few applications with AI that work but are small/simple. It would be intuitive that AI can handle smaller tasks better than one huge coding project.
Idk if I want to share them just yet. I think I may have something really valuable in a few weeks/months. And from my cold email campaign I got around 10-15 responses that I could have turned into phone appointments, and one person who actually scheduled on the calendar. But I never pursued it. And that was only sending around 400 emails a day. I can now send 4000/day, but I am busy working on this AI stuff so I haven't really started doing outreach. Tomorrow I will build more lead gen tools, so maybe once I have a better idea for how those work I will get excited about selling again. Selling DB reactivation doesn't get me so excited, but it does sell well from what i hear.Awesome, thank you again for the hard work and posting your updates and answers to the questions! Following up closely and replicating some of the ideas for my AI side hustle too, here are some of the questions that come to mind:
Once again, thank you!
- Well this is not a question, but I just wanted to ask really nicely if you could share the workflows or the GitHub repo, I could really use it for my side hustle and I believe I could provide you with some constructive feedback too (but please know I’m not a great programmer neither) and could bring some new ideas to the table.
- 1. Do you already have some leads that replied and scheduled a call? Do you already have a strategy for the pricing (i.e. one time project or offer a subscription)?
- 2. How are you keeping track of the cost and future invoices? – Might look like an easy one but I tried everything and at the end of the day I always end up using a simple excel sheet, just wondering if there might be a tool I still do not know.
No, and it just ate up about 2 weeks of my time trying like mad to figure out how to make it work.Have you tried to do all the steps manually before you started creating all the agents? You know just for idea validation.
Appreciate the update! It just sounds like you've finally reached the limit of AI coding slop at this point. I've been following along what you did so far and your ideas were quite optimistic so to say. I also do not understand why you wanted to use RAG to store code from GitHub?none of my software works