[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7583T2Y2ZG3WFX9Q5FZVJB7":3,"skill-same:01M7583T2Y2ZG3WFX9Q5FZVJB7":50},{"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":27,"commitSha":28,"skillDirectory":29,"forksCount":30,"repositoryHtmlUrl":31,"repositoryHomepageUrl":32,"ownerHtmlUrl":33,"ownerBlogUrl":6,"ownerDescription":34,"updatedAt":35,"install":36,"resources":49},"01M7583T2Y2ZG3WFX9Q5FZVJB7","cross-repo-sync",null,"Update the same file (config, docs, boilerplate) across multiple project repos in a single coordinated pass. Covers the full pipeline: parallel survey, batch content generation, bulk write, verification, and multi-repo git commit\u002Fpush with real-world failure handling.","lukemcqueen\u002Fsteadfaste-fleet","lukemcqueen","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F405240?v=4","01M757MHPAGRXTJAT46SKZP98R","Luke McQueen","01M757MHPZ573KP8DT9GB8SBQ7",4,"MIT","https:\u002F\u002Fgithub.com\u002Flukemcqueen\u002Fsteadfaste-fleet\u002Fblob\u002Fmain\u002Fskills\u002Fdevops\u002Fcross-repo-sync\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: cross-repo-sync\nversion: 1.0.0\ncategory: devops\ndescription: >\n  Update the same file (config, docs, boilerplate) across multiple project\n  repos in a single coordinated pass. Covers the full pipeline: parallel\n  survey, batch content generation, bulk write, verification, and\n  multi-repo git commit\u002Fpush with real-world failure handling.\npinned: false\n---\n\n# Cross-Repo Sync\n\n**Keep a file synchronized across all project repos in one pass.**\n\nUse when a standard file (AGENTS.md, .gitignore, README, config template)\nneeds updating everywhere. Not for one-off per-repo work — only when the\nsame file class exists across many repos with repo-specific content.\n\n## Workflow\n\n### Phase 1: Inventory (survey)\n\nFirst, discover all repos and understand their current state.\n\n```bash\n# Find all repos with the target file\nfind \u002FUsers\u002Fluke -maxdepth 4 -name \"TARGET_FILE\" -not -path \"*\u002Fnode_modules\u002F*\" 2>\u002Fdev\u002Fnull\n\n# Optionally check git repos too\nfind \u002FUsers\u002Fluke -maxdepth 4 -name \".git\" -type d 2>\u002Fdev\u002Fnull | sed 's|\u002F.git||'\n```\n\nFor each repo found, record:\n- Repo path + current branch\n- Whether `TARGET_FILE` exists and its current content hash\n- Any repo-specific customization (so the batch content can preserve it)\n\n> **Portability:** use `$HOME` or `~` in commands instead of a hardcoded\n> username; on fleet machines the user dir differs (`\u002Fhome\u002Fluke` vs\n> `\u002Fhome\u002Fuser`).\n\n### Phase 2: Batch content generation\n\nGenerate the new content ONCE (per variant if repos differ), then apply the\nsame content everywhere. Do not hand-edit per repo — that defeats the point.\n\n```bash\n# Generate the canonical new version to a staging file\ncat > \u002Ftmp\u002Fnew-TARGET_FILE \u003C\u003C'EOF'\n... canonical content ...\nEOF\n\n# If repos need small per-repo differences, use placeholders + sed:\nsed \"s\u002F__REPO_NAME__\u002F$repo_name\u002F\" \u002Ftmp\u002Fnew-TARGET_FILE > \"$repo\u002FTARGET_FILE\"\n```\n\n### Phase 3: Bulk write\n\n```bash\nfor repo in $REPOS; do\n  cp \u002Ftmp\u002Fnew-TARGET_FILE \"$repo\u002FTARGET_FILE\"\ndone\n```\n\n### Phase 4: Verify\n\n```bash\n# All repos should now have identical (or placeholder-substituted) content\nfor repo in $REPOS; do\n  echo \"$repo: $(shasum \"$repo\u002FTARGET_FILE\" | awk '{print $1}')\"\ndone\n```\n\n### Phase 5: Multi-repo git commit\u002Fpush\n\n```bash\nfor repo in $REPOS; do\n  (\n    cd \"$repo\" || continue\n    git add TARGET_FILE\n    git commit -m \"chore: sync TARGET_FILE to canonical version\"\n    git pull --rebase origin main 2>\u002Fdev\u002Fnull   # pull before push\n    git push origin main\n  ) || echo \"FAILED: $repo — investigate before moving on\"\ndone\n```\n\n## Real-World Failure Handling\n\n| Failure | Cause | Fix |\n|---------|-------|-----|\n| Push rejected (non-fast-forward) | Remote moved; you must rebase\u002Fpull first | `git pull --rebase origin main && git push` |\n| `cp` fails on one repo | Path typo or missing dir | Stop, fix, re-run only that repo |\n| Commit succeeds, push fails | Auth \u002F branch protection | Report; the local commit is safe, retry push |\n| Repo has uncommitted changes | Sync would clobber local work | Skip + report; never `git checkout --` a coworker's WIP |\n\n**Never let one repo's failure silently abort the loop** — record failures,\nfinish the pass, then report the failed repos explicitly.\n\n## Pitfalls\n\n- ❌ **Hand-editing each repo's copy** — drift returns immediately. Generate once, apply everywhere.\n- ❌ **Hardcoded absolute user paths** — breaks on other machines. Use `$HOME`.\n- ❌ **Silent failures** — a repo that didn't get the update looks synced. Always run Phase 4 verification.\n- ❌ **Pushing without pull-rebase first** — guaranteed rejections on shared repos.\n\n## Related\n- `git-deployment-workflow` — pushing to bare deployment remotes\n- `repo-organization` — canonical repo structure\n","# Cross-Repo Sync\n\n**Keep a file synchronized across all project repos in one pass.**\n\nUse when a standard file (AGENTS.md, .gitignore, README, config template)\nneeds updating everywhere. Not for one-off per-repo work — only when the\nsame file class exists across many repos with repo-specific content.\n\n## Workflow\n\n### Phase 1: Inventory (survey)\n\nFirst, discover all repos and understand their current state.\n\n```bash\n# Find all repos with the target file\nfind \u002FUsers\u002Fluke -maxdepth 4 -name \"TARGET_FILE\" -not -path \"*\u002Fnode_modules\u002F*\" 2>\u002Fdev\u002Fnull\n\n# Optionally check git repos too\nfind \u002FUsers\u002Fluke -maxdepth 4 -name \".git\" -type d 2>\u002Fdev\u002Fnull | sed 's|\u002F.git||'\n```\n\nFor each repo found, record:\n- Repo path + current branch\n- Whether `TARGET_FILE` exists and its current content hash\n- Any repo-specific customization (so the batch content can preserve it)\n\n> **Portability:** use `$HOME` or `~` in commands instead of a hardcoded\n> username; on fleet machines the user dir differs (`\u002Fhome\u002Fluke` vs\n> `\u002Fhome\u002Fuser`).\n\n### Phase 2: Batch content generation\n\nGenerate the new content ONCE (per variant if repos differ), then apply the\nsame content everywhere. Do not hand-edit per repo — that defeats the point.\n\n```bash\n# Generate the canonical new version to a staging file\ncat > \u002Ftmp\u002Fnew-TARGET_FILE \u003C\u003C'EOF'\n... canonical content ...\nEOF\n\n# If repos need small per-repo differences, use placeholders + sed:\nsed \"s\u002F__REPO_NAME__\u002F$repo_name\u002F\" \u002Ftmp\u002Fnew-TARGET_FILE > \"$repo\u002FTARGET_FILE\"\n```\n\n### Phase 3: Bulk write\n\n```bash\nfor repo in $REPOS; do\n  cp \u002Ftmp\u002Fnew-TARGET_FILE \"$repo\u002FTARGET_FILE\"\ndone\n```\n\n### Phase 4: Verify\n\n```bash\n# All repos should now have identical (or placeholder-substituted) content\nfor repo in $REPOS; do\n  echo \"$repo: $(shasum \"$repo\u002FTARGET_FILE\" | awk '{print $1}')\"\ndone\n```\n\n### Phase 5: Multi-repo git commit\u002Fpush\n\n```bash\nfor repo in $REPOS; do\n  (\n    cd \"$repo\" || continue\n    git add TARGET_FILE\n    git commit -m \"chore: sync TARGET_FILE to canonical version\"\n    git pull --rebase origin main 2>\u002Fdev\u002Fnull   # pull before push\n    git push origin main\n  ) || echo \"FAILED: $repo — investigate before moving on\"\ndone\n```\n\n## Real-World Failure Handling\n\n| Failure | Cause | Fix |\n|---------|-------|-----|\n| Push rejected (non-fast-forward) | Remote moved; you must rebase\u002Fpull first | `git pull --rebase origin main && git push` |\n| `cp` fails on one repo | Path typo or missing dir | Stop, fix, re-run only that repo |\n| Commit succeeds, push fails | Auth \u002F branch protection | Report; the local commit is safe, retry push |\n| Repo has uncommitted changes | Sync would clobber local work | Skip + report; never `git checkout --` a coworker's WIP |\n\n**Never let one repo's failure silently abort the loop** — record failures,\nfinish the pass, then report the failed repos explicitly.\n\n## Pitfalls\n\n- ❌ **Hand-editing each repo's copy** — drift returns immediately. Generate once, apply everywhere.\n- ❌ **Hardcoded absolute user paths** — breaks on other machines. Use `$HOME`.\n- ❌ **Silent failures** — a repo that didn't get the update looks synced. Always run Phase 4 verification.\n- ❌ **Pushing without pull-rebase first** — guaranteed rejections on shared repos.\n\n## Related\n- `git-deployment-workflow` — pushing to bare deployment remotes\n- `repo-organization` — canonical repo structure\n",{"name":5,"pinned":20,"version":24,"category":25,"description":26},"1.0.0","devops","Update the same file (config, docs, boilerplate) across multiple project repos in a single coordinated pass. Covers the full pipeline: parallel survey, batch content generation, bulk write, verification, and multi-repo git commit\u002Fpush with real-world failure handling.\n","main","2e6aa8d15ab0a366c90be54f61bf9c6e97015e83","skills\u002Fdevops\u002Fcross-repo-sync",1,"https:\u002F\u002Fgithub.com\u002Flukemcqueen\u002Fsteadfaste-fleet","steadfaste.com","https:\u002F\u002Fgithub.com\u002Flukemcqueen","AI Architect | Building Hermes Cortex: governed multi-agent AI for autonomous software engineering | Enterprise Tech Consultant","2026-11-14 22:33:34",{"source":8,"skillName":5,"commands":37,"prompt":47,"zipAvailable":48},[38,41,44],{"tool":39,"command":40},"npx","npx skills add lukemcqueen\u002Fsteadfaste-fleet --skill cross-repo-sync",{"tool":42,"command":43},"bunx","bunx skills add lukemcqueen\u002Fsteadfaste-fleet --skill cross-repo-sync",{"tool":45,"command":46},"pnpm","pnpm dlx skills add lukemcqueen\u002Fsteadfaste-fleet --skill cross-repo-sync","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flukemcqueen\u002Fsteadfaste-fleet\u002Fblob\u002Fmain\u002Fskills\u002Fdevops\u002Fcross-repo-sync\u002FSKILL.md",true,[],[51,59,66,73,80,87],{"skillNo":52,"name":53,"nameZh":6,"description":54,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":55,"categories":56,"keywords":57,"publishedAt":58},"01M7DXY4G8NSVB59K8B6S2AQNP","macbook-linux-maintenance","Legacy MacBook Linux fixes: GPU wedge, reboot hang, thermal.","https:\u002F\u002Fgithub.com\u002Flukemcqueen\u002Fsteadfaste-fleet\u002Fblob\u002Fmain\u002Fskills\u002Fdevops\u002Fmacbook-linux-maintenance\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":58},"01M7DXXYJCXFJ3TGB84ZQ8KFE6","governance-regression-triage","Triage a host's governance issues: what changed.","https:\u002F\u002Fgithub.com\u002Flukemcqueen\u002Fsteadfaste-fleet\u002Fblob\u002Fmain\u002Fskills\u002Fdevops\u002Fgovernance-regression-triage\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":58},"01M7DXXSAP1G8FDRJAMXQGBBMK","enforcement-immutability","Use when enforcement files lose their immutable flag.","https:\u002F\u002Fgithub.com\u002Flukemcqueen\u002Fsteadfaste-fleet\u002Fblob\u002Fmain\u002Fskills\u002Fdevops\u002Fenforcement-immutability\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":58},"01M78SSDQVRYX64Y16X32TC0NS","steadfaste-fleet-repo-deploy","Use when committing to the steadfaste-fleet repo.","https:\u002F\u002Fgithub.com\u002Flukemcqueen\u002Fsteadfaste-fleet\u002Fblob\u002Fmain\u002Fskills\u002Fdevops\u002Fsteadfaste-fleet-repo-deploy\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":58},"01M78SS928F3R2RJAYVW4E30CE","steadfaste-fleet-maintenance","Maintain an installed Steadfaste Fleet instance — update both the upstream Hermes Agent and the fleet repo layer, merge diverged histories, sync skills safely, and troubleshoot common issues. Covers the dual-update workflow (hermes update + fleet-update.sh), encrypted brain data backup, mycortex import, and recovery techniques.","https:\u002F\u002Fgithub.com\u002Flukemcqueen\u002Fsteadfaste-fleet\u002Fblob\u002Fmain\u002Fskills\u002Fdevops\u002Fsteadfaste-fleet-maintenance\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":58},"01M78SP1CHW0T0BWE5ZT6JBPX8","fleet-preflight","DEPRECATED alias — merged into survey-before-action (2026-08-20). Load survey-before-action instead; its \"Repo-Specific Pre-Flight\" section covers git search, Hermes boundary, and deployment verification.","https:\u002F\u002Fgithub.com\u002Flukemcqueen\u002Fsteadfaste-fleet\u002Fblob\u002Fmain\u002Fskills\u002Fdevops\u002Ffleet-preflight\u002FSKILL.md",[],[]]