Persona + expertise prompting turns generic reviews into senior-engineer code audits
JafarNajafov · x · 2026-10-13
Part 1 of a context-engineering series: give the model a specific role, years of experience, named skills and communication style, and it activates different reasoning. The screenshot shows a 'senior frontend engineer, 12 years' persona auditing React code far beyond generic feedback: useEffect deep clones on every state change, broken useMemo deps, O(n) includes → Set, duplicate IDs in selectAll, inline style objects, missing React.memo — each with fixes.
Related event: Context Engineering: Eight Techniques That Make the Same LLM 10x Better(9 posts)→
More from coding & agent
- Dev ships throwaway Postgres for agents: pg19 via pglite on Cloudflare DO over raw TCP — ritakozlov · 2026-11-29
- Product idea: cloud Android VMs and home WiFi proxies to make agents look human — Darpinian · 2026-11-29
- 38 free agent skills distilled from shipping three live AI products — PawelHuryn · 2026-11-29
- Step 5: run evals on synthetic data pre-launch, watch real traces after — PawelHuryn · 2026-11-29
- Break your agent before attackers do: 6 tests mapped to OWASP LLM Top 10 — PawelHuryn · 2026-11-29
- PM shares playbook for shipping 4 customer-facing Claude agents into production — PawelHuryn · 2026-11-29