saasaloy-landing-copy
暂无简介
- License 许可
- MIT
- 所属仓库
- mimukit/saasaloy
- 最近更新
- 2026-11-13
- Stars
- ★ 4
- Forks
- 0
03 SKILL.md 正文
saasaloy-landing-copy — draft it in markdown, then write the page
Copy is a chore an agent does well if it is first made to understand the product, and
badly if it guesses. Understanding the product is not this skill's job: saasaloy-setup
already interviewed the owner and left docs/product-brief.md behind. This skill turns
that brief into words.
It does it in two passes, and the order matters. First a markdown draft the owner can read end to end in one screen and edit in place. Then the content module, once they say yes. A page of thirty keys reviewed as thirty terminal messages is a page nobody actually reviewed.
The write surface
| Path | What you change |
|---|---|
docs/landing-copy-draft.md |
The draft. Written every run, deleted once the copy lands. |
packages/ui/src/content/landing.ts |
Everything under landing.*. Plus ui.*, translated only, and only when the page is not in English — see Language. |
apps/web/src/pages/index.astro |
Only to drop a block, and only behind its own confirmation. |
docs/product-brief.md |
Only to append what you learned filling a gap the brief left, and only its Known gaps section otherwise. |
docs/build-log.md |
Under autonomy: afk only: the run's lines in the current stage's section, or in a ## Landing copy section, and the items it adds to ## Left for a human or ## Blocked. |
Nothing else — in particular not packages/config/src/project.ts, which holds the product
name and the locale. Those are project identity, saasaloy-setup owns them, and
Step 0 says what to do when they disagree with the
brief.
Step 0 — before you write anything
-
Read
docs/product-brief.md. If its frontmatter holdsautonomy: afk, follow Unattended run instead of the steps below, unless a person in this conversation asks for the draft and the review. Then take the attended path. No brief, no copy. Say so and offer to runsaasaloy-setup:There's no
docs/product-brief.md, so I'd be writing about a product I know nothing about./saasaloy-setupasks ten questions and leaves the brief behind; then this takes about a minute. Want me to run it now?Do not improvise your own interview. Two skills asking overlapping questions is how an owner ends up answering the same thing twice and getting two different pages.
-
Read
packages/ui/src/content/landing.ts. You need the current copy to diff against, and its comments carry the shape rules you have to keep. -
Read the icon registry in
packages/ui/src/lib/icons.ts. Reading a block is fine; editing one is not. Its keys are the whole vocabulary available tolanding.features.items[].icon, and they are the actual list rather than one copied into this file that went stale. -
Check the two facts you do not own, both in
packages/config/src/project.ts. Ifapp.nameis unset, sositeNameis still the shipped"Saasaloy", or it is a directory slug, orapp.localeisenwhile the brief names another language, say so now and carry both into the draft's Not mine to fix list. Writing Bangla copy into a page that declares itself English is a real defect, and one attribute long. Do not fix it yourself. -
Look at git, and treat it as advice.
git status --shortif there is a repo. A dirty tree or no repo is worth one sentence — "your changes aren't committed, so you can't undo this with git; the draft is reviewed before anything is written anyway" — and then you carry on. Neither state is a reason to stop. -
If a draft is already on disk, an earlier run was abandoned or is waiting on the owner. Say it is there, summarise it in a line, and ask whether to build on it or start over. Never silently overwrite someone's edits.
-
If the content module has already been rewritten by hand and the brief does not explain it, say so plainly: someone wrote this themselves. Ask whether to work from what is there or start over.
Step 1 — fill only the gaps the brief left
The interview happened. Your questions are limited to what the brief genuinely does not
answer and the page genuinely needs — usually the FAQ, occasionally a feature that has no
evidence behind it. Ask in one batch, and carry three sample answers plus "write your
own" on every question, the same way saasaloy-setup does: derived from the brief rather
than generic, shapes rather than invented values wherever the answer becomes a claim the
page makes.
Every weak: tag in the brief is a standing question, and re-asking one is always fair:
Last time "it's faster" had no number behind it, so the hero avoided the claim. Do you have a benchmark now?
If a gap stays a gap, write around it. Describe what the product does and leave the claim out. A page that says less is recoverable; a page that says something false about the product is not.
Step 2 — write the draft
docs/landing-copy-draft.md. Every key, current value beside proposed, in reading order —
so the owner reviews a page, not a data structure.
Three things belong in it besides the copy, because they are the ones an owner catches and an agent does not:
- The non-copy decisions. Each feature's icon name, and where the two calls to action point. A wrong icon is invisible in a list of sentences and obvious in a list of icon names.
- What you were working from. One line per section tying the choice back to the brief. This is what makes "no, that's not what I meant" a two-second correction.
- What you are least sure about, and what is not yours to fix.
# Landing copy draft — Ledgerly
Generated 2026-08-09 from `docs/product-brief.md`.
Edit anything here and tell me to apply it, or tell me what to change and I'll redo it.
This file is deleted once the copy lands in `packages/ui/src/content/landing.ts`.
## Tab and search result
| Key | Now | Proposed |
|-----|-----|----------|
| `meta.title` | {siteName} — ship your SaaS, not your scaffolding | {siteName} — close the month in one place |
`meta.description` (155 char limit, currently 148):
> Ledgerly closes the month for bookkeepers carrying 5–20 client accounts, without four
> spreadsheets per client.
## Hero
| Key | Now | Proposed |
|-----|-----|----------|
| `hero.announcement` | See what's new | In beta with two firms |
| `hero.primaryActionLabel` | Get started | Join the beta |
`hero.title`:
> ~~Ship the SaaS, not the scaffolding.~~
> **Close the month without four spreadsheets per client.**
*From the brief: the problem line, and "Excel plus a shared Dropbox folder" as the
alternative. The announcement uses the two named beta firms rather than a stage name.*
## Features
| # | Icon | Title | About |
|---|------|-------|-------|
| 1 | `list-checks` (was `terminal`) | One close, one checklist | … |
## Where the buttons go
| Key | Now | Proposed |
|-----|-----|----------|
| `navbar.ctaHref` | Saasaloy's getting started guide | https://ledgerly.com.bd/waitlist |
| `cta.primaryActionHref` | Saasaloy's getting started guide | https://ledgerly.com.bd/waitlist |
## Least sure about
- The announcement names your two beta firms. Fine to say publicly?
- FAQ 4 says data exports as CSV. The brief doesn't mention exports; I inferred it.
## Not mine to fix
- `lang` in `apps/web/src/layouts/Layout.astro` is still `en` and the brief says Bangla.
Run `/saasaloy-setup`, or change the one attribute yourself.
If the owner would rather skip the review — "just write it" — still write the draft
file. The draft is the record of what you propose, so it is not theirs to skip. Say once
that you are treating their go-ahead as approval, write docs/landing-copy-draft.md, name
the path, then go to Step 4 and show the diff there.
Step 3 — the owner reviews
Hand them the path and stop. Do not narrate the whole draft back into the terminal; the point of the file is that it is not the terminal.
Draft's at
docs/landing-copy-draft.md. Read it, edit anything you'd rather word yourself, then tell me to apply it.
When they come back, re-read the file from disk before applying. They may have edited it, and their wording wins over yours every time.
Step 4 — write the content module
Show the diff, key by key, old value then new. One confirmation for the file is enough; do not ask per key. Then write.
Every key below is under landing. in packages/ui/src/content/landing.ts. Fill all of
them; the layout is built for copy of roughly the length already there, so match it rather
than doubling it.
| Key | What goes there |
|---|---|
meta.title |
Browser tab and link preview. {siteName}: <what it does>, under 60 characters. |
meta.description |
Search result and link preview. One sentence, under 155 characters. |
navbar.linkFeatures .linkHowItWorks .linkShowcase .linkPricing .linkFaq |
Nav labels. One or two words. They point at the sections of the same name — keep the meaning, or the anchor lies. An empty label hides the link. |
navbar.secondaryLabel .secondaryHref |
The outline button beside the main one, usually docs, source or sign-in. Empty secondaryHref hides it. See Destinations. |
navbar.ctaLabel .ctaHref |
Two or three words, a verb first, and where it goes. See Destinations. |
hero.announcement .announcementHref |
The pill above the headline ("Now in early access") and where it links, usually a changelog or launch post. Empty announcement hides it. |
hero.title |
The headline. Under ten words, one idea, concrete. This is the sentence the whole page is judged on. |
hero.description |
One or two sentences saying what it does for whom. |
hero.primaryActionLabel .primaryActionHref .secondaryActionLabel .secondaryActionHref |
Button labels, a verb first, and where each goes. See Destinations. |
hero.terminalLabel .terminalTitle .terminalLines[] .treeTitle .tree[] |
The hero's product visual: a terminal and a file tree. For a product that is not a developer tool, keep the shipped lines and tell the owner in the draft to replace the visual with a screenshot (the block's header comment shows how). Command lines and paths are code, not prose. |
logos.label .items[] |
One line beside the logo row, and { id, name, mark } per logo. name is the accessible label; mark names an SVG the owner adds to logo-cloud.tsx, and an empty mark renders name as text. Never invent a customer: no logos in the brief means offer to drop the block. |
painPoints.title .description .intro .items[] |
The problem the product solves. Four items by default: { id, icon, title, description }, each a pain the brief's customer actually has. See Icons. |
howItWorks.title .description .steps[] |
Three ordered steps: { id, title, description }. Only for a real sequence a customer follows. |
features.title .description |
The section's heading and one supporting line. |
features.items[] |
Six by default: { id, icon, title, description }. Title 2–4 words; description one sentence about what the owner can do, not about the technology. See Icons. |
showcase.title .description .rows[] |
Alternating rows: { id, title, description, points[], visual, imageSrc, imageAlt }. With real screenshots in apps/web/public, set imageSrc and a real imageAlt; otherwise keep visual and its lists, or offer to drop the block. |
audience.title .description .items[] |
Who it is for. Four items: { id, icon, title, description }, from the brief's customer section. |
testimonials.title .description .items[] |
{ id, quote, name, role }. Real quotes only, with the person's permission. With none in the brief, keep the shipped placeholders and offer to drop the block. Never write a quote. |
pricing.title .description |
Heading plus one line. |
pricing.annualNote .currencySymbol |
See Pricing. |
pricing.tiers[] |
{ id, name, description, monthlyPrice, annualPrice, priceSuffix, features, ctaLabel, ctaHref }, plus featured and badge on at most one. Prices are whole units; null renders "Custom". An empty priceSuffix shows "/month". |
faq.items[] |
Five by default: { id, question, answer }. Write the questions a buyer asks before paying — pricing, migration, lock-in, data, what happens when they outgrow it. One to three sentences, and answer the question. |
faq.moreLabel .moreLinkLabel .moreLinkHref |
The line under the list. Empty moreLinkHref hides it. |
cta.title .description |
The closing ask, plus one line removing a reason to hesitate. |
cta.command |
A command shown as a code chip. Empty for a product that is not installed from a terminal. |
cta.primaryActionLabel .primaryActionHref .secondaryActionLabel .secondaryActionHref |
See Destinations. |
footer.tagline |
One line under the brand. |
footer.links[] .linkTerms .linkPrivacy |
{ id, label, href } per outbound link, then the two legal labels. Empty drops a link. |
footer.githubHref .xHref |
Social profiles. Empty hides the icon. |
footer.copyright |
Keep {year} and {siteName} in it. |
Three mechanical rules the code depends on:
{siteName}is the placeholder, and the blocks fill it in titles, descriptions, answers and tier names. Never a template literal — copy is data.{year}works only infooter.copyright. A pair of backticks in a description or answer renders as<code>.- Every list item's
idis a stable key, not a position. Rewriting atitleunder an existing id is free. Renaming an id is allowed but it is a new string to a translation layer, so do it only when the item genuinely became a different item. - Deleting an item is fine, in any list. Fewer features, questions, steps or quotes all lay out correctly.
Icons
Feature, pain point and audience items carry an icon naming a glyph from the registry in
packages/ui/src/lib/icons.ts. Rewrite what an item is about and move its icon in the same
edit — that is the whole reason the name lives in content. A page whose "practice all four
modules" card renders a terminal prompt reads as machine-assembled, because it was.
- Use a key the registry actually has. Read the map; do not guess from memory. An unknown name silently renders the fallback sparkle, which looks like a choice and is not.
- If nothing in the registry fits, say so in the draft and name the lucide icon you would want. Widening the map is a two-line edit the owner makes, in a library file, which is not yours.
Destinations
Every href that leaves the page is content: the navbar's two buttons, the hero's two
actions and its announcement, the CTA's two actions, each tier's ctaHref, the FAQ's
contact link and the footer's links and social profiles. The brief's Where "sign up"
goes section is where the main answer lives.
-
A URL in the brief. Write it into
navbar.ctaHref,hero.primaryActionHrefandcta.primaryActionHref. -
Nothing yet. Leave them as shipped (
#ctaand/) and write labels the page can honestly satisfy — "See how it works" rather than "Start your free trial". Note it in the draft and in the brief's Known gaps. A primary button that reloads the page is the single most visible defect this workflow can leave behind, so it does not get to be silent. -
cta.secondaryActionHrefis usually docs or an about page./is honest for a one-page site; a label promising docs that do not exist is not. -
The shipped values point at Saasaloy's own repo and docs. Replace every one. An href you cannot fill gets an empty string where the key allows it, which hides the link.
Everything else stays put. #features, #how-it-works, #showcase, #pricing and
#faq are anchors matching section ids, they live in the blocks, and changing one breaks a
link.
Pricing
The brief's Pricing section decides this, and it has already been through
saasaloy-setup's "extracted, never invented" rule. Your job is to carry it across without
softening it.
- Real prices — write them, and set
currencySymbolif it is not USD. - Placeholder — leave the shipped tiers exactly as they are and say so in the draft.
- None yet — offer to drop the pricing block. That is a block removal, with its own confirmation.
annualNote is a claim about the two numbers beside it. If there is an annual discount, set
each tier's annualPrice to the effective monthly cost when billed annually and make the
note arithmetically true. If there is not, set annualPrice equal to monthlyPrice and
annualNote to "". The monthly/annual switch stays on the page — it is chrome, and it now
claims nothing untrue.
Never round, convert currencies, or fill in a typical number.
The bar this copy has to clear
You are writing without a copy editor, and the failure mode is not bad grammar. It is fluent, confident, empty text that reads as machine-written. Refuse these, in the copy you write and in the copy you keep:
- Abstract benefit nouns as the subject. "solutions", "experiences", "workflows", "innovation", "efficiency". Name what the person does instead.
- The AI vocabulary. leverage, unlock, empower, seamless, robust, streamline, elevate, cutting-edge, game-changing, effortless, revolutionary, harness, delve.
- Rule-of-three cadence. "Faster, simpler, smarter." Three-item lists everywhere is the loudest tell there is. Use two, or four, or a sentence.
- "Not just X — it's Y." Also "more than just", "isn't only about".
- Claims nobody could disagree with. "Built for modern teams." "Designed for how you work today." If the opposite is absurd, the sentence is empty.
- Superlatives with no number behind them. "Blazing fast", "enterprise-grade", "world-class", "industry-leading".
- Em-dash tic. At most one em-dash per section. Full stops are free.
- Every sentence the same length. Vary it. Let one land in four words.
- Invented proof. No statistic, customer name, logo, award, rating or "trusted by thousands" that did not come out of the brief. Not one.
- Second-person promises the product cannot keep. "You'll never worry about invoices again."
Two habits carry more weight than that whole list: use the owner's own nouns from the brief, and name the current alternative. "Close the month without four spreadsheets per client" is a sentence no generator produces, because it required the interview.
Language, and the ui.* namespace
Write in the language the brief names, not English with a translation to follow.
When that language is not English, ui.* gets translated in the same pass. It is chrome
— "Monthly", "Most popular", "Close menu", the copyright line — and leaving it in English
under Bangla marketing copy ships a visibly broken page. No translation layer exists in the
base to come back for it later, so this is the only pass it gets.
Translated is not rewritten. Four rules:
- Preserve every
{token}exactly:{currencySymbol},{price},{year},{siteName}. A dropped token is a silently broken price or copyright line. - Never rename, add or remove a key.
- Never reword a string that stays English. In an English run,
ui.*is untouched. - Leave
packages/ui/src/lib/theme.tsalone regardless. It is inlined verbatim into a pre-paint<script>, is import-free on purpose, and its labels are a separate decision.
Then record in the brief's Known gaps, in one line, that ui.* was translated by a copy
agent rather than a translator and is worth a native speaker's read. Also record — once —
that the template loads no webfont: font-sans is the system stack, so a non-Latin
script renders in whatever face the visitor's device provides. Both are real gaps and
neither is a reason to write the page in English instead.
Step 5 — prove it, then clean up
A page that does not compile is not a deliverable:
pnpm --filter @repo/ui typecheck
pnpm build
Broken build, broken types: fix it, or revert the write and say what happened. Do not hand back a red tree.
Then delete docs/landing-copy-draft.md. It has done its job, and a stale draft beside
a rewritten page is a second source of truth that will disagree within a week. The brief is
the one that persists.
Finally, tell the owner what to look at: pnpm dev, the two or three lines you are least
sure about, and anything still on the Not mine to fix list.
Dropping a block is its own confirmation
When the brief yields nothing a block can honestly carry — no pricing, no customer quotes, no customer logos, no screenshots for the showcase, no real sequence for how it works — you may propose removing that block. Separately. Never bundled into the copy write, never silent.
It is three edits, and all three are allowed:
- Delete that block's line and its import from
apps/web/src/pages/index.astro. Tell the owner they can delete the block file inpackages/ui/src/blocks/too; that file is not yours to delete. - Blank the matching label in content (
landing.navbar.linkPricing = "",landing.footer.linkPricing = ""). A blank label drops the link, so the page keeps no nav entry pointing at a section that is gone. - Retarget any action pointing at the removed section. The hero's and the CTA's
hrefs are content, so check each one in
landing.tsand point it somewhere that still exists. Confirm the new target with the owner along with the removal.
Removing a block is not redesigning one. You are editing lines in a page, not editing
packages/ui/src/blocks/.
Unattended run
autonomy: afk in the brief's frontmatter means nobody is at the keyboard. Write the page from the brief with no draft approval and no question, and record every decision in docs/build-log.md, which is where the owner reviews it later. Every rule in Steps 1 to 5 still holds, except where this section replaces it.
- Read the brief, the content module and the icon registry, as Step 0 says.
- Ask nothing. Write around every gap and every
weak:tag the brief left, the way Step 1 says to when a gap stays a gap: describe what the product does, and leave the claim out. - Write no draft file, and wait for no review. Skip Steps 2 and 3. When a
docs/landing-copy-draft.mdfrom an earlier run is on disk, leave it alone and list it under## Left for a human. - Leave hand-written copy alone. When the content module has been rewritten by hand and the brief does not explain it, write nothing to it. List it under
## Left for a humanand stop. - Write
landing.tsas Step 4 says, with no confirmation. First copylanding.tsandapps/web/src/pages/index.astroto a temporary folder outside the repo, because a fresh project may have no commit to restore them from. - Drop a block only when the brief gives it nothing true to carry: no pricing yet, no named customer for the quotes or the logos, no real sequence for how it works. Make the three edits in Dropping a block, retarget each action that pointed at it, and log the drop. Pricing marked as placeholder keeps the shipped tiers, and that goes under
## Left for a human. - Prove it with Step 5's two commands. When you cannot fix a red build, copy both files back from the temporary folder and log the failure under
## Blocked. - Log the run in
docs/build-log.md: the sections you rewrote, each block you dropped and why, and the lines you are least sure about. Add the lines under the current stage's##section when a build is running, and under a new## Landing copysection when none is. The stage that commits adds its commit hash to that section. Add each Not mine to fix item, such as a name or locale that disagrees with the brief, under## Left for a human. Create the log with a# Build logtitle when it does not exist.
Re-running
Copy on disk plus a brief means this has run before.
- Read the brief and the current copy, and say in a few lines what the page claims today.
- Ask what changed, and ask about every
weak:tag. - Draft again. The draft's "Now" column is the current copy, so a re-run shows the owner exactly what a second pass would move — which is the whole value of the second pass.
- If the copy on disk does not match what the brief would produce, someone edited it by hand: say so, show the difference, and ask which wins.
Boundaries to honor
- The write surface is the whole list of files you may touch —
nothing outside that table. Two of them carry copy:
packages/ui/src/content/landing.ts(landing.*always,ui.*translated on a non-English run) anddocs/landing-copy-draft.md, which you write on every run and delete at the end. The other two are a consented block removal inapps/web/src/pages/index.astroand appended gaps indocs/product-brief.md. - The product name and the locale are not yours.
packages/config/src/project.tsbelongs tosaasaloy-setup, and so does everything else inpackages/config. Report a mismatch; do not fix it. - Never edit a block.
packages/ui/src/blocks/*.tsxis off limits: no markup, no classes, no structure, no widening the icon registry. Read them freely. If copy will not fit a block, say so and let the owner decide. - Never touch the design layer —
packages/ui/src/styles/*,components.json,packages/ui/src/components/*, or any Tailwind class anywhere. - Never rewrite
ui.*, in any language. Translate it or leave it. - Leave anchors alone.
#features,#pricing,#faq,#ctaand a tier's defaultctaHrefmatch section ids. The three outbound destinations in Destinations are the exception, and they are the only one. - Leave
apps/web/src/pages/terms.astroandprivacy.astroalone. Boilerplate legal text is not a copywriting job. - No images, logos, icons or screenshots. Not generated, not sourced, not referenced. Choosing an existing icon name is not this.
- No dependencies, no i18n machinery, no webfonts. Report the gap; do not close it.
- Never invent pricing or proof, and never quietly leave the shipped demo numbers in place as if they were real.
- No repeated setup interview. The threshold is presence, not depth. Hand back to
saasaloy-setuponly whendocs/product-brief.mdis absent, or names no product at all. A brief that exists and names the product is usable however thin it is: proceed under the next bullet, and for a page-specific gap ask only the questions Step 1 allows. Never ask the setup interview's own questions yourself. - Under
autonomy: afk, never ask and never wait. Log the decision indocs/build-log.mdinstead. - A dirty tree, a missing repo, or a thin brief is not a blocker. Warn, write less, and say what you left out. (This is about those three conditions only — anything unsafe or outside this skill's scope you decline as you normally would.)
04 同仓库更多 Skills
saasaloy-subscription
Runbook for the subscription capability — provider-agnostic subscriptions in packages/subscription, with a plan file, a projection table, a billable-subject file, plan entitlements and per-provider modules. Use when adding a plan, adding a plan feature or a numeric limit, gating an API route with requireFeature or requireWithinLimit, reading the 402 it returns, working out why a subject resolves to the free plan, wiring a checkout or portal route, reading a SubscriptionError, choosing or switching SUBSCRIPTION_PROVIDER, registering a webhook in the vendor's dashboard, writing a third subscription provider, or upgrading a project that still has `billing` installed.
saasaloy-notification
Runbook for the notification module, in-app notifications for apps/app. It owns the notifications and notification_opt_outs tables, notify() in apps/api/src/lib/notify.ts, the /notifications api routes, the bell in the app header, the sidebar badge, the /notifications page with Inbox and Preferences tabs, the notification config section, and the daily prune. Use when sending a notification from an api route, adding or changing a category, changing retention, debugging a badge or bell count that does not move, or removing the module.
saasaloy-cms
Runbook for the cms module, the in-house CMS behind apps/admin. Covers code-defined collections, the Tiptap editor, drafts, revisions and redirects, the publish-time renderer, the public blog on apps/web and its 60-second cache. Use when adding a collection or a field, rendering a stored body, reusing the editor, renderer or media field from another module, moving the blog to another path, re-rendering live posts after a renderer upgrade or a STORAGE_PUBLIC_URL change, or working out why a published post is not live yet.
saasaloy-beta
The beta module's own procedure.
helper
暂无简介
saasaloy-update
Runbook for an AI agent that updates this project to a newer Saasaloy CLI and newer module versions with saasaloy update. Use when the owner says "update saasaloy", "upgrade the CLI", "pull the latest modules", "update the base template", "work the merge plan", "clear the update notes", when saasaloy update or saasaloy outdated --check exits 3 or 2, when a merge plan or .saasaloy/merge-plan.md is handed to you, or when an adopted project takes its first update. Covers the CLI upgrade, the preview, --out, the file merges, the update notes and "Notes that may apply", --resolved and --done, a file deleted locally and --restore, a three-way or two-way base, an update that skips releases, --from, the verify commands, and the exit codes.