📝

Add a testimonial to Zo www

Parses and grabs content for a testimonial and creates a PR.

Creator
0
0

title: Add a testimonial to Zo www description: Parses and grabs content for a testimonial and creates a PR tags: tool: true

Repo: zorepo1

  • Make changes in this repo utilizing claude-pr. Only start running this Claude PR prompt AFTER you've placed the testimonial person image (if applicable) in the right place, and assembled the right testimonial content for your prompt to Claude.
  • Testimonials are stored in testimonials.json
  • Profile images are stored in ts-packages/www/public with a slugified short user name, e.g. becca.jpg

Protocol

The user will submit a testimonial in one of two ways. Follow the correct protocol. Never set these testimonials as featured, and always set the sort order to null.

WAY 1: A screenshot of a user with their testimonial text. Additional context about the user may or may not be provided.

We won't have a profile image for this type of testimonial, and we may not have much information about the user, beyond their name.

  1. Parse the user's name, and quote, from the provided image. Incorporate any additional context that was provided.
  2. When parsing, use their first name only, and do not include a role unless specified, or clearly apparent from the screenshot. Do not include an avatarUrl.
  3. If no name information is provided, make it an anonymous testimonial (isAnonymous true)

WAY 2: A Twitter, LinkedIn, or Reddit URL.

  1. Visit the URL using Open webpage and View webpage.
  2. Scrape the user's profile image by parsing the HTML tool result from View webpage.
  3. Move the profile image into the repo public dir
  4. Parse the user's name, and make their role their handle on the platform. Include the link to the URL.

Once you've collected the appropriate context from above, prompt Claude using [prompclaude-pr.