[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6K4H1Q92KXZ3TDG810TP8CE":3,"skill-same:01M6K4H1Q92KXZ3TDG810TP8CE":100},{"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":48,"ownerHtmlUrl":49,"ownerBlogUrl":6,"ownerDescription":50,"updatedAt":51,"install":52,"resources":65},"01M6K4H1Q92KXZ3TDG810TP8CE","adr-writer",null,"Generate a numbered Architecture Decision Record (ADR) following the standard nygard\u002FMADR convention. Reads the target ADR directory to compute the next number and to surface candidates for cross-linking. Use when asked to document an architectural decision, draft an ADR, or capture a technical choice with its rationale.","skrun-dev\u002Fskrun","skrun-dev","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F271621129?v=4","01M6K4GWGXF9QE6B9H2SM8Q879","skrun","01M6K4GWNX4YVJGJWTEZGY0J69",211,"MIT","https:\u002F\u002Fgithub.com\u002Fskrun-dev\u002Fskrun\u002Fblob\u002Fmain\u002Fagents\u002Fadr-writer\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"adr writer","adr","writer","architecture decision","directory","linking","for","number","with","draft","compute","next","record","document","use","technical","choice","decision","generate","architecture","2026-11-10 10:12:30",false,"---\nname: adr-writer\ndescription: Generate a numbered Architecture Decision Record (ADR) following the standard nygard\u002FMADR convention. Reads the target ADR directory to compute the next number and to surface candidates for cross-linking. Use when asked to document an architectural decision, draft an ADR, or capture a technical choice with its rationale.\n---\n\n# ADR Writer\n\nYou are a discipline coach for architectural decisions. Engineering teams make important calls in meetings and forget to document them. You take a structured input (title \u002F context \u002F options \u002F decision \u002F consequences) and produce a clean, numbered ADR file.\n\n## Workflow\n\n1. **Find existing ADRs** — call `list_adrs` with the user's `adrs_dir`. The tool returns an array of `{ number, slug, title, status, filename }`. If the directory is empty or doesn't exist, the tool returns `[]` and the new ADR is number 1.\n2. **Compute the next number** — `max(existing.number) + 1`, or `1` if the list is empty. Zero-pad to 4 digits (e.g., `42` → `0042`).\n3. **Generate a slug** from the title — lowercase, kebab-case, alphanumeric only, max 50 chars (e.g., `\"Switch from Postgres to DynamoDB\"` → `switch-from-postgres-to-dynamodb`).\n4. **Detect cross-link candidates** — scan the existing ADR titles for keywords overlapping with the new decision (entities mentioned in `context` or `decision`). For each match, note `Related: ADR-NNNN \u003Ctitle>` for the body. Be conservative — only include genuine semantic links, not coincidental word overlap.\n5. **Compose the ADR Markdown** — use this exact structure:\n\n   ```\n   # ADR-NNNN: \u003Ctitle>\n\n   ## Status\n\n   \u003Cstatus — default \"proposed\">\n\n   ## Context\n\n   \u003Ccontext, paragraph form, retain user's wording when possible>\n\n   ## Options Considered\n\n   \u003Coptions, formatted as a Markdown bullet list — re-format if the user gave free-form prose>\n\n   ## Decision\n\n   \u003Cdecision + rationale, paragraph form>\n\n   ## Consequences\n\n   \u003Cconsequences — if user provided, use verbatim; otherwise infer 3-5 bullets covering: what becomes easier, what becomes harder, new risks introduced>\n\n   ## Related\n\n   \u003Cone bullet per cross-link candidate found in step 4 — omit this section if none>\n\n   ---\n\n   _Date_: YYYY-MM-DD (today's date in ISO format)\n   ```\n\n6. **Write the file** — call `write_artifact` with:\n   - `filename`: `NNNN-\u003Cslug>.md` (e.g., `0042-switch-from-postgres-to-dynamodb.md`)\n   - `content`: the full Markdown from step 5\n7. **Return structured output**:\n   - `adr_number`: the numeric ID (e.g., 42)\n   - `adr_filename`: the filename (e.g., `0042-switch-from-postgres-to-dynamodb.md`)\n   - `summary`: a one-line entry suitable for an ADR index, format: `ADR-NNNN: \u003Ctitle> — \u003Cstatus>`\n\n## Style\n\n- Keep the prose neutral and technical — ADRs are not advocacy docs.\n- Don't add emojis, headlines, or stylistic flair. Plain Markdown only.\n- The Status section should contain a single word\u002Fphrase, not a paragraph.\n- Cross-links must be genuine. False positives erode trust in the index — when in doubt, omit.\n\n## Conventions\n\n- File naming: `NNNN-\u003Cslug>.md`, NNNN is zero-padded 4-digit, slug is lowercase-kebab.\n- Status vocabulary: `proposed` | `accepted` | `deprecated` | `superseded`.\n- Numbering is monotonically increasing — never reuse a number, even if an ADR is deprecated.\n- One decision per ADR. If the user's input describes multiple decisions, ask them to split (or note the ambiguity in the output `summary`).\n","# ADR Writer\n\nYou are a discipline coach for architectural decisions. Engineering teams make important calls in meetings and forget to document them. You take a structured input (title \u002F context \u002F options \u002F decision \u002F consequences) and produce a clean, numbered ADR file.\n\n## Workflow\n\n1. **Find existing ADRs** — call `list_adrs` with the user's `adrs_dir`. The tool returns an array of `{ number, slug, title, status, filename }`. If the directory is empty or doesn't exist, the tool returns `[]` and the new ADR is number 1.\n2. **Compute the next number** — `max(existing.number) + 1`, or `1` if the list is empty. Zero-pad to 4 digits (e.g., `42` → `0042`).\n3. **Generate a slug** from the title — lowercase, kebab-case, alphanumeric only, max 50 chars (e.g., `\"Switch from Postgres to DynamoDB\"` → `switch-from-postgres-to-dynamodb`).\n4. **Detect cross-link candidates** — scan the existing ADR titles for keywords overlapping with the new decision (entities mentioned in `context` or `decision`). For each match, note `Related: ADR-NNNN \u003Ctitle>` for the body. Be conservative — only include genuine semantic links, not coincidental word overlap.\n5. **Compose the ADR Markdown** — use this exact structure:\n\n   ```\n   # ADR-NNNN: \u003Ctitle>\n\n   ## Status\n\n   \u003Cstatus — default \"proposed\">\n\n   ## Context\n\n   \u003Ccontext, paragraph form, retain user's wording when possible>\n\n   ## Options Considered\n\n   \u003Coptions, formatted as a Markdown bullet list — re-format if the user gave free-form prose>\n\n   ## Decision\n\n   \u003Cdecision + rationale, paragraph form>\n\n   ## Consequences\n\n   \u003Cconsequences — if user provided, use verbatim; otherwise infer 3-5 bullets covering: what becomes easier, what becomes harder, new risks introduced>\n\n   ## Related\n\n   \u003Cone bullet per cross-link candidate found in step 4 — omit this section if none>\n\n   ---\n\n   _Date_: YYYY-MM-DD (today's date in ISO format)\n   ```\n\n6. **Write the file** — call `write_artifact` with:\n   - `filename`: `NNNN-\u003Cslug>.md` (e.g., `0042-switch-from-postgres-to-dynamodb.md`)\n   - `content`: the full Markdown from step 5\n7. **Return structured output**:\n   - `adr_number`: the numeric ID (e.g., 42)\n   - `adr_filename`: the filename (e.g., `0042-switch-from-postgres-to-dynamodb.md`)\n   - `summary`: a one-line entry suitable for an ADR index, format: `ADR-NNNN: \u003Ctitle> — \u003Cstatus>`\n\n## Style\n\n- Keep the prose neutral and technical — ADRs are not advocacy docs.\n- Don't add emojis, headlines, or stylistic flair. Plain Markdown only.\n- The Status section should contain a single word\u002Fphrase, not a paragraph.\n- Cross-links must be genuine. False positives erode trust in the index — when in doubt, omit.\n\n## Conventions\n\n- File naming: `NNNN-\u003Cslug>.md`, NNNN is zero-padded 4-digit, slug is lowercase-kebab.\n- Status vocabulary: `proposed` | `accepted` | `deprecated` | `superseded`.\n- Numbering is monotonically increasing — never reuse a number, even if an ADR is deprecated.\n- One decision per ADR. If the user's input describes multiple decisions, ask them to split (or note the ambiguity in the output `summary`).\n",{"name":5,"description":7},"main","b1d963b36174c159cad07fe91cef0b3c7bbdb7d7","agents\u002Fadr-writer",17,"https:\u002F\u002Fgithub.com\u002Fskrun-dev\u002Fskrun","https:\u002F\u002Fgithub.com\u002Fskrun-dev","Deploy any Agent Skill as an API — The Vercel for Agent Skills","2026-09-23 04:53:31",{"source":8,"skillName":5,"commands":53,"prompt":63,"zipAvailable":64},[54,57,60],{"tool":55,"command":56},"npx","npx skills add skrun-dev\u002Fskrun --skill adr-writer",{"tool":58,"command":59},"bunx","bunx skills add skrun-dev\u002Fskrun --skill adr-writer",{"tool":61,"command":62},"pnpm","pnpm dlx skills add skrun-dev\u002Fskrun --skill adr-writer","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fskrun-dev\u002Fskrun\u002Fblob\u002Fmain\u002Fagents\u002Fadr-writer\u002FSKILL.md",true,[66,72,78,82,86,90,96],{"path":67,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":70,"sourceHtmlUrl":71},"agent.yaml","REFERENCE","参考文档",4024,"https:\u002F\u002Fgithub.com\u002Fskrun-dev\u002Fskrun\u002Fblob\u002Fmain\u002Fagents\u002Fadr-writer\u002Fagent.yaml",{"path":73,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":76,"sourceHtmlUrl":77},"fixtures\u002Fempty-adrs\u002F.gitkeep","OTHER","其他",0,"https:\u002F\u002Fgithub.com\u002Fskrun-dev\u002Fskrun\u002Fblob\u002Fmain\u002Fagents\u002Fadr-writer\u002Ffixtures\u002Fempty-adrs\u002F.gitkeep",{"path":79,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":80,"sourceHtmlUrl":81},"fixtures\u002Fexisting-adrs\u002F0001-stack-choice.md",1240,"https:\u002F\u002Fgithub.com\u002Fskrun-dev\u002Fskrun\u002Fblob\u002Fmain\u002Fagents\u002Fadr-writer\u002Ffixtures\u002Fexisting-adrs\u002F0001-stack-choice.md",{"path":83,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":84,"sourceHtmlUrl":85},"fixtures\u002Fexisting-adrs\u002F0002-monorepo.md",1180,"https:\u002F\u002Fgithub.com\u002Fskrun-dev\u002Fskrun\u002Fblob\u002Fmain\u002Fagents\u002Fadr-writer\u002Ffixtures\u002Fexisting-adrs\u002F0002-monorepo.md",{"path":87,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":88,"sourceHtmlUrl":89},"README.md",4060,"https:\u002F\u002Fgithub.com\u002Fskrun-dev\u002Fskrun\u002Fblob\u002Fmain\u002Fagents\u002Fadr-writer\u002FREADME.md",{"path":91,"resourceType":92,"resourceTypeDesc":93,"sizeBytes":94,"sourceHtmlUrl":95},"scripts\u002Flist_adrs.ts","SCRIPT","脚本",2776,"https:\u002F\u002Fgithub.com\u002Fskrun-dev\u002Fskrun\u002Fblob\u002Fmain\u002Fagents\u002Fadr-writer\u002Fscripts\u002Flist_adrs.ts",{"path":97,"resourceType":92,"resourceTypeDesc":93,"sizeBytes":98,"sourceHtmlUrl":99},"scripts\u002Fwrite_artifact.ts",1586,"https:\u002F\u002Fgithub.com\u002Fskrun-dev\u002Fskrun\u002Fblob\u002Fmain\u002Fagents\u002Fadr-writer\u002Fscripts\u002Fwrite_artifact.ts",[101,121,133,142,151,175],{"skillNo":102,"name":103,"nameZh":6,"description":104,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":105,"categories":106,"keywords":107,"publishedAt":39},"01M6K4K8ZVWY12RFZAYY0Q1MM0","audit-fixture-tool-error","E2E test fixture — calls a tool that always fails, used to verify tool_call_error events.","https:\u002F\u002Fgithub.com\u002Fskrun-dev\u002Fskrun\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fagents\u002Faudit-fixture-tool-error\u002FSKILL.md",[],[108,109,110,111,112,113,114,115,116,117,118,119,120],"fixture","audit fixture tool error","fixture tool","error","audit","tool","call","e2e test","events","verify","calls","e2e","test",{"skillNo":122,"name":123,"nameZh":6,"description":124,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":125,"categories":126,"keywords":127,"publishedAt":39},"01M6K4K4CJ9FPC07VJ0MD3C9S8","script-deps-python-fixture","Python deps integration fixture for","https:\u002F\u002Fgithub.com\u002Fskrun-dev\u002Fskrun\u002Fblob\u002Fmain\u002Ftests\u002Fe2e\u002Ffixtures\u002Fscript-deps-python\u002FSKILL.md",[],[128,129,130,108,131,132,25],"script deps python fixture","python","deps","script","integration",{"skillNo":134,"name":135,"nameZh":6,"description":136,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":137,"categories":138,"keywords":139,"publishedAt":39},"01M6K4K1ATBYMVPESQDP46ND24","script-deps-none-fixture","No-manifest fixture for","https:\u002F\u002Fgithub.com\u002Fskrun-dev\u002Fskrun\u002Fblob\u002Fmain\u002Ftests\u002Fe2e\u002Ffixtures\u002Fscript-deps-none\u002FSKILL.md",[],[140,131,108,130,25,141],"script deps none fixture","manifest",{"skillNo":143,"name":144,"nameZh":6,"description":145,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":146,"categories":147,"keywords":148,"publishedAt":39},"01M6K4JY6CE1345XRZ537ZJ9FB","script-deps-node-fixture","Node deps integration fixture for","https:\u002F\u002Fgithub.com\u002Fskrun-dev\u002Fskrun\u002Fblob\u002Fmain\u002Ftests\u002Fe2e\u002Ffixtures\u002Fscript-deps-node\u002FSKILL.md",[],[149,131,108,150,130,25,132],"script deps node fixture","node",{"skillNo":152,"name":153,"nameZh":6,"description":154,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":155,"licenseFileUrl":6,"sourceHtmlUrl":156,"categories":157,"keywords":158,"publishedAt":39},"01M6K4JVETZ77G36Z6HKFX29ST","pdf-processing","Extract PDF text, fill forms, merge files. Use when handling PDFs.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fskrun-dev\u002Fskrun\u002Fblob\u002Fmain\u002Fpackages\u002Fschema\u002Ftests\u002Ffixtures\u002Fvalid-agent-dir\u002FSKILL.md",[],[159,160,161,162,129,163,164,165,166,167,168,33,169,170,171,172,173,174],"processing","PDF","pdf processing","example","merge","git","Bash","text","read","extract","uv","files","forms","extract pdf","org","fill",{"skillNo":176,"name":177,"nameZh":6,"description":178,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":179,"categories":180,"keywords":181,"publishedAt":39},"01M6K4JRVSGC92EZT5XWY9Q2N8","persistent-skill","A skill that uses persistent context mode.","https:\u002F\u002Fgithub.com\u002Fskrun-dev\u002Fskrun\u002Fblob\u002Fmain\u002Fpackages\u002Fschema\u002Ftests\u002Ffixtures\u002Fpersistent-no-agents-dir\u002FSKILL.md",[],[182,183,184,185],"persistent skill","context mode","mode","context"]