[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6KKGDYYASD5PA1SFNY4JGYJ":3,"skill-same:01M6KKGDYYASD5PA1SFNY4JGYJ":66},{"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":17,"publishedAt":34,"linkOnly":35,"markdownContent":36,"markdownBody":37,"frontMatter":38,"refName":39,"commitSha":40,"skillDirectory":41,"forksCount":13,"repositoryHtmlUrl":42,"repositoryHomepageUrl":6,"ownerHtmlUrl":43,"ownerBlogUrl":6,"ownerDescription":44,"updatedAt":45,"install":46,"resources":59},"01M6KKGDYYASD5PA1SFNY4JGYJ","panel-event-forms",null,"Create dashboard panel components with advanced event handling and form validation using vanilla TypeScript DOM API, following the worldmonitor Panel architecture.","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\u002Fpanel-event-forms\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33],"forms","panel","event","panel event forms","typescript","dashboard","components","architecture","create","validation","api","worldmonitor","form","with","advanced","dom","2026-11-10 10:12:30",false,"---\nname: panel-event-forms\ndescription: Create dashboard panel components with advanced event handling and form validation using vanilla TypeScript DOM API, following the worldmonitor Panel architecture.\n---\n\n# Enhanced Panel Component Pattern\n\nCreate dashboard panel components using **vanilla TypeScript** (no framework, no JSX). Each panel is a class extending a `Panel` base class, now with enhanced event handling and form validation examples.\n\n## Architecture Overview\n\n```\nPanel (base class)\n├── element: HTMLElement (outer container, .panel)\n│   ├── header: HTMLElement (.panel-header)\n│   │   ├── headerLeft (.panel-header-left)\n│   │   │   ├── title (.panel-title)\n│   │   │   └── newBadge (.panel-new-badge) [optional]\n│   │   ├── statusBadge (.panel-data-badge) [optional]\n│   │   └── countEl (.panel-count) [optional]\n│   ├── content: HTMLElement (.panel-content)\n│   └── resizeHandle (.panel-resize-handle)\n```\n\n## Base Panel Class (Simplified for this project)\n\nCreate `src\u002Fcomponents\u002FPanel.ts`:\n\n```typescript\nexport interface PanelOptions {\n  id: string;\n  title: string;\n  showCount?: boolean;\n  className?: string;\n}\n\nexport class Panel {\n  protected element: HTMLElement;\n  protected content: HTMLElement;\n  protected header: HTMLElement;\n  protected countEl: HTMLElement | null = null;\n  protected panelId: string;\n  private _fetching = false;\n\n  constructor(options: PanelOptions) {\n    this.panelId = options.id;\n    this.element = document.createElement('div');\n    this.element.className = `panel ${options.className || ''}`;\n    this.element.dataset.panel = options.id;\n\n    \u002F\u002F Header\n    this.header = document.createElement('div');\n    this.header.className = 'panel-header';\n\n    const headerLeft = document.createElement('div');\n    headerLeft.className = 'panel-header-left';\n\n    const title = document.createElement('span');\n    title.className = 'panel-title';\n    title.textContent = options.title;\n    headerLeft.appendChild(title);\n    this.header.appendChild(headerLeft);\n\n    \u002F\u002F Count badge (optional)\n    if (options.showCount) {\n      this.countEl = document.createElement('span');\n      this.countEl.className = 'panel-count';\n      this.countEl.textContent = '0';\n      this.header.appendChild(this.countEl);\n    }\n\n    \u002F\u002F Content area\n    this.content = document.createElement('div');\n    this.content.className = 'panel-content';\n    this.content.id = `${options.id}Content`;\n\n    this.element.appendChild(this.header);\n    this.element.appendChild(this.content);\n    this.showLoading();\n  }\n\n  public getElement(): HTMLElement { return this.element; }\n\n  public showLoading(message = 'Loading...'): void {\n    this.content.innerHTML = `\n     \u003Cdiv class=\"panel-loading\">\n        \u003Cdiv class=\"panel-loading-spinner\">\u003C\u002Fdiv>\n        \u003Cdiv class=\"panel-loading-text\">${message}\u003C\u002Fdiv>\n      \u003C\u002Fdiv>`;\n  }\n\n  public showError(message = 'Failed to load', onRetry?: () => void): void {\n    this.content.innerHTML = `\n      \u003Cdiv class=\"panel-error-state\">\n        \u003Cdiv class=\"panel-error-msg\">${message}\u003C\u002Fdiv>\n        ${onRetry ? '\u003Cbutton class=\"panel-retry-btn\" data-panel-retry>Retry\u003C\u002Fbutton>' : ''}\n      \u003C\u002Fdiv>`;\n    if (onRetry) {\n      this.content.querySelector('[data-panel-retry]')?.addEventListener('click', onRetry);\n    }\n  }\n\n  public setContent(html: string): void {\n    this.content.innerHTML = html;\n  }\n\n  public setCount(count: number): void {\n    if (this.countEl) this.countEl.textContent = count.toString();\n  }\n\n  public show(): void { this.element.classList.remove('hidden'); }\n  public hide(): void { this.element.classList.add('hidden'); }\n\n  protected setFetching(v: boolean): void { this._fetching = v; }\n  protected get isFetching(): boolean { return this._fetching; }\n\n  public destroy(): void {\n    this.element.remove();\n  }\n}\n```\n\n## Creating a Concrete Panel (Example: FinancePanel)\n\nEach panel extends `Panel` and manages its own data fetching + rendering, now with enhanced event handling and form validation:\n\n```typescript\nimport { Panel } from '.\u002FPanel';\n\ninterface Transaction {\n  id: string;\n  amount: number;\n  description: string;\n  date: string;\n  category: string;\n}\n\nexport class FinancePanel extends Panel {\n  private transactions: Transaction[] = [];\n  private balance: number = 0;\n\n  constructor() {\n    super({ id: 'finance', title: 'Finance Tracker', showCount: true });\n    this.loadTransactions();\n    this.render();\n  }\n\n  private loadTransactions(): void {\n    const saved = localStorage.getItem('finance-transactions');\n    if (saved) {\n      this.transactions = JSON.parse(saved);\n      this.balance = this.transactions.reduce((sum, t) => sum + t.amount, 0);\n    }\n  }\n\n  private saveTransactions(): void {\n    localStorage.setItem('finance-transactions', JSON.stringify(this.transactions));\n  }\n\n  private render(): void {\n    const formHtml = `\n      \u003Cform id=\"financeForm\" class=\"finance-form\">\n        \u003Cdiv class=\"form-group\">\n          \u003Clabel for=\"amount\">Amount\u003C\u002Flabel>\n          \u003Cinput type=\"number\" id=\"amount\" name=\"amount\" required>\n          \u003Cdiv class=\"error-message\" id=\"amountError\">\u003C\u002Fdiv>\n        \u003C\u002Fdiv>\n        \u003Cdiv class=\"form-group\">\n          \u003Clabel for=\"description\">Description\u003C\u002Flabel>\n          \u003Cinput type=\"text\" id=\"description\" name=\"description\" required>\n          \u003Cdiv class=\"error-message\" id=\"descriptionError\">\u003C\u002Fdiv>\n        \u003C\u002Fdiv>\n        \u003Cbutton type=\"submit\">Add Transaction\u003C\u002Fbutton>\n      \u003C\u002Fform>\n    `;\n\n    const transactionsHtml = this.transactions.map(t => `\n      \u003Cdiv class=\"transaction\">\n        \u003Cspan class=\"transaction-date\">${t.date}\u003C\u002Fspan>\n        \u003Cspan class=\"transaction-description\">${t.description}\u003C\u002Fspan>\n        \u003Cspan class=\"transaction-amount ${t.amount >= 0 ? 'positive' : 'negative'}\">\n          ${t.amount >= 0 ? '+' : ''}${t.amount.toFixed(2)}\n        \u003C\u002Fspan>\n      \u003C\u002Fdiv>\n    `).join('');\n\n    this.setContent(`\n      \u003Cdiv class=\"finance-container\">\n        \u003Cdiv class=\"balance\">Balance: $${this.balance.toFixed(2)}\u003C\u002Fdiv>\n        ${formHtml}\n        \u003Cdiv class=\"transactions\">${transactionsHtml}\u003C\u002Fdiv>\n      \u003C\u002Fdiv>\n    `);\n\n    this.setupForm();\n  }\n\n  private setupForm(): void {\n    const form = this.content.querySelector('#financeForm') as HTMLFormElement;\n    if (!form) return;\n\n    form.addEventListener('submit', (e) => {\n      e.preventDefault();\n      if (this.validateForm()) {\n        this.addTransaction();\n      }\n    });\n  }\n\n  private validateForm(): boolean {\n    let isValid = true;\n    const amountInput = this.content.querySelector('#amount') as HTMLInputElement;\n    const descriptionInput = this.content.querySelector('#description') as HTMLInputElement;\n    const amountError = this.content.querySelector('#amountError') as HTMLElement;\n    const descriptionError = this.content.querySelector('#descriptionError') as HTMLElement;\n\n    \u002F\u002F Reset errors\n    amountError.textContent = '';\n    descriptionError.textContent = '';\n\n    \u002F\u002F Validate amount\n    if (!amountInput.value) {\n      amountError.textContent = 'Amount is required';\n      isValid = false;\n    } else if (isNaN(parseFloat(amountInput.value))) {\n      amountError.textContent = 'Amount must be a number';\n      isValid = false;\n    }\n\n    \u002F\u002F Validate description\n    if (!descriptionInput.value) {\n      descriptionError.textContent = 'Description is required';\n      isValid = false;\n    }\n\n    return isValid;\n  }\n\n  private addTransaction(): void {\n    const amountInput = this.content.querySelector('#amount') as HTMLInputElement;\n    const descriptionInput = this.content.querySelector('#description') as HTMLInputElement;\n\n    const transaction: Transaction = {\n      id: Date.now().toString(),\n      amount: parseFloat(amountInput.value),\n      description: descriptionInput.value,\n      date: new Date().toLocaleDateString(),\n      category: 'General',\n    };\n\n    this.transactions.push(transaction);\n    this.balance += transaction.amount;\n    this.saveTransactions();\n    this.render();\n  }\n\n  public override destroy(): void {\n    \u002F\u002F Clean up any event listeners\n    super.destroy();\n  }\n}\n```\n\n## Key Patterns\n\n1. **Constructor** calls `super()` with panel config, then loads initial data\n2. **Form Handling** includes validation and submission logic\n3. **Event Listeners** are properly set up and cleaned up in `destroy()`\n4. **Local Storage** is used for persistent data\n5. **Validation** provides user feedback on form errors\n6. **Dynamic Updates** reflect changes immediately in the UI\n\n## Sparkline Utility\n\n```typescript\nexport function miniSparkline(data: number[] | undefined, change: number | null, w = 50, h = 16): string {\n  if (!data || data.length \u003C 2) return '';\n  const min = Math.min(...data);\n  const max = Math.max(...data);\n  const range = max - min || 1;\n  const color = change != null && change >= 0 ? 'var(--green)' : 'var(--red)';\n  const points = data.map((v, i) => {\n    const x = (i \u002F (data.length - 1)) * w;\n    const y = h - ((v - min) \u002F range) * (h - 2) - 1;\n    return `${x.toFixed(1)},${y.toFixed(1)}`;\n  }).join(' ');\n  return `\u003Csvg width=\"${w}\" height=\"${h}\" viewBox=\"0 0 ${w} ${h}\">\u003Cpolyline points=\"${points}\" fill=\"none\" stroke=\"${color}\" stroke-width=\"1.2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"\u002F>\u003C\u002Fsvg>`;\n}\n```\n","# Enhanced Panel Component Pattern\n\nCreate dashboard panel components using **vanilla TypeScript** (no framework, no JSX). Each panel is a class extending a `Panel` base class, now with enhanced event handling and form validation examples.\n\n## Architecture Overview\n\n```\nPanel (base class)\n├── element: HTMLElement (outer container, .panel)\n│   ├── header: HTMLElement (.panel-header)\n│   │   ├── headerLeft (.panel-header-left)\n│   │   │   ├── title (.panel-title)\n│   │   │   └── newBadge (.panel-new-badge) [optional]\n│   │   ├── statusBadge (.panel-data-badge) [optional]\n│   │   └── countEl (.panel-count) [optional]\n│   ├── content: HTMLElement (.panel-content)\n│   └── resizeHandle (.panel-resize-handle)\n```\n\n## Base Panel Class (Simplified for this project)\n\nCreate `src\u002Fcomponents\u002FPanel.ts`:\n\n```typescript\nexport interface PanelOptions {\n  id: string;\n  title: string;\n  showCount?: boolean;\n  className?: string;\n}\n\nexport class Panel {\n  protected element: HTMLElement;\n  protected content: HTMLElement;\n  protected header: HTMLElement;\n  protected countEl: HTMLElement | null = null;\n  protected panelId: string;\n  private _fetching = false;\n\n  constructor(options: PanelOptions) {\n    this.panelId = options.id;\n    this.element = document.createElement('div');\n    this.element.className = `panel ${options.className || ''}`;\n    this.element.dataset.panel = options.id;\n\n    \u002F\u002F Header\n    this.header = document.createElement('div');\n    this.header.className = 'panel-header';\n\n    const headerLeft = document.createElement('div');\n    headerLeft.className = 'panel-header-left';\n\n    const title = document.createElement('span');\n    title.className = 'panel-title';\n    title.textContent = options.title;\n    headerLeft.appendChild(title);\n    this.header.appendChild(headerLeft);\n\n    \u002F\u002F Count badge (optional)\n    if (options.showCount) {\n      this.countEl = document.createElement('span');\n      this.countEl.className = 'panel-count';\n      this.countEl.textContent = '0';\n      this.header.appendChild(this.countEl);\n    }\n\n    \u002F\u002F Content area\n    this.content = document.createElement('div');\n    this.content.className = 'panel-content';\n    this.content.id = `${options.id}Content`;\n\n    this.element.appendChild(this.header);\n    this.element.appendChild(this.content);\n    this.showLoading();\n  }\n\n  public getElement(): HTMLElement { return this.element; }\n\n  public showLoading(message = 'Loading...'): void {\n    this.content.innerHTML = `\n     \u003Cdiv class=\"panel-loading\">\n        \u003Cdiv class=\"panel-loading-spinner\">\u003C\u002Fdiv>\n        \u003Cdiv class=\"panel-loading-text\">${message}\u003C\u002Fdiv>\n      \u003C\u002Fdiv>`;\n  }\n\n  public showError(message = 'Failed to load', onRetry?: () => void): void {\n    this.content.innerHTML = `\n      \u003Cdiv class=\"panel-error-state\">\n        \u003Cdiv class=\"panel-error-msg\">${message}\u003C\u002Fdiv>\n        ${onRetry ? '\u003Cbutton class=\"panel-retry-btn\" data-panel-retry>Retry\u003C\u002Fbutton>' : ''}\n      \u003C\u002Fdiv>`;\n    if (onRetry) {\n      this.content.querySelector('[data-panel-retry]')?.addEventListener('click', onRetry);\n    }\n  }\n\n  public setContent(html: string): void {\n    this.content.innerHTML = html;\n  }\n\n  public setCount(count: number): void {\n    if (this.countEl) this.countEl.textContent = count.toString();\n  }\n\n  public show(): void { this.element.classList.remove('hidden'); }\n  public hide(): void { this.element.classList.add('hidden'); }\n\n  protected setFetching(v: boolean): void { this._fetching = v; }\n  protected get isFetching(): boolean { return this._fetching; }\n\n  public destroy(): void {\n    this.element.remove();\n  }\n}\n```\n\n## Creating a Concrete Panel (Example: FinancePanel)\n\nEach panel extends `Panel` and manages its own data fetching + rendering, now with enhanced event handling and form validation:\n\n```typescript\nimport { Panel } from '.\u002FPanel';\n\ninterface Transaction {\n  id: string;\n  amount: number;\n  description: string;\n  date: string;\n  category: string;\n}\n\nexport class FinancePanel extends Panel {\n  private transactions: Transaction[] = [];\n  private balance: number = 0;\n\n  constructor() {\n    super({ id: 'finance', title: 'Finance Tracker', showCount: true });\n    this.loadTransactions();\n    this.render();\n  }\n\n  private loadTransactions(): void {\n    const saved = localStorage.getItem('finance-transactions');\n    if (saved) {\n      this.transactions = JSON.parse(saved);\n      this.balance = this.transactions.reduce((sum, t) => sum + t.amount, 0);\n    }\n  }\n\n  private saveTransactions(): void {\n    localStorage.setItem('finance-transactions', JSON.stringify(this.transactions));\n  }\n\n  private render(): void {\n    const formHtml = `\n      \u003Cform id=\"financeForm\" class=\"finance-form\">\n        \u003Cdiv class=\"form-group\">\n          \u003Clabel for=\"amount\">Amount\u003C\u002Flabel>\n          \u003Cinput type=\"number\" id=\"amount\" name=\"amount\" required>\n          \u003Cdiv class=\"error-message\" id=\"amountError\">\u003C\u002Fdiv>\n        \u003C\u002Fdiv>\n        \u003Cdiv class=\"form-group\">\n          \u003Clabel for=\"description\">Description\u003C\u002Flabel>\n          \u003Cinput type=\"text\" id=\"description\" name=\"description\" required>\n          \u003Cdiv class=\"error-message\" id=\"descriptionError\">\u003C\u002Fdiv>\n        \u003C\u002Fdiv>\n        \u003Cbutton type=\"submit\">Add Transaction\u003C\u002Fbutton>\n      \u003C\u002Fform>\n    `;\n\n    const transactionsHtml = this.transactions.map(t => `\n      \u003Cdiv class=\"transaction\">\n        \u003Cspan class=\"transaction-date\">${t.date}\u003C\u002Fspan>\n        \u003Cspan class=\"transaction-description\">${t.description}\u003C\u002Fspan>\n        \u003Cspan class=\"transaction-amount ${t.amount >= 0 ? 'positive' : 'negative'}\">\n          ${t.amount >= 0 ? '+' : ''}${t.amount.toFixed(2)}\n        \u003C\u002Fspan>\n      \u003C\u002Fdiv>\n    `).join('');\n\n    this.setContent(`\n      \u003Cdiv class=\"finance-container\">\n        \u003Cdiv class=\"balance\">Balance: $${this.balance.toFixed(2)}\u003C\u002Fdiv>\n        ${formHtml}\n        \u003Cdiv class=\"transactions\">${transactionsHtml}\u003C\u002Fdiv>\n      \u003C\u002Fdiv>\n    `);\n\n    this.setupForm();\n  }\n\n  private setupForm(): void {\n    const form = this.content.querySelector('#financeForm') as HTMLFormElement;\n    if (!form) return;\n\n    form.addEventListener('submit', (e) => {\n      e.preventDefault();\n      if (this.validateForm()) {\n        this.addTransaction();\n      }\n    });\n  }\n\n  private validateForm(): boolean {\n    let isValid = true;\n    const amountInput = this.content.querySelector('#amount') as HTMLInputElement;\n    const descriptionInput = this.content.querySelector('#description') as HTMLInputElement;\n    const amountError = this.content.querySelector('#amountError') as HTMLElement;\n    const descriptionError = this.content.querySelector('#descriptionError') as HTMLElement;\n\n    \u002F\u002F Reset errors\n    amountError.textContent = '';\n    descriptionError.textContent = '';\n\n    \u002F\u002F Validate amount\n    if (!amountInput.value) {\n      amountError.textContent = 'Amount is required';\n      isValid = false;\n    } else if (isNaN(parseFloat(amountInput.value))) {\n      amountError.textContent = 'Amount must be a number';\n      isValid = false;\n    }\n\n    \u002F\u002F Validate description\n    if (!descriptionInput.value) {\n      descriptionError.textContent = 'Description is required';\n      isValid = false;\n    }\n\n    return isValid;\n  }\n\n  private addTransaction(): void {\n    const amountInput = this.content.querySelector('#amount') as HTMLInputElement;\n    const descriptionInput = this.content.querySelector('#description') as HTMLInputElement;\n\n    const transaction: Transaction = {\n      id: Date.now().toString(),\n      amount: parseFloat(amountInput.value),\n      description: descriptionInput.value,\n      date: new Date().toLocaleDateString(),\n      category: 'General',\n    };\n\n    this.transactions.push(transaction);\n    this.balance += transaction.amount;\n    this.saveTransactions();\n    this.render();\n  }\n\n  public override destroy(): void {\n    \u002F\u002F Clean up any event listeners\n    super.destroy();\n  }\n}\n```\n\n## Key Patterns\n\n1. **Constructor** calls `super()` with panel config, then loads initial data\n2. **Form Handling** includes validation and submission logic\n3. **Event Listeners** are properly set up and cleaned up in `destroy()`\n4. **Local Storage** is used for persistent data\n5. **Validation** provides user feedback on form errors\n6. **Dynamic Updates** reflect changes immediately in the UI\n\n## Sparkline Utility\n\n```typescript\nexport function miniSparkline(data: number[] | undefined, change: number | null, w = 50, h = 16): string {\n  if (!data || data.length \u003C 2) return '';\n  const min = Math.min(...data);\n  const max = Math.max(...data);\n  const range = max - min || 1;\n  const color = change != null && change >= 0 ? 'var(--green)' : 'var(--red)';\n  const points = data.map((v, i) => {\n    const x = (i \u002F (data.length - 1)) * w;\n    const y = h - ((v - min) \u002F range) * (h - 2) - 1;\n    return `${x.toFixed(1)},${y.toFixed(1)}`;\n  }).join(' ');\n  return `\u003Csvg width=\"${w}\" height=\"${h}\" viewBox=\"0 0 ${w} ${h}\">\u003Cpolyline points=\"${points}\" fill=\"none\" stroke=\"${color}\" stroke-width=\"1.2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"\u002F>\u003C\u002Fsvg>`;\n}\n```\n",{"name":5,"description":7},"main","ff671ef61ed6587c49bd54c81cdc751c0b99e363","showcase\u002Fskills\u002Fpanel-event-forms","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":47,"prompt":57,"zipAvailable":58},[48,51,54],{"tool":49,"command":50},"npx","npx skills add AG064\u002FOpenSpace --skill panel-event-forms",{"tool":52,"command":53},"bunx","bunx skills add AG064\u002FOpenSpace --skill panel-event-forms",{"tool":55,"command":56},"pnpm","pnpm dlx skills add AG064\u002FOpenSpace --skill panel-event-forms","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FAG064\u002FOpenSpace\u002Fblob\u002Fmain\u002Fshowcase\u002Fskills\u002Fpanel-event-forms\u002FSKILL.md",true,[60],{"path":61,"resourceType":62,"resourceTypeDesc":63,"sizeBytes":64,"sourceHtmlUrl":65},".skill_id","OTHER","其他",45,"https:\u002F\u002Fgithub.com\u002FAG064\u002FOpenSpace\u002Fblob\u002Fmain\u002Fshowcase\u002Fskills\u002Fpanel-event-forms\u002F.skill_id",[67,90,106,115,140,155],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":34},"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",[],[74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,22],"write special chars ts check","check","write","filters","Existing","type-checking","for","errors","script","output","type","files","only","template","file","python",{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":34},"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",[],[97,98,76,87,99,100,88,89,101,102,103,104,105,80,82,31],"readback","write special chars readback","cleanup","read","scripts","verification","via","post","helper",{"skillNo":107,"name":108,"nameZh":6,"description":109,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":110,"categories":111,"keywords":112,"publishedAt":34},"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",[],[76,113,89,80,103,87,114,88,82],"write special chars heredoc","shell",{"skillNo":116,"name":117,"nameZh":6,"description":118,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":119,"categories":120,"keywords":126,"publishedAt":34},"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",[121],{"categoryNo":122,"categoryName":123,"taxonomyType":124,"taxonomyTypeDesc":125},"01JBSEEDCAT000000000000033","数据分析师","PROFESSION","适用职业",[127,29,128,23,22,129,25,130,131,132,80,133,19,134,135,136,137,28,138,139],"reference","worldmonitor reference","css","extracting","hierarchy","source","layer","patterns","edge functions","integrations","open","data","scheduler",{"skillNo":141,"name":142,"nameZh":6,"description":143,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":144,"categories":145,"keywords":146,"publishedAt":34},"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",[],[147,148,149,150,80,33,31,151,152,153,154],"virtual list","list","virtual","chunk","rendering","recycling","implement","performance",{"skillNo":156,"name":157,"nameZh":6,"description":158,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":159,"categories":160,"keywords":161,"publishedAt":34},"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",[],[162,163,164,165,166,167,88,168,169,170],"directory","verify","structure","verify directory structure","access","first","issues","diagnose","file access"]