This skill renames a service’s documentation file and updates all references across docs/services, List.vue, and nginx/redirects.conf to prevent broken links.
npx playbooks add skill coollabsio/coolify-docs --skill renaming-services
The slug is the .mdx filename in content/docs/services/. The searchable catalog and categorized directory derive their entries from that page; neither generated output is hand-edited.
git mv content/docs/services/old-name.mdx content/docs/services/new-name.mdx
Use a lowercase kebab-case slug that matches the intended service identity. Confirm the relevant upstream template when choosing a new name; a display-title correction alone does not require changing the URL.
Update title and the body when the displayed name changes. If the icon was resolved from the old slug, either rename the local asset or keep the asset and set an explicit icon path:
icon: "/docs/images/services/old-name-logo.svg"
If renaming the asset, update frontmatter and body references too:
git mv public/images/services/old-name-logo.svg public/images/services/new-name-logo.svg
The resolver accepts an existing icon under /docs/images/services/. See [IMAGES.md](../adding-service-documentation/IMAGES.md) for naming and resolution details.
Add rules to nginx/redirects.conf that handle both prefixed and stripped requests, with optional trailing slashes:
location ~ ^(?:/docs)?/services/old-name/?$ { return 301 "/docs/services/new-name"; }
If an older knowledge-base route existed, preserve that too:
location ~ ^(?:/docs)?/knowledge-base/services/old-name/?$ { return 301 "/docs/services/new-name"; }
Check existing rules for shadowing and loops. Keep older redirects working, preferably pointing straight to the final destination. See CLAUDE.md for the deployment's /docs prefix handling.
rg -n 'old-name' content/docs src public templates
Update relevant handwritten links and image references, plus any explicit section meta.json entry. Individual service pages normally use the generated catalog rather than individual sidebar entries. Leave intentional upstream names and historical references intact.
bun run generate:services
bun run check:redirects -- --base origin/next
Check src/generated/services.json and content/docs/services/all.mdx for the new slug and destination. Do not edit either output by hand. When committing, include the rename, any asset changes, cross-links, redirect rules, and both generated outputs.
content/docs/services/new-name.mdx exists; the old source file is gone.http://localhost:3000/docs/services/new-name and /docs/services/overview.See [TESTING.md](../TESTING.md) for generator checks.
Weekly roundup of top Claude Code skills, MCP servers, and AI coding tips.