[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6J22X5WX7MQQWHX0P6T0YHT":3,"skill-same:01M6J22X5WX7MQQWHX0P6T0YHT":73},{"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":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":44,"commitSha":45,"skillDirectory":46,"forksCount":47,"repositoryHtmlUrl":48,"repositoryHomepageUrl":49,"ownerHtmlUrl":50,"ownerBlogUrl":6,"ownerDescription":51,"updatedAt":52,"install":53,"resources":66},"01M6J22X5WX7MQQWHX0P6T0YHT","add-global-mode-target",null,"Use when adding global mode support for one existing agentsmesh target from a target-structure\u002Fglobal-path doc. Covers contract extraction from docs, descriptor.global layout wiring, generator\u002Fimport\u002Freference-rewrite touchpoints, strict tests, docs updates, and final verification for one target at a time.","sampleXbro\u002Fagentsmesh","sampleXbro","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F55853222?v=4","01M6J1A11VAS9QEE92CHHMBCKC","Serhii Zhabskyi","01M6J1A16FCGNMMABYE0P6SNTF",29,"MIT","https:\u002F\u002Fgithub.com\u002FsampleXbro\u002Fagentsmesh\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Fadd-global-mode-target\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"add global mode target","global","mode","add","rewrite","Existing","for","path","at","updates","import","support","tests","contract","layout","time","structure","use","doc","verification","2026-11-10 10:12:30",false,"---\nname: add-global-mode-target\ndescription: Use when adding global mode support for one existing agentsmesh target from a target-structure\u002Fglobal-path doc. Covers contract extraction from docs, descriptor.global layout wiring, generator\u002Fimport\u002Freference-rewrite touchpoints, strict tests, docs updates, and final verification for one target at a time.\n---\n\n## Purpose\n\n# Add Global Mode Target\n\nUse this skill when the task is to add global mode support for one existing target after you have a target-specific document that describes the native global file paths and behavior.\n\nRead `.\u002Freferences\u002Fglobal-mode-target-checklist.md` before editing code. Treat it as the minimum implementation and QA checklist.\n\n## When To Use\n\n- The target already exists in `src\u002Ftargets\u002F\u003Ctarget>\u002F`\n- You have a target doc with native global paths or global behavior\n- The repository-wide global-mode foundation already exists (`init|install|generate|import|diff|lint|watch|check|merge|matrix --global`)\n- The work is scoped to one target at a time\n\n## Do Not Use This Skill For\n\n- Adding a brand-new target from scratch\n- Defining the shared global-mode architecture for the first time\n- Guessing a target's global behavior without a concrete doc or official source\n\nUse `add-agent-target` for new targets. Use this skill only for the per-target global-mode pass.\n\n## Non-Negotiable Rules\n\n### MUST\n\n- Start from the target doc and verify it against the live target implementation.\n- Treat current code as the source of truth for project-mode behavior; preserve it unless the target doc requires a change.\n- Write failing tests first for every new global-mode behavior.\n- Keep the change target-scoped. Do not scatter new target-specific branches through shared code if descriptor metadata can carry the behavior.\n- Add or update `descriptor.global` and keep project\u002Fglobal layout semantics explicit.\n- Verify link rewriting and import normalization for the target's global paths, not just generation paths.\n- Test unsupported global features explicitly. If the target has no meaningful native global support, encode that and test the skip\u002Fwarning behavior.\n- Update docs if the supported-tools matrix, README, or global-mode docs change.\n- Run the full verification stack before claiming completion.\n\n### MUST NOT\n\n- Do not infer global paths from project-mode paths.\n- Do not hardcode the target's global paths in shared cleanup or reference code when descriptor metadata can own them.\n- Do not stop at “files generate”; global import, reference rewriting, and stale cleanup must also be checked when applicable.\n- Do not silently mark a target as globally supported if only a subset of features work natively.\n\n## Workflow\n\n1. Extract the contract from the doc.\n   - Record the target's native global root.\n   - Record which features are globally supported: rules, commands, agents, skills, MCP, hooks, ignore, permissions.\n   - Record root-instruction behavior, fallback paths, legacy paths, and any GUI-only\u002Funsupported areas.\n   - Record whether import from global files is meaningful and lossless.\n\n2. Cross-check the live target implementation.\n   - Read `src\u002Ftargets\u002F\u003Ctarget>\u002Findex.ts`, `constants.ts`, `generator.ts`, `importer.ts`, and `linter.ts`.\n   - Identify the current project layout in `descriptor.project`.\n   - Identify where global behavior can reuse the same structure and where it cannot.\n\n3. Write failing tests first.\n   - Add unit tests for target layout metadata (`descriptor.global`, supported\u002Funsupported features).\n   - Add generation tests for global paths and root artifacts.\n   - Add import\u002Freference-rewrite tests if the target can import from global files.\n   - Add stale-cleanup coverage if managed outputs differ from project mode.\n   - Add command\u002Fintegration coverage that proves the existing `--global` CLI surface works for the new target where applicable.\n\n4. Implement the target-global layout.\n   - Prefer target metadata over shared branching.\n   - Fill `descriptor.global` for supported targets.\n   - Keep managed outputs, root instruction paths, and path resolvers explicit.\n   - If only some features are global, encode that precisely and keep unsupported ones absent or skipped.\n\n5. Wire shared behavior only where necessary.\n   - Update shared scope-aware path or import code only if the target truly needs it.\n   - Keep shared changes generic and descriptor-driven.\n   - If the target doc reveals a shared architectural gap, fix the gap once rather than adding one-off target branches.\n   - Do not re-architect CLI scope handling unless the target proves a real shared gap.\n\n6. Update docs and matrix surfaces.\n   - Update `README.md` and `website\u002Fsrc\u002Fcontent\u002Fdocs\u002Freference\u002Fsupported-tools.mdx` if support levels or notes change.\n   - Update `docs\u002Fplan-global-mode.md` if the target behavior clarifies the implementation contract.\n\n7. Verify and QA.\n   - Run targeted tests during iteration.\n   - Run the full verification stack at the end.\n   - Apply the local `post-feature-qa` skill before marking the work done.\n\n## Required Touchpoints\n\n- Target descriptor and layout metadata:\n  `src\u002Ftargets\u002F\u003Ctarget>\u002Findex.ts`\n- Shared target lookup\u002Fpath helpers:\n  `src\u002Ftargets\u002Fcatalog\u002Fbuiltin-targets.ts`\n  `src\u002Fcore\u002Freference\u002Fmap-targets.ts`\n  `src\u002Fcore\u002Freference\u002Fmap.ts`\n- If the target imports or rewrites links in global scope:\n  `src\u002Fcore\u002Freference\u002Frewriter.ts`\n  `src\u002Fcore\u002Freference\u002Foutput-source-map.ts`\n  `src\u002Fcore\u002Freference\u002Fimport-rewriter.ts`\n  `src\u002Fcore\u002Freference\u002Fimport-map-builders.ts`\n- If managed output ownership changes:\n  `src\u002Fcore\u002Fgenerate\u002Fstale-cleanup.ts`\n- If the target needs command-surface proof:\n  `tests\u002Funit\u002Fcli\u002Fcommands\u002F*.test.ts`\n  `tests\u002Fintegration\u002F*global*.test.ts`\n\nRead the checklist reference for the full test and review matrix.\n\n## Required Verification\n\n- `pnpm lint`\n- `pnpm typecheck`\n- `pnpm build`\n- `pnpm test`\n\nAdd narrower unit\u002Fintegration\u002Fe2e commands while iterating, but do not skip the full stack.\n\n## Completion Standard\n\nThe task is not done until all of the following are true:\n\n- The target's global contract is derived from the provided doc and encoded in code, not left implicit.\n- `descriptor.global` is either implemented correctly or omitted intentionally for unsupported targets.\n- Global generation paths are tested.\n- Global import and reference rewriting are tested when the target supports them.\n- Managed outputs and stale cleanup are correct for the target's global footprint.\n- Docs and support matrix entries are current.\n- Full verification passes.","## Purpose\n\n# Add Global Mode Target\n\nUse this skill when the task is to add global mode support for one existing target after you have a target-specific document that describes the native global file paths and behavior.\n\nRead `.\u002Freferences\u002Fglobal-mode-target-checklist.md` before editing code. Treat it as the minimum implementation and QA checklist.\n\n## When To Use\n\n- The target already exists in `src\u002Ftargets\u002F\u003Ctarget>\u002F`\n- You have a target doc with native global paths or global behavior\n- The repository-wide global-mode foundation already exists (`init|install|generate|import|diff|lint|watch|check|merge|matrix --global`)\n- The work is scoped to one target at a time\n\n## Do Not Use This Skill For\n\n- Adding a brand-new target from scratch\n- Defining the shared global-mode architecture for the first time\n- Guessing a target's global behavior without a concrete doc or official source\n\nUse `add-agent-target` for new targets. Use this skill only for the per-target global-mode pass.\n\n## Non-Negotiable Rules\n\n### MUST\n\n- Start from the target doc and verify it against the live target implementation.\n- Treat current code as the source of truth for project-mode behavior; preserve it unless the target doc requires a change.\n- Write failing tests first for every new global-mode behavior.\n- Keep the change target-scoped. Do not scatter new target-specific branches through shared code if descriptor metadata can carry the behavior.\n- Add or update `descriptor.global` and keep project\u002Fglobal layout semantics explicit.\n- Verify link rewriting and import normalization for the target's global paths, not just generation paths.\n- Test unsupported global features explicitly. If the target has no meaningful native global support, encode that and test the skip\u002Fwarning behavior.\n- Update docs if the supported-tools matrix, README, or global-mode docs change.\n- Run the full verification stack before claiming completion.\n\n### MUST NOT\n\n- Do not infer global paths from project-mode paths.\n- Do not hardcode the target's global paths in shared cleanup or reference code when descriptor metadata can own them.\n- Do not stop at “files generate”; global import, reference rewriting, and stale cleanup must also be checked when applicable.\n- Do not silently mark a target as globally supported if only a subset of features work natively.\n\n## Workflow\n\n1. Extract the contract from the doc.\n   - Record the target's native global root.\n   - Record which features are globally supported: rules, commands, agents, skills, MCP, hooks, ignore, permissions.\n   - Record root-instruction behavior, fallback paths, legacy paths, and any GUI-only\u002Funsupported areas.\n   - Record whether import from global files is meaningful and lossless.\n\n2. Cross-check the live target implementation.\n   - Read `src\u002Ftargets\u002F\u003Ctarget>\u002Findex.ts`, `constants.ts`, `generator.ts`, `importer.ts`, and `linter.ts`.\n   - Identify the current project layout in `descriptor.project`.\n   - Identify where global behavior can reuse the same structure and where it cannot.\n\n3. Write failing tests first.\n   - Add unit tests for target layout metadata (`descriptor.global`, supported\u002Funsupported features).\n   - Add generation tests for global paths and root artifacts.\n   - Add import\u002Freference-rewrite tests if the target can import from global files.\n   - Add stale-cleanup coverage if managed outputs differ from project mode.\n   - Add command\u002Fintegration coverage that proves the existing `--global` CLI surface works for the new target where applicable.\n\n4. Implement the target-global layout.\n   - Prefer target metadata over shared branching.\n   - Fill `descriptor.global` for supported targets.\n   - Keep managed outputs, root instruction paths, and path resolvers explicit.\n   - If only some features are global, encode that precisely and keep unsupported ones absent or skipped.\n\n5. Wire shared behavior only where necessary.\n   - Update shared scope-aware path or import code only if the target truly needs it.\n   - Keep shared changes generic and descriptor-driven.\n   - If the target doc reveals a shared architectural gap, fix the gap once rather than adding one-off target branches.\n   - Do not re-architect CLI scope handling unless the target proves a real shared gap.\n\n6. Update docs and matrix surfaces.\n   - Update `README.md` and `website\u002Fsrc\u002Fcontent\u002Fdocs\u002Freference\u002Fsupported-tools.mdx` if support levels or notes change.\n   - Update `docs\u002Fplan-global-mode.md` if the target behavior clarifies the implementation contract.\n\n7. Verify and QA.\n   - Run targeted tests during iteration.\n   - Run the full verification stack at the end.\n   - Apply the local `post-feature-qa` skill before marking the work done.\n\n## Required Touchpoints\n\n- Target descriptor and layout metadata:\n  `src\u002Ftargets\u002F\u003Ctarget>\u002Findex.ts`\n- Shared target lookup\u002Fpath helpers:\n  `src\u002Ftargets\u002Fcatalog\u002Fbuiltin-targets.ts`\n  `src\u002Fcore\u002Freference\u002Fmap-targets.ts`\n  `src\u002Fcore\u002Freference\u002Fmap.ts`\n- If the target imports or rewrites links in global scope:\n  `src\u002Fcore\u002Freference\u002Frewriter.ts`\n  `src\u002Fcore\u002Freference\u002Foutput-source-map.ts`\n  `src\u002Fcore\u002Freference\u002Fimport-rewriter.ts`\n  `src\u002Fcore\u002Freference\u002Fimport-map-builders.ts`\n- If managed output ownership changes:\n  `src\u002Fcore\u002Fgenerate\u002Fstale-cleanup.ts`\n- If the target needs command-surface proof:\n  `tests\u002Funit\u002Fcli\u002Fcommands\u002F*.test.ts`\n  `tests\u002Fintegration\u002F*global*.test.ts`\n\nRead the checklist reference for the full test and review matrix.\n\n## Required Verification\n\n- `pnpm lint`\n- `pnpm typecheck`\n- `pnpm build`\n- `pnpm test`\n\nAdd narrower unit\u002Fintegration\u002Fe2e commands while iterating, but do not skip the full stack.\n\n## Completion Standard\n\nThe task is not done until all of the following are true:\n\n- The target's global contract is derived from the provided doc and encoded in code, not left implicit.\n- `descriptor.global` is either implemented correctly or omitted intentionally for unsupported targets.\n- Global generation paths are tested.\n- Global import and reference rewriting are tested when the target supports them.\n- Managed outputs and stale cleanup are correct for the target's global footprint.\n- Docs and support matrix entries are current.\n- Full verification passes.",{"name":5,"description":7},"master","2a22abcae4e5677b6e385b5a0e144c48baac4a94",".claude\u002Fskills\u002Fadd-global-mode-target",7,"https:\u002F\u002Fgithub.com\u002FsampleXbro\u002Fagentsmesh","https:\u002F\u002Fsamplexbro.github.io\u002Fagentsmesh\u002F","https:\u002F\u002Fgithub.com\u002FsampleXbro","Senior Software Engineer · React · TypeScript · Next.js · Smart TV specialist (Tizen, webOS, Android TV)","2026-11-06 03:06:21",{"source":8,"skillName":5,"commands":54,"prompt":64,"zipAvailable":65},[55,58,61],{"tool":56,"command":57},"npx","npx skills add sampleXbro\u002Fagentsmesh --skill add-global-mode-target",{"tool":59,"command":60},"bunx","bunx skills add sampleXbro\u002Fagentsmesh --skill add-global-mode-target",{"tool":62,"command":63},"pnpm","pnpm dlx skills add sampleXbro\u002Fagentsmesh --skill add-global-mode-target","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FsampleXbro\u002Fagentsmesh\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Fadd-global-mode-target\u002FSKILL.md",true,[67],{"path":68,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":71,"sourceHtmlUrl":72},"references\u002Fglobal-mode-target-checklist.md","REFERENCE","参考文档",5286,"https:\u002F\u002Fgithub.com\u002FsampleXbro\u002Fagentsmesh\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Fadd-global-mode-target\u002Freferences\u002Fglobal-mode-target-checklist.md",[74,85,97,113,118,136],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":39},"01M6J2GJ4NDEPJND2GAXN0VPRB","research","Research docs and summarize decisions","https:\u002F\u002Fgithub.com\u002FsampleXbro\u002Fagentsmesh\u002Fblob\u002Fmaster\u002Ftests\u002Fe2e\u002Ffixtures\u002Fwindsurf-project\u002F.windsurf\u002Fskills\u002Fresearch\u002FSKILL.md",[],[76,81,82,83,84],"docs","summarize","decisions","research docs",{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":39},"01M6J2GF8WQVFP75AMJWV7YM50","debugging","Systematic debugging workflow for production failures and test regressions.","https:\u002F\u002Fgithub.com\u002FsampleXbro\u002Fagentsmesh\u002Fblob\u002Fmaster\u002Ftests\u002Fe2e\u002Ffixtures\u002Fwarp-project\u002F.warp\u002Fskills\u002Fdebugging\u002FSKILL.md",[],[87,92,93,94,95,96,25],"systematic debugging","workflow","test","Production","systematic",{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":39},"01M6J2GAQRCM0KV565J63STPWB","api-generator","Generate REST API endpoints with validation and tests","https:\u002F\u002Fgithub.com\u002FsampleXbro\u002Fagentsmesh\u002Fblob\u002Fmaster\u002Ftests\u002Fe2e\u002Ffixtures\u002Ftrae-project\u002F.trae\u002Fskills\u002Fapi-generator\u002FSKILL.md",[],[104,105,106,107,108,109,31,110,111,112],"api","api generator","generator","REST","endpoints","rest api","with","validation","generate",{"skillNo":114,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":115,"categories":116,"keywords":117,"publishedAt":39},"01M6J2G7VF3A2EGK5YBR4BM9KS","https:\u002F\u002Fgithub.com\u002FsampleXbro\u002Fagentsmesh\u002Fblob\u002Fmaster\u002Ftests\u002Fe2e\u002Ffixtures\u002Frovodev-project\u002F.rovodev\u002Fskills\u002Fdebugging\u002FSKILL.md",[],[87,25,93,94,92,95,96],{"skillNo":119,"name":120,"nameZh":6,"description":121,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":122,"categories":123,"keywords":124,"publishedAt":39},"01M6J2G4VHBHSPXGVQRZCH8CDW","typescript-pro","Apply advanced TypeScript patterns including conditional types, template literal types, and mapped types","https:\u002F\u002Fgithub.com\u002FsampleXbro\u002Fagentsmesh\u002Fblob\u002Fmaster\u002Ftests\u002Fe2e\u002Ffixtures\u002Froo-code-project\u002F.roo\u002Fskills\u002Ftypescript-pro\u002FSKILL.md",[],[125,126,127,128,129,130,131,132,133,134,135],"typescript","typescript pro","pro","patterns","code","architect","template","typescript patterns","Literal","types","advanced",{"skillNo":137,"name":87,"nameZh":6,"description":138,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":139,"categories":140,"keywords":141,"publishedAt":39},"01M6J2G2133FJ5SAHK9WX4YVNV","Systematic debugging workflow for Replit projects","https:\u002F\u002Fgithub.com\u002FsampleXbro\u002Fagentsmesh\u002Fblob\u002Fmaster\u002Ftests\u002Fe2e\u002Ffixtures\u002Freplit-agent-project\u002F.agents\u002Fskills\u002Fdebugging\u002FSKILL.md",[],[87,92,142,96,25,93],"projects"]