[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6KKJ3BPCS32GRXY91NNKJ45":3,"skill-same:01M6KKJ3BPCS32GRXY91NNKJ45":69},{"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":22,"publishedAt":37,"linkOnly":38,"markdownContent":39,"markdownBody":40,"frontMatter":41,"refName":42,"commitSha":43,"skillDirectory":44,"forksCount":13,"repositoryHtmlUrl":45,"repositoryHomepageUrl":6,"ownerHtmlUrl":46,"ownerBlogUrl":6,"ownerDescription":47,"updatedAt":48,"install":49,"resources":62},"01M6KKJ3BPCS32GRXY91NNKJ45","skill-template-generator",null,"Generate properly-formatted SKILL.md files from extracted architectural patterns. Turns raw pattern descriptions into reusable skills that OpenSpace can discover, select, and evolve.","AG064\u002FOpenSpace","AG064","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F184930299?v=4","01M6KHVFG7TB73NHX3RDYSTMH2","01M6KHVFMM7XA2PZA9Z83PHS3V",0,"MIT","https:\u002F\u002Fgithub.com\u002FAG064\u002FOpenSpace\u002Fblob\u002Fmain\u002Fshowcase\u002Fskills\u002Fskill-template-generator\u002FSKILL.md",[17],{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[23,24,25,26,27,28,29,30,31,32,33,34,35,36],"template","skill template","generator","skill template generator","generate","select","evolve","files","reusable","patterns","pattern","discover","can","openspace","2026-11-10 10:12:30",false,"---\nname: skill-template-generator\ndescription: Generate properly-formatted SKILL.md files from extracted architectural patterns. Turns raw pattern descriptions into reusable skills that OpenSpace can discover, select, and evolve.\n---\n\n# Skill Template Generator\n\nGiven a structured pattern description (from `codebase-pattern-analyzer` or manual analysis), generate a valid SKILL.md file that OpenSpace can register, select for tasks, and evolve over time.\n\n## When to Use\n\n- After extracting a pattern from a reference codebase, you need to package it as a reusable skill\n- You want to create a new skill that teaches an agent how to perform a specific kind of task\n- You are converting informal documentation or code examples into the SKILL.md format\n\n## SKILL.md Format\n\nEvery skill is a directory containing at minimum a `SKILL.md` file:\n\n```\nmy-skill-name\u002F\n├── SKILL.md            # Required — the skill definition\n├── scripts\u002F            # Optional — helper scripts\n├── references\u002F         # Optional — reference data files\n└── assets\u002F             # Optional — images, templates\n```\n\n### Frontmatter (Required)\n\nThe file MUST start with YAML frontmatter containing exactly two fields:\n\n```yaml\n---\nname: my-skill-name\ndescription: One-sentence description of what this skill teaches. Must be specific enough for LLM skill selection to match it to relevant tasks.\n---\n```\n\n**Rules:**\n- `name` must match the directory name (kebab-case, lowercase)\n- `description` should be 15-40 words, include key terms an LLM would search for\n- No other frontmatter fields — everything else goes in the markdown body\n\n### Body Structure\n\nThe markdown body follows this template:\n\n```markdown\n# [Skill Title]\n\n[1-2 sentence summary of what this skill enables]\n\n## When to Use\n\n- [Trigger condition 1]\n- [Trigger condition 2]\n- [Trigger condition 3]\n\n## [Core Content Sections]\n\n[Step-by-step instructions, code templates, API references, etc.]\n\n## Key Patterns\n\n1. [Convention or best practice 1]\n2. [Convention or best practice 2]\n...\n```\n\n## Step 1: Determine Skill Category\n\nMatch the pattern to one of three OpenSpace categories:\n\n| Category | Use When | Example |\n|----------|----------|---------|\n| `tool_guide` | The skill teaches how to use a specific tool or technique | \"How to analyze a codebase\", \"How to use Finnhub API\" |\n| `workflow` | The skill prescribes an end-to-end procedure with ordered steps | \"Create a panel component\", \"Set up API proxy endpoint\" |\n| `reference` | The skill provides knowledge that informs decisions | \"WorldMonitor architecture index\", \"News API comparison\" |\n\nThe category affects how OpenSpace judges the skill during execution analysis:\n- **workflow**: Was the agent able to follow the prescribed steps?\n- **tool_guide**: Did the agent use the described tool\u002Fapproach?\n- **reference**: Did the knowledge influence agent decisions?\n\n## Step 2: Write the Description\n\nThe `description` field is the **most critical line** — it determines whether OpenSpace selects this skill for a given task.\n\n**Good descriptions** (specific, searchable):\n- \"Create a dashboard panel component using vanilla TypeScript DOM API, following the worldmonitor Panel architecture.\"\n- \"Integrate with Finnhub Stock API for real-time and historical stock market data.\"\n- \"CSS grid layout system for a responsive panel dashboard with dark theme.\"\n\n**Bad descriptions** (vague, generic):\n- \"A useful skill for building things.\"\n- \"TypeScript patterns.\"\n- \"How to make a panel.\"\n\n**Formula**: `[Action verb] + [specific subject] + [key technology\u002Fapproach] + [context\u002Fproject reference]`\n\n## Step 3: Write Actionable Instructions\n\nThe body must be concrete enough that an AI agent can follow it without guessing.\n\n### For Workflow Skills\n\nInclude:\n1. **File paths** — exact paths where files should be created (`src\u002Fcomponents\u002FMyPanel.ts`)\n2. **Code templates** — complete, runnable code blocks (not pseudocode)\n3. **Import statements** — every import the code needs\n4. **Interface definitions** — typed data shapes\n5. **Integration points** — how this connects to other parts of the project\n\nUse `{baseDir}` for paths relative to the skill directory:\n```\nRead the reference file at {baseDir}\u002Freferences\u002Fexample.json\n```\n\n### For Tool Guide Skills\n\nInclude:\n1. **API endpoints** — full URLs with parameter documentation\n2. **Auth mechanism** — how to authenticate (query param, header, etc.)\n3. **Response shapes** — JSON examples with field descriptions\n4. **Rate limits** — free tier limitations\n5. **Error handling** — common errors and how to handle them\n\n### For Reference Skills\n\nInclude:\n1. **Structured index** — tables, lists, or maps of the reference material\n2. **Key file paths** — where to find specific things in the reference codebase\n3. **Architecture decisions** — WHY certain patterns were chosen\n4. **Comparison tables** — alternatives and tradeoffs\n\n## Step 4: Add Dependency Hints\n\nIf the skill depends on patterns from other skills, mention them explicitly:\n\n```markdown\n## Prerequisites\n\nThis skill builds on:\n- `panel-component` — for the Panel base class\n- `data-service` — for the circuit breaker pattern\n- `api-proxy-endpoint` — for server-side API key isolation\n```\n\nThis helps OpenSpace understand skill composition when DERIVING new skills.\n\n## Step 5: Validate the Skill\n\nBefore saving, verify:\n\n1. **Frontmatter is valid YAML** — no tabs, proper indentation, quotes around special chars\n2. **Name matches directory** — `name: foo-bar` lives in `foo-bar\u002FSKILL.md`\n3. **Code blocks are complete** — every snippet can be copy-pasted and run\n4. **No broken references** — all file paths and URLs are valid\n5. **Description is specific** — would an LLM pick this skill for the right task?\n\n## Example: Converting a Pattern to a Skill\n\n**Input** (from codebase-pattern-analyzer):\n\n```\nPattern: Circuit Breaker Data Service\nSource: worldmonitor\u002Fsrc\u002Fservices\u002F*.ts\nCategory: service\nStructure: Module-level CircuitBreaker instance, async fetch functions, typed interfaces\nKey code: createCircuitBreaker({ name, cacheTtlMs }), breaker.execute(fn, default)\n```\n\n**Output** (`data-service\u002FSKILL.md`):\n\n```markdown\n---\nname: data-service\ndescription: Create data fetching services with circuit breaker pattern for API resilience. Services handle fetch, cache, retry, and expose typed data to panel components.\n---\n\n# Data Service Pattern\n\nEach panel's data comes from a dedicated service module in `src\u002Fservices\u002F`. ...\n\n## Circuit Breaker\n\n[Full implementation code]\n\n## Service Module Pattern\n\n[Template with typed interfaces, breaker usage, export functions]\n\n## Key Patterns\n\n1. One circuit breaker per API endpoint\n2. Export typed interfaces for data shapes\n3. Wrap fetch calls in breaker.execute(fn, defaultValue)\n...\n```\n\n## Evolution Hooks\n\nSkills generated by this workflow are designed to evolve:\n\n- **FIX**: When an API changes or code pattern breaks, OpenSpace updates the skill in-place\n- **DERIVED**: When a new panel needs a similar service, OpenSpace derives a specialized version\n- **CAPTURED**: When an agent discovers a novel pattern during execution, OpenSpace captures it as a new skill\n\nThe better the initial skill quality, the better the evolved descendants.\n\n","# Skill Template Generator\n\nGiven a structured pattern description (from `codebase-pattern-analyzer` or manual analysis), generate a valid SKILL.md file that OpenSpace can register, select for tasks, and evolve over time.\n\n## When to Use\n\n- After extracting a pattern from a reference codebase, you need to package it as a reusable skill\n- You want to create a new skill that teaches an agent how to perform a specific kind of task\n- You are converting informal documentation or code examples into the SKILL.md format\n\n## SKILL.md Format\n\nEvery skill is a directory containing at minimum a `SKILL.md` file:\n\n```\nmy-skill-name\u002F\n├── SKILL.md            # Required — the skill definition\n├── scripts\u002F            # Optional — helper scripts\n├── references\u002F         # Optional — reference data files\n└── assets\u002F             # Optional — images, templates\n```\n\n### Frontmatter (Required)\n\nThe file MUST start with YAML frontmatter containing exactly two fields:\n\n```yaml\n---\nname: my-skill-name\ndescription: One-sentence description of what this skill teaches. Must be specific enough for LLM skill selection to match it to relevant tasks.\n---\n```\n\n**Rules:**\n- `name` must match the directory name (kebab-case, lowercase)\n- `description` should be 15-40 words, include key terms an LLM would search for\n- No other frontmatter fields — everything else goes in the markdown body\n\n### Body Structure\n\nThe markdown body follows this template:\n\n```markdown\n# [Skill Title]\n\n[1-2 sentence summary of what this skill enables]\n\n## When to Use\n\n- [Trigger condition 1]\n- [Trigger condition 2]\n- [Trigger condition 3]\n\n## [Core Content Sections]\n\n[Step-by-step instructions, code templates, API references, etc.]\n\n## Key Patterns\n\n1. [Convention or best practice 1]\n2. [Convention or best practice 2]\n...\n```\n\n## Step 1: Determine Skill Category\n\nMatch the pattern to one of three OpenSpace categories:\n\n| Category | Use When | Example |\n|----------|----------|---------|\n| `tool_guide` | The skill teaches how to use a specific tool or technique | \"How to analyze a codebase\", \"How to use Finnhub API\" |\n| `workflow` | The skill prescribes an end-to-end procedure with ordered steps | \"Create a panel component\", \"Set up API proxy endpoint\" |\n| `reference` | The skill provides knowledge that informs decisions | \"WorldMonitor architecture index\", \"News API comparison\" |\n\nThe category affects how OpenSpace judges the skill during execution analysis:\n- **workflow**: Was the agent able to follow the prescribed steps?\n- **tool_guide**: Did the agent use the described tool\u002Fapproach?\n- **reference**: Did the knowledge influence agent decisions?\n\n## Step 2: Write the Description\n\nThe `description` field is the **most critical line** — it determines whether OpenSpace selects this skill for a given task.\n\n**Good descriptions** (specific, searchable):\n- \"Create a dashboard panel component using vanilla TypeScript DOM API, following the worldmonitor Panel architecture.\"\n- \"Integrate with Finnhub Stock API for real-time and historical stock market data.\"\n- \"CSS grid layout system for a responsive panel dashboard with dark theme.\"\n\n**Bad descriptions** (vague, generic):\n- \"A useful skill for building things.\"\n- \"TypeScript patterns.\"\n- \"How to make a panel.\"\n\n**Formula**: `[Action verb] + [specific subject] + [key technology\u002Fapproach] + [context\u002Fproject reference]`\n\n## Step 3: Write Actionable Instructions\n\nThe body must be concrete enough that an AI agent can follow it without guessing.\n\n### For Workflow Skills\n\nInclude:\n1. **File paths** — exact paths where files should be created (`src\u002Fcomponents\u002FMyPanel.ts`)\n2. **Code templates** — complete, runnable code blocks (not pseudocode)\n3. **Import statements** — every import the code needs\n4. **Interface definitions** — typed data shapes\n5. **Integration points** — how this connects to other parts of the project\n\nUse `{baseDir}` for paths relative to the skill directory:\n```\nRead the reference file at {baseDir}\u002Freferences\u002Fexample.json\n```\n\n### For Tool Guide Skills\n\nInclude:\n1. **API endpoints** — full URLs with parameter documentation\n2. **Auth mechanism** — how to authenticate (query param, header, etc.)\n3. **Response shapes** — JSON examples with field descriptions\n4. **Rate limits** — free tier limitations\n5. **Error handling** — common errors and how to handle them\n\n### For Reference Skills\n\nInclude:\n1. **Structured index** — tables, lists, or maps of the reference material\n2. **Key file paths** — where to find specific things in the reference codebase\n3. **Architecture decisions** — WHY certain patterns were chosen\n4. **Comparison tables** — alternatives and tradeoffs\n\n## Step 4: Add Dependency Hints\n\nIf the skill depends on patterns from other skills, mention them explicitly:\n\n```markdown\n## Prerequisites\n\nThis skill builds on:\n- `panel-component` — for the Panel base class\n- `data-service` — for the circuit breaker pattern\n- `api-proxy-endpoint` — for server-side API key isolation\n```\n\nThis helps OpenSpace understand skill composition when DERIVING new skills.\n\n## Step 5: Validate the Skill\n\nBefore saving, verify:\n\n1. **Frontmatter is valid YAML** — no tabs, proper indentation, quotes around special chars\n2. **Name matches directory** — `name: foo-bar` lives in `foo-bar\u002FSKILL.md`\n3. **Code blocks are complete** — every snippet can be copy-pasted and run\n4. **No broken references** — all file paths and URLs are valid\n5. **Description is specific** — would an LLM pick this skill for the right task?\n\n## Example: Converting a Pattern to a Skill\n\n**Input** (from codebase-pattern-analyzer):\n\n```\nPattern: Circuit Breaker Data Service\nSource: worldmonitor\u002Fsrc\u002Fservices\u002F*.ts\nCategory: service\nStructure: Module-level CircuitBreaker instance, async fetch functions, typed interfaces\nKey code: createCircuitBreaker({ name, cacheTtlMs }), breaker.execute(fn, default)\n```\n\n**Output** (`data-service\u002FSKILL.md`):\n\n```markdown\n---\nname: data-service\ndescription: Create data fetching services with circuit breaker pattern for API resilience. Services handle fetch, cache, retry, and expose typed data to panel components.\n---\n\n# Data Service Pattern\n\nEach panel's data comes from a dedicated service module in `src\u002Fservices\u002F`. ...\n\n## Circuit Breaker\n\n[Full implementation code]\n\n## Service Module Pattern\n\n[Template with typed interfaces, breaker usage, export functions]\n\n## Key Patterns\n\n1. One circuit breaker per API endpoint\n2. Export typed interfaces for data shapes\n3. Wrap fetch calls in breaker.execute(fn, defaultValue)\n...\n```\n\n## Evolution Hooks\n\nSkills generated by this workflow are designed to evolve:\n\n- **FIX**: When an API changes or code pattern breaks, OpenSpace updates the skill in-place\n- **DERIVED**: When a new panel needs a similar service, OpenSpace derives a specialized version\n- **CAPTURED**: When an agent discovers a novel pattern during execution, OpenSpace captures it as a new skill\n\nThe better the initial skill quality, the better the evolved descendants.\n\n",{"name":5,"description":7},"main","ff671ef61ed6587c49bd54c81cdc751c0b99e363","showcase\u002Fskills\u002Fskill-template-generator","https:\u002F\u002Fgithub.com\u002FAG064\u002FOpenSpace","https:\u002F\u002Fgithub.com\u002FAG064","AG064, E.Mi.\r\n\r\nA person who thinks all the time, yet all they have to think about is nothing. I want to improve the world and work on open source projects","2026-10-08 06:53:48",{"source":8,"skillName":5,"commands":50,"prompt":60,"zipAvailable":61},[51,54,57],{"tool":52,"command":53},"npx","npx skills add AG064\u002FOpenSpace --skill skill-template-generator",{"tool":55,"command":56},"bunx","bunx skills add AG064\u002FOpenSpace --skill skill-template-generator",{"tool":58,"command":59},"pnpm","pnpm dlx skills add AG064\u002FOpenSpace --skill skill-template-generator","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FAG064\u002FOpenSpace\u002Fblob\u002Fmain\u002Fshowcase\u002Fskills\u002Fskill-template-generator\u002FSKILL.md",true,[63],{"path":64,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":67,"sourceHtmlUrl":68},".skill_id","OTHER","其他",38,"https:\u002F\u002Fgithub.com\u002FAG064\u002FOpenSpace\u002Fblob\u002Fmain\u002Fshowcase\u002Fskills\u002Fskill-template-generator\u002F.skill_id",[70,92,109,118,147,163],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":37},"01M6KKMPWA0B5SCCH766F8M5EA","write-special-chars-ts-check","Workaround for write_file failures caused by special characters (apostrophes, backticks, template literals) using a Python heredoc script, plus a reliable TypeScript type-checking step that filters output to only the newly-written files to avoid being misled by pre-existing errors.","https:\u002F\u002Fgithub.com\u002FAG064\u002FOpenSpace\u002Fblob\u002Fmain\u002Fshowcase\u002Fskills\u002Fwrite-special-chars-ts-check\u002FSKILL.md",[],[77,78,79,80,81,82,83,84,85,86,87,30,88,23,89,90,91],"write special chars ts check","check","write","filters","Existing","type-checking","for","errors","script","output","type","only","file","python","typescript",{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":37},"01M6KKMJXVBNVEY3TRK055F4A7","write-special-chars-readback","Workaround for write_file failures caused by special characters (apostrophes, backticks, template literals) using a Python heredoc script, with mandatory post-write verification via read_file and cleanup of \u002Ftmp helper scripts.","https:\u002F\u002Fgithub.com\u002FAG064\u002FOpenSpace\u002Fblob\u002Fmain\u002Fshowcase\u002Fskills\u002Fwrite-special-chars-readback\u002FSKILL.md",[],[99,100,79,23,101,102,89,90,103,104,105,106,107,83,85,108],"readback","write special chars readback","cleanup","read","scripts","verification","via","post","helper","with",{"skillNo":110,"name":111,"nameZh":6,"description":112,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":113,"categories":114,"keywords":115,"publishedAt":37},"01M6KKMEGX9M9NC105J0W3Q5B9","write-special-chars-heredoc","Workaround for write_file failures caused by special characters (apostrophes, backticks, template literals) by using a Python heredoc script executed via shell.","https:\u002F\u002Fgithub.com\u002FAG064\u002FOpenSpace\u002Fblob\u002Fmain\u002Fshowcase\u002Fskills\u002Fwrite-special-chars-heredoc\u002FSKILL.md",[],[79,116,90,83,105,23,117,89,85],"write special chars heredoc","shell",{"skillNo":119,"name":120,"nameZh":6,"description":121,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":122,"categories":123,"keywords":129,"publishedAt":37},"01M6KKM8EJ2AATVHZBNB916WT0","worldmonitor-reference","Curated architecture index of the WorldMonitor open-source dashboard. Reference for extracting patterns — vanilla TypeScript, Panel class hierarchy, service layer, CSS grid, API edge functions, refresh scheduler, and 60+ data source integrations.","https:\u002F\u002Fgithub.com\u002FAG064\u002FOpenSpace\u002Fblob\u002Fmain\u002Fshowcase\u002Fskills\u002Fworldmonitor-reference\u002FSKILL.md",[124],{"categoryNo":125,"categoryName":126,"taxonomyType":127,"taxonomyTypeDesc":128},"01JBSEEDCAT000000000000033","数据分析师","PROFESSION","适用职业",[130,131,132,133,91,134,135,136,137,138,83,139,140,32,141,142,143,144,145,146],"reference","worldmonitor","worldmonitor reference","dashboard","css","architecture","extracting","hierarchy","source","layer","panel","edge functions","integrations","open","api","data","scheduler",{"skillNo":148,"name":149,"nameZh":6,"description":150,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":151,"categories":152,"keywords":153,"publishedAt":37},"01M6KKM39PHYK627F19GE2B9XN","virtual-list","Implement efficient virtual scrolling for rendering large lists with DOM recycling, chunk-based rendering, and performance optimizations","https:\u002F\u002Fgithub.com\u002FAG064\u002FOpenSpace\u002Fblob\u002Fmain\u002Fshowcase\u002Fskills\u002Fvirtual-list\u002FSKILL.md",[],[154,155,156,157,83,158,108,159,160,161,162],"virtual list","list","virtual","chunk","dom","rendering","recycling","implement","performance",{"skillNo":164,"name":165,"nameZh":6,"description":166,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":167,"categories":168,"keywords":169,"publishedAt":37},"01M6KKKY7T2P61Y0JH54CDEJKQ","verify-directory-structure","Diagnose and resolve file access issues by first verifying the directory structure.","https:\u002F\u002Fgithub.com\u002FAG064\u002FOpenSpace\u002Fblob\u002Fmain\u002Fshowcase\u002Fskills\u002Fverify-directory-structure\u002FSKILL.md",[],[170,171,172,173,174,175,89,176,177,178],"directory","verify","structure","verify directory structure","access","first","issues","diagnose","file access"]