[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M73GBAJGCVTJ74BP41WMXPQE":3,"skill-same:01M73GBAJGCVTJ74BP41WMXPQE":67},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":45,"commitSha":46,"skillDirectory":47,"forksCount":48,"repositoryHtmlUrl":49,"repositoryHomepageUrl":6,"ownerHtmlUrl":50,"ownerBlogUrl":6,"ownerDescription":51,"updatedAt":52,"install":53,"resources":66},"01M73GBAJGCVTJ74BP41WMXPQE","adopt-project",null,"Converts an existing external project (created with other tools) into a workspace-standard project in place, as if delivered by new-project.ts. Use when: adopting a legacy\u002Fexternal project into the workspace standard, re-homing an existing project under a variant, onboarding a project for upgrade-project maintenance.","5throck\u002Fai-workspace-standards","5throck","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F10958964?v=4","01M73BFEH0V0VS483TW4JD49JW","01M73BFEJ5VQZJHJSFTVPAZGDM",25,"AGPL-3.0","https:\u002F\u002Fgithub.com\u002F5throck\u002Fai-workspace-standards\u002Fblob\u002Fmain\u002Ftemplates\u002Fcommon\u002F.agents\u002Fskills\u002Fadopt-project\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: adopt-project\ndescription: >\n  Converts an existing external project (created with other tools) into a\n  workspace-standard project in place, as if delivered by new-project.ts.\n  Use when: adopting a legacy\u002Fexternal project into the workspace standard,\n  re-homing an existing project under a variant, onboarding a project for\n  upgrade-project maintenance.\nstatus: active\nscope: common\nl2_propagate: false\nversion: 1.1.1\nowner: scaffolding-expert\nlast_reviewed: 2026-10-31\nrelates_to:\n  - skill: migrate-project\n    type: composes_with\n  - skill: upgrade-project\n    type: composes_with\n  - skill: project-to-variant\n    type: follows\nmetadata:\n  type: scaffolding\n  triggers:\n    - adopt external project\n    - adopt project to standard\n    - convert external project to workspace standard\n    - onboard existing project\n---\n\n# Skill: adopt-project\n\n## When to Use\n\n- An existing project built outside this workspace should become a workspace-standard project (AGENTS.md, platform twins, docs\u002Fcontext.md, githooks, scripts).\n- The project must keep its own content and git history (in place, no re-scaffold).\n- After adoption, `upgrade-project.ts` maintains the project and `project-to-variant.ts` can later promote it to a template.\n\n## Script\n\n**Script**: `scripts\u002Fadopt-project.ts`\n\n```bash\nbun scripts\u002Fadopt-project.ts \u003Cproject-path> --variant co-\u003Cx> [--platform all|claude|antigravity|codex] [--dry-run] [--yes]\n```\n\n## What It Does\n\n1. Pre-flight: git repo + bun required; working tree must be fully committed; refusal-grade aborts (never bypassed by `--yes`) for tracked secret-shaped files, hook-manager conflicts (husky\u002Fsimple-git-hooks\u002Flefthook), and gitleaks findings in pre-existing content.\n2. Scans the full effective delivered-path set (upgrade-policy SSOT), inventories collisions, retained foreign scripts, foreign skills, and workflow traces; presents the plan interactively (`--yes` accepts defaults: full roster, region-neutral country).\n3. Preserves every colliding foreign file to a backup outside the project repo, then lets the `upgrade-project.ts` engine deliver the standard tree (subprocess, `--yes` forwarded; the tree stays clean so the engine stash never fires).\n4. Restores collisions into `scripts\u002F_legacy\u002F` (de-executed, gate-exempt archive), registers retained foreign scripts in the project SCRIPTS.md, resolves pm.md extends-stubs, seeds memory\u002Fdocs-README\u002FCHANGELOG\u002Fcontext files, applies scoped placeholder substitution, merges package.json (project keys win), runs bun install + hooksPath re-assert + trail build (graft-era binaries: `graft build` — design 2026-10-31-graft-trail-migration), and reports.\n5. No auto-commit: review with `git diff HEAD` and commit when satisfied.\n\n## Directions (disambiguation)\n\n| Intent | Tool |\n|--------|------|\n| External project → workspace-standard project (in place) | **adopt-project.ts** (this) |\n| Keep an adopted\u002Fstandard project current with its template | `upgrade-project.ts` |\n| Standard project → variant TEMPLATE for reuse | `project-to-variant.ts` \u002F `l3-to-variant-pipeline.ts` |\n| Promote a beta variant template to stable | `promote-variant` skill |\n\n## Requirements\n\n- **A verified GitHub baseline** — run `migrate-project` (which performs this step via `ensure-github-repo.ts`) or the script directly; adopt-project warns when no GitHub remote exists.\n- The project is a git repository with a fully committed working tree.\n- `bun` is installed (all workspace scripts and the pre-commit hook require it).\n- No competing hook managers (they must be removed\u002Fmigrated first — the script refuses and explains).\n- A target variant must exist under `templates\u002Fco-*`.\n\n## Safety Model\n\n- Refusal-grade findings cannot be bypassed by `--yes` (tracked secrets, hook managers, gitleaks hits).\n- Colliding foreign files are archived byte-identical under `scripts\u002F_legacy\u002F` and to an external backup directory (path in the report); nothing is deleted.\n- Foreign skills are protected from registry prunes via the variant.json skill_manifest seed.\n- Adoption never commits; rollback guidance (HEAD SHA + backup path) is printed on failure.\n\n## References\n\n- Design: `docs\u002Fdesigns\u002F2026-09-23-adopt-project-conversion-design.md`\n- Meeting: `memory\u002Fmeeting-2026-09-23-adopt-project-plan-review.md`\n- Manual predecessor: `docs\u002Fguides\u002Fvariant-conversion-guide.md` §3 (Scenario B)\n- E2E: `bun scripts\u002Ftest-adopt-project.ts` (`ADOPT_E2E_FULL=1` for the real conversion run)\n","# Skill: adopt-project\n\n## When to Use\n\n- An existing project built outside this workspace should become a workspace-standard project (AGENTS.md, platform twins, docs\u002Fcontext.md, githooks, scripts).\n- The project must keep its own content and git history (in place, no re-scaffold).\n- After adoption, `upgrade-project.ts` maintains the project and `project-to-variant.ts` can later promote it to a template.\n\n## Script\n\n**Script**: `scripts\u002Fadopt-project.ts`\n\n```bash\nbun scripts\u002Fadopt-project.ts \u003Cproject-path> --variant co-\u003Cx> [--platform all|claude|antigravity|codex] [--dry-run] [--yes]\n```\n\n## What It Does\n\n1. Pre-flight: git repo + bun required; working tree must be fully committed; refusal-grade aborts (never bypassed by `--yes`) for tracked secret-shaped files, hook-manager conflicts (husky\u002Fsimple-git-hooks\u002Flefthook), and gitleaks findings in pre-existing content.\n2. Scans the full effective delivered-path set (upgrade-policy SSOT), inventories collisions, retained foreign scripts, foreign skills, and workflow traces; presents the plan interactively (`--yes` accepts defaults: full roster, region-neutral country).\n3. Preserves every colliding foreign file to a backup outside the project repo, then lets the `upgrade-project.ts` engine deliver the standard tree (subprocess, `--yes` forwarded; the tree stays clean so the engine stash never fires).\n4. Restores collisions into `scripts\u002F_legacy\u002F` (de-executed, gate-exempt archive), registers retained foreign scripts in the project SCRIPTS.md, resolves pm.md extends-stubs, seeds memory\u002Fdocs-README\u002FCHANGELOG\u002Fcontext files, applies scoped placeholder substitution, merges package.json (project keys win), runs bun install + hooksPath re-assert + trail build (graft-era binaries: `graft build` — design 2026-10-31-graft-trail-migration), and reports.\n5. No auto-commit: review with `git diff HEAD` and commit when satisfied.\n\n## Directions (disambiguation)\n\n| Intent | Tool |\n|--------|------|\n| External project → workspace-standard project (in place) | **adopt-project.ts** (this) |\n| Keep an adopted\u002Fstandard project current with its template | `upgrade-project.ts` |\n| Standard project → variant TEMPLATE for reuse | `project-to-variant.ts` \u002F `l3-to-variant-pipeline.ts` |\n| Promote a beta variant template to stable | `promote-variant` skill |\n\n## Requirements\n\n- **A verified GitHub baseline** — run `migrate-project` (which performs this step via `ensure-github-repo.ts`) or the script directly; adopt-project warns when no GitHub remote exists.\n- The project is a git repository with a fully committed working tree.\n- `bun` is installed (all workspace scripts and the pre-commit hook require it).\n- No competing hook managers (they must be removed\u002Fmigrated first — the script refuses and explains).\n- A target variant must exist under `templates\u002Fco-*`.\n\n## Safety Model\n\n- Refusal-grade findings cannot be bypassed by `--yes` (tracked secrets, hook managers, gitleaks hits).\n- Colliding foreign files are archived byte-identical under `scripts\u002F_legacy\u002F` and to an external backup directory (path in the report); nothing is deleted.\n- Foreign skills are protected from registry prunes via the variant.json skill_manifest seed.\n- Adoption never commits; rollback guidance (HEAD SHA + backup path) is printed on failure.\n\n## References\n\n- Design: `docs\u002Fdesigns\u002F2026-09-23-adopt-project-conversion-design.md`\n- Meeting: `memory\u002Fmeeting-2026-09-23-adopt-project-plan-review.md`\n- Manual predecessor: `docs\u002Fguides\u002Fvariant-conversion-guide.md` §3 (Scenario B)\n- E2E: `bun scripts\u002Ftest-adopt-project.ts` (`ADOPT_E2E_FULL=1` for the real conversion run)\n",{"name":5,"owner":23,"scope":24,"status":25,"version":26,"metadata":27,"relates_to":34,"description":43,"l2_propagate":19,"last_reviewed":44},"scaffolding-expert","common","active","1.1.1",{"type":28,"triggers":29},"scaffolding",[30,31,32,33],"adopt external project","adopt project to standard","convert external project to workspace standard","onboard existing project",[35,38,40],{"type":36,"skill":37},"composes_with","migrate-project",{"type":36,"skill":39},"upgrade-project",{"type":41,"skill":42},"follows","project-to-variant","Converts an existing external project (created with other tools) into a workspace-standard project in place, as if delivered by new-project.ts. Use when: adopting a legacy\u002Fexternal project into the workspace standard, re-homing an existing project under a variant, onboarding a project for upgrade-project maintenance.\n",1793404800000,"main","1162ccc568cf90c01b3886d6143cbfd851a37883","templates\u002Fcommon\u002F.agents\u002Fskills\u002Fadopt-project",9,"https:\u002F\u002Fgithub.com\u002F5throck\u002Fai-workspace-standards","https:\u002F\u002Fgithub.com\u002F5throck","Experienced in digital transformation, enterprise IT, startup acceleration, and business strategy. Focused on building practical systems that connect technolo","2026-11-14 21:22:34",{"source":8,"skillName":5,"commands":54,"prompt":64,"zipAvailable":65},[55,58,61],{"tool":56,"command":57},"npx","npx skills add 5throck\u002Fai-workspace-standards --skill adopt-project",{"tool":59,"command":60},"bunx","bunx skills add 5throck\u002Fai-workspace-standards --skill adopt-project",{"tool":62,"command":63},"pnpm","pnpm dlx skills add 5throck\u002Fai-workspace-standards --skill adopt-project","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002F5throck\u002Fai-workspace-standards\u002Fblob\u002Fmain\u002Ftemplates\u002Fcommon\u002F.agents\u002Fskills\u002Fadopt-project\u002FSKILL.md",true,[],[68,76,81,86,91,96],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":75},"01M7BBJDYHJMGTJYSC37JVWY8S","i18n-layout","Text layout and encoding guidance: character encoding (UTF-8, legacy Korean code pages, BOM hazards), line endings, RTL\u002Fbidi handling, and script-specific font selection (Hangul focus). Use when: encoding is corrupted or mojibake appears, an RTL locale must render correctly, fonts must be chosen for a script, or CRLF\u002FBOM issues surface.","https:\u002F\u002Fgithub.com\u002F5throck\u002Fai-workspace-standards\u002Fblob\u002Fmain\u002Ftemplates\u002Fco-work\u002Fskills\u002Fi18n-layout\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":77,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":75},"01M7BBJ9XHAAS1AVGKZZ841VBZ","https:\u002F\u002Fgithub.com\u002F5throck\u002Fai-workspace-standards\u002Fblob\u002Fmain\u002Ftemplates\u002Fco-work\u002F.hermes\u002Fskills\u002Fi18n-layout\u002FSKILL.md",[],[],{"skillNo":82,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":75},"01M7BBJ5C3X8TKFKG5R9P9P49W","https:\u002F\u002Fgithub.com\u002F5throck\u002Fai-workspace-standards\u002Fblob\u002Fmain\u002Ftemplates\u002Fco-work\u002F.gemini\u002Fskills\u002Fi18n-layout\u002FSKILL.md",[],[],{"skillNo":87,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":75},"01M7BBJ1B52X0QMJ2QVBMPJB37","https:\u002F\u002Fgithub.com\u002F5throck\u002Fai-workspace-standards\u002Fblob\u002Fmain\u002Ftemplates\u002Fco-work\u002F.codex\u002Fskills\u002Fi18n-layout\u002FSKILL.md",[],[],{"skillNo":92,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":75},"01M7BBHX91BW2Q2R276MRX5AW3","https:\u002F\u002Fgithub.com\u002F5throck\u002Fai-workspace-standards\u002Fblob\u002Fmain\u002Ftemplates\u002Fco-work\u002F.claude\u002Fskills\u002Fi18n-layout\u002FSKILL.md",[],[],{"skillNo":97,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":75},"01M7BBHQWGXPSFRWN1PRC2NMMV","https:\u002F\u002Fgithub.com\u002F5throck\u002Fai-workspace-standards\u002Fblob\u002Fmain\u002Ftemplates\u002Fco-work\u002F.agents\u002Fskills\u002Fi18n-layout\u002FSKILL.md",[],[]]