All Prompts

Build a custom landing page for my project

by Yard

Replace the default page with your own HTML page, with Buy and trial buttons wired up.

First, confirm Yard is set up on this machine. Run `yard version`, and check that the Yard skill exists at ~/.agents/skills/yard/SKILL.md (%USERPROFILE%\.agents\skills\yard\SKILL.md on Windows). If either the CLI or the skill is missing, fetch https://yard.sh/setup.txt and follow it through to the end before you do anything else. If both are already in place, go straight to the task below.

---

Replace my Yard project's default page with a custom landing page that sells the product, using the README for copy.

1. Check yard me --json for .team_permissions.custom_project_pages. If it isn't granted, stop and give me https://yard.sh/pricing. In the Yard project linked to this directory, run yard init --page --json to scaffold .yard/landing-page/.
2. Write index.html and styles.css with a hero, three to five feature sections and an FAQ, using copy from the README. Use relative URLs only (href="styles.css", never "/styles.css"). Bind the title and tagline with data-yard="title" and data-yard="tagline", and show prices from window.yard.project.tiers.
3. Add a Buy button with data-action="checkout" and data-yard-when="not_owned", and an "Open in your library" link to https://yard.sh/library with data-yard-when="owned". Show a data-action="trial" button only when some tier has free_trial.enabled, and set its data-tier-id to that tier's id.
4. Run yard dev in the background and give me http://localhost:9875/<slug>/ to look at. Fix anything I point out, then run yard push.

Keep it to plain HTML, CSS and a little JavaScript, with no build step. Don't publish the release. Tell me when it's ready and I'll decide.