docusaurus-amplify-fix

Community

Fix trailing-slash 404s for Amplify docs.

AuthorTakazudo
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Docusaurus sites deployed on AWS Amplify can return 404 errors for pages accessed with trailing slashes. This skill provides a reliable workaround by generating trailing-slash-compatible index.html copies during build and adjusting the deployment workflow.

Core Features & Use Cases

  • Detects the Docusaurus root by locating docusaurus.config.* in the project.
  • Adds a script to copy .html pages into trailing-slash friendly index.html files.
  • Updates amplify.yml build commands to run the fix after building the site.

Quick Start

Run the fix script after your Docusaurus build to ensure both /docs/page.html and /docs/page/ resolve correctly.

Dependency Matrix

Required Modules

None required

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: docusaurus-amplify-fix
Download link: https://github.com/Takazudo/claude-resources/archive/main.zip#docusaurus-amplify-fix

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.