/eds-content-ops:redirect-managerfrom eds-content-ops
Audit the AEM Edge Delivery Services redirects spreadsheet for chains, loops, broken destinations, and SEO issues. Fetches the redirects.json endpoint, validates every rule, and produces a cleaned redirect table ready to paste back into the source spreadsheet. Use when managing redirects, migrating content, or debugging 404s.
Ships in eds-content-ops. 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.
Analyze the AEM Edge Delivery Services redirects spreadsheet, validate every redirect rule, detect chains and loops, check for broken destinations, and produce a cleaned/optimized redirect table. Output is actionable — authors can paste the corrected table back into their Google Sheet or Excel file.
This skill fetches external web pages and JSON endpoints for analysis. When fetching:
In AEM Edge Delivery Services, redirects are managed through a spreadsheet (Google Sheets or Excel) stored at the site root. The spreadsheet has two columns:
The spreadsheet is published as JSON at /{site}/redirects.json. EDS processes these as 301 (permanent) redirects by default. The redirects are evaluated at the CDN edge, so they execute before the page is rendered.
Key characteristics:
/old-page to /new-page)..htaccess or server config.Before starting, create a checklist of all audit steps to track progress:
redirects.jsonFetch the redirects data from the site's JSON endpoint:
https://{domain}/redirects.json.aem.live variant: https://main--{repo}--{owner}.aem.live/redirects.jsonThe JSON response contains a data array with objects having Source and Destination properties (or similar column names — the spreadsheet column headers become the JSON keys).
If the endpoint returns 404, the site may not have a redirects spreadsheet configured. Inform the user and stop.
Parse the response and extract all redirect rules into a working table:
| # | Source | Destination |
|---|---|---|
| 1 | /old-page | /new-page |
| 2 | /blog/2024/post | /insights/post |
Report the total number of redirect rules found.
For each redirect rule, normalize and categorize:
/path) or fully qualified (https://...)./page) work correctly within the same domain.Check each redirect for structural problems:
A chain occurs when a redirect destination is itself a redirect source (A -> B -> C). Walk the redirect graph and flag:
A loop occurs when following redirects leads back to a previously visited URL (A -> B -> A, or A -> B -> C -> A). Flag all loops as a blocker — they cause infinite redirect errors for users.
For each unique internal destination, fetch-check that it returns a 200 status:
/old-page/) may not match requests without the slash. Flag as a warning and recommend removing the trailing slash./About will not catch requests to /about. Flag source paths with uppercase characters as a warning — most URLs are lowercase./page?ref=email), flag as a warning — the redirect may not match requests with those parameters./. Bare paths (e.g., old-page without a leading slash) may not work. Flag as a warning./ (relative) or use the full domain URL.%20 for spaces). Flag as a warning.Evaluate the redirect table for SEO implications:
/products/, /services/, or /solutions/ in the path), flag as an info item — ensure these redirects are intentional and correct.Produce a summary table of all findings, sorted by severity:
| Severity | Issue | Source | Destination | Recommendation |
|---|---|---|---|---|
| Blocker | Redirect loop | /a | /b -> /a | Remove one side of the loop |
| Blocker | 404 destination | /old | /missing-page | Update destination to valid URL |
| Warning | Redirect chain | /x | /y -> /z | Update /x to point directly to /z |
| Info | High-value redirect | /products | /solutions | Verify intentional |
Produce an optimized version of the full redirects table with all issues resolved:
| Source | Destination | Change |
|---|---|---|
| /old-page | /new-page | No change |
| /blog/old-post | /insights/new-post | Flattened chain (was /blog/old-post -> /blog/redirect -> /insights/new-post) |
| /broken-redirect | /correct-page | Fixed 404 destination |
Mark every row that changed with a brief explanation of the change.
Tell the user exactly how to apply the fixes:
| Problem | Cause | Solution |
|---|---|---|
redirects.json returns 404 | Site has no redirects spreadsheet or it is not published | Ask the user to verify the spreadsheet exists and has been published via Sidekick |
| JSON response has unexpected column names | Spreadsheet uses custom column headers | Adapt parsing to use the actual column names from the JSON response |
| Cannot fetch destination URLs | Destinations are behind authentication or on a private network | Ask the user to confirm which destinations are valid; skip fetch-checking those |
| Very large redirect file (1000+ rules) | Accumulated redirects over time | Spot-check a sample; recommend the user review the full cleaned table |
Redirects work on .aem.live but not on production | CDN cache has not cleared | Recommend the user purge the CDN cache after updating the spreadsheet |
| Redirect matches are case-sensitive | EDS default behavior | Flag potential case mismatches; recommend lowercase sources |
What SKILL.md sets; muted values are Claude Code's defaults
42 skills in this plugin
/accessibility-fixScan an AEM Edge Delivery Services page for WCAG 2.1 AA accessibility violations and generate specific fixes. Identifies missing alt text, heading hierarchy issues, link text problems, color contrast concerns, and EDS-specific accessibility patterns. Use when fixing accessibility issues, preparing for compliance audits, or remediating WCAG violations./aem-to-eds-migrationAssess and plan a migration from traditional AEM Sites to AEM Edge Delivery Services. Analyzes the source AEM site to inventory components, templates, content types, and integrations, then maps them to EDS equivalents and produces a migration feasibility report with effort estimates, risk areas, and a phased plan./Other plugins' skills for the same job
Generated from the plugin's indexed repository (focus-gts/eds-content-ops-skills) — no native marketplace selected
npx claudepluginhub p/focus-gts-eds-content-ops