Index of every page on this site: llms.txt
All skills
subinternal avatar

/clickd-page-system

@a37d423
by subinternalsubinternal/clickd2 stars
1
Run it yourself

Builds a site's page templates and shared components so search engines and AI assistants read every page well, and proves each pattern with clickd. Covers one h1 and a real outline, landmarks, an answer-first opening, structured data for each kind of page, share tags, canonical and indexing, internal links and hubs, images, speed and contrast, spacing on one scale with an even rhythm, and moving an existing site onto it a template at a time. Use when building or reworking a site's layout, page templates, components or design system, adding a new kind of page, or when clickd findings point at a shared template. About the structure of pages and their spacing, not their color, type or brand.

Use this Skill: https://skilld.dev/gh/subinternal/clickd/clickd-page-system

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencesimages-and-speed.md

≈1.7k tokens on demand. Your agent reads this file only when SKILL.md points to it.

Images, and the speed that matters for reading

Images carry meaning only as an element with words; speed matters most where it decides whether a crawler gets the page at all. This file is for the image and speed parts of step 6.

How clickd reads images and speed

  • has-image passes an article or service page with an img, picture, video, an svg inside a figure, or an svg with role="img" in its content. A picture set as a CSS background does not count, and the finding says how many it found.
  • image-alt fails each img in the content with no alt text, or only spaces. An image marked aria-hidden="true" or role="presentation" is read as decoration and may have alt="".
  • share-image fails a page with no og:image.
  • compressed reads the home page's Content-Encoding. A page under 2 KB, or a local address, is not judged.
  • quick-to-answer fails a site where half the pages took over 800 ms to start answering. This is the server's time to first byte, not how long the page took to draw.

clickd does not measure Core Web Vitals. They are field figures from real visits; the speed test and Google's own tools report them.

Alt text, decided

Work down the list for each image and stop at the first that fits.

The image Alt text
The only content of a link or button Where it goes or what it does: alt="Hollow Creek Drainage, home"
Has words in it that appear nowhere else Those words
A photo or drawing that adds meaning What it shows, in a short sentence: alt="A trench lined with fabric and gravel beside a house foundation"
A chart or diagram A short alt, and the figures in a table or text on the page
Repeats text right beside it alt="" with role="presentation"
Decoration only alt="" with role="presentation", or a CSS background
  • Never alt="image", the file name, or the page's keywords in a list. Google treats keyword stuffed alt text as spam.
  • An image that is a link gives its alt as the link's words.
  • Alt text comes from the image's own data in the CMS. A template that writes the page title into every image's alt gives the same words to every picture.

The image element, worked

Before: a background picture and an image the page jumps around.

<div class="hero" style="background-image:url(/img/hero.jpg)"></div>
<img src="/img/trench.jpg" loading="lazy">

After: the first large image loads early with its space held; the rest wait until they are near.

<img src="/img/trench-1200.jpg"
     srcset="/img/trench-600.jpg 600w, /img/trench-1200.jpg 1200w, /img/trench-2000.jpg 2000w"
     sizes="(width <= 700px) 100vw, 700px"
     alt="A trench lined with fabric and gravel beside a house foundation"
     width="1200" height="800" fetchpriority="high">

<figure>
  <img src="/img/outlet-800.jpg" alt="A pop-up emitter at the end of a drain line in a lawn"
       width="800" height="600" loading="lazy" decoding="async">
  <figcaption>The outlet, where the water leaves the drain.</figcaption>
</figure>
  • width and height on every img, as whole numbers of the file's own size, so the browser holds the space before it loads. CSS can still scale it.
  • The largest image in the first screen is never lazy, and takes fetchpriority="high". Give it to one image, two at most.
  • loading="lazy" on images below the first screen. In a <picture>, the attribute goes on its img.
  • src stays as the fallback beside srcset. Each w figure is that file's real width; sizes says how wide the image shows.
  • The share image is a separate file, 1200 by 630, named in og:image with og:image:alt.

Speed that decides what a crawler reads

Order of work, by what it gives a reader and a crawler:

  1. Text in the HTML the server sends. Text added by script after load is the biggest loss: most AI crawlers do not run scripts at all.
  2. Compression. Turn on gzip or Brotli for HTML at the server or CDN.
  3. Time to first byte. Cache whole pages at the server or CDN where they are the same for everyone; a crawler that waits gives the site fewer visits.
  4. The first image and font. Do not lazy load the main image; preload a hero image that only CSS names; use font-display: swap or optional so text shows before the font.
  5. Script. Defer what the first screen does not need. Every script in <head> without defer or async holds the page back.

Core Web Vitals are the shared yardstick for people: Largest Contentful Paint within 2.5 seconds, Interaction to Next Paint 200 ms or less, and Cumulative Layout Shift 0.1 or less, each at the 75th percentile of real visits. They are worth meeting for people. clickd's rules check the server side of speed, not these.

Check it

What How Pass Fail
Compressed curl -s -o /dev/null -H 'Accept-Encoding: br, gzip' -w '%header{content-encoding}\n' https://<page> (curl 7.84 or later) br or gzip An empty line
Time to first byte curl -s -o /dev/null -w '%{time_starttransfer}\n' https://<page>, run three times Under 0.8 seconds most times Over 0.8 most times
The whole page https://clickd.com/website-speed-test?url=<page> Its figures in the good range The step it names as slowest
Images in content clickd_pages({ site, failing: "image-alt" }) and failing: "has-image" Empty lists The pages, which usually share a template or a CMS field left empty
Share image https://clickd.com/og-image-checker?url=<page> The image, its size and its alt No image, or one cropped at 1.91 to 1

Sources

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts22d3 checks · Risk SAFE
  • Gen Agent Trust Hub22d

    The skill provides a structured framework and local scripts for auditing website templates to improve SEO and AI readability. It includes a measurement script for layout analysis and utilizes external auditing tools from clickd.com.

  • Socket22d

    No alerts

  • Snyk22d

    Risk: LOW · No issues

Signed by skilld at a37d423. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub last week.

Activeupdated 3 weeks ago
metadata
{
  "author": "subinternal",
  "version": "2.3.0"
}

README badge

README badge for subinternal/clickd/clickd-page-system