🪡

futarchy.dev + yield.sh

  • Took a while to write the prompt, based on knowledge of Manifold API. But really pays off!
    1. Full original prompt
    2. Was already familiar with Manifold API and response, had to provide that context
    3. Knew roughly how yield could use this (fetch, promise.all)
    4. Knew where to look in Manifold codebase to
  • yield.sh actually worked better than Claude:
    • could fetch
    • didn’t use recharts which was fine
    • didn’t use shadcn, which also was fine (though! turns out shadcn is available at https://esm.sh/shadcdn )
  • Then, I asked Claude to suggest different visualization approaches — this was really good
    • In context window of above, I prompted
    • Suggest 4 different prompts for yourself, exploring different possible ways to represent the same data to viewers
      <prompt>
      The site should consist of 11 different cards, each card showing a specific outcome like "Will marijuana be federally rescheduled from Schedule 1 drug?", and a horizontal line chart from 0 to 100%, with a red dot showing the market probability if Trump is elected, blue dot if Harris. Also show the projected difference like "+20% more likely if Harris wins".
      </prompt>`
      Claude response
  • There are small errors with each of the visualizations, but really good for inspiration

things to improve in yield.sh

Support multiline pastes or complex prompts
Collapse long prompts in chat window
Have Claude help user make a good prompt? Like interactive prompt forming, or asking y/n questions on how things should look
  • “What do you want your app to do?”
  • “Where do you want to get the data?”
  • “What aesthetic do you want? Modern design? 2000s chaotic myspace? black-and-green hacker terminal?”
Make it much easier to generate & preview 4 different versions
  • Should be able to do this all in one shot, no extra copying+pasting required

Example visualizations

image
image
image
image
image