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
475 Takip Edilen7.9K Takipçiler

#Hexadecimal
Binary is correct but unreadable. 11111111 hurts to look at.
So engineers group it: every 4 bits becomes one hex digit (0–F).
11111111 → FF. Same value, human-friendly.
That's why memory addresses and colors show up as hex.
English

@Kibet_bull @rasbites Anaweka PhD hapo atishe Nani. Watu wamesoma huku nje na hawaonyeshi.
Indonesia
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












