Anis Gwesmi (@Gwesmi) header
Anis Gwesmi (@Gwesmi) profile picture

Freethinker, dad. Moto : we will either find a way or make one.

Tunisia
Joined April 2009
Photo by Anis Gwesmi (@Gwesmi)Photo by Anis Gwesmi (@Gwesmi)Photo by Anis Gwesmi (@Gwesmi)Photo by Anis Gwesmi (@Gwesmi)Photo by Anis Gwesmi (@Gwesmi)Photo by Anis Gwesmi (@Gwesmi)Photo by Anis Gwesmi (@Gwesmi)Photo by Anis Gwesmi (@Gwesmi)Photo by Anis Gwesmi (@Gwesmi)Photo by Anis Gwesmi (@Gwesmi)
Anis Gwesmi retweeted
Le mec qui a créé Claude Code (@bcherny) vient de montrer comment son équipe dresse l’IA. Un fichier. CLAUDE.md. Tu le poses à la racine de ton projet. Dedans : les erreurs passées, les conventions, les règles. Claude le lit à chaque session. Résultat : l’agent s’améliore sans que tu retouches une ligne de code. Chaque bug corrigé devient une règle permanente. Boris Cherny utilise ça tous les jours chez Anthropic. Je vous mets son template ici. Prêt à copier/coller et à adapter à votre guise : ### 1. Plan Mode Default - Enter plan mode for ANY non-trivial task (3+ steps or architectural decisions) - If something goes sideways, STOP and re-plan immediately — don't keep pushing - Use plan mode for verification steps, not just building - Write detailed specs upfront to reduce ambiguity ### 2. Subagent Strategy - Use subagents liberally to keep main context window clean - Offload research, exploration, and parallel analysis to subagents - For complex problems, throw more compute at it via subagents - One task per subagent for focused execution ### 3. Self-Improvement Loop - After ANY correction from the user: update `tasks/lessons. md` with the pattern - Write rules for yourself that prevent the same mistake - Ruthlessly iterate on these lessons until mistake rate drops - Review lessons at session start for relevant project ### 4. Verification Before Done - Never mark a task complete without proving it works - Diff behavior between main and your changes when relevant - Ask yourself: "Would a staff engineer approve this?" - Run tests, check logs, demonstrate correctness ### 5. Demand Elegance (Balanced) - For non-trivial changes: pause and ask "is there a more elegant way?" - If a fix feels hacky: "Knowing everything I know now, implement the elegant solution" - Skip this for simple, obvious fixes — don't over-engineer - Challenge your own work before presenting it ### 6. Autonomous Bug Fixing - When given a bug report: just fix it. Don't ask for hand-holding - Point at logs, errors, failing tests — then resolve them - Zero context switching required from the user - Go fix failing CI tests without being told how ## Task Management 1. **Plan First**: Write plan to `tasks/todo.md` with checkable items 2. **Verify Plan**: Check in before starting implementation 3. **Track Progress**: Mark items complete as you go 4. **Explain Changes**: High-level summary at each step 5. **Document Results**: Add review section to `tasks/todo. md` 6. **Capture Lessons**: Update `tasks/lessons. md` after corrections ## Core Principles - **Simplicity First**: Make every change as simple as possible. Impact minimal code. - **No Laziness**: Find root causes. No temporary fixes. Senior developer standards.
36
253
9
2,638
311,385
MAGISTRALE. Elle les a littéralement broyés.
412
4,359
227
13,150
373,239
Anis Gwesmi retweeted
Wednesday is World #ArabicLanguageDay. Follow @UNarabic for updates on the UN's work in Arabic, and learn more about the day here: un.org/ar/observances/arabic…
اشتهرت اللغة العربية منذ زمن بعيد بمساهمتها في الشعر والفنون فهي لغة ذات قوّة راسخة وأبدَعت آيات جمالية رائعة تأسر القلوب وتخلب الألباب. تحت شعار "العربية والذكاء الاصطناعي: تحفيز الابتكار وصون التراث الثقافي"، نحيي #اليوم_العالمي_للغة_العربية. un.org/ar/observances/arabic…
67
60
3
168
47,778
Comment expliquer à ces enfants que le monde "civilisé" les a laissé à leur propre sort ? #Gaza_in_Genocide #FreePalestine
🚨 scènes de l'hôpital Kamal Adwan (nord de Gaza) aujourd'hui, filmées par le directeur, Dr Houssam Abou Safiya : Les patients et les réfugiés, principalement des enfants sont descendus aux étages inférieurs dans le chaos, au milieu des tirs de l'armée israélienne.
127
Anis Gwesmi retweeted
That Winning feeling 😍🇹🇳
13
1
135
4,601
Disappointed to see #Hollywood once again misrepresenting history. Numidians were North African, not Sub-Saharan. It’s surprising to see such inaccuracies in a major production. This does a disservice to the rich and diverse history of #Africa. #HistoryMatters #ThoseAboutToDie
1
136
Jeux paralympiques : une para-archère indienne de 17 ans tire avec les pieds et bat le record du monde lefigaro.fr/sports/jeux-olym… par @bez_adrien
Readers added context they thought people might want to know
La vidéo n'est pas tirée des Jeux Paralympiques Paris 2024 mais d'une compétition plus vieille. france.tv/sport/handispo…
76
788
87
5,007
737,928
RIP l'artiste !
ياسر جرادي في ذمة الله. هذا الفنان كالزيتونة بأرض تونس🇹🇳 كريم،خلوق،فنان حقيقي، قدم لجيل من الشباب فكرة جديدة وسردية مختلفة لفن الوطن والأجداد.. رحمك الله ياسر جرادي،ستبقى حيًّا وعزيزا في وجداننا.
1
46
If The Titanic Sank Today:
89
350
13
4,378
384,084
Anis Gwesmi retweeted
Marvelous! And time goes fast …
3,567
33,760
5,895
182,325
26,335,957
641
9,925
1,168
64,613
7,741,919
The good news is that graphic design is now accessible to everyone. The bad news is that graphic designers, already struggling, will have to either retrain (but to what?) or face unemployment. This is a typical scenario of the tidal wave predicted by #AI.
RIP Photoshop 💀 The new Canva update is going to change DESIGN forever Here are 10 amazing new features:
1
90
Anis Gwesmi retweeted
Happy birthday with GPT-4o
42
230
241
1,891
622,700
Anis Gwesmi retweeted
Gaza: Thousands of children have been killed in airstrikes over the last three weeks, with many others missing & feared dead. UN humanitarians warn that millions of children are suffering without basic essentials & face a lifetime of trauma. news.un.org/en/story/2023/10…
1,090
2,257
282
3,885
603,919
#AugmentedReality 3D hearts could be the future of cardiology 🫀📶 Together with @artinessreality and @bostonsci, we’re helping cardiologists train & deliver better care, using #5G and #AR technology.

1
2
1
8
818
Evolución artística…
69
2,784
95
11,358
1,421,563
Anis Gwesmi retweeted
Understanding big tech revenues
93
9
301
Anis Gwesmi retweeted
Super cool 🥰🥰🥰 Thank you @usopen ❤️
We brought in a Rubik's cube artist to do a portrait of @Ons_Jabeur. The result was amazing 🤩
96
222
14
3,956