[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6KK9MVT4JKGNNR7ZD7Y6A9R":3,"skill-same:01M6KK9MVT4JKGNNR7ZD7Y6A9R":70},{"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":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":43,"commitSha":44,"skillDirectory":45,"forksCount":13,"repositoryHtmlUrl":46,"repositoryHomepageUrl":6,"ownerHtmlUrl":47,"ownerBlogUrl":6,"ownerDescription":48,"updatedAt":49,"install":50,"resources":63},"01M6KK9MVT4JKGNNR7ZD7Y6A9R","create-full-stack-panel-feature",null,"Multi-layer workflow for creating complete panel features by analyzing existing patterns and generating coordinated server routes, services, UI components, registration, and styling files.","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\u002Fcreate-full-stack-panel-feature\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"create full stack panel feature","create","stack","panel","feature","full","full stack","patterns","features","for","layer","ui components","workflow","registration","files","styling","analyzing","server","ui","components","2026-11-10 10:12:30",false,"---\nname: create-full-stack-panel-feature\ndescription: Multi-layer workflow for creating complete panel features by analyzing existing patterns and generating coordinated server routes, services, UI components, registration, and styling files.\n---\n\n# Create Full-Stack Panel Feature\n\nThis skill guides you through creating a complete, pattern-consistent panel feature across all application layers: backend API routes, service logic, frontend components, registration, and styling.\n\n## When to Use\n\n- Adding a new panel type to a dashboard or admin interface\n- Creating a feature that spans multiple architectural layers\n- Ensuring consistency with existing codebase patterns across the stack\n\n## Workflow Steps\n\n### 1. Identify Pattern Files\n\nLocate existing examples for each layer you need to implement:\n\n```bash\n# Find existing server routes\nfind . -name \"*route*.js\" -o -name \"*routes*.js\" | grep -E \"(panel|dashboard)\"\n\n# Find service files\nfind . -name \"*service*.js\" | grep -E \"(panel|dashboard)\"\n\n# Find UI components\nfind . -name \"*.jsx\" -o -name \"*.tsx\" | grep -i panel\n\n# Find registration\u002Fconfig files\nfind . -name \"*config*.js\" -o -name \"*registry*.js\"\n\n# Find styling files\nfind . -name \"*.css\" -o -name \"*.scss\" | grep -i panel\n```\n\n### 2. Read and Analyze Patterns\n\nRead 1-2 representative examples from **each layer** to understand:\n\n- Naming conventions (e.g., `MetricsPanel`, `metrics-service.js`)\n- Code structure and organization\n- Import\u002Fexport patterns\n- Registration mechanisms\n- API endpoint patterns\n- Error handling approaches\n- Styling conventions\n\n**Example analysis checklist:**\n\n```\nServer Route Pattern:\n- ✓ Endpoint naming: \u002Fapi\u002Fpanels\u002F{type}\n- ✓ Authentication middleware\n- ✓ Response format: { success, data, error }\n\nService Pattern:\n- ✓ Export structure: class vs functions\n- ✓ Data transformation logic\n- ✓ Error propagation\n\nComponent Pattern:\n- ✓ Props interface\n- ✓ State management (hooks\u002Fclass)\n- ✓ Data fetching approach\n- ✓ Loading\u002Ferror states\n\nRegistration Pattern:\n- ✓ Registry file location\n- ✓ Registration format (array\u002Fobject)\n- ✓ Required metadata fields\n```\n\n### 3. Plan Your Feature Files\n\nBased on patterns, list the files you need to create:\n\n**Typical full-stack panel structure:**\n1. **Server route** (e.g., `server\u002Froutes\u002Fsystem-health-route.js`)\n2. **Service layer** (e.g., `server\u002Fservices\u002Fsystem-health-service.js`)\n3. **UI component** (e.g., `client\u002Fcomponents\u002FSystemHealthPanel.jsx`)\n4. **Panel registration** (e.g., update `client\u002Fconfig\u002Fpanel-registry.js`)\n5. **Styling** (e.g., `client\u002Fstyles\u002Fsystem-health-panel.css`)\n6. **Type definitions** (if TypeScript, e.g., `types\u002Fsystem-health.ts`)\n\n### 4. Create Files in Order\n\n### 3b. Detect Project Framework\n\n**Before selecting templates in Step 4, determine the frontend framework in use:**\n\n```bash\n# Check for React\ngrep -s \"react\" package.json | head -5\n\n# Check for TypeScript without React (vanilla TS)\nls client\u002Fcomponents\u002F*.ts 2>\u002Fdev\u002Fnull | head -3\nls client\u002Fpanels\u002F*.ts 2>\u002Fdev\u002Fnull | head -3\n\n# Check for a Panel base class (common in vanilla TS dashboards)\ngrep -r \"class.*Panel\" client\u002F --include=\"*.ts\" -l | head -3\ngrep -r \"extends Panel\" client\u002F --include=\"*.ts\" -l | head -3\n```\n\n**Decision rule:**\n- If `react` or `react-dom` is present in `package.json` → use the **React\u002FJSX template** (Step 4C-React).\n- If components are `.ts` files extending a `Panel` base class → use the **Vanilla TS template** (Step 4C-Vanilla).\n- When in doubt, read one or two existing component files to confirm before proceeding.\n\n### 4. Create Files in Order\n\nGenerate files in dependency order (backend → frontend → registration):\n\n#### A. Server Route\n\n```javascript\n\u002F\u002F server\u002Froutes\u002F{feature}-route.js\nconst express = require('express');\nconst router = express.Router();\nconst featureService = require('..\u002Fservices\u002F{feature}-service');\n\nrouter.get('\u002Fapi\u002Fpanels\u002F{feature}', async (req, res) => {\n  try {\n    const data = await featureService.getData();\n    res.json({ success: true, data });\n  } catch (error) {\n    res.status(500).json({ success: false, error: error.message });\n  }\n});\n\nmodule.exports = router;\n```\n\n#### B. Service Layer\n\n```javascript\n\u002F\u002F server\u002Fservices\u002F{feature}-service.js\nclass FeatureService {\n  async getData() {\n    \u002F\u002F Implementation following existing service patterns\n    \u002F\u002F - Data fetching\n    \u002F\u002F - Business logic\n    \u002F\u002F - Data transformation\n    return processedData;\n  }\n}\n\nmodule.exports = new FeatureService();\n```\n\n#### C-React. UI Component (React\u002FJSX projects)\n\n*Use this template only when React is confirmed in Step 3b.*\n\n```javascript\n\u002F\u002F client\u002Fcomponents\u002F{Feature}Panel.jsx\nimport React, { useState, useEffect } from 'react';\nimport '.\u002Fstyles\u002F{feature}-panel.css';\n\nconst FeaturePanel = () => {\n  const [data, setData] = useState(null);\n  const [loading, setLoading] = useState(true);\n  const [error, setError] = useState(null);\n\n  useEffect(() => {\n    fetch('\u002Fapi\u002Fpanels\u002F{feature}')\n      .then(res => res.json())\n      .then(result => {\n        setData(result.data);\n        setLoading(false);\n      })\n      .catch(err => {\n        setError(err.message);\n        setLoading(false);\n      });\n  }, []);\n\n  if (loading) return \u003Cdiv>Loading...\u003C\u002Fdiv>;\n  if (error) return \u003Cdiv>Error: {error}\u003C\u002Fdiv>;\n\n  return (\n    \u003Cdiv className=\"{feature}-panel\">\n      {\u002F* Render data following UI patterns *\u002F}\n    \u003C\u002Fdiv>\n  );\n};\n\nexport default FeaturePanel;\n```\n\n#### C-Vanilla. UI Component (Vanilla TypeScript \u002F Panel base-class projects)\n\n*Use this template when components extend a Panel base class (no React).*\n\n```typescript\n\u002F\u002F client\u002Fpanels\u002F{Feature}Panel.ts\nimport { Panel } from '..\u002Fcore\u002FPanel';\n\nexport class FeaturePanel extends Panel {\n  private intervalId: number | null = null;\n\n  constructor(id: string) {\n    super(id);\n    this.setTitle('Feature Display Name');\n  }\n\n  async onLoad(): Promise\u003Cvoid> {\n    if (this.isFetching) return;\n    this.isFetching = true;\n    try {\n      const res = await fetch('\u002Fapi\u002Fpanels\u002F{feature}', {\n        headers: { Authorization: `Bearer ${localStorage.getItem('token') ?? ''}` }\n      });\n      if (!res.ok) throw new Error(`HTTP ${res.status}`);\n      const { data } = await res.json();\n      this.render(data);\n    } catch (err) {\n      this.showError(err instanceof Error ? err.message : String(err), () => this.onLoad());\n    } finally {\n      this.isFetching = false;\n    }\n  }\n\n  private render(data: unknown): void {\n    const container = document.createElement('div');\n    container.className = '{feature}-panel';\n    \u002F\u002F Build DOM nodes from data instead of JSX:\n    \u002F\u002F const item = document.createElement('p');\n    \u002F\u002F item.textContent = String(data);\n    \u002F\u002F container.appendChild(item);\n    this.setContent(container);\n  }\n\n  \u002F\u002F Call this to start polling (optional)\n  startPolling(intervalMs = 60_000): void {\n    this.onLoad();\n    this.intervalId = window.setInterval(() => this.onLoad(), intervalMs);\n  }\n\n  destroy(): void {\n    if (this.intervalId !== null) clearInterval(this.intervalId);\n    super.destroy();\n  }\n}\n```\n\n**Key differences from React template:**\n- Extends `Panel` base class; uses `setContent()` \u002F `showError()` \u002F `setTitle()` \u002F `setCount()` instead of React state.\n- DOM construction via `document.createElement` \u002F `innerHTML` instead of JSX.\n- No `useState` \u002F `useEffect`; lifecycle is `onLoad()` + `destroy()`.\n- File extension is `.ts`, not `.jsx`\u002F`.tsx`.\n- Registration passes a factory function or class constructor, not a JSX component.\n\n#### D. Panel Registration\n\n**React projects** — import the component directly:\n\n```javascript\n\u002F\u002F client\u002Fconfig\u002Fpanel-registry.js (update existing)\nimport FeaturePanel from '..\u002Fcomponents\u002FFeaturePanel';\n\nexport const panels = [\n  \u002F\u002F ... existing panels\n  {\n    id: '{feature}',\n    name: 'Feature Display Name',\n    component: FeaturePanel,\n    icon: 'icon-name',\n    category: 'appropriate-category'\n  }\n];\n```\n\n**Vanilla TS projects** — register via factory:\n\n```typescript\n\u002F\u002F client\u002Fconfig\u002Fpanel-registry.ts (update existing)\nimport { FeaturePanel } from '..\u002Fpanels\u002FFeaturePanel';\n\nexport const panels = [\n  \u002F\u002F ... existing panels\n  {\n    id: '{feature}',\n    name: 'Feature Display Name',\n    factory: (id: string) => new FeaturePanel(id),\n    icon: 'icon-name',\n    category: 'appropriate-category'\n  }\n];\n```\n\n#### E. Styling\n\n```css\n\u002F* client\u002Fstyles\u002F{feature}-panel.css *\u002F\n.{feature}-panel {\n  \u002F* Follow existing panel styling conventions *\u002F\n  padding: 1rem;\n  border-radius: 4px;\n}\n\n.{feature}-panel__header {\n  \u002F* Consistent header styling *\u002F\n}\n```\n\n### 5. Verify Pattern Consistency\n\nAfter creating all files, check:\n\n- [ ] Naming follows project conventions across all layers\n- [ ] Import\u002Fexport statements are consistent\n- [ ] Error handling matches existing patterns\n- [ ] API response format is uniform\n- [ ] Component structure mirrors other panels\n- [ ] Registration metadata is complete\n- [ ] CSS class naming follows BEM or project convention\n\n### 6. Test Integration Points\n\nVerify that:\n\n```bash\n# Server route is registered\ngrep -r \"require.*{feature}-route\" server\u002F\n\n# Component is imported in registry\ngrep -r \"import.*{Feature}Panel\" client\u002Fconfig\u002F\n\n# Styles are imported\ngrep -r \"import.*{feature}-panel.css\" client\u002F\n```\n\n## Key Principles\n\n1. **Pattern before implementation**: Always read existing code first\n2. **Maintain consistency**: Match naming, structure, and style exactly\n3. **Complete the stack**: Don't leave layers incomplete\n4. **Follow the chain**: Backend → Service → Frontend → Registration → Styling\n5. **Verify integration**: Ensure all pieces connect properly\n\n## Common Pitfalls\n\n- Creating component before verifying API endpoint works\n- Inconsistent naming across layers (camelCase vs kebab-case)\n- Forgetting to register the panel in the appropriate config\n- Missing error handling in any layer\n- Skipping styling, leading to broken UI\n\n## Variations\n\n**For simple features**: May omit service layer if route logic is trivial\n\n**For complex features**: May need additional files:\n- Database migrations\u002Fmodels\n- Redux actions\u002Freducers (if using Redux)\n- Test files for each layer\n- Documentation files\n\n**For TypeScript projects**: Add `.d.ts` or `.ts` type definition files\n","# Create Full-Stack Panel Feature\n\nThis skill guides you through creating a complete, pattern-consistent panel feature across all application layers: backend API routes, service logic, frontend components, registration, and styling.\n\n## When to Use\n\n- Adding a new panel type to a dashboard or admin interface\n- Creating a feature that spans multiple architectural layers\n- Ensuring consistency with existing codebase patterns across the stack\n\n## Workflow Steps\n\n### 1. Identify Pattern Files\n\nLocate existing examples for each layer you need to implement:\n\n```bash\n# Find existing server routes\nfind . -name \"*route*.js\" -o -name \"*routes*.js\" | grep -E \"(panel|dashboard)\"\n\n# Find service files\nfind . -name \"*service*.js\" | grep -E \"(panel|dashboard)\"\n\n# Find UI components\nfind . -name \"*.jsx\" -o -name \"*.tsx\" | grep -i panel\n\n# Find registration\u002Fconfig files\nfind . -name \"*config*.js\" -o -name \"*registry*.js\"\n\n# Find styling files\nfind . -name \"*.css\" -o -name \"*.scss\" | grep -i panel\n```\n\n### 2. Read and Analyze Patterns\n\nRead 1-2 representative examples from **each layer** to understand:\n\n- Naming conventions (e.g., `MetricsPanel`, `metrics-service.js`)\n- Code structure and organization\n- Import\u002Fexport patterns\n- Registration mechanisms\n- API endpoint patterns\n- Error handling approaches\n- Styling conventions\n\n**Example analysis checklist:**\n\n```\nServer Route Pattern:\n- ✓ Endpoint naming: \u002Fapi\u002Fpanels\u002F{type}\n- ✓ Authentication middleware\n- ✓ Response format: { success, data, error }\n\nService Pattern:\n- ✓ Export structure: class vs functions\n- ✓ Data transformation logic\n- ✓ Error propagation\n\nComponent Pattern:\n- ✓ Props interface\n- ✓ State management (hooks\u002Fclass)\n- ✓ Data fetching approach\n- ✓ Loading\u002Ferror states\n\nRegistration Pattern:\n- ✓ Registry file location\n- ✓ Registration format (array\u002Fobject)\n- ✓ Required metadata fields\n```\n\n### 3. Plan Your Feature Files\n\nBased on patterns, list the files you need to create:\n\n**Typical full-stack panel structure:**\n1. **Server route** (e.g., `server\u002Froutes\u002Fsystem-health-route.js`)\n2. **Service layer** (e.g., `server\u002Fservices\u002Fsystem-health-service.js`)\n3. **UI component** (e.g., `client\u002Fcomponents\u002FSystemHealthPanel.jsx`)\n4. **Panel registration** (e.g., update `client\u002Fconfig\u002Fpanel-registry.js`)\n5. **Styling** (e.g., `client\u002Fstyles\u002Fsystem-health-panel.css`)\n6. **Type definitions** (if TypeScript, e.g., `types\u002Fsystem-health.ts`)\n\n### 4. Create Files in Order\n\n### 3b. Detect Project Framework\n\n**Before selecting templates in Step 4, determine the frontend framework in use:**\n\n```bash\n# Check for React\ngrep -s \"react\" package.json | head -5\n\n# Check for TypeScript without React (vanilla TS)\nls client\u002Fcomponents\u002F*.ts 2>\u002Fdev\u002Fnull | head -3\nls client\u002Fpanels\u002F*.ts 2>\u002Fdev\u002Fnull | head -3\n\n# Check for a Panel base class (common in vanilla TS dashboards)\ngrep -r \"class.*Panel\" client\u002F --include=\"*.ts\" -l | head -3\ngrep -r \"extends Panel\" client\u002F --include=\"*.ts\" -l | head -3\n```\n\n**Decision rule:**\n- If `react` or `react-dom` is present in `package.json` → use the **React\u002FJSX template** (Step 4C-React).\n- If components are `.ts` files extending a `Panel` base class → use the **Vanilla TS template** (Step 4C-Vanilla).\n- When in doubt, read one or two existing component files to confirm before proceeding.\n\n### 4. Create Files in Order\n\nGenerate files in dependency order (backend → frontend → registration):\n\n#### A. Server Route\n\n```javascript\n\u002F\u002F server\u002Froutes\u002F{feature}-route.js\nconst express = require('express');\nconst router = express.Router();\nconst featureService = require('..\u002Fservices\u002F{feature}-service');\n\nrouter.get('\u002Fapi\u002Fpanels\u002F{feature}', async (req, res) => {\n  try {\n    const data = await featureService.getData();\n    res.json({ success: true, data });\n  } catch (error) {\n    res.status(500).json({ success: false, error: error.message });\n  }\n});\n\nmodule.exports = router;\n```\n\n#### B. Service Layer\n\n```javascript\n\u002F\u002F server\u002Fservices\u002F{feature}-service.js\nclass FeatureService {\n  async getData() {\n    \u002F\u002F Implementation following existing service patterns\n    \u002F\u002F - Data fetching\n    \u002F\u002F - Business logic\n    \u002F\u002F - Data transformation\n    return processedData;\n  }\n}\n\nmodule.exports = new FeatureService();\n```\n\n#### C-React. UI Component (React\u002FJSX projects)\n\n*Use this template only when React is confirmed in Step 3b.*\n\n```javascript\n\u002F\u002F client\u002Fcomponents\u002F{Feature}Panel.jsx\nimport React, { useState, useEffect } from 'react';\nimport '.\u002Fstyles\u002F{feature}-panel.css';\n\nconst FeaturePanel = () => {\n  const [data, setData] = useState(null);\n  const [loading, setLoading] = useState(true);\n  const [error, setError] = useState(null);\n\n  useEffect(() => {\n    fetch('\u002Fapi\u002Fpanels\u002F{feature}')\n      .then(res => res.json())\n      .then(result => {\n        setData(result.data);\n        setLoading(false);\n      })\n      .catch(err => {\n        setError(err.message);\n        setLoading(false);\n      });\n  }, []);\n\n  if (loading) return \u003Cdiv>Loading...\u003C\u002Fdiv>;\n  if (error) return \u003Cdiv>Error: {error}\u003C\u002Fdiv>;\n\n  return (\n    \u003Cdiv className=\"{feature}-panel\">\n      {\u002F* Render data following UI patterns *\u002F}\n    \u003C\u002Fdiv>\n  );\n};\n\nexport default FeaturePanel;\n```\n\n#### C-Vanilla. UI Component (Vanilla TypeScript \u002F Panel base-class projects)\n\n*Use this template when components extend a Panel base class (no React).*\n\n```typescript\n\u002F\u002F client\u002Fpanels\u002F{Feature}Panel.ts\nimport { Panel } from '..\u002Fcore\u002FPanel';\n\nexport class FeaturePanel extends Panel {\n  private intervalId: number | null = null;\n\n  constructor(id: string) {\n    super(id);\n    this.setTitle('Feature Display Name');\n  }\n\n  async onLoad(): Promise\u003Cvoid> {\n    if (this.isFetching) return;\n    this.isFetching = true;\n    try {\n      const res = await fetch('\u002Fapi\u002Fpanels\u002F{feature}', {\n        headers: { Authorization: `Bearer ${localStorage.getItem('token') ?? ''}` }\n      });\n      if (!res.ok) throw new Error(`HTTP ${res.status}`);\n      const { data } = await res.json();\n      this.render(data);\n    } catch (err) {\n      this.showError(err instanceof Error ? err.message : String(err), () => this.onLoad());\n    } finally {\n      this.isFetching = false;\n    }\n  }\n\n  private render(data: unknown): void {\n    const container = document.createElement('div');\n    container.className = '{feature}-panel';\n    \u002F\u002F Build DOM nodes from data instead of JSX:\n    \u002F\u002F const item = document.createElement('p');\n    \u002F\u002F item.textContent = String(data);\n    \u002F\u002F container.appendChild(item);\n    this.setContent(container);\n  }\n\n  \u002F\u002F Call this to start polling (optional)\n  startPolling(intervalMs = 60_000): void {\n    this.onLoad();\n    this.intervalId = window.setInterval(() => this.onLoad(), intervalMs);\n  }\n\n  destroy(): void {\n    if (this.intervalId !== null) clearInterval(this.intervalId);\n    super.destroy();\n  }\n}\n```\n\n**Key differences from React template:**\n- Extends `Panel` base class; uses `setContent()` \u002F `showError()` \u002F `setTitle()` \u002F `setCount()` instead of React state.\n- DOM construction via `document.createElement` \u002F `innerHTML` instead of JSX.\n- No `useState` \u002F `useEffect`; lifecycle is `onLoad()` + `destroy()`.\n- File extension is `.ts`, not `.jsx`\u002F`.tsx`.\n- Registration passes a factory function or class constructor, not a JSX component.\n\n#### D. Panel Registration\n\n**React projects** — import the component directly:\n\n```javascript\n\u002F\u002F client\u002Fconfig\u002Fpanel-registry.js (update existing)\nimport FeaturePanel from '..\u002Fcomponents\u002FFeaturePanel';\n\nexport const panels = [\n  \u002F\u002F ... existing panels\n  {\n    id: '{feature}',\n    name: 'Feature Display Name',\n    component: FeaturePanel,\n    icon: 'icon-name',\n    category: 'appropriate-category'\n  }\n];\n```\n\n**Vanilla TS projects** — register via factory:\n\n```typescript\n\u002F\u002F client\u002Fconfig\u002Fpanel-registry.ts (update existing)\nimport { FeaturePanel } from '..\u002Fpanels\u002FFeaturePanel';\n\nexport const panels = [\n  \u002F\u002F ... existing panels\n  {\n    id: '{feature}',\n    name: 'Feature Display Name',\n    factory: (id: string) => new FeaturePanel(id),\n    icon: 'icon-name',\n    category: 'appropriate-category'\n  }\n];\n```\n\n#### E. Styling\n\n```css\n\u002F* client\u002Fstyles\u002F{feature}-panel.css *\u002F\n.{feature}-panel {\n  \u002F* Follow existing panel styling conventions *\u002F\n  padding: 1rem;\n  border-radius: 4px;\n}\n\n.{feature}-panel__header {\n  \u002F* Consistent header styling *\u002F\n}\n```\n\n### 5. Verify Pattern Consistency\n\nAfter creating all files, check:\n\n- [ ] Naming follows project conventions across all layers\n- [ ] Import\u002Fexport statements are consistent\n- [ ] Error handling matches existing patterns\n- [ ] API response format is uniform\n- [ ] Component structure mirrors other panels\n- [ ] Registration metadata is complete\n- [ ] CSS class naming follows BEM or project convention\n\n### 6. Test Integration Points\n\nVerify that:\n\n```bash\n# Server route is registered\ngrep -r \"require.*{feature}-route\" server\u002F\n\n# Component is imported in registry\ngrep -r \"import.*{Feature}Panel\" client\u002Fconfig\u002F\n\n# Styles are imported\ngrep -r \"import.*{feature}-panel.css\" client\u002F\n```\n\n## Key Principles\n\n1. **Pattern before implementation**: Always read existing code first\n2. **Maintain consistency**: Match naming, structure, and style exactly\n3. **Complete the stack**: Don't leave layers incomplete\n4. **Follow the chain**: Backend → Service → Frontend → Registration → Styling\n5. **Verify integration**: Ensure all pieces connect properly\n\n## Common Pitfalls\n\n- Creating component before verifying API endpoint works\n- Inconsistent naming across layers (camelCase vs kebab-case)\n- Forgetting to register the panel in the appropriate config\n- Missing error handling in any layer\n- Skipping styling, leading to broken UI\n\n## Variations\n\n**For simple features**: May omit service layer if route logic is trivial\n\n**For complex features**: May need additional files:\n- Database migrations\u002Fmodels\n- Redux actions\u002Freducers (if using Redux)\n- Test files for each layer\n- Documentation files\n\n**For TypeScript projects**: Add `.d.ts` or `.ts` type definition files\n",{"name":5,"description":7},"main","ff671ef61ed6587c49bd54c81cdc751c0b99e363","showcase\u002Fskills\u002Fcreate-full-stack-panel-feature","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":51,"prompt":61,"zipAvailable":62},[52,55,58],{"tool":53,"command":54},"npx","npx skills add AG064\u002FOpenSpace --skill create-full-stack-panel-feature",{"tool":56,"command":57},"bunx","bunx skills add AG064\u002FOpenSpace --skill create-full-stack-panel-feature",{"tool":59,"command":60},"pnpm","pnpm dlx skills add AG064\u002FOpenSpace --skill create-full-stack-panel-feature","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FAG064\u002FOpenSpace\u002Fblob\u002Fmain\u002Fshowcase\u002Fskills\u002Fcreate-full-stack-panel-feature\u002FSKILL.md",true,[64],{"path":65,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":68,"sourceHtmlUrl":69},".skill_id","OTHER","其他",45,"https:\u002F\u002Fgithub.com\u002FAG064\u002FOpenSpace\u002Fblob\u002Fmain\u002Fshowcase\u002Fskills\u002Fcreate-full-stack-panel-feature\u002F.skill_id",[71,93,110,119,146,162],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":38},"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",[],[78,79,80,81,82,83,27,84,85,86,87,32,88,89,90,91,92],"write special chars ts check","check","write","filters","Existing","type-checking","errors","script","output","type","only","template","file","python","typescript",{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":38},"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",[],[100,101,80,89,102,103,90,91,104,105,106,107,108,27,85,109],"readback","write special chars readback","cleanup","read","scripts","verification","via","post","helper","with",{"skillNo":111,"name":112,"nameZh":6,"description":113,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":114,"categories":115,"keywords":116,"publishedAt":38},"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",[],[80,117,91,27,106,89,118,90,85],"write special chars heredoc","shell",{"skillNo":120,"name":121,"nameZh":6,"description":122,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":123,"categories":124,"keywords":130,"publishedAt":38},"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",[125],{"categoryNo":126,"categoryName":127,"taxonomyType":128,"taxonomyTypeDesc":129},"01JBSEEDCAT000000000000033","数据分析师","PROFESSION","适用职业",[131,132,133,134,92,135,136,137,138,139,27,28,21,25,140,141,142,143,144,145],"reference","worldmonitor","worldmonitor reference","dashboard","css","architecture","extracting","hierarchy","source","edge functions","integrations","open","api","data","scheduler",{"skillNo":147,"name":148,"nameZh":6,"description":149,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":150,"categories":151,"keywords":152,"publishedAt":38},"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",[],[153,154,155,156,27,157,109,158,159,160,161],"virtual list","list","virtual","chunk","dom","rendering","recycling","implement","performance",{"skillNo":163,"name":164,"nameZh":6,"description":165,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":166,"categories":167,"keywords":168,"publishedAt":38},"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",[],[169,170,171,172,173,174,90,175,176,177],"directory","verify","structure","verify directory structure","access","first","issues","diagnose","file access"]