Pa

Pairing LLM code generation with traditional templates

Hacker News

Pairing LLM code generation with traditional templates

Hi, I’ve been exploring Claude 3.5 code generation abilities for a while and it looks like it can generate more consistent code than other models. However it would still be unmaintainable if you ask it to write a lot of code and it still sucks at system design. So, I’ve been playing around the idea of using the code repository with a template for directory layout and infrastructure, then adding the repository information to Claude and asking it to generate code. It seems that it works, if I pass the structure of some OpenAPI based backend it can update the API definition and implementation pretty consistently. Take a look at the PoC and please share your thoughts about this! I wanted to see if someone else is working on similar idea, I’m open for a chat!

Share card

Actual performance

5points
Did not reach leaderboard

Launch Intel predictions

Analyze your own launch →
Product HuntOn track for Day 1 leaderboard · Strong signals: claude, model, models · Missing: mac, agents, macos
91%91% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Indie HackersFits the IH revenue-focused audience · Missing: supports, reddit linkedin, podcasting
53%53% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
Hacker NewsMay not resonate with HN audience · Strong signals: ide, io · Missing: https docs, excited, just released
44%44% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
TrustMRRLess likely to generate early MRR · Missing: mobile apps, ios, personal
33%33% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
AppSumoMay struggle as an AppSumo deal · Missing: plus, platform, intuitive
27%27% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
15%15% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Strong signals: chat · Missing: web3, crypto, cryptocurrency
1%1% predicted probability of success on BetaList, based on ML models trained on real launch data.

Correct prediction on native model

Similar products

Cast I Ching
Cast I Ching23%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Faithfully reproducing traditional yarrow stalk probabilitie

Indie Hackers1education
Re
Retrieval Augmented Generation Optimised LLM's67%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Retrieval Augmented Generation Optimised LLM's

Hacker News2
Traditional TEnt
Traditional TEnt30%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Traditional Tent, where heritage craftsmanship meets modern

Indie Hackers
Te
Templates build without code49%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Templates build without code

Hacker News1
Cl
CloudFormation templates in YAML39%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

CloudFormation templates in YAML

Hacker News2
Ha
Handy Nginx configuration templates60%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Handy Nginx configuration templates

Hacker News8
Ne
Nextjs and TailwindCSS Templates26%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Nextjs and TailwindCSS Templates

Hacker News20
Te
Templates for Debugging54%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Templates for Debugging

Hacker News1
JS
JSX Syntax for Jinja Templates36%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

JSX Syntax for Jinja Templates

Hacker News6
Sh
Shaven – Templates without mustache40%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Shaven – Templates without mustache

Hacker News3