---
name: suggest-improvements
description: List what is worth fixing on a site the conversion reproduced as-is — SEO, content, links, accessibility, performance, security, analytics and design — each item with its path, evidence, effort, risk and whether it can be applied mechanically, plus the agent's own design and content observations. Use after the parity gates and the visual review are green and before the pull request, or when someone asks what could be better on the converted site. It changes nothing.
title: suggest-improvements
canonical_url: https://skilld.dev/gh/ethanplusai/astro-conversion-kit/suggest-improvements
last_updated: 2026-10-24T13:30:51.000Z
---

> Index of every page on this site: [llms.txt](https://skilld.dev/llms.txt)

> **Skill from skilld.dev.** Follow the user's requested action.
> If the user asked to fork this Skill, follow the fork workflow below. Do not execute the Skill instructions while copying it.
> Otherwise, follow the instructions below for this session. You do not need to install anything.
>
> 31 supporting files sit beside this SKILL.md. When the Skill refers to one, fetch https://skilld.dev/api/skills-raw/ethanplusai/astro-conversion-kit/suggest-improvements/PATH with PATH replaced.
>
> If the user asked to install this Skill, run `npx skilld install ethanplusai/astro-conversion-kit/suggest-improvements`. Install writes the Skill files into the project, so every session loads them.
>
> ## Fork workflow
>
> A fork creates an editable local Skill with its original author and licence. The request authorizes copying and local installation.
> 1. Check `./skills/suggest-improvements`, the project lockfile, and selected Agent targets together. If the local directory or installed Skill exists, stop. Never overwrite an existing directory or Agent target.
> 2. Read [source metadata](https://skilld.dev/api/v1/skills/ethanplusai/astro-conversion-kit/suggest-improvements) once. Use sourceUrl, sourceCommit, skillPath, sourceGone, and license. If the source is gone or its path is missing, stop. If license is null, read licence files at the source commit.
> 3. Fetch only the source commit into a temporary Git repository. Do not clone full history. Derive repository_url from sourceUrl, including repository renames. If sourceCommit is absent, resolve the sourceUrl ref once. Set source_commit to that actual commit. Run these commands in one shell call:
>
> ```sh
> git init --quiet "$temporary_dir"
> git -C "$temporary_dir" fetch --quiet --depth=1 "$repository_url" "$source_commit"
> git -C "$temporary_dir" checkout --quiet --detach FETCH_HEAD
> ```
>
> Read applicable licence declarations and notices at that commit. If copying is not permitted, report the restriction and stop.
> 4. Inspect source entries together, then copy the directory containing skillPath into `./skills/suggest-improvements`. Use the user's path if selected. Keep the original SKILL.md, relative links, scripts, binary assets, and executable modes. Exclude .git metadata. Reject symlinks and paths outside the Skill directory. After checking entries, use cp -a where available. A regular source directory needs no custom copy script. Do not save this page wrapper as SKILL.md.
> Preserve author credit, notices, and applicable licence files from repository or parent directories. Add PROVENANCE.md with the Skill page, source URL, actual commit, original path, and licence. Retain any existing PROVENANCE.md and record new provenance separately. Batch source inspection, copying, and provenance work where practical.
> 5. In the project root, run `skilld install ./skills/suggest-improvements --mode copy --plain`. If skilld is unavailable, use `npx skilld install ./skills/suggest-improvements --mode copy --plain`. This known command needs no help lookup. Install does not support --json. Use detected Agent targets, or add --agent for the targets the user selected. Install the local path, never the upstream selector. If installation fails, preserve the local copy and report the exact failure.
> 6. Confirm the local lockfile source and installed Agent copies once. Report the local path, actual commit, and Agent targets. After edits, reinstall the same local path. Upstream updates must not replace it. Do not publish or push unless the user asks.

# suggest-improvements

The converted site reproduces the live site on purpose, flaws included. This skill writes down
the flaws, with evidence, so the site owner can decide which to fix. It never fixes them.

## The golden rule

**Nothing from here is applied directly.** An improvement becomes a proposal: an entry in
`proposals.json` that ships only in a `PROPOSALS=on` build until a person approves it, or a later
`convert-site --apply <id>` run that does the same on its own commit. Editing the default build
because this report said so breaks parity, and the gates will say so.

## When to run

After every parity gate passes and the visual review is green for every page, with `review/`
still on disk (it feeds the design checks), and before the pull request is opened. The report
goes in the PR.

## The command

From the site root:

    node <skill-dir>/scripts/suggest.mjs --capture capture --baseline baseline --review review --out docs/suggestions.md --json suggestions.json

Add `--gates gates.json` when the gate runner wrote that file (the header then summarises the
gates), and `--lighthouse capture/lighthouse-live` when that folder exists (it is also the
default). Run `node <skill-dir>/scripts/suggest.mjs --help` for every option.

Exit 0 means the report was written, whatever it found; 2 is a usage error or a missing input.
It reads `capture/`, `baseline/` and `review/` only and never requests the live site.

## Reading the report

`docs/suggestions.md` opens with the site, the counts and the gates line, then the
**Not covered** list, then one section per category: SEO, Content, Links, Accessibility,
Performance, Security, Analytics, Design. Inside each, one heading per check with its reason,
then one line per item:

    - `/about/` `h1` (`missing-h1`, effort S, risk low)
      - Evidence: no <h1> on the page

- **Path** is the page (for a site-wide problem, the first page it appears on).
- **Effort** is S, M or L; **risk** is none, low, medium or high; **applyable** means
  `convert-site --apply <id>` can make the change mechanically.
- **Evidence** is what the check saw in the capture: a value, a count, the pages.
- **Grouped items.** One problem repeated across the site (a script in the header, an image, a
  link, a title) is one item, not one per page. The evidence names the page count and the first
  three pages; `pages` in `suggestions.json` lists every page it applies to. Use the JSON when
  you need the full list.
- The report ends with **How to apply**, listing the checks that can be applied mechanically.

**Not covered is never a pass.** A check with no input (no `--review`, no Lighthouse reports, no
`media.json`) is listed there, and so is part of one. A check that threw is listed as
`check failed: <message>`; a check whose coverage note threw keeps its items and is listed as
`(partly): coverage note failed: <message>`. The other checks still ran. Quote the whole Not covered list verbatim in the PR, unedited. If
`--review` was missing because `review/` was deleted, rerun the visual review's shoot and styles
steps and run this again rather than shipping the gap.

## What you add by hand

The scripts cannot see everything. At the end of `docs/suggestions.md`, add a section:

    ## From the review

    - `/services/` hero: the heading overlaps the image at 390 px on live and new alike
      - Evidence: review/index.html, pair /services/ at 390, top of page

What goes there:

1. **Design observations from the contact sheet**: anything that looks wrong on live and was
   reproduced faithfully (cramped spacing, an image cropped badly on mobile, low contrast, a
   misaligned grid). Name the route and width.
2. **Content issues noticed while building**: typos, outdated copy, dead offers, a phone number
   that differs between pages, a page that duplicates another. Quote the text and name the
   captured file it came from.

Each line carries the same discipline as the script's items: a path, evidence a person can check
(a route and width on the contact sheet, a file under `capture/`, a quoted snippet), and nothing
you did not see. No guesses, no "probably". If the list is empty, write "Nothing further noticed."
so the reader knows you looked.

Do not rerun the script after adding the section: it rewrites `docs/suggestions.md`. Rerun it
first if the inputs changed, then add the section again.

## Acting on an item

Never in this run. When the person picks an item:

- **Applyable checks**: `convert-site --apply <id>` records the proposal in `proposals.json`,
  makes the change on its own commit, reruns the gates and the contact sheet, and ships it only
  with `PROPOSALS=on`.
- **Everything else** (alt text, copy, which duplicate page to keep, a design fix): a person
  decides or writes it, and it goes in as a proposal the same way, never into the default build.

## The checks

`references/catalogue.md` lists every check: its id, category, what it looks for, the evidence it
cites, its default effort and risk, whether it is applyable, which checks group across pages, and
which inputs each check needs. Read it when an item's reason is unclear or a check is missing
from the report.

## Present the result

1. **The counts per category**, then the items with risk medium or high and the applyable ones.
2. **From the review**, every line.
3. **Not covered, verbatim**: every line of the report's list, unedited. None of it was checked.
4. **What happens next**: nothing is applied until the person picks items; each becomes a
   proposal or a `--apply` run.

## References

| File | Covers |
|---|---|
| `references/catalogue.md` | Every check, its evidence, effort, risk, applyability and inputs |
