[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6HX70G0JR4C7JNVEC1M0F27":3,"skill-same:01M6HX70G0JR4C7JNVEC1M0F27":72},{"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":6,"ownerHtmlUrl":49,"ownerBlogUrl":50,"ownerDescription":6,"updatedAt":51,"install":52,"resources":65},"01M6HX70G0JR4C7JNVEC1M0F27","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.","HKUDS\u002FAgentPilot","HKUDS","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F118165258?v=4","01M6HW8VRNZP64G0P4MVJW2KKQ","✨Data Intelligence Lab@HKU✨","01M6HW8VWZVHBRHYH3T330PFWV",8029,"MIT","https:\u002F\u002Fgithub.com\u002FHKUDS\u002FAgentPilot\u002Fblob\u002Fmain\u002Fopenspace\u002Fexamples\u002Fmy-daily-monitor\u002Fskills\u002Fcreate-full-stack-panel-feature\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"full","create full stack panel feature","panel","feature","full stack","stack","create","analyzing","files","registration","services","workflow","server","complete","ui components","multi","for","Existing","features","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","6b84b0689ca0d9e7b1e4061188ff6b60758e0f8a","openspace\u002Fexamples\u002Fmy-daily-monitor\u002Fskills\u002Fcreate-full-stack-panel-feature",944,"https:\u002F\u002Fgithub.com\u002FHKUDS\u002FAgentPilot","https:\u002F\u002Fgithub.com\u002FHKUDS","https:\u002F\u002Fsites.google.com\u002Fview\u002Fchaoh","2026-11-12 22:26:39",{"source":8,"skillName":5,"commands":53,"prompt":63,"zipAvailable":64},[54,57,60],{"tool":55,"command":56},"npx","npx skills add HKUDS\u002FAgentPilot --skill create-full-stack-panel-feature",{"tool":58,"command":59},"bunx","bunx skills add HKUDS\u002FAgentPilot --skill create-full-stack-panel-feature",{"tool":61,"command":62},"pnpm","pnpm dlx skills add HKUDS\u002FAgentPilot --skill create-full-stack-panel-feature","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FHKUDS\u002FAgentPilot\u002Fblob\u002Fmain\u002Fopenspace\u002Fexamples\u002Fmy-daily-monitor\u002Fskills\u002Fcreate-full-stack-panel-feature\u002FSKILL.md",true,[66],{"path":67,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":70,"sourceHtmlUrl":71},".skill_id","OTHER","其他",45,"https:\u002F\u002Fgithub.com\u002FHKUDS\u002FAgentPilot\u002Fblob\u002Fmain\u002Fopenspace\u002Fexamples\u002Fmy-daily-monitor\u002Fskills\u002Fcreate-full-stack-panel-feature\u002F.skill_id",[73,93,112,132,153,174],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":39},"01M6HYB297NDABRERJRVG0K8R0","agentpilot","Set up AgentPilot and use its single entry to prepare missing inputs and run configured RSI experiments. Use when the user requests AgentPilot installation or work with AgentPilot.","https:\u002F\u002Fgithub.com\u002FHKUDS\u002FAgentPilot\u002Fblob\u002Fmain\u002Fplugins\u002Fagentpilot\u002Fskills\u002Fagentpilot\u002FSKILL.md",[],[75,80,81,82,83,84,85,86,87,88,89,90,91,92],"prepare","requests","with","missing","installation","rsi","up","use","user","work","SET","run","experiments",{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":39},"01M6HYAYWXTTE1J7DJM0MFNQ4H","remember","Review auto-memory entries and propose promotions to OPENSPACE.md, OPENSPACE.local.md, or retained auto-memory topics; detect duplicates, stale facts, conflicts, and ambiguous entries before making changes.","https:\u002F\u002Fgithub.com\u002FHKUDS\u002FAgentPilot\u002Fblob\u002Fmain\u002Fopenspace\u002Fopenspace\u002Fskills\u002Fremember\u002FSKILL.md",[],[95,100,101,102,103,104,105,106,107,108,109,110,111],"memory","review","auto","openspace","changes","facts","detect","entries","local","conflicts","stale","duplicates",{"skillNo":113,"name":114,"nameZh":6,"description":115,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":116,"categories":117,"keywords":118,"publishedAt":39},"01M6HYAVMPM4SBDV60R2B5HPV8","skill-discovery","Search reusable OpenSpace skills locally, and browse cloud packages step by step when a cloud skill may help. Reusing proven skills saves tokens, improves reliability, and extends your capabilities beyond built-in tools.","https:\u002F\u002Fgithub.com\u002FHKUDS\u002FAgentPilot\u002Fblob\u002Fmain\u002Fopenspace\u002Fopenspace\u002Fhost_skills\u002Fskill-discovery\u002FSKILL.md",[],[119,120,121,103,122,123,124,125,126,127,128,129,130,131],"skill discovery","discovery","reusable","step by step","tokens","packages","help","cloud","reliability","capabilities","browse","search","Tools",{"skillNo":133,"name":134,"nameZh":6,"description":135,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":136,"categories":137,"keywords":138,"publishedAt":39},"01M6HYAR811B3RB0M50RBEDGN6","delegate-task","Delegate tasks to OpenSpace — a full-stack autonomous worker for coding, DevOps, web research, and desktop automation, backed by an extensive MCP tool and skill library. Skills auto-improve through use, reducing token consumption over time. A cloud community lets agents share and collectively evolve reusable skills.","https:\u002F\u002Fgithub.com\u002FHKUDS\u002FAgentPilot\u002Fblob\u002Fmain\u002Fopenspace\u002Fopenspace\u002Fhost_skills\u002Fdelegate-task\u002FSKILL.md",[],[139,140,141,103,142,143,144,145,146,121,102,87,147,148,24,35,149,150,151,152],"delegate","task","delegate task","time","improve","desktop automation","worker","community","autonomous","tool","share","tasks","automation","MCP",{"skillNo":154,"name":155,"nameZh":6,"description":156,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":157,"categories":158,"keywords":159,"publishedAt":39},"01M6HYAM9FSGV6E52AYENDQXYH","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\u002FHKUDS\u002FAgentPilot\u002Fblob\u002Fmain\u002Fopenspace\u002Flegacy\u002Fv1\u002Fshowcase\u002Fskills\u002Fwrite-special-chars-ts-check\u002FSKILL.md",[],[160,161,162,163,27,164,165,166,167,168,169,170,36,171,35,172,173],"write special chars ts check","write","check","type","filters","only","template","file","python","typescript","output","type-checking","errors","script",{"skillNo":175,"name":176,"nameZh":6,"description":177,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":178,"categories":179,"keywords":180,"publishedAt":39},"01M6HYAH05HGV7SVWSVR8PJRQD","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\u002FHKUDS\u002FAgentPilot\u002Fblob\u002Fmain\u002Fopenspace\u002Flegacy\u002Fv1\u002Fshowcase\u002Fskills\u002Fwrite-special-chars-readback\u002FSKILL.md",[],[181,182,161,82,35,173,183,184,185,186,187,166,167,188,189,168],"write special chars readback","readback","helper","post","via","scripts","read","verification","cleanup"]