/croftweaver:website-new-pagefrom Croftweaver
Guides writing a new page or rewriting an existing one: produces a brief and full draft, judges it for readers/search/AI, gets owner approval on exact sentences, builds, verifies build preserves approved text, then hands off to SEO and internal-link skills.
Ships in Croftweaver. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
A page can be accurate and still thin: it answers no search, has no FAQ, says nothing the top results do not. A review of the finished code cannot see that; it checks that the page is built right, not that it is the right page. This skill moves the judgment in front of the build, where a change costs a sentence and not a round of code review.
What you produce: one page document, docs/pages/<slug>.md unless the site keeps such files
elsewhere. It has two parts: a brief of one page at most, then the full draft copy. Start from
${CLAUDE_SKILL_DIR}/templates/page-document.md.
1. Intake. Ask the owner these five questions, unless the request already answers them:
Ideas-only input may suggest questions to research. It never backs a claim, a citation or a link, unless the owner reclassifies it after you have read the source itself.
2. Research. Read the top results for the main query and ask an AI the same question. Save
what they cover and what they miss in a research file (docs/pages/<slug>-research.md), with the
address of every source you read. Read each source at the source, not through a summary.
Also save the site's own pages in that file, under This site's pages. Build the site
(npm run build) and list every page in its sitemap with its path, title, H1 and description,
then the main query of each page document in docs/pages/. Where the site has Search Console and
search-console-insights is installed, run gsc_query.py --site <property> --query "<query>" --days 90 --no-csv for the main query and for each related one, and copy each "Pages serving"
section there. --query takes one query string, so a page it does not return may still aim at the
search. If a query's output has no such section, the lookup failed or Search Console has no data
for the window: say so, and the check is open. If the site does
not build, has no sitemap, or the list is incomplete for another reason, say so too, at the top of
that section: the check is then open, and the go names it.
3. Write the page document. The brief fills its fields in plain words: the page type (an article that answers a question, a home page, a product or service page, a contact or legal page: the review judges depth and FAQ by it), reader, main query and two or three related ones, title, H1 and description led by the search words, the one original angle, the outline with what each section must teach, the graphics, four to six FAQ questions that each add something the body does not, the inputs with their labels, a claims table, an outbound-links table, "what we will not say", and the site's pages that already aim at this search, with a decision (below). Every proof point must be one the reader can open or understand without access: no internal ticket, pull request or repository names on a public page. Then write the draft copy in full, to that outline. Drafting is cheap; reviewing copy after it is built is not.
The site's pages that already aim at this search. From "This site's pages", list each page that aims at the main query or a related one, and each page a "Pages serving" table there shows drawing impressions for one, with what it shares. Leave out the page's own versions in other languages (its hreflang set) and the page being rewritten. For each, write one decision: a new page, and what keeps the two apart; extend that page instead (the document then rewrites it; one page at most, and the others are then judged against it); or a new page, and narrow that page, with its new title, description or sentences written out. Ask the owner before you write the draft when another page (not one left out above) has a title, H1, description or main query that names the main query's subject (the thing the reader searches about: "TripIt" in "tripit alternative", not the site's own name, nor words every page of its kind shares), or when Search Console shows such a page drawing impressions for the main query. Overlap on a related query alone never triggers the question. When you ask, write the whole brief first, leaving open only the decisions for the pages you ask about; then ask, naming each such page and the three decisions. Write the owner's answer into the field (for narrow, the page's new sentences too), revise every brief field the answer changes, then write the draft. If you do not ask, write your decisions; the owner sees them at the go.
Call the other skills for their own questions, and do not restate their rules here:
| The brief asks | Ask |
|---|---|
Title and description length, schema, llms.txt | website-seo-geo |
| Will an AI answer quote this page? | ai-seo |
| Does the page match the search intent? | seo-audit |
| Is the copy clear and in the owner's voice? | copywriting |
| What does the site already rank for? | search-console-insights, where it is installed |
4. Content review. One reviewer reads the page document and the research file with the prompt
in ${CLAUDE_SKILL_DIR}/references/content-review.md. It asks three things: does the page answer
its reader (including graphics and proof the reader can check), is it findable (search, AI
answers, who wrote it and why they know), and is it original next to the top results? The answer
is a ranked list of BUG, RISK and NIT findings.
website-review says for all site work. If the owner has the independent-review
skill working, independent_review.sh <page document> --content --evidence <research file>
sends the same prompt to its seats.5. The owner's go. Show the owner the reviewed document and a short note of the findings still open, each with your recommendation. Their go covers the exact sentences, not an outline. It also names the decisions on competing pages (and says if the check is open, step 2), and covers any sentences those decisions change on another page. Write "approved by the owner on " at the top of the page document.
6. Build the page and everything the site wants around it: the route, llms.txt, the share
card, the links the brief's Links field names, the sentences the brief's field on competing pages
writes for another page, and the schema (FAQPage where there is a FAQ). Tests should check that
contract, the sentences the site marks as locked (its AGENTS.md or CLAUDE.md says which), and
the claims-table rows the owner signed off. They need not pin all of the body copy: the next step
watches it.
7. Check the build kept the text. After the site builds, run:
python3 "${CLAUDE_SKILL_DIR}/scripts/check_page_text.py" docs/pages/<slug>.md dist/<slug>.html \
--title-suffix " | Site name" --skip nav,footer,aside,.vh,.sr-only,.visually-hidden,.byline
It compares the draft with the built page's title, description, FAQ schema and every sentence in
its <main> (the whole body if there is none), after folding whitespace, HTML entities and
typographic quotes. Dashes and every other character are compared as written. Exit
0 means the build kept the text. Exit 1 lists every changed sentence: put that list in the PR for
the owner to read, as it is. Components that add their own text (a byline, a button) are named
with --skip, as tags or .classes (a breadcrumb component too: its words and the hub link
sentence belong to the build, so step 7 does not list them as added text). The default skips nav,footer,aside,.vh,.sr-only,.visually-hidden,
and a --skip of your own replaces it, so keep those in the list. The three classes are matched by
name: text inside them is not compared. Check that the site's CSS hides each of them; if it shows copy in
one, pass a --skip without that class. If the check names a sentence the owner did not approve, that is the finding.
Exit 2 means the check could not read its input.
8. Hand the built page to ai-seo, then to internal-link-audit. Build fresh first
(npm run build), so both read the page as it ships. The owner's go covers the text and the link
sentences of the brief; nothing here is a second review of the copy.
ai-seo. Run its Step 3 table ("Content Extractability Check") on the built page, every
row answered on the build and none carried over from step 4 or 7: step 7 shows the sentences
survived, not their order, headings, tables or links. Then its Step 4 robots.txt check for
this page's path only. Look at what only the build shows: the JSON-LD the page emits (its
headline or name without the title suffix; FAQPage questions equal to the visible FAQ), no
noindex or nosnippet on the page, and no robots.txt rule that blocks its path for the search
bots Step 4 names. Leave Steps 1 and 2 (a new page is not indexed yet), the monitoring sections,
training-bot choices and Cloudflare settings: the last two are the owner's site decisions. Put
the table in the PR, each row Pass, Fail, or n/a with its reason where the row does not apply to
this page (no FAQ, no table).internal-link-audit. Hand over to that skill and follow its section "A new page": it holds
the bar, the command and what to do with each exit. The brief's Links field says whether the
page has a hub. Put the script's output in the PR as printed.9. Review the code with the site's usual review (website-review, or independent-review's
diff gate where the owner has chosen it). By now the copy has been judged, so this round checks
the build.
Use this when the intake names an old address: the page exists on WordPress, Contao, Wix, Squarespace or another tool, and the new page replaces it. A page like that already has an address, links pointing at it and searches it ranks for. A rewrite can drop the one section people came for, or change the address without a redirect, and the ranking is gone before anyone notices. Everything above applies. These steps change, and one is added:
1. Intake also asks for the old address, written as Search Console lists it (closing slash included), whether the old site had Search Console and under which property, and the planned go-live date. The old and the new address may sit in different properties. If the new address is on another domain, the old host has to forward each old address itself: the new site's redirect file cannot answer for it. This mode does not set that up; the page document and the go say who does.
2. Research starts from the old page.
search-console-insights skill, run its gsc_query.py with
--site <property> --page <old address> --days 90 --no-csv for the queries, clicks, impressions
and position, and copy its query table (up to 100 queries; it says when it cut some) into the research file under Old page, Search
Console. Once the old site is gone, give the 90 days as --start and --end instead, ending
the day before go-live. Without Search Console, say so in the research file: the owner names the
queries and sections that matter, and the four-week check below is skipped, with that reason
written in the page document.3. The page document gets two more fields. The address decision: keep the address, or name the new path. The section table: one row for each section of the old page, by its old heading, marked kept, rewritten, merged into another section, or dropped with the reason. Downloads, forms and embedded media are rows too, each with its target from the "Old page" section, so one that disappears without changing the visible text is still listed. A download that moves gets a redirect like a page.
4. Content review. The prompt for a moved page carries one more question (in
${CLAUDE_SKILL_DIR}/references/content-review.md): does the section table account for every section
of the saved old page, and does the draft still answer each query that earned the old page clicks?
5. The go lists every dropped section by its old heading and every dropped query by name, each with its reason, and the owner's go covers them by name. Put the two four-week windows (step 10) and their dates into the note.
6. Build writes the redirect when the address changes. With the wordpress-inspector skill's
make_redirects.py, run from a folder beside the saved site, not in the site's repository: a text
file with the old address on one line, --draft moves.csv, then fill in the new path and run
make_redirects.py old.txt moves.csv --site <new site> --out redirects.txt. It writes a line for
the address and one for its closing-slash twin. Add those lines to the site's public/_redirects
yourself, without the two # header lines (they say the file is regenerated).
Read the script's counts and exit code first. The script refuses to write over a file it did not write. After
go-live, run that skill's check_move.py old.txt <new site> --moves moves.csv and read its report.
10. The four-week check. The page document records two fixed windows of 28 days. Before ends
the day before go-live and is pulled on the old address. After starts the day after go-live and is
pulled on the new address. Pull each with gsc_query.py --site <property> --page <address> --start <day> --end <day> --by-date --no-csv --pages-csv <window>-pages.csv, so a rerun reads the same days and the report says whether the window is
complete: the property's own rows by date must reach its last day. Until it says so, judge nothing and pull again a few days later; three days after
the end is when to try first, not proof. If it still says "Not complete" a week after the end, say
so in the note to the owner and judge by hand in the Performance report. For <window> use before, after and, for the old
address's own after window, old-after, so no pull writes over another's file. Run this at the date the page document and the go note
name; the owner runs it, nothing is scheduled. Where the page moved to a new address, the old address's own
after window is never judged on its own: after a working redirect its numbers fall by design. Its
clicks still count in the page total below.
A main query has at least 10 clicks in the before window. It is a finding when the after window
shows less than half those clicks, or when its row is missing from the new address's query table and
gsc_query.py --query "<query>" with the same dates shows the new address gone from the pages that
serve it. Search Console hides rare queries, so a missing row is never read as zero: where the owner
cannot see the query in the Performance report either, write "unknown". A complete after
window with no rows for the new address at all is a finding too, never a reason to wait.
The page total is the page's own row in each window's pages file. Search Console leaves rare queries out of the query rows, so this row often counts many more clicks than they add up to. Before, the old address's row; after, the new address's row. Where the page moved to a new address, add the old address's row for the same days (from the old address's property if it is another one); a kept address is one row, counted once. Fold the spellings as under "More than ten pages". A page with at least 10 clicks before is a finding when its after total is less than half of them. On a small site this is often the only rule that can fire: its pages seldom have a query with 10 clicks. Where two rows were added, leave the total's position blank: positions do not add.
Give the owner a table that starts with the page total, then every query the before report lists with at least 1 click, largest first, with clicks, impressions and position for both windows. Mark each row, the page total too, main (10 or more clicks before) or for information. A row for information is never a finding, whatever its numbers: at a few clicks a month a fall can be chance. It is there so the owner sees what moved, and the note says so. Where its query has no row in the after report, write "not in the table", not 0; a main query's missing row follows the rule above. If either report says "Showing 100 of N queries", the note says how many were left out. Give the findings below the table. They go to the owner, not into an automatic rewrite.
More than ten pages. Sort the pages before the full mode runs. Start from the full address list
(wp_inventory.py's urls.csv, or the sitemap for another tool) and join the clicks and impressions
of every page over 90 days: gsc_query.py --pages-csv pages.csv writes them. Search Console lists
the same page under several spellings (scheme, www, closing slash): fold only the spellings the old
site itself sends to one address, add those up before joining, keep the rest as separate rows, and
list every row of pages.csv that matches no address. An address with no row returned no
impressions in those 90 days; that is not proof of zero, and the triage deletes nothing. Every address lands in one group:
Without Search Console the owner names the "move with care" pages, the rest carry over and nothing is proposed to let go. The 80% line is a judgment, not a measurement; the owner can move a page between groups.
check_page_text.py does not find dropped text: a rewrite changes most sentences, so it would list
the whole page. The section table, checked by the reviewer against the saved old page, does that job.
check_page_text.py exits 0, or its list of changed sentences is in the PR and the owner has read it.check_page_links.py (run as internal-link-audit says) exits 0, or each miss it lists is in
the PR with the owner's reason to accept it, or it exited 2 and the PR says why, marked "not run".ai-seo's table for the built page; each Fail on a row that applies is fixed or
accepted by the owner.scripts/check_internal_links.sh.references/content-review.md (opens in a new tab)scripts/check_page_text.py (opens in a new tab)scripts/tests/fixtures/README.md (opens in a new tab)scripts/tests/fixtures/astro-7.4.2_built-page_approved-draft.md (opens in a new tab)scripts/tests/fixtures/astro-7.4.2_built-page_shape-capture.html (opens in a new tab)scripts/tests/test_check_page_text.py (opens in a new tab)templates/page-document.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub karero/croftweaver --plugin croftweaver40 skills in this plugin
/ai-seoWhen the user wants to optimize content for AI search engines, get cited by LLMs, or appear in AI-generated answers. Also use when the user mentions 'AI SEO,' 'AEO,' 'GEO,' 'LLMO,' 'answer engine optimization,' 'generative engine optimization,' 'LLM optimization,' 'AI Overviews,' 'optimize for ChatGPT,' 'optimize for Perplexity,' 'AI citations,' 'AI visibility,' 'zero-click search,' 'how do I show up in AI answers,' 'LLM mentions,' or 'optimize for Claude/Gemini.' Use this whenever someone wants their content to be cited or surfaced by AI assistants and AI search engines. For traditional technical and on-page SEO audits, see seo-audit. For structured data implementation, see schema-markup./astro-i18n-setupTurn a new-website scaffold into a turnkey multi-language site: Astro i18n routing (clean default locale + prefixed others), self-referencing hreflang + x-default in the Base layout, i18n sitemap alternates, a language switcher, and the test-harness changes that keep the green-from-commit-1 gate honest across locales. Run at scaffold time when new-website Q4 = "two+ languages at launch", OR later to add a second language to a single-locale site whose default stays unprefixed (phased rollout). Trigger phrases: "multi-language site", "add i18n", "DE+EN site", "internationalization", "hreflang setup", "two languages at launch".
/business-listings-setupPost-launch: claim Google Business Profile, Bing Places, and category directories, then verify the `sameAs` profiles already in schema actually resolve. The action skill for E-E-A-T's Authoritativeness component (owned by `website-content-guide`): other pages linking to or citing you are one signal search and AI answer engines read as authority. Human-in-the-loop, same shape as `search-console-setup` — the agent drafts every value, the owner clicks. Trigger phrases: "claim my Google Business Profile", "Google Maps listing", "Bing Places", "business listings", "improve E-E-A-T", "authoritativeness is thin", "sameAs profiles".
/copywritingWhen the user wants to write, rewrite, or improve marketing copy for any page — including homepage, landing pages, pricing pages, feature pages, about pages, or product pages. Also use when the user says "write copy for," "improve this copy," "rewrite this page," "marketing copy," "headline help," "CTA copy," "value proposition," "tagline," "subheadline," "hero section copy," "above the fold," "this copy is weak," "make this more compelling," or "help me describe my product." Use this whenever someone is working on website text that needs to persuade or convert./customer-researchWhen the user wants to conduct, analyze, or synthesize customer research. Use when the user mentions "customer research," "ICP research," "talk to customers," "analyze transcripts," "customer interviews," "survey analysis," "support ticket analysis," "voice of customer," "VOC," "build personas," "customer personas," "jobs to be done," "JTBD," "what do customers say," "what are customers struggling with," "Reddit mining," "G2 reviews," "review mining," "digital watering holes," "community research," "forum research," "competitor reviews," "customer sentiment," or "find out why customers churn/convert/buy." Use for both analyzing existing research assets AND gathering new research from online sources. For writing copy informed by research, see copywriting./double-knuthGeneric two-pass "Double-Knuth" review for ANY repo or file set: Pass 1 = correctness/bugs on the change (delegates to /code-review when a git diff exists, agent-based otherwise), Pass 2 = completeness + cross-file/doc consistency — the defect class a diff reviewer structurally cannot see (stale counts/enumerations, docs contradicting changed behavior, dead paths, orphaned files, contract drift). Read-only: returns a ranked BUG/RISK/NIT list with file:line + concrete fixes. Specialized versions take precedence: websites → website-review; this skill covers everything else (skill suites, scripts, tools, configs). Trigger phrases: "double knuth this", "double knuth the code", "double knuth the repo", "two-pass review", "consistency review", "did the docs drift", "review the whole repo, not just the diff".
Other plugins' skills for the same job