redirect-article
Installation
SKILL.md
Redirect Article
Delete a markdown article from the repository and create a redirect entry that points users to a different article. This ensures existing links and bookmarks continue to work after content is reorganized.
When to Use
- Deleting an article that should redirect to another existing article
- Consolidating multiple articles into a single article
- Renaming or moving an article to a new location
- Removing outdated content while preserving URL functionality
Important Notes
- Redirect entries are sorted alphabetically by path (ignoring the leading
/forsource_path_from_root) - Always determine the correct redirection file by searching for existing entries with similar paths before running the script
- Always search the repository for links to the old article and update them
- The
redirect_urlshouldn't include the file extension or domain—just the URL path