Skill / SKILL.md

Link Fix

Pagepro/nexity

Audit and fix the links stored in the Sanity dataset, three rules counted in one table first. own-domain turns links to the site's own domain (`https://example.com/pricing` or a bare `/pricing` in an external link, CTA, header/footer link or rich-text annotation) into references or internal paths. http upgrades `http://` links and URL fields to `https://` per host, optionally only where https answers. slash aligns internal paths, own-domain URLs and slugs with the trailing-slash convention in `web/next.config.*` and fixes double or missing slashes. The user picks the rules; a dry-run-first script writes them (`--apply`) and re-checks, then the code goes to `link-reviewer`. Use when the user asks to "fix links", "convert absolute URLs to relative", "editors pasted full URLs", "links to our own site open in a new tab", "replace http with https", "trailing slashes are inconsistent", "check our slugs", after a content import or migration, or before a domain change.
2 views 43 repository stars 0 commentsUpdated Nov 27, 2026
Overview

Audit and fix the links stored in the Sanity dataset, three rules counted in one table first. own-domain turns links to the site's own domain (`https://example.com/pricing` or a bare `/pricing` in an external link, CTA, header/footer link or rich-text annotation) into references or internal paths. http upgrades `http://` links and URL fields to `https://` per host, optionally only where https answers. slash aligns internal paths, own-domain URLs and slugs with the trailing-slash convention in `web/next.config.*` and fixes double or missing slashes. The user picks the rules; a dry-run-first script writes them (`--apply`) and re-checks, then the code goes to `link-reviewer`. Use when the user asks to "fix links", "convert absolute URLs to relative", "editors pasted full URLs", "links to our own site open in a new tab", "replace http with https", "trailing slashes are inconsistent", "check our slugs", after a content import or migration, or before a domain change.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/Pagepro/nexity' skill-source

Use the complete skill-source/.agents/skills/link-fix directory with your client’s skill installer.

  • .agents/skills/link-fix

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

  • base/.agents/skills/link-fix

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

  • theme-meridian/.agents/skills/link-fix

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory .agents/skills/link-fix

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
ebc0f7c464bab2ea1d8334e85021bc7f75e17bf4401a7ab3a58381ad692603ad
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills