Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

renaming-services

БесплатноБез исполняемых скриптовНе проверен

Rename a Coolify service documentation slug in content/docs/services/, update references and local icons, regenerate catalogs, and preserve old URLs with…

coollabsioот coollabsio★ 398 звёзд на GitHub15 установок в других каталогах

Об этом скилле

Rename Service Documentation

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.

Workflow

1. Rename the Page

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.

2. Check Title and Images

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 for naming and resolution details.

3. Preserve Old URLs

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.

4. Update Authored References

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.

5. Regenerate and Verify

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.

Verification

  • content/docs/services/new-name.mdx exists; the old source file is gone.
  • The title, category, icon, and disabled state remain correct after regeneration.
  • The old slug is absent from catalog records and directory links.
  • The new page and catalog card work at http://localhost:3000/docs/services/new-name and /docs/services/overview.
  • The redirect checker passes for prefixed, stripped, and trailing-slash old URLs. Nginx redirects are not executed by the Vite development server; verify HTTP redirect behavior in a deployment or Nginx preview when available.

See TESTING.md for generator checks.

Related Skills

Полный SKILL.md на GitHub

Установить renaming-services в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Read
Grep
Glob
Write
Edit
Bash

FAQ

Что делает скилл renaming-services?

Rename a Coolify service documentation slug in content/docs/services/, update references and local icons, regenerate catalogs, and preserve old URLs with Nginx redirects.

Как установить скилл renaming-services?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл renaming-services запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить renaming-services с