building-with-llms
Practical guidance for building effective AI applications using techniques from 60 product leaders and practitioners.
- Covers core prompting patterns: few-shot examples, decomposition for complex tasks, self-criticism, and context placement for cache efficiency
- Emphasizes architecture decisions over prompt tuning: context engineering, RAG data preparation, layered model supervision, and specialized models for specific tasks
- Provides evaluation frameworks: mandatory evals with binary Pass/Fail scoring, LLM-as-judge validation, and moving from vibes testing to systematic measurement
- Includes iteration strategies: retry stochastic failures, cross-pollinate between models, and build reusable prompt libraries for compounding team effectiveness
Building with LLMs
Help the user build effective AI applications using practical techniques from 60 product leaders and AI practitioners.
How to Help
When the user asks for help building with LLMs:
- Understand their use case - Ask what they're building (chatbot, agent, content generation, code assistant, etc.)
- Diagnose the problem - Help identify if issues are prompt-related, context-related, or model-selection related
- Apply relevant techniques - Share specific prompting patterns, architecture approaches, or evaluation methods
- Challenge common mistakes - Push back on over-reliance on vibes, skipping evals, or using the wrong model for the task
Core Principles
Prompting
Few-shot examples beat descriptions Sander Schulhoff: "If there's one technique I'd recommend, it's few-shot prompting—giving examples of what you want. Instead of describing your writing style, paste a few previous emails and say 'write like this.'"
More from refoundai/lenny-skills
personal-productivity
Help users manage their time and tasks more effectively. Use when someone is overwhelmed with work, struggling with focus, trying to balance multiple responsibilities, or asking how to get more done.
4.6Kcompetitive-analysis
Help users understand and respond to competition. Use when someone is positioning against competitors, evaluating market threats, running competitive war games, or deciding how much to focus on competitors versus customers.
1.9Kbrand-storytelling
Help users craft compelling brand narratives. Use when someone is defining brand strategy, writing company positioning, creating pitch narratives, developing messaging frameworks, or trying to make their company story more memorable.
1.8Kwriting-prds
Help users write effective PRDs. Use when someone is documenting product requirements, preparing specs for engineering, writing feature briefs, or defining what to build for their team.
1.8Kcontent-marketing
Help users build content marketing strategies. Use when someone is starting a blog, building SEO, creating thought leadership content, or deciding on content formats and distribution channels.
1.7Kvibe-coding
Help users build software using AI coding tools. Use when someone is using AI to generate code, building prototypes without deep technical skills, or exploring how non-engineers can create functional software through natural language.
1.7K