[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6CRNX2Q42J8Y8TSE2JW3VM2":3,"skill-same:01M6CRNX2Q42J8Y8TSE2JW3VM2":65},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":43,"commitSha":44,"skillDirectory":45,"forksCount":46,"repositoryHtmlUrl":47,"repositoryHomepageUrl":48,"ownerHtmlUrl":49,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":50,"install":51,"resources":64},"01M6CRNX2Q42J8Y8TSE2JW3VM2","role-creator",null,"Create or update role-specific skill packages with deterministic files. Supports output to skills\u002F (open-source publishing) or .agent-team\u002Fteams\u002F (team use). Triggers: 创建角色, 新建 role, create role, 更新 role scope, edit role, update role, add role skill, 修改角色配置. Use when the user asks to create, update, or edit frontend\u002Fbackend\u002Fproduct (or custom) role skills with auto-generated role fields, guided brainstorming fallback, and curated skills selection.","JsonLee12138\u002Fagent-team","JsonLee12138","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F160690954?v=4","01M6CRKT8H8MA8W638P9440WRV","01M6CRKTCSZEJGJSE7X4X8JZHT",33,"MIT","https:\u002F\u002Fgithub.com\u002FJsonLee12138\u002Fagent-team\u002Fblob\u002Fmain\u002Fskills\u002Frole-creator\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"role creator","user","deterministic","selection","files","publishing","auto","backend","use","generated","frontend","edit","team","open","product","update","create","teams","packages","brainstorming","2026-11-10 10:12:30",false,"---\nname: role-creator\ndescription: >\n  Create or update role-specific skill packages with deterministic files.\n  Supports output to skills\u002F (open-source publishing) or .agent-team\u002Fteams\u002F (team use).\n  Triggers: 创建角色, 新建 role, create role, 更新 role scope, edit role, update role,\n  add role skill, 修改角色配置.\n  Use when the user asks to create, update, or edit frontend\u002Fbackend\u002Fproduct (or custom) role\n  skills with auto-generated role fields, guided brainstorming fallback, and curated skills selection.\n---\n\n# role-creator\n\nGenerate a role skill package in a fixed contract:\n- `\u003Ctarget>\u002FSKILL.md`\n- `\u003Ctarget>\u002Freferences\u002Frole.yaml`\n- `\u003Ctarget>\u002Fsystem.md`\n\nTarget directory options:\n- `skills\u002F\u003Crole-name>\u002F` — for open-source publishing (default)\n- `.agent-team\u002Fteams\u002F\u003Crole-name>\u002F` — for team use with agent-team\n- `\u003Ccustom-path>\u002F\u003Crole-name>\u002F` — for custom local output paths\n\n## Required Workflow\n\n1. **Normalize Input** — validate role name as kebab-case.\n2. **Generate Role Fields** — auto-generate fields, delegate to `\u002Fbrainstorming` on rejection.\n3. **Select Skills** — `find-skills` recommendations, user selection, manual additions.\n4. **Execute CLI** — run `agent-team role create` with approved parameters.\n5. **Validate Output** — verify three managed files match expected template structure.\n\n## Step 1: Normalize Input\n\n- `role-name` must be kebab-case. The current CLI requires it as a positional argument.\n- If the input is not kebab-case, suggest a normalized version and confirm with user.\n\n## Step 2: Generate Role Fields\n\n1. Auto-generate the following fields (do not ask user to draft them by default):\n   - `description`\n   - `system goal`\n   - `in-scope` (comma-separated)\n   - `out-of-scope` (comma-separated)\n2. Present generated fields for user approval.\n3. If user rejects, or AI confidence is low (ambiguous scope, conflicting boundaries, vague goals), delegate to `\u002Fbrainstorming` skill for structured refinement.\n4. After fields are approved, ask user for target directory (`skills`, `.agent-team\u002Fteams`, or a custom path).\n5. If target is `skills` or `.agent-team\u002Fteams`, note that the CLI checks matching global roles in `~\u002F.agents\u002Froles\u002F` unless `--force` is passed. If matches are found, the CLI prompts whether to continue creating the local role.\n\n## Step 3: Select Skills\n\n1. Run `find-skills` to get recommendation candidates.\n2. Show recommendation list and let user select desired skills.\n3. Ask for manual additions after selection.\n4. When confirming the final skill identifiers, prefer the full remote identifier if the skill is known from a remote source (for example `jsonlee12138\u002Fprompts@design-patterns-principles`).\n5. Only use a local short name (for example `design-patterns-principles`) when no matching remote skill is found and the skill exists only locally.\n6. Merge selected + manual additions with de-duplication, then confirm final list.\n7. Final skills may be empty — will be persisted as `skills: []` in `references\u002Frole.yaml`; otherwise persist `skills[{name, description}]` using the preferred identifier rule above.\n\nIf `find-skills` is unavailable or returns empty, skip recommendations and ask for manual additions only. In that fallback path, still prefer a full remote identifier if the user already provides one; otherwise use a local short name only for local-only skills.\n\n## Step 4: Execute CLI\n\n### CLI Reference\n\n| Flag | Type | Required | Default | Description |\n|---|---|---|---|---|\n| `\u003Crole-name>` | arg | yes | — | Role name (kebab-case) |\n| `--description` | string | yes | — | Role description |\n| `--system-goal` | string | yes | — | Primary objective for system.md |\n| `--in-scope` | string[] | no | (from description) | In-scope items (repeatable, comma-separated) |\n| `--out-of-scope` | string[] | no | fallback text | Out-of-scope items (repeatable, comma-separated) |\n| `--skills` | string | no | `\"\"` | Final selected skills (comma-separated) |\n| `--recommended-skills` | string | no | `\"\"` | Recommended skills from find-skills |\n| `--add-skills` | string | no | `\"\"` | Skills to add on top of selection |\n| `--remove-skills` | string | no | `\"\"` | Skills to remove from candidate list |\n| `--manual-skills` | string | no | `\"\"` | Manual fallback when recommendations unavailable |\n| `--target-dir` | string | no | `skills` | Target: `skills`, `.agent-team\u002Fteams`, or custom path |\n| `--overwrite` | string | no | `ask` | Overwrite mode: `ask`\u002F`yes`\u002F`no` |\n| `--repo-root` | string | no | `.` | Repository root path |\n| `--force` | bool | no | `false` | Skip global duplicate check |\n\nSkills resolution priority: `--skills` > `--recommended-skills` > `--manual-skills`, then `--add-skills` appended, `--remove-skills` excluded.\n\n### Examples\n\nFor open-source publishing (default):\n\n```bash\nagent-team role create frontend-dev \\\n  --description \"Frontend role for UI implementation\" \\\n  --system-goal \"Ship accessible and maintainable UI work\" \\\n  --in-scope \"Build components,Improve accessibility\" \\\n  --out-of-scope \"Database migrations,Backend API ownership\" \\\n  --skills \"ui-ux-pro-max,better-icons\"\n```\n\nFor team use (agent-team integration):\n\n```bash\nagent-team role create frontend-dev \\\n  --target-dir .agent-team\u002Fteams \\\n  --description \"Frontend role for UI implementation\" \\\n  --system-goal \"Ship accessible and maintainable UI work\" \\\n  --in-scope \"Build components,Improve accessibility\" \\\n  --out-of-scope \"Database migrations,Backend API ownership\" \\\n  --skills \"ui-ux-pro-max,better-icons\"\n```\n\nEmpty skills example:\n\n```bash\nagent-team role create product-manager \\\n  --description \"Product role for roadmap and PRD work\" \\\n  --system-goal \"Define clear product requirements and priorities\"\n```\n\n## Step 5: Validate Output\n\nVerify three files against actual template structure:\n\n1. **`SKILL.md`** — contains the role name, generated description frontmatter, and links to `references\u002Frole.yaml` and `system.md`.\n2. **`references\u002Frole.yaml`** — must contain:\n   - `name` — role name\n   - `description` — role description\n   - `system_prompt_file: system.md`\n   - `scope.in_scope` — list of in-scope items\n   - `scope.out_of_scope` — list of out-of-scope items\n   - `constraints.single_role_focus: true`\n   - `skills` — selected skills as objects with `name` and `description` (or empty `[]`)\n3. **`system.md`** — contains system goal and operating constraints.\n\nIf any file is missing or contains unexpected content relative to the current templates, report the discrepancy and offer to regenerate.\n\n## Overwrite Behavior\n\n- Controlled by `--overwrite` flag (`ask`\u002F`yes`\u002F`no`).\n- Current CLI does not create a backup directory when overwriting.\n- Only managed files are overwritten (`SKILL.md`, `references\u002Frole.yaml`, `system.md`); other files in the role directory are preserved.\n- Legacy root-level `role.yaml` is removed if present after generation.\n\n## Runtime Skill Discovery (Role Usage Guideline)\n\nGenerated roles should follow this behavior at runtime:\n\n1. When a role receives a task that requires a skill not listed in its `references\u002Frole.yaml`, it should invoke `find-skills` to search for a matching skill.\n2. If a suitable skill is found, it may only attempt project-level installation or use an already available local\u002Fproject-cached skill.\n3. Global installation is not allowed for worker\u002Fruntime resolution.\n4. If the skill is still unavailable locally, emit a warning with the reason and suggested next step, then continue with best-effort execution.\n5. After successful use, suggest adding the skill to the role's `references\u002Frole.yaml` for future sessions by regenerating the role.\n6. If `find-skills` is unavailable or returns no match, the role should notify the user and proceed with best-effort execution.\n","# role-creator\n\nGenerate a role skill package in a fixed contract:\n- `\u003Ctarget>\u002FSKILL.md`\n- `\u003Ctarget>\u002Freferences\u002Frole.yaml`\n- `\u003Ctarget>\u002Fsystem.md`\n\nTarget directory options:\n- `skills\u002F\u003Crole-name>\u002F` — for open-source publishing (default)\n- `.agent-team\u002Fteams\u002F\u003Crole-name>\u002F` — for team use with agent-team\n- `\u003Ccustom-path>\u002F\u003Crole-name>\u002F` — for custom local output paths\n\n## Required Workflow\n\n1. **Normalize Input** — validate role name as kebab-case.\n2. **Generate Role Fields** — auto-generate fields, delegate to `\u002Fbrainstorming` on rejection.\n3. **Select Skills** — `find-skills` recommendations, user selection, manual additions.\n4. **Execute CLI** — run `agent-team role create` with approved parameters.\n5. **Validate Output** — verify three managed files match expected template structure.\n\n## Step 1: Normalize Input\n\n- `role-name` must be kebab-case. The current CLI requires it as a positional argument.\n- If the input is not kebab-case, suggest a normalized version and confirm with user.\n\n## Step 2: Generate Role Fields\n\n1. Auto-generate the following fields (do not ask user to draft them by default):\n   - `description`\n   - `system goal`\n   - `in-scope` (comma-separated)\n   - `out-of-scope` (comma-separated)\n2. Present generated fields for user approval.\n3. If user rejects, or AI confidence is low (ambiguous scope, conflicting boundaries, vague goals), delegate to `\u002Fbrainstorming` skill for structured refinement.\n4. After fields are approved, ask user for target directory (`skills`, `.agent-team\u002Fteams`, or a custom path).\n5. If target is `skills` or `.agent-team\u002Fteams`, note that the CLI checks matching global roles in `~\u002F.agents\u002Froles\u002F` unless `--force` is passed. If matches are found, the CLI prompts whether to continue creating the local role.\n\n## Step 3: Select Skills\n\n1. Run `find-skills` to get recommendation candidates.\n2. Show recommendation list and let user select desired skills.\n3. Ask for manual additions after selection.\n4. When confirming the final skill identifiers, prefer the full remote identifier if the skill is known from a remote source (for example `jsonlee12138\u002Fprompts@design-patterns-principles`).\n5. Only use a local short name (for example `design-patterns-principles`) when no matching remote skill is found and the skill exists only locally.\n6. Merge selected + manual additions with de-duplication, then confirm final list.\n7. Final skills may be empty — will be persisted as `skills: []` in `references\u002Frole.yaml`; otherwise persist `skills[{name, description}]` using the preferred identifier rule above.\n\nIf `find-skills` is unavailable or returns empty, skip recommendations and ask for manual additions only. In that fallback path, still prefer a full remote identifier if the user already provides one; otherwise use a local short name only for local-only skills.\n\n## Step 4: Execute CLI\n\n### CLI Reference\n\n| Flag | Type | Required | Default | Description |\n|---|---|---|---|---|\n| `\u003Crole-name>` | arg | yes | — | Role name (kebab-case) |\n| `--description` | string | yes | — | Role description |\n| `--system-goal` | string | yes | — | Primary objective for system.md |\n| `--in-scope` | string[] | no | (from description) | In-scope items (repeatable, comma-separated) |\n| `--out-of-scope` | string[] | no | fallback text | Out-of-scope items (repeatable, comma-separated) |\n| `--skills` | string | no | `\"\"` | Final selected skills (comma-separated) |\n| `--recommended-skills` | string | no | `\"\"` | Recommended skills from find-skills |\n| `--add-skills` | string | no | `\"\"` | Skills to add on top of selection |\n| `--remove-skills` | string | no | `\"\"` | Skills to remove from candidate list |\n| `--manual-skills` | string | no | `\"\"` | Manual fallback when recommendations unavailable |\n| `--target-dir` | string | no | `skills` | Target: `skills`, `.agent-team\u002Fteams`, or custom path |\n| `--overwrite` | string | no | `ask` | Overwrite mode: `ask`\u002F`yes`\u002F`no` |\n| `--repo-root` | string | no | `.` | Repository root path |\n| `--force` | bool | no | `false` | Skip global duplicate check |\n\nSkills resolution priority: `--skills` > `--recommended-skills` > `--manual-skills`, then `--add-skills` appended, `--remove-skills` excluded.\n\n### Examples\n\nFor open-source publishing (default):\n\n```bash\nagent-team role create frontend-dev \\\n  --description \"Frontend role for UI implementation\" \\\n  --system-goal \"Ship accessible and maintainable UI work\" \\\n  --in-scope \"Build components,Improve accessibility\" \\\n  --out-of-scope \"Database migrations,Backend API ownership\" \\\n  --skills \"ui-ux-pro-max,better-icons\"\n```\n\nFor team use (agent-team integration):\n\n```bash\nagent-team role create frontend-dev \\\n  --target-dir .agent-team\u002Fteams \\\n  --description \"Frontend role for UI implementation\" \\\n  --system-goal \"Ship accessible and maintainable UI work\" \\\n  --in-scope \"Build components,Improve accessibility\" \\\n  --out-of-scope \"Database migrations,Backend API ownership\" \\\n  --skills \"ui-ux-pro-max,better-icons\"\n```\n\nEmpty skills example:\n\n```bash\nagent-team role create product-manager \\\n  --description \"Product role for roadmap and PRD work\" \\\n  --system-goal \"Define clear product requirements and priorities\"\n```\n\n## Step 5: Validate Output\n\nVerify three files against actual template structure:\n\n1. **`SKILL.md`** — contains the role name, generated description frontmatter, and links to `references\u002Frole.yaml` and `system.md`.\n2. **`references\u002Frole.yaml`** — must contain:\n   - `name` — role name\n   - `description` — role description\n   - `system_prompt_file: system.md`\n   - `scope.in_scope` — list of in-scope items\n   - `scope.out_of_scope` — list of out-of-scope items\n   - `constraints.single_role_focus: true`\n   - `skills` — selected skills as objects with `name` and `description` (or empty `[]`)\n3. **`system.md`** — contains system goal and operating constraints.\n\nIf any file is missing or contains unexpected content relative to the current templates, report the discrepancy and offer to regenerate.\n\n## Overwrite Behavior\n\n- Controlled by `--overwrite` flag (`ask`\u002F`yes`\u002F`no`).\n- Current CLI does not create a backup directory when overwriting.\n- Only managed files are overwritten (`SKILL.md`, `references\u002Frole.yaml`, `system.md`); other files in the role directory are preserved.\n- Legacy root-level `role.yaml` is removed if present after generation.\n\n## Runtime Skill Discovery (Role Usage Guideline)\n\nGenerated roles should follow this behavior at runtime:\n\n1. When a role receives a task that requires a skill not listed in its `references\u002Frole.yaml`, it should invoke `find-skills` to search for a matching skill.\n2. If a suitable skill is found, it may only attempt project-level installation or use an already available local\u002Fproject-cached skill.\n3. Global installation is not allowed for worker\u002Fruntime resolution.\n4. If the skill is still unavailable locally, emit a warning with the reason and suggested next step, then continue with best-effort execution.\n5. After successful use, suggest adding the skill to the role's `references\u002Frole.yaml` for future sessions by regenerating the role.\n6. If `find-skills` is unavailable or returns no match, the role should notify the user and proceed with best-effort execution.\n",{"name":5,"description":7},"main","4418944aaff7696bfb2cec18db747ade50817966","skills\u002Frole-creator",3,"https:\u002F\u002Fgithub.com\u002FJsonLee12138\u002Fagent-team","https:\u002F\u002Frole-hub.vercel.app\u002F","https:\u002F\u002Fgithub.com\u002FJsonLee12138","2026-03-30 10:24:45",{"source":8,"skillName":5,"commands":52,"prompt":62,"zipAvailable":63},[53,56,59],{"tool":54,"command":55},"npx","npx skills add JsonLee12138\u002Fagent-team --skill role-creator",{"tool":57,"command":58},"bunx","bunx skills add JsonLee12138\u002Fagent-team --skill role-creator",{"tool":60,"command":61},"pnpm","pnpm dlx skills add JsonLee12138\u002Fagent-team --skill role-creator","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FJsonLee12138\u002Fagent-team\u002Fblob\u002Fmain\u002Fskills\u002Frole-creator\u002FSKILL.md",true,[],[66,84,98,113,124,134],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":38},"01M6CRPTZHE0ZXSGTNJR4R2M5R","workflow-orchestrator","Governance-only workflow plan entry for controller and human sessions. Use when the user asks to generate, approve, activate, or close workflow plans through `agent-team workflow plan`.","https:\u002F\u002Fgithub.com\u002FJsonLee12138\u002Fagent-team\u002Fblob\u002Fmain\u002Fskills\u002Fworkflow-orchestrator\u002FSKILL.md",[],[73,74,75,76,77,30,78,26,19,79,80,81,82,83],"workflow","orchestrator","workflow orchestrator","workflow plan","activate","only","plan","sessions","governance","generate","controller",{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":38},"01M6CRPS54Q5XSN409CR0RPZQ7","worker-reply-main","Worker-first reporting entry for sending completion, blocker, or decision-needed messages back to main through `agent-team reply-main`.","https:\u002F\u002Fgithub.com\u002FJsonLee12138\u002Fagent-team\u002Fblob\u002Fmain\u002Fskills\u002Fworker-reply-main\u002FSKILL.md",[],[91,43,92,93,94,95,30,96,97],"reply","worker reply main","messages","reporting","first","decision","back",{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":38},"01M6CRPQBDAQ7147TTNJ99DDMM","worker-recovery","Worker-first recovery entry for resuming the current assignment from file artifacts. Use when a worker needs to recover task context, continue work, or re-anchor after a pause.","https:\u002F\u002Fgithub.com\u002FJsonLee12138\u002Fagent-team\u002Fblob\u002Fmain\u002Fskills\u002Fworker-recovery\u002FSKILL.md",[],[105,106,107,108,109,26,110,95,111,112],"recovery","worker recovery","continue","work","context","task","artifacts","file",{"skillNo":114,"name":115,"nameZh":6,"description":116,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":117,"categories":118,"keywords":119,"publishedAt":38},"01M6CRPNF2SKS2MQXFDZHXXGCM","worker-inspector","Read-only worker inspection skill for controller and human sessions. Use when the user wants to view worker status without opening a worker or sending a reply.","https:\u002F\u002Fgithub.com\u002FJsonLee12138\u002Fagent-team\u002Fblob\u002Fmain\u002Fskills\u002Fworker-inspector\u002FSKILL.md",[],[120,80,121,83,122,123,19,26,78,91],"worker inspector","status","read","view",{"skillNo":125,"name":126,"nameZh":6,"description":127,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":128,"categories":129,"keywords":130,"publishedAt":38},"01M6CRPKRNYGB80NN30TBKYCDJ","worker-dispatch","Controller-side worker dispatch entry for opening workers, checking targeted worker status, and replying to workers with existing `agent-team worker` and `agent-team reply` commands.","https:\u002F\u002Fgithub.com\u002FJsonLee12138\u002Fagent-team\u002Fblob\u002Fmain\u002Fskills\u002Fworker-dispatch\u002FSKILL.md",[],[131,132,83,121,30,133,91],"worker dispatch","dispatch","workers",{"skillNo":135,"name":136,"nameZh":6,"description":137,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":138,"categories":139,"keywords":140,"publishedAt":38},"01M6CRPH4EWCKQ9CD8JR5G5Z6Z","tdd","Acceptance-first TDD workflow for solo implementation work. Use when handling a coding change directly and you want to follow a disciplined sequence: read context, define acceptance criteria, write failing tests when feasible, implement, verify, and conclude with passed, failed, or skipped with reason.","https:\u002F\u002Fgithub.com\u002FJsonLee12138\u002Fagent-team\u002Fblob\u002Fmain\u002Fskills\u002Ftdd\u002FSKILL.md",[],[136,141,73,142,143,144,95,145,146,108,122,147,109,26,148,149],"implement","change","acceptance","tdd workflow","verify","coding","write","implementation","acceptance criteria"]