Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save wesfloyd/dcc8ef233be971b3e0473953d9d4a1fd to your computer and use it in GitHub Desktop.
Save wesfloyd/dcc8ef233be971b3e0473953d9d4a1fd to your computer and use it in GitHub Desktop.

AVS Idea to Design to Prototype Vibe Development Guide

Why: this guide is meant to enable the user to go from a raw AVS Idea to Design to Prototype (Code) in under 10 mins and learn more about how EigenLayer works along the way.

Who: this guide is written to serve a more technical developer audience that prefers Vibe Coding with popular AI / LLM tools such as Claude Code. Please note that EigenLayer is also working to release a web app experience to enable the same Idea to Prototype flow which will be released independently.

Pre-requisites:

Stage 1: Idea Refinement

This stage is focused on taking your high level idea for building an AVS and turning it into a refined idea prompt. This will help reaffirm that your idea can be practically built as an AVS and result in a prompt that will be easy for the LLM to convert into a full AVS Design tech spec.

Steps to refine your idea:

  1. Open a new terminal session.

  2. `git clone` a local copy of the avs-prompt-library github repo and `cd` into the newly created folder.

  3. Run the `claude` command to enter the Claude Code console. Run `init` command to initialize the repository for Claude Code.

  4. Send the following prompt to Claude Code terminal to refine your idea and include any detail you wish to provide about your AVS.

    Help me generate a refined idea prompt for my AVS idea using the attached prompts/stage1-idea-refinement-prompt.md file for guidance.

    My idea for an AVS is: [insert your idea here].

    Please note that you may also add any AVS design detail you may already have in mind, including the following context to your prompt:

  • Project Overview: what is the name of your project and what value does it provide for its users?
  • AVS Purpose: what benefit does the AVS provide to securing, validating or decentralizing your project.
  • Name: what do you want to name your AVS? Or do you want the LLM to name it for you 😉?
  • Operator Work: which core work or task will the Operators that comprise your AVS do?
  • Validation: The work is validated through [todo - insert a description of your validation logic at a high level]
  • Rewards: send Rewards distributions to Operators based on [todo]
  1. The LLM will respond with either feedback on how to improve your AVS idea or a “[avs-name]-refined-idea-prompt.md” for your review.

Stage 2: Design (Tech Spec) Generation

Steps to generate your Design Tech Spec:

  1. Go to your open `claude` terminal session.

  2. Send the following prompt to Claude Code terminal:

    Help me generate a design tech spec for my using the attached [myavs-refined-idea-prompt.md] file and prompts/stage2-design-generation-prompt.md file for guidance.

  3. The LLM will respond with a completed "[avs name]-design-tech-spec.md" file for your review.

Stage 3: Prototype (Code) Generation

Steps to generate your prototype AVS code:

  1. Go to your open `claude` terminal session.

  2. Send the following prompt to Claude Code terminal:

    Help me generate a prototype implementation for my AVS using the attached [my-avs]-design-tech-spec.md file and prompts/stage3-prototype-code-generation-prompt.md file for guidance.

Roadmap

  1. Enhance our default prompts for each stage. The initial prompts are minimally viable and can easily be improved with more time and iteration.
  2. Design: add automated logo generation and architecture design to the design generation step.
  3. The Prototype code generation phase is focused on hello-world-avs as the target codebase. We will expand this to other examples and partner platforms in the future.
  4. Add a standard front end to the hello-world-avs repo to enable better demo’ing of the solution (pull from this example).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment