agentleFS
RefoundAIRefoundAI/lenny-skills/skills/building-with-ai-agents/SKILL.md

building-with-ai-agents

Skill1.4k starsChanged 5 months agoMITView on GitHub

Help users master the transition from manual coding to managing AI-driven development workflows by focusing on high-level direction, parallel tasking, and rigorous automated review.

Trending

Quiet since October.thin dataabout the whole repository

Jan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 1 mentionApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 0 mentionsJul 2026: 0 mentionsAug 2026: 0 mentionsSep 2026: 0 mentionsOct 2026: 1 mentionNov 2026: 0 mentionsDec 2026: 0 mentions
Jan 2026Jul 2026Dec 2026
Mentions a month of the RefoundAI/lenny-skills repository that our weekly crawl found: only 2 in all, so this is a hint, not a trend. There is no adoption data for this file yet.

Who's talking about RefoundAI/lenny-skills

The biggest 2 of 2 mentions linking to the repository that our crawl found. Each line is their own headline.

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Identify Tasks: - Use the Junior Intern framework to find repetitive or well-defined engineering tasks suitable for delegation.

    line 14
  2. Distinctive:

    Stop manual code editing and transition to directing multiple AI agents simultaneously across different pull requests to maximize …

    line 24

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Building With AI Agents

Transition from writing lines of code to directing a parallel team of autonomous agents.

Help the user with building with ai agents using insights from 15 guests and posts across Lenny's Podcast and Newsletter.

How to Help

  1. Identify Tasks - Use the Junior Intern framework to find repetitive or well-defined engineering tasks suitable for delegation.
  2. Define Instructions - Draft precise, granular prompts and provide context through markdown files and past examples.
  3. Manage Parallel Threads - Direct multiple agents simultaneously across different pull requests or features to scale output.
  4. Review and Iterate - Maintain oversight by reviewing code logic and using AI-led peer reviews to ensure quality before deployment.

Core Principles

The Directorial Shift

Boris Cherny: "100% of my code is written by Claude Code. I have not edited a single line by hand since November. Every day, I ship 10, 20, 30 pull requests. So, at the moment I have, like, five agents running."

Stop manual code editing and transition to directing multiple AI agents simultaneously across different pull requests to maximize productivity.

Absolute Specificity

Lazar Jovanovic: "AI just don't understand what do you mean when you say, 'You know what I mean?' So you need to be specific. I'm optimizing 100% of my time today on good judgment, clarity, quality, taste."

Abandon the assumption that the tool understands your implicit intent and provide granular instructions as if you are talking to a technical co-founder.

High-Level Reasoning and Orchestration

Marc Andreessen: "Over the holiday break, it feels like the AI coding thing really hit critical mass and the world's best programmers, including Linus Torvalds, for the first time over the holiday break basically said, 'Yeah, AI is now coding better than we can.'"

Transform your role from manual execution to reasoning and orchestration, using AI to achieve 10x the output of a standard programmer.

Asynchronous Coordination

Scott Wu: "Our whole team is only like 15 engineers a year. We use a ton of Devin when we're building Devin. Most folks on the team are definitely working with up to five Devins at once, and so Devin merges like several hundred pull requests into production in the Devin code bases every month."

Move from synchronous single-tasking to coordinating a parallel team by assigning distinct tasks to multiple agent instances at once.

Eliminate Manual Escape Hatches

Sherwin Wu V2: "There's a team that's actually doing an experiment right now within OpenAI where they are maintaining a 100% Codex-written code base. They run into the exact problems that you're describing. And so usually you're like, 'All right, I'll roll up my sleeves and figure it out.' This team doesn't have that escape hatch."

Resist the urge to manually fix code when agents struggle; instead, commit to mastering the model steering required to solve issues through AI alone.

Multi-Model Peer Review

Zevi Arnovitz: "It's very difficult for me to catch mistakes. What I'll do is basically /review. This tells Claude to start reviewing its own code, but what's even cooler is I have Codex as well as Cursor open. I will have each of them review the code."

Compensate for technical knowledge gaps by forcing different AI models to cross-check each other for logic errors before deployment.

Templates & Frameworks

  • AI Agent Builder Meta-Prompt (Make product management fun again with AI agents) - A comprehensive prompt to paste into an LLM with deep research capabilities (o3 Deep Research or Perplexity Deep Research) that generates platform-specific, ste
  • 10 Use Cases for Devin (Autonomous AI Engineer) (A free year of Devin: the world’s most advanced autonomous AI software engineer) - A list of 10 specific ways teams can use Devin, progressing from straightforward engineering tasks to broader product and analytics work.
  • Junior Intern Test for Task Delegation (Make product management fun again with AI agents) - A mental model for identifying which tasks to delegate to AI agents: ask yourself what you'd assign to a smart, motivated junior intern with zero experience.
  • /peer review command (Zevi Arnovitz) - A prompt that frames Claude as the dev lead receiving code review feedback from other team leads (other AI models), instructing it to either defend its decision
  • AI Project Planning PRDs (Markdown Files) (Lazar Jovanovic) - A suite of markdown documents used to provide persistent, dynamic context to AI coding agents so they don't lose track of the project scope.
  • 4x4 Debugging Framework (Lazar Jovanovic) - A four-step sequential process for fixing broken AI-generated code without knowing how to code.
  • /exploration phase command (Zevi Arnovitz) - A prompt that tells Claude to deeply explore a problem before any code is written — fetches context from Linear, analyzes the codebase, and asks clarifying ques
  • /create plan command (Zevi Arnovitz) - A prompt that generates a structured markdown plan file from the exploration exchange, with status trackers on each task, TLDR, critical decisions, and task bre

See references/artifacts.md for the full list with details.

Questions to Help Users

  • "Which repetitive engineering tasks are currently slowing your team down the most?"
  • "Do you have existing documentation or markdown files that explain your codebase structure to a new joiner?"
  • "How comfortable are you resisting the urge to manually fix a bug instead of re-prompting the agent?"
  • "What communication tools like Slack or Linear would you like these agents to integrate with?"
  • "Do you have a clear definition of success or a template of a perfect pull request for the agent to follow?"

Common Mistakes to Flag

  • Vibe Coding - Generating code without maintaining a thorough understanding of the implementation details leads to unmaintainable systems.
  • Vague Prompting - Assuming the AI knows what you mean without providing granular, specific technical constraints results in misaligned output.
  • Manual Intervention - Reverting to manual coding when the AI goes off-rails prevents you from learning how to steer the model effectively for long-term scale.
  • Synchronous Management - Treating agents as chat tools rather than asynchronous team members prevents you from realizing the gains of parallel development.

Deep Dive

For all 31 sourced insights from 15 guests, see references/guest-insights.md

Related Skills

  • Writing Prds
  • Shipping Velocity
  • Ai Assisted Prototyping
  • Product Tool Stack

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.