[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6CAYD0GGGJ4D1T76J70FZKR":3,"skill-same:01M6CAYD0GGGJ4D1T76J70FZKR":74},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":42,"linkOnly":43,"markdownContent":44,"markdownBody":45,"frontMatter":46,"refName":50,"commitSha":51,"skillDirectory":52,"forksCount":53,"repositoryHtmlUrl":54,"repositoryHomepageUrl":55,"ownerHtmlUrl":56,"ownerBlogUrl":57,"ownerDescription":58,"updatedAt":59,"install":60,"resources":73},"01M6CAYD0GGGJ4D1T76J70FZKR","migrate-workspace","AIWG 工作区目录迁移","Migrate the .aiwg\u002F directory from single-framework layout to the multi-framework layout with an automatic backup","将 .aiwg\u002F 目录从单框架布局迁移到多框架布局，并自动创建备份。","jmagly\u002Faiwg","jmagly","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1159087?v=4","01M6C10AK8N2WCSQN11FYGTJWN","Joseph Magly","01M6C10AQ8A2RMED1Y1BSVY7NF",229,"MIT",null,"https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Futils\u002Fskills\u002Fmigrate-workspace\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BRZZF9D7PVFN5MXSPWWD61","AI 工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BSTR9G4A4GZ0VB2DFN9490","开发环境与工具链管理","SCENARIO","使用场景",[31,32,33,34,35,36,37,38,39,40,41],"migrate","workspace","migrate workspace","directory","framework","backup","layout","multi","with","automatic","single","2026-11-10 10:12:30",false,"---\nnamespace: aiwg\nname: migrate-workspace\nplatforms: [all]\ndescription: Migrate the .aiwg\u002F directory from single-framework layout to the multi-framework layout with an automatic backup\n---\n\n# Migrate Workspace\n\nYou upgrade the `.aiwg\u002F` directory from the old single-framework layout to the new multi-framework layout, moving artifacts into framework-scoped subdirectories. A backup is always created before any changes are applied.\n\n## Triggers\n\nAlternate expressions and non-obvious activations (primary phrases are matched automatically from the skill description):\n\n- \"upgrade my aiwg structure\" → run migration\n- \"move to multi-framework layout\" → run migration\n- \"preview workspace migration\" → dry-run only\n- \"what would migrate?\" → dry-run only\n\n## Trigger Patterns Reference\n\n| Pattern | Example | Action |\n|---------|---------|--------|\n| Full migration | \"migrate my workspace\" | Run `aiwg migrate-workspace` |\n| Dry run | \"preview the workspace migration\" | Run `aiwg migrate-workspace --dry-run` |\n| Forced | \"migrate workspace, skip confirmation\" | Run `aiwg migrate-workspace --yes` |\n| Check needed | \"do I need to migrate?\" | Run `aiwg migrate-workspace --dry-run` |\n\n## Behavior\n\nWhen triggered:\n\n1. **Always dry-run first** unless the user explicitly confirms or passes `--yes`:\n   - Run `aiwg migrate-workspace --dry-run` to show what would move.\n   - Report the planned changes to the user.\n   - Ask for confirmation before proceeding.\n\n2. **Extract arguments**:\n   - Is `--dry-run` requested? Report only, no changes.\n   - Has the user already confirmed? Use `--yes` to skip the interactive prompt.\n   - Is there a specific backup path? (optional)\n\n3. **Run the appropriate command**:\n\n   ```bash\n   # Preview only — no changes\n   aiwg migrate-workspace --dry-run\n\n   # Full migration (prompts for confirmation)\n   aiwg migrate-workspace\n\n   # Full migration, skip prompt\n   aiwg migrate-workspace --yes\n   ```\n\n4. **What the migration does**:\n   - Creates a timestamped backup at `.aiwg\u002F.backup-\u003Ctimestamp>\u002F`\n   - Creates framework-scoped subdirectories under `.aiwg\u002Fframeworks\u002F\u003Cname>\u002F`\n   - Moves existing flat artifacts into the appropriate scoped location\n   - Updates `.aiwg\u002Fframeworks\u002Fregistry.json`\n   - Leaves a `MIGRATION.md` log at `.aiwg\u002F` root\n\n5. **Safety guarantee**: The backup is created before any file is moved. If migration fails partway through, `aiwg rollback-workspace` can restore from the backup.\n\n6. **Report the result** — show what was moved, backup location, and how to rollback if needed.\n\n## Examples\n\n### Example 1: Dry run first (default approach)\n\n**User**: \"Migrate my workspace\"\n\n**Extraction**: Migration requested — dry-run before applying\n\n**Action** (step 1):\n```bash\naiwg migrate-workspace --dry-run\n```\n\n**Response**:\n```\nWorkspace Migration Preview\n━━━━━━━━━━━━━━━━━━━━━━━━━━━\nWould move:\n  .aiwg\u002Frequirements\u002F → .aiwg\u002Fframeworks\u002Fsdlc-complete\u002Frequirements\u002F\n  .aiwg\u002Farchitecture\u002F → .aiwg\u002Fframeworks\u002Fsdlc-complete\u002Farchitecture\u002F\n  .aiwg\u002Ftesting\u002F      → .aiwg\u002Fframeworks\u002Fsdlc-complete\u002Ftesting\u002F\n  (+ 5 more directories)\n\nWould create backup: .aiwg\u002F.backup-20260401-1423\u002F\nNo files would be deleted.\n\nProceed with migration? [y\u002FN]\n```\n\nAfter user confirms → run `aiwg migrate-workspace --yes`.\n\n### Example 2: Dry run only\n\n**User**: \"What would the workspace migration do?\"\n\n**Extraction**: Preview-only, no confirmation needed\n\n**Action**:\n```bash\naiwg migrate-workspace --dry-run\n```\n\n**Response**: Shows the planned moves table (as above) and stops. Does not prompt for confirmation.\n\n### Example 3: Already on new layout\n\n**User**: \"Do I need to migrate my workspace?\"\n\n**Extraction**: Check whether migration is needed\n\n**Action**:\n```bash\naiwg migrate-workspace --dry-run\n```\n\n**Response**: \"Your workspace is already on the multi-framework layout. No migration needed.\"\n\n### Example 4: Migration with confirmation\n\n**User**: \"Go ahead and migrate the workspace\"\n\n**Extraction**: User has already seen dry-run output and is confirming\n\n**Action**:\n```bash\naiwg migrate-workspace --yes\n```\n\n**Response**:\n```\nBackup created: .aiwg\u002F.backup-20260401-1423\u002F\nMigrating 8 directories...\n  requirements\u002F  moved\n  architecture\u002F  moved\n  testing\u002F       moved\n  (+ 5 more)\nregistry.json updated.\nMigration complete. To undo: aiwg rollback-workspace\n```\n\n## Clarification Prompts\n\nIf the user's intent is ambiguous:\n\n- \"Would you like me to preview the migration first, or go ahead and apply it?\"\n- \"Have you already reviewed the dry-run output, or should I run it first?\"\n\n## References\n\n- @$AIWG_ROOT\u002Fsrc\u002Fcli\u002Fhandlers\u002Fworkspace.ts — `migrate-workspace` command handler\n- @$AIWG_ROOT\u002Fdocs\u002Fcli-reference.md — CLI reference\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Fskills\u002Frollback-workspace\u002FSKILL.md — Undoing a migration\n","# Migrate Workspace\n\nYou upgrade the `.aiwg\u002F` directory from the old single-framework layout to the new multi-framework layout, moving artifacts into framework-scoped subdirectories. A backup is always created before any changes are applied.\n\n## Triggers\n\nAlternate expressions and non-obvious activations (primary phrases are matched automatically from the skill description):\n\n- \"upgrade my aiwg structure\" → run migration\n- \"move to multi-framework layout\" → run migration\n- \"preview workspace migration\" → dry-run only\n- \"what would migrate?\" → dry-run only\n\n## Trigger Patterns Reference\n\n| Pattern | Example | Action |\n|---------|---------|--------|\n| Full migration | \"migrate my workspace\" | Run `aiwg migrate-workspace` |\n| Dry run | \"preview the workspace migration\" | Run `aiwg migrate-workspace --dry-run` |\n| Forced | \"migrate workspace, skip confirmation\" | Run `aiwg migrate-workspace --yes` |\n| Check needed | \"do I need to migrate?\" | Run `aiwg migrate-workspace --dry-run` |\n\n## Behavior\n\nWhen triggered:\n\n1. **Always dry-run first** unless the user explicitly confirms or passes `--yes`:\n   - Run `aiwg migrate-workspace --dry-run` to show what would move.\n   - Report the planned changes to the user.\n   - Ask for confirmation before proceeding.\n\n2. **Extract arguments**:\n   - Is `--dry-run` requested? Report only, no changes.\n   - Has the user already confirmed? Use `--yes` to skip the interactive prompt.\n   - Is there a specific backup path? (optional)\n\n3. **Run the appropriate command**:\n\n   ```bash\n   # Preview only — no changes\n   aiwg migrate-workspace --dry-run\n\n   # Full migration (prompts for confirmation)\n   aiwg migrate-workspace\n\n   # Full migration, skip prompt\n   aiwg migrate-workspace --yes\n   ```\n\n4. **What the migration does**:\n   - Creates a timestamped backup at `.aiwg\u002F.backup-\u003Ctimestamp>\u002F`\n   - Creates framework-scoped subdirectories under `.aiwg\u002Fframeworks\u002F\u003Cname>\u002F`\n   - Moves existing flat artifacts into the appropriate scoped location\n   - Updates `.aiwg\u002Fframeworks\u002Fregistry.json`\n   - Leaves a `MIGRATION.md` log at `.aiwg\u002F` root\n\n5. **Safety guarantee**: The backup is created before any file is moved. If migration fails partway through, `aiwg rollback-workspace` can restore from the backup.\n\n6. **Report the result** — show what was moved, backup location, and how to rollback if needed.\n\n## Examples\n\n### Example 1: Dry run first (default approach)\n\n**User**: \"Migrate my workspace\"\n\n**Extraction**: Migration requested — dry-run before applying\n\n**Action** (step 1):\n```bash\naiwg migrate-workspace --dry-run\n```\n\n**Response**:\n```\nWorkspace Migration Preview\n━━━━━━━━━━━━━━━━━━━━━━━━━━━\nWould move:\n  .aiwg\u002Frequirements\u002F → .aiwg\u002Fframeworks\u002Fsdlc-complete\u002Frequirements\u002F\n  .aiwg\u002Farchitecture\u002F → .aiwg\u002Fframeworks\u002Fsdlc-complete\u002Farchitecture\u002F\n  .aiwg\u002Ftesting\u002F      → .aiwg\u002Fframeworks\u002Fsdlc-complete\u002Ftesting\u002F\n  (+ 5 more directories)\n\nWould create backup: .aiwg\u002F.backup-20260401-1423\u002F\nNo files would be deleted.\n\nProceed with migration? [y\u002FN]\n```\n\nAfter user confirms → run `aiwg migrate-workspace --yes`.\n\n### Example 2: Dry run only\n\n**User**: \"What would the workspace migration do?\"\n\n**Extraction**: Preview-only, no confirmation needed\n\n**Action**:\n```bash\naiwg migrate-workspace --dry-run\n```\n\n**Response**: Shows the planned moves table (as above) and stops. Does not prompt for confirmation.\n\n### Example 3: Already on new layout\n\n**User**: \"Do I need to migrate my workspace?\"\n\n**Extraction**: Check whether migration is needed\n\n**Action**:\n```bash\naiwg migrate-workspace --dry-run\n```\n\n**Response**: \"Your workspace is already on the multi-framework layout. No migration needed.\"\n\n### Example 4: Migration with confirmation\n\n**User**: \"Go ahead and migrate the workspace\"\n\n**Extraction**: User has already seen dry-run output and is confirming\n\n**Action**:\n```bash\naiwg migrate-workspace --yes\n```\n\n**Response**:\n```\nBackup created: .aiwg\u002F.backup-20260401-1423\u002F\nMigrating 8 directories...\n  requirements\u002F  moved\n  architecture\u002F  moved\n  testing\u002F       moved\n  (+ 5 more)\nregistry.json updated.\nMigration complete. To undo: aiwg rollback-workspace\n```\n\n## Clarification Prompts\n\nIf the user's intent is ambiguous:\n\n- \"Would you like me to preview the migration first, or go ahead and apply it?\"\n- \"Have you already reviewed the dry-run output, or should I run it first?\"\n\n## References\n\n- @$AIWG_ROOT\u002Fsrc\u002Fcli\u002Fhandlers\u002Fworkspace.ts — `migrate-workspace` command handler\n- @$AIWG_ROOT\u002Fdocs\u002Fcli-reference.md — CLI reference\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Fskills\u002Frollback-workspace\u002FSKILL.md — Undoing a migration\n",{"name":5,"namespace":47,"platforms":48,"description":7},"aiwg",[49],"all","main","6754967c344ccb087a8de06972f55a41067b291b","agentic\u002Fcode\u002Fplugins\u002Futils\u002Fskills\u002Fmigrate-workspace",36,"https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg","https:\u002F\u002Faiwg.io","https:\u002F\u002Fgithub.com\u002Fjmagly","https:\u002F\u002Fintegrolabs.io","ml\u002Fai, industrial automation, safety\u002Fsecurity, ssi\r\n\r\nmagly.net\r\nintegrolabs.io\r\naiwg.io\r\nfortemi.com\r\npagenary.com\r\nbytecask.com","2026-11-14 10:46:34",{"source":9,"skillName":5,"commands":61,"prompt":71,"zipAvailable":72},[62,65,68],{"tool":63,"command":64},"npx","npx skills add jmagly\u002Faiwg --skill migrate-workspace",{"tool":66,"command":67},"bunx","bunx skills add jmagly\u002Faiwg --skill migrate-workspace",{"tool":69,"command":70},"pnpm","pnpm dlx skills add jmagly\u002Faiwg --skill migrate-workspace","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Futils\u002Fskills\u002Fmigrate-workspace\u002FSKILL.md",true,[],[75,83,88,115,135,140],{"skillNo":76,"name":77,"nameZh":17,"description":78,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":82},"01M78KW7PZJ9YQZQMW84SN2YD4","plugin-search","Search marketplaces for plugins using configured local manifests and directory caches; rank matching plugins by observed installs, review tier and cache dates without installing or fetching anything","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Futils\u002Fskills\u002Fplugin-search\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":84,"name":77,"nameZh":17,"description":78,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":82},"01M78KSEZS9ZNNFESY9ANW22S0","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Fskills\u002Fplugin-search\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":17,"description":91,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":42},"01M70QA0BSYJ49EES9V4RE8QH1","host-hardening","Read-only system hardening baseline and plan-first host hardening recommendations for SSH, Docker bind addresses, firewall persistence, datastores, exporters and audit retention.","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Fsecurity-engineering\u002Fskills\u002Fhost-hardening\u002FSKILL.md",[],[95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114],"hardening","host","host hardening","verification","secrets","read","request","remediation","recommendations","audit","plan","port","bind","Bash","access","only","retention","re","never","firewall",{"skillNo":116,"name":117,"nameZh":17,"description":118,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":119,"categories":120,"keywords":121,"publishedAt":42},"01M70PNT2Z4HMZPRBTAF6073NN","exposure-analysis","Read-only firewall analysis and effective host exposure reconstruction for Docker published ports, UFW bypass, stale rules, CDN scope, IPv6 asymmetry and external probe allowlists.","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Fforensics\u002Fskills\u002Fexposure-analysis\u002FSKILL.md",[],[122,123,124,125,126,127,100,128,106,113,108,129,96,130,110,131,132,114,133,134],"analysis","exposure analysis","collection","reconstruction","operator","write","credentials","unknown","internet","local","scope","ports","ufw",{"skillNo":136,"name":90,"nameZh":17,"description":91,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":137,"categories":138,"keywords":139,"publishedAt":42},"01M70P8QATMPKA78E4FT5D2TNA","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsecurity-engineering\u002Fskills\u002Fhost-hardening\u002FSKILL.md",[],[95,96,97,112,113,114,107,111,103,99,100,101,102,104,105,106,98,108,109,110],{"skillNo":141,"name":117,"nameZh":17,"description":118,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":142,"categories":143,"keywords":144,"publishedAt":42},"01M70NMPVJ5H0JH131P60FW4R8","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fframeworks\u002Fforensics-complete\u002Fskills\u002Fexposure-analysis\u002FSKILL.md",[],[122,123,134,133,126,132,131,110,125,127,100,128,106,124,108,129,96,114,113,130]]