Remove repository

From raffertyuy/repo-of-repos · View interactive version

Remove repository is an AI agent skill from the GitHub repository raffertyuy/repo-of-repos. Remove a repo or local folder from repos/, updating repos.yaml, repos.md, and .gitignore

How to use this skill

Skill file

Remove Repository

Remove a single repository or local source folder from the workspace. This is the inverse of /add-repository.

The user will provide a repo name. For example:

Behavior

  1. Validate the entry exists in repos/repos.yaml by name
  1. Show what will happen — before taking any action, display:
  1. Remove from repos/repos.yaml — delete the entry from the repos: list
  1. Remove from repos/repos.md — delete the ## <name> section and all its content up to the next ## heading or end of file
  1. Update .gitignore — if repos/<name>/ appears in .gitignore (whether git repo or gitignored local folder), remove the line. No need to ask — if the entry is being removed, its gitignore line should go too.
  1. Optionally delete from disk — only if the user confirmed deletion in step 2:
  1. Report what was done:

> Removed <name> from repos.yaml, repos.md, and .gitignore. Directory on disk: deleted / kept.

Notes

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.