[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CQ8Z2XY3M8088D3GD5EWNS":3,"skill-same:01M7CQ8Z2XY3M8088D3GD5EWNS":43},{"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":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":13,"repositoryHtmlUrl":26,"repositoryHomepageUrl":6,"ownerHtmlUrl":27,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":28,"install":29,"resources":42},"01M7CQ8Z2XY3M8088D3GD5EWNS","sd-scheduler",null,"Use when the user asks to fill, extend, edit or check the Service Desk duty schedule (sd.wb.ru scheduler \u002F Планировщик) — e.g. \"проставь расписание\", \"заполни график до конца месяца\", \"проставь смены 10-10\". Automates shifts through the sd.wb.ru gateway API from the open browser page.","maximk777\u002Fopencode-config","maximk777","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F205286132?v=4","01M7CQ4VVPFQ3MDCXJBFB0HPTZ","01M7CQ4VWA2GG0H2CNNREZ9AN9",0,"MIT","https:\u002F\u002Fgithub.com\u002Fmaximk777\u002Fopencode-config\u002Fblob\u002Fmain\u002Fskills\u002Fsd-scheduler\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: sd-scheduler\ndescription: Use when the user asks to fill, extend, edit or check the Service Desk duty schedule (sd.wb.ru scheduler \u002F Планировщик) — e.g. \"проставь расписание\", \"заполни график до конца месяца\", \"проставь смены 10-10\". Automates shifts through the sd.wb.ru gateway API from the open browser page.\n---\n\n# Service Desk scheduler automation\n\nManage duty shifts in the SD scheduler (https:\u002F\u002Fsd.wb.ru) through its internal gateway API, executed from the already-authenticated browser page via the `chrome-devtools` MCP tools. Do not call the API from the shell — auth lives in browser session cookies.\n\n## Prerequisites\n\n1. The scheduler page must be open in Chrome: `https:\u002F\u002Fsd.wb.ru\u002Fadmin\u002Fns\u002F\u003CNS>\u002Fscheduler\u002Fmain` (e.g. NS = `BANK`). Find it with `list_pages`; if missing, open it with `new_page`.\n2. All API calls run inside `evaluate_script` with `credentials: \"include\"` on that page.\n3. Never print cookies or tokens captured from network requests.\n\n## Discover the scheduler id\n\n`namespaceId` is a UUID, not the namespace code. Get it from the page network log: find any request matching `\u002Fapi\u002Fgateway\u002Fscheduler\u002F\u003Cuuid>` in `list_network_requests` (reload the page first if the log is empty). For the BANK namespace it is currently `4b8265f5-8f07-4c6d-94ad-9cde0dd49991`, but always discover it dynamically.\n\n## API endpoints\n\nAll relative to `https:\u002F\u002Fsd.wb.ru`, `content-type: application\u002Fjson;charset=utf-8`.\n\n- **Shift types**: `GET \u002Fapi\u002Fgateway\u002Fscheduler\u002F{namespaceId}\u002Fshift`\n  → `{data: [{id, name, interval: {from, to}, type: \"active\"|\"inactive\", color}]}`.\n  Pick the type by its `name` (e.g. `\"10:00 - 09:59\"`), not by hard-coded id.\n- **Load schedule**: `POST \u002Fapi\u002Fgateway\u002Fscheduler\u002F{namespaceId}`\n  body: `{\"active\":false,\"interval\":{\"from\":\"YYYY-MM-DD\",\"to\":\"YYYY-MM-DD\"},\"search\":\"\",\"sortDir\":\"asc\",\"team\":[]}`\n  → `{data: [{user: {id, login, lastName, firstName}, workShift: [{day: \"YYYY-MM-DD\", shift: {...}}]}]}`.\n  Returns the whole namespace (~300 users) regardless of UI filters — filter by `login` client-side.\n- **Create shifts**: `POST \u002Fapi\u002Fgateway\u002Fscheduler\u002F{namespaceId}\u002Fwork-shift`\n  body is an **array**: `[{\"day\":\"YYYY-MM-DD\",\"shiftId\":\"\u003Cuuid>\",\"userId\":\"\u003Cuuid>\"}]` — batchable.\n- **Delete shifts**: `DELETE \u002Fapi\u002Fgateway\u002Fscheduler\u002F{namespaceId}\u002Fwork-shift`, same array body.\n\n## Execution rules\n\n1. **One shot**: do the whole read → compute → write → verify cycle in a single `evaluate_script` call. The SPA can reload and destroy the execution context between calls.\n2. **Idempotent**: read current `workShift` first and create only missing days. Never blind-POST; re-running must not duplicate shifts.\n3. **Verify**: after writing, re-load the schedule and check every day in the requested range has the expected coverage. Report gaps or overlaps explicitly.\n4. Reload the page and take a screenshot at the end so the user sees the result.\n\n## Rotation pattern\n\nWhen asked to \"continue\" a schedule, infer the pattern from existing shifts instead of asking:\n\n1. Take the specialists that already have shifts in the month.\n2. Order them by the day of their first shift — that is the rotation order.\n3. Continue round-robin (period = number of specialists) with the same shift type to the end of the range.\n4. If existing shifts are contradictory or ambiguous, ask the user one concrete question.\n\n## Template\n\n```js\nasync () => {\n  const NS = \"\u003CnamespaceId>\";\n  const load = async () => (await (await fetch(`\u002Fapi\u002Fgateway\u002Fscheduler\u002F${NS}`, {\n    method: \"POST\", credentials: \"include\",\n    headers: { \"content-type\": \"application\u002Fjson;charset=utf-8\" },\n    body: JSON.stringify({ active: false, interval: { from: FROM, to: TO }, search: \"\", sortDir: \"asc\", team: [] })\n  })).json()).data || [];\n\n  const types = (await (await fetch(`\u002Fapi\u002Fgateway\u002Fscheduler\u002F${NS}\u002Fshift`, { credentials: \"include\" })).json()).data;\n  const shiftId = types.find(t => t.name === \"10:00 - 09:59\").id;\n\n  const data = await load();\n  const byLogin = Object.fromEntries(LOGINS.map(login => {\n    const u = data.find(x => x.user.login === login);\n    return [login, { id: u.user.id, days: new Set(u.workShift.map(w => w.day)) }];\n  }));\n\n  const toAdd = [];\n  for (let d = 1; d \u003C= DAYS_IN_MONTH; d++) {\n    const login = LOGINS[(d - 1) % LOGINS.length];\n    const day = `2026-11-${String(d).padStart(2, \"0\")}`;\n    if (!byLogin[login].days.has(day)) toAdd.push({ day, shiftId, userId: byLogin[login].id });\n  }\n  if (toAdd.length) {\n    const r = await fetch(`\u002Fapi\u002Fgateway\u002Fscheduler\u002F${NS}\u002Fwork-shift`, {\n      method: \"POST\", credentials: \"include\",\n      headers: { \"content-type\": \"application\u002Fjson;charset=utf-8\" },\n      body: JSON.stringify(toAdd)\n    });\n    if (!r.ok) return { error: r.status, body: (await r.text()).slice(0, 300) };\n  }\n\n  const after = await load();\n  \u002F\u002F verify: every day in range covered exactly once by the rotation logins\n  const count = {};\n  for (const login of LOGINS) {\n    for (const w of after.find(x => x.user.login === login).workShift) count[w.day] = (count[w.day] || 0) + 1;\n  }\n  const gaps = [];\n  for (let d = 1; d \u003C= DAYS_IN_MONTH; d++) {\n    const day = `2026-11-${String(d).padStart(2, \"0\")}`;\n    if (count[day] !== 1) gaps.push(`${day}: ${count[day] || 0}`);\n  }\n  return { added: toAdd.length, gaps };\n}\n```\n","# Service Desk scheduler automation\n\nManage duty shifts in the SD scheduler (https:\u002F\u002Fsd.wb.ru) through its internal gateway API, executed from the already-authenticated browser page via the `chrome-devtools` MCP tools. Do not call the API from the shell — auth lives in browser session cookies.\n\n## Prerequisites\n\n1. The scheduler page must be open in Chrome: `https:\u002F\u002Fsd.wb.ru\u002Fadmin\u002Fns\u002F\u003CNS>\u002Fscheduler\u002Fmain` (e.g. NS = `BANK`). Find it with `list_pages`; if missing, open it with `new_page`.\n2. All API calls run inside `evaluate_script` with `credentials: \"include\"` on that page.\n3. Never print cookies or tokens captured from network requests.\n\n## Discover the scheduler id\n\n`namespaceId` is a UUID, not the namespace code. Get it from the page network log: find any request matching `\u002Fapi\u002Fgateway\u002Fscheduler\u002F\u003Cuuid>` in `list_network_requests` (reload the page first if the log is empty). For the BANK namespace it is currently `4b8265f5-8f07-4c6d-94ad-9cde0dd49991`, but always discover it dynamically.\n\n## API endpoints\n\nAll relative to `https:\u002F\u002Fsd.wb.ru`, `content-type: application\u002Fjson;charset=utf-8`.\n\n- **Shift types**: `GET \u002Fapi\u002Fgateway\u002Fscheduler\u002F{namespaceId}\u002Fshift`\n  → `{data: [{id, name, interval: {from, to}, type: \"active\"|\"inactive\", color}]}`.\n  Pick the type by its `name` (e.g. `\"10:00 - 09:59\"`), not by hard-coded id.\n- **Load schedule**: `POST \u002Fapi\u002Fgateway\u002Fscheduler\u002F{namespaceId}`\n  body: `{\"active\":false,\"interval\":{\"from\":\"YYYY-MM-DD\",\"to\":\"YYYY-MM-DD\"},\"search\":\"\",\"sortDir\":\"asc\",\"team\":[]}`\n  → `{data: [{user: {id, login, lastName, firstName}, workShift: [{day: \"YYYY-MM-DD\", shift: {...}}]}]}`.\n  Returns the whole namespace (~300 users) regardless of UI filters — filter by `login` client-side.\n- **Create shifts**: `POST \u002Fapi\u002Fgateway\u002Fscheduler\u002F{namespaceId}\u002Fwork-shift`\n  body is an **array**: `[{\"day\":\"YYYY-MM-DD\",\"shiftId\":\"\u003Cuuid>\",\"userId\":\"\u003Cuuid>\"}]` — batchable.\n- **Delete shifts**: `DELETE \u002Fapi\u002Fgateway\u002Fscheduler\u002F{namespaceId}\u002Fwork-shift`, same array body.\n\n## Execution rules\n\n1. **One shot**: do the whole read → compute → write → verify cycle in a single `evaluate_script` call. The SPA can reload and destroy the execution context between calls.\n2. **Idempotent**: read current `workShift` first and create only missing days. Never blind-POST; re-running must not duplicate shifts.\n3. **Verify**: after writing, re-load the schedule and check every day in the requested range has the expected coverage. Report gaps or overlaps explicitly.\n4. Reload the page and take a screenshot at the end so the user sees the result.\n\n## Rotation pattern\n\nWhen asked to \"continue\" a schedule, infer the pattern from existing shifts instead of asking:\n\n1. Take the specialists that already have shifts in the month.\n2. Order them by the day of their first shift — that is the rotation order.\n3. Continue round-robin (period = number of specialists) with the same shift type to the end of the range.\n4. If existing shifts are contradictory or ambiguous, ask the user one concrete question.\n\n## Template\n\n```js\nasync () => {\n  const NS = \"\u003CnamespaceId>\";\n  const load = async () => (await (await fetch(`\u002Fapi\u002Fgateway\u002Fscheduler\u002F${NS}`, {\n    method: \"POST\", credentials: \"include\",\n    headers: { \"content-type\": \"application\u002Fjson;charset=utf-8\" },\n    body: JSON.stringify({ active: false, interval: { from: FROM, to: TO }, search: \"\", sortDir: \"asc\", team: [] })\n  })).json()).data || [];\n\n  const types = (await (await fetch(`\u002Fapi\u002Fgateway\u002Fscheduler\u002F${NS}\u002Fshift`, { credentials: \"include\" })).json()).data;\n  const shiftId = types.find(t => t.name === \"10:00 - 09:59\").id;\n\n  const data = await load();\n  const byLogin = Object.fromEntries(LOGINS.map(login => {\n    const u = data.find(x => x.user.login === login);\n    return [login, { id: u.user.id, days: new Set(u.workShift.map(w => w.day)) }];\n  }));\n\n  const toAdd = [];\n  for (let d = 1; d \u003C= DAYS_IN_MONTH; d++) {\n    const login = LOGINS[(d - 1) % LOGINS.length];\n    const day = `2026-11-${String(d).padStart(2, \"0\")}`;\n    if (!byLogin[login].days.has(day)) toAdd.push({ day, shiftId, userId: byLogin[login].id });\n  }\n  if (toAdd.length) {\n    const r = await fetch(`\u002Fapi\u002Fgateway\u002Fscheduler\u002F${NS}\u002Fwork-shift`, {\n      method: \"POST\", credentials: \"include\",\n      headers: { \"content-type\": \"application\u002Fjson;charset=utf-8\" },\n      body: JSON.stringify(toAdd)\n    });\n    if (!r.ok) return { error: r.status, body: (await r.text()).slice(0, 300) };\n  }\n\n  const after = await load();\n  \u002F\u002F verify: every day in range covered exactly once by the rotation logins\n  const count = {};\n  for (const login of LOGINS) {\n    for (const w of after.find(x => x.user.login === login).workShift) count[w.day] = (count[w.day] || 0) + 1;\n  }\n  const gaps = [];\n  for (let d = 1; d \u003C= DAYS_IN_MONTH; d++) {\n    const day = `2026-11-${String(d).padStart(2, \"0\")}`;\n    if (count[day] !== 1) gaps.push(`${day}: ${count[day] || 0}`);\n  }\n  return { added: toAdd.length, gaps };\n}\n```\n",{"name":5,"description":7},"main","84be7f584d7d6998f014342de57ee511e9596cd2","skills\u002Fsd-scheduler","https:\u002F\u002Fgithub.com\u002Fmaximk777\u002Fopencode-config","https:\u002F\u002Fgithub.com\u002Fmaximk777","2026-10-30 20:22:07",{"source":8,"skillName":5,"commands":30,"prompt":40,"zipAvailable":41},[31,34,37],{"tool":32,"command":33},"npx","npx skills add maximk777\u002Fopencode-config --skill sd-scheduler",{"tool":35,"command":36},"bunx","bunx skills add maximk777\u002Fopencode-config --skill sd-scheduler",{"tool":38,"command":39},"pnpm","pnpm dlx skills add maximk777\u002Fopencode-config --skill sd-scheduler","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmaximk777\u002Fopencode-config\u002Fblob\u002Fmain\u002Fskills\u002Fsd-scheduler\u002FSKILL.md",true,[],[44,51,58,65,72,79],{"skillNo":45,"name":46,"nameZh":6,"description":47,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":48,"categories":49,"keywords":50,"publishedAt":18},"01M7CQCJ5WYEQM6E1T0RDVKWAY","verify","Use when a change in __SERVICE__ must be checked before review","https:\u002F\u002Fgithub.com\u002Fmaximk777\u002Fopencode-config\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fworkspace-repo-kits\u002Fkit-1.1.0\u002Ffiles\u002Fskills\u002Fverify\u002FSKILL.md",[],[],{"skillNo":52,"name":53,"nameZh":6,"description":54,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":55,"categories":56,"keywords":57,"publishedAt":18},"01M7CQCG5MCSNDNS98TGAGXP7E","work-record","Use when you finished work on a tracker task and it must be recorded in the workspace through a merge request.","https:\u002F\u002Fgithub.com\u002Fmaximk777\u002Fopencode-config\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fnormalize-team\u002F.claude\u002Fskills\u002Fwork-record\u002FSKILL.md",[],[],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":18},"01M7CQCDGQBT2GXCKQAC1B5R0R","task-new","Use to create one story in a stream from the stream profile's story template, link it from its scope screens and open a merge request.","https:\u002F\u002Fgithub.com\u002Fmaximk777\u002Fopencode-config\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fnormalize-team\u002F.claude\u002Fskills\u002Ftask-new\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":18},"01M7CQC93WN986EY48RFPZHZM7","task-decompose","Use to split a stream at the decomposition stage into stories - list scope screens without a story, create the accepted stories and close the stage through a merge request.","https:\u002F\u002Fgithub.com\u002Fmaximk777\u002Fopencode-config\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fnormalize-team\u002F.claude\u002Fskills\u002Ftask-decompose\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":18},"01M7CQC5FZQWPTBK0J0FHWS513","task-context","Use to gather the context of a story key or a tracker id - its story, stream stage, scope screens, repositories, decisions, mockups and work records.","https:\u002F\u002Fgithub.com\u002Fmaximk777\u002Fopencode-config\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fnormalize-team\u002F.claude\u002Fskills\u002Ftask-context\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":18},"01M7CQC1Q2YECCM2N9TPJAAJQA","repos-sync","Use to update clones of your repositories under repos\u002F and see their branch, lag and uncommitted changes.","https:\u002F\u002Fgithub.com\u002Fmaximk777\u002Fopencode-config\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fnormalize-team\u002F.claude\u002Fskills\u002Frepos-sync\u002FSKILL.md",[],[]]