Lets Code retweetledi
Lets Code
2.1K posts

Lets Code
@letscodedevs
A tech enthusiast, proficient in PERN, MERN, Flutter and PHP.
Katılım Ekim 2023
476 Takip Edilen8K Takipçiler
Lets Code retweetledi

Vibe coding without this prompt is a waste of time.
--------------------------------
LEAD SOFTWARE ARCHITECT
--------------------------------
You are my lead software architect and full-stack engineer.
You are responsible for building and maintaining a production-grade app that adheres to a strict custom architecture defined below. Your goal is to deeply understand and follow the structure, naming conventions, and separation of concerns. Every generated file, function, and feature must be consistent with the architecture and production-ready standards.
Before writing ANY code: read the ARCHITECTURE, understand where the new code fits, and state your reasoning. If something conflicts with the architecture, stop and ask.
---
ARCHITECTURE:
[ARCHITECTURE]
TECH STACK:
[TECH_STACK]
PROJECT & CURRENT TASK:
[PROJECT]
CODING STANDARDS:
[STANDARDS]
---
RESPONSIBILITIES:
1. CODE GENERATION & ORGANIZATION
• Create files ONLY in correct directories per architecture (e.g., /backend/src/api/ for controllers, /frontend/src/components/ for UI, /common/types/ for shared models)
• Maintain strict separation between frontend, backend, and shared code
• Use only technologies defined in the architecture
• Follow naming conventions: camelCase functions, PascalCase components, kebab-case files
• Every function must be fully typed — no implicit any
2. CONTEXT-AWARE DEVELOPMENT
• Before generating code, read and interpret the relevant architecture section
• Infer dependencies between layers (how frontend/services consume backend/api endpoints)
• When adding features, describe where they fit in architecture and why
• Cross-reference existing patterns before creating new ones
• If request conflicts with architecture, STOP and ask for clarification
3. DOCUMENTATION & SCALABILITY
• Update ARCHITECTURE when structural changes occur
• Auto-generate docstrings, type definitions, and comments following existing format
• Suggest improvements that enhance maintainability without breaking architecture
• Document technical debt directly in code comments
4. TESTING & QUALITY
• Generate matching test files in /tests/ for every module
• Use appropriate frameworks (Jest, Vitest, Pytest) and quality tools (ESLint, Prettier)
• Maintain strict type coverage and linting standards
• Include unit tests and integration tests for critical paths
5. SECURITY & RELIABILITY
• Implement secure auth (JWT, OAuth2) and encryption (TLS, AES-256)
• Include robust error handling, input validation, and logging
• NEVER hardcode secrets — use environment variables
• Sanitize all user inputs, implement rate limiting
6. INFRASTRUCTURE & DEPLOYMENT
• Generate Dockerfiles, CI/CD configs per /scripts/ and /.github/ conventions
• Ensure reproducible, documented deployments
• Include health checks and monitoring hooks
7. ROADMAP INTEGRATION
• Annotate potential debt and optimizations for future developers
• Flag breaking changes before implementing
---
RULES:
NEVER:
• Modify code outside the explicit request
• Install packages without explaining why
• Create duplicate code — find existing solutions first
• Skip types or error handling
• Generate code without stating target directory first
• Assume — ask if unclear
ALWAYS:
• Read architecture before writing code
• State filepath and reasoning BEFORE creating files
• Show dependencies and consumers
• Include comprehensive types and comments
• Suggest relevant tests after implementation
• Prefer composition over inheritance
• Keep functions small and single-purpose
---
OUTPUT FORMAT:
When creating files:
📁 [filepath]
Purpose: [one line]
Depends on: [imports]
Used by: [consumers]
```[language]
[fully typed, documented code]
```
Tests: [what to test]
When architecture changes needed:
⚠️ ARCHITECTURE UPDATE
What: [change]
Why: [reason]
Impact: [consequences]
---
Now read the architecture and help me build. If anything is unclear, ask before coding.
English

@DrOburu_O Hiyo inaitwa hongo. Who told you you're youth leader? Who told you???
English

@Caxton95voke @bosco_gideon That's bothering you? Oh you assume that all the youthful votes will go to some direction
English

@bosco_gideon Wizi wa Kura umeanza tayari😂
Issue ni will they turn out to vote?
English


@Willington61239 @bosco_gideon Sic' it's even wrong for them to take ID card, even wrong wakue kadi. Otek
English

@bosco_gideon I said it that luo nyanza will be the let down in this revolution..
English

@Kenodhiss @TheODMparty @RodgersKipembe @gladyswanga @WilliamsRuto @sifuna Why is he fighting to remain the SG of a "party of goons"
English

@TheODMparty @RodgersKipembe @gladyswanga These people know where the problem in odm is but fear to address because they have eaten @WilliamsRuto money. @sifuna should be very careful. They just want to set goons on him. Odm is a party of goons
English

Matters of discipline in the party fall squarely under the purview of the party National Chairman. And the Chairperson Gvn. @gladyswanga exercised her duty. The letter to Sen. Edwin Sifuna has been received.




English

@TheODMparty @gladyswanga Hakuna mkate ngumu mbele ya chai. Sifuna will crush you mpaka uta wish hunge join anaconda
Indonesia

@andhendhaoloo @TheODMparty @gladyswanga Why is he fighting to remain the SG of a "skunk" Party? Si angeenda tu
English

@TheODMparty @gladyswanga A little too late... The train left the station a long time ago, Glado. There is no ODM left, but a bunch of charlatans and non-ideologues like you. Remain with your skunk, sisi tumeenda.
English

@TheODMparty @gladyswanga 2027 Haomabay voters shall expel you with over 400,000 signatures. You stupid woman
English

@TheODMparty @gladyswanga Thats how you know sifuna is untouchable.ingekua mtu mwingine angengatuliwa bila show cause. Infact 'alishanhatuliwa'lakini bado wanajua yeye ni S.G wa ODM.na ndio maana yeye ni Sifuna.
Filipino

PLO said when someone tries to shake a baobab tree he only ends up shaking his buttocks. Today we saw an old man trying to shake a baobab tree in Mombasa
#RutoMustGo
English

@WayeshAndrew @ArokoGoodlife Ah ah ah ah, hutaki mwezimiwa apate bonga points 😀
HT

@ArokoGoodlife Obviously you're lying. But because you're looking to milk some political mileage, some people will trust this.
English

@NYAKACHYOUTHS @ArokoGoodlife Wow, will he be vying in Nyakach, or the way you did him wrong with the online votes last year 😀😀
English

@ejnyamogo @otienowill You've even rebelled to your own common sense. Rebelled to doing research to know who replaced Ndindi Nyoro and his county. Oh rebel oh rebel. Shout your lungs out
English

BONGE LA AIBU 🫣 HUKO WAKIPIGA KELELE ATI TUTAM.
ONE WHO TOOK OVER FROM NDINDI NYORO IN THE BUDGETARY COMMITTEE HAS DONE NOTHING AT ALL AND NOW SAYS HE WANTS TO UNSIT THE CURRENT EQUALLY USELESS GOVERNOR OF MIGORI.
WHAT'S GOING ON WITH THE LUOS? AOLE NYAKA RUM.
JALUO EN NG'AT MARIEK. ERE KAKA JOTENDU OLOU KA PI NI WAN WANG'EYO AYANY KOD GOYO KOKO.
WE MUST REPLACE BOTH KOKO KOD AYANY' WITH DEVELOPMENT.
English

This is the current state of classrooms at Barding Boys High School, South East Ward, Alego Usonga Constituency.
This school was once among the best performing schools in Siaya County and the entire Nyanza Region.
Today, the classrooms tell a different story.
We don’t discuss TUTAM without delivery.
Development is not press statements, barazas, or weekend politics.
It is classrooms, desks, roofs, dignity.
Act.




English

@ArokoGoodlife When people are giving agendas, empowering their constituents, meeting and Strategizing unity uko hapa flossing 10k,
We are woke, we are not our parents who would vote based on the handouts given.
We are long time.
2027 same place, same fate
English

@ojongoadede @ArokoGoodlife 😀😀they"ll still be reelected, they are very relevant even more than your role in tech.
English

@ArokoGoodlife What is Wanga and Kaluma doing in this beautiful sentence? Jogo onge gi relevance kata matin
English

@Maggackom @ArokoGoodlife Mbona hujawahi shikwa mikono?
Na hata kama, mbona hujawahi chaguliwa na chama kingine ama independent? Wangapi wamechaguliwa bila ODM huko Nyanza?
Wacha siasa ya kulia lia, uza sera uchaguliwe
Indonesia

@ArokoGoodlife I can relate, bro.! I've been a victim since 2004!
When you are sharp and strong, they destroy you. Now they even kill you!
It wont be the same going forward! The era of "osiem gi luth", kushikwa mikono imeisha!
We must chart a completely new path!
Meritocracy must prevail
English

Over the years ODM has strangled the ambitions of sons and daughters of this country especially the Luo community ,sacrificed at the altar of tumbocrats like the kalumas and wangas of this world, they fear competition but survive on control and intimidation not ideas, the sad death of baba has awakened many luos, this will manifest in 2027 , The president of the Republic of Kenya @WilliamsRuto never bank on such characters, we must find an alternative for our people # Otete Otete
English

@wizgonpapi @ArokoGoodlife He was endorsed by the deputy governor, who is a former MP of his constituency, former governor Obado and many other minions. Why are you bitter for the other faction
English

@ArokoGoodlife I second.the politics of monetory endorsement direct ticket imposement and personality worship must end
English










