New Testimonial

Creates a new testimonial in src/content/testimonials/ with valid frontmatter. Use when adding a customer quote, review, or endorsement.

majiayu000 3e87df8 2 files · 2.0 KB Updated 567 repo stars

File contents

Create a new testimonial in the src/content/testimonials/ directory.

Steps

  1. Take the author name from the user's argument. If not provided, ask for one.
  2. Generate a kebab-case filename from the author name (e.g., "Jane Doe" → jane-doe.md).
  3. Ask the user for:
    • Role (e.g., "Senior Developer", "CTO")
    • Company (optional)
    • Rating (optional, 1-5)
    • Quote text — the actual testimonial
  4. Create src/content/testimonials/<slug>.md:
---
author: "<author name>"
role: "<role>"
company: "<company>"       # omit if not provided
rating: <rating>            # omit if not provided
publishedAt: <today's date YYYY-MM-DD>
---

<quote text without quotation marks>
  1. Tell the user:
    • The file was created at src/content/testimonials/<slug>.md
    • The markdown body IS the quote — do not wrap in quotation marks
    • Optional fields: company, avatar (image URL), rating (1-5)

majiayu000/claude-skill-registry-data/tree/main/generation/new-testimonial commit 3e87df80b3

Frequently asked questions

npx skillmds add majiayu000/new-testimonial