[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CW5KB474AT3YR4D4NY041D":3,"skill-same:01M7CW5KB474AT3YR4D4NY041D":47},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":26,"commitSha":27,"skillDirectory":28,"forksCount":14,"repositoryHtmlUrl":29,"repositoryHomepageUrl":6,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":32,"updatedAt":33,"install":34,"resources":46},"01M7CW5KB474AT3YR4D4NY041D","clean-repos",null,"Find and remove stale entries from repos.yaml whose directories no longer exist on disk","navikt\u002Fcrm-hot-ai","navikt","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F11848947?v=4","01M73951HJ1NES3SDFYH4AKNRK","Nav IT","01M7CW5F7FJ1H9TN6RZC4GMBY1",0,"MIT","https:\u002F\u002Fgithub.com\u002Fnavikt\u002Fcrm-hot-ai\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fclean-repos\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: clean-repos\ndescription: Find and remove stale entries from repos.yaml whose directories no longer exist on disk\nuser-invocable: true\norigin: template\n---\n\n# Clean Repos\n\nScan `repos\u002Frepos.yaml` for stale entries — entries whose corresponding `repos\u002F\u003Cname>\u002F` directory no longer exists on disk — and remove them from the configuration.\n\n## Order of Operations\n\n1. **Parse `repos\u002Frepos.yaml`** — read the `repos:` list\n   - If the list is empty, report \"Nothing to clean\" and stop\n\n2. **Check each entry** — for every entry, check if `repos\u002F\u003Cname>\u002F` exists on disk\n\n3. **Collect stale entries** — entries where the directory does NOT exist\n   - If no stale entries found, report \"All entries are present on disk. Nothing to clean.\" and stop\n\n4. **Show the stale entries** — display a table:\n\n   | Entry | Type | URL | Status |\n   |-------|------|-----|--------|\n   | `\u003Cname>` | git | `\u003Curl>` | Directory missing |\n   | `\u003Cname>` | local | — | Directory missing |\n\n5. **Ask for confirmation** — \"Remove these N entries from the config? (yes\u002Fno)\"\n   - If the user says no, stop without changes\n\n6. **Remove stale entries from `repos\u002Frepos.yaml`** — delete each stale entry from the `repos:` list\n   - If all entries were stale, leave `repos: []`\n\n7. **Remove stale entries from `repos\u002Frepos.md`** — for each stale entry, delete its `## \u003Cname>` section and all content up to the next `## ` heading or end of file\n   - If no entries remain, restore the placeholder: `\u003C!-- No repositories found. Clone repos into repos\u002F and run \u002Fpull-all-repos to populate this file. -->`\n\n8. **Update `.gitignore`** — for each stale entry, if `repos\u002F\u003Cname>\u002F` appears in `.gitignore` (whether git repo or gitignored local folder), remove the line. No need to ask — stale entries shouldn't leave gitignore debris.\n\n9. **Report** a summary:\n\n   | Entry | Type | Action |\n   |-------|------|--------|\n   | `\u003Cname>` | git | Removed from repos.yaml, repos.md, .gitignore |\n   | `\u003Cname>` | local | Removed from repos.yaml, repos.md (and .gitignore if present) |\n\n## Notes\n\n- This skill never deletes directories — it only cleans up config for directories that are already gone\n- The inverse scenario (directories exist but aren't in config) is handled by `\u002Fpull-all-repos` orphan detection\n- Always confirm before making changes — never auto-remove\n- Safe to run as a dry-run check: if there are no stale entries, it just reports \"nothing to clean\"\n","# Clean Repos\n\nScan `repos\u002Frepos.yaml` for stale entries — entries whose corresponding `repos\u002F\u003Cname>\u002F` directory no longer exists on disk — and remove them from the configuration.\n\n## Order of Operations\n\n1. **Parse `repos\u002Frepos.yaml`** — read the `repos:` list\n   - If the list is empty, report \"Nothing to clean\" and stop\n\n2. **Check each entry** — for every entry, check if `repos\u002F\u003Cname>\u002F` exists on disk\n\n3. **Collect stale entries** — entries where the directory does NOT exist\n   - If no stale entries found, report \"All entries are present on disk. Nothing to clean.\" and stop\n\n4. **Show the stale entries** — display a table:\n\n   | Entry | Type | URL | Status |\n   |-------|------|-----|--------|\n   | `\u003Cname>` | git | `\u003Curl>` | Directory missing |\n   | `\u003Cname>` | local | — | Directory missing |\n\n5. **Ask for confirmation** — \"Remove these N entries from the config? (yes\u002Fno)\"\n   - If the user says no, stop without changes\n\n6. **Remove stale entries from `repos\u002Frepos.yaml`** — delete each stale entry from the `repos:` list\n   - If all entries were stale, leave `repos: []`\n\n7. **Remove stale entries from `repos\u002Frepos.md`** — for each stale entry, delete its `## \u003Cname>` section and all content up to the next `## ` heading or end of file\n   - If no entries remain, restore the placeholder: `\u003C!-- No repositories found. Clone repos into repos\u002F and run \u002Fpull-all-repos to populate this file. -->`\n\n8. **Update `.gitignore`** — for each stale entry, if `repos\u002F\u003Cname>\u002F` appears in `.gitignore` (whether git repo or gitignored local folder), remove the line. No need to ask — stale entries shouldn't leave gitignore debris.\n\n9. **Report** a summary:\n\n   | Entry | Type | Action |\n   |-------|------|--------|\n   | `\u003Cname>` | git | Removed from repos.yaml, repos.md, .gitignore |\n   | `\u003Cname>` | local | Removed from repos.yaml, repos.md (and .gitignore if present) |\n\n## Notes\n\n- This skill never deletes directories — it only cleans up config for directories that are already gone\n- The inverse scenario (directories exist but aren't in config) is handled by `\u002Fpull-all-repos` orphan detection\n- Always confirm before making changes — never auto-remove\n- Safe to run as a dry-run check: if there are no stale entries, it just reports \"nothing to clean\"\n",{"name":5,"origin":24,"description":7,"user-invocable":25},"template",true,"main","09710a1169d1ba00c363e01a21aa1c821efbc822",".agents\u002Fskills\u002Fclean-repos","https:\u002F\u002Fgithub.com\u002Fnavikt\u002Fcrm-hot-ai","https:\u002F\u002Fgithub.com\u002Fnavikt","https:\u002F\u002Fnav.no","Arbeids- og velferdsdirektoratet - The Norwegian Labour and Welfare Directorate","2026-09-16 16:16:40",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":25},[36,39,42],{"tool":37,"command":38},"npx","npx skills add navikt\u002Fcrm-hot-ai --skill clean-repos",{"tool":40,"command":41},"bunx","bunx skills add navikt\u002Fcrm-hot-ai --skill clean-repos",{"tool":43,"command":44},"pnpm","pnpm dlx skills add navikt\u002Fcrm-hot-ai --skill clean-repos","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fnavikt\u002Fcrm-hot-ai\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fclean-repos\u002FSKILL.md",[],[48,55,62,69,76,83],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":19},"01M7CW6ZHQ45TXZB05E7P4A1JK","update-all-md-docs","Review and update all markdown docs in the repo-of-repos (excluding cloned repos)","https:\u002F\u002Fgithub.com\u002Fnavikt\u002Fcrm-hot-ai\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fupdate-all-md-docs\u002FSKILL.md",[],[],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":19},"01M7CW6Y44MDWWX5A21DKFEFJY","sync-template","Pull latest repo-of-repos template updates into this workspace","https:\u002F\u002Fgithub.com\u002Fnavikt\u002Fcrm-hot-ai\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fsync-template\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M7CW6VFR1K7HHQPWMJ6BFJ8B","remove-repository","Remove a repo or local folder from repos\u002F, updating repos.yaml, repos.md, and .gitignore","https:\u002F\u002Fgithub.com\u002Fnavikt\u002Fcrm-hot-ai\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fremove-repository\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M7CW6RXS9BKN2H6E2VQ0D4GM","pull-all-repos","Clone\u002Fpull git repos, verify local folders, auto-register orphans, and regenerate repos.md","https:\u002F\u002Fgithub.com\u002Fnavikt\u002Fcrm-hot-ai\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fpull-all-repos\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M7CW6QFYBYFJ8MW963J9TDX1","pr-all-repos","Create PRs in all sub-repos with uncommitted branches, then link them as siblings","https:\u002F\u002Fgithub.com\u002Fnavikt\u002Fcrm-hot-ai\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fpr-all-repos\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M7CW6NY3BCKE081J1JNP71ZR","implement-plan","Execute a plan from _plans\u002F, implementing steps, checking off tasks, running tests, and documenting fixes","https:\u002F\u002Fgithub.com\u002Fnavikt\u002Fcrm-hot-ai\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fimplement-plan\u002FSKILL.md",[],[]]