AgentSkillsCN

paneldev

NatStack面板开发文档——包含钩子、合约、文件系统、Git、AI。克隆并阅读SKILL.md即可开始。

SKILL.md
--- frontmatter
name: paneldev
description: NatStack panel development docs - hooks, contracts, filesystem, git, AI. Clone and read SKILL.md to start.

Panel Development Skill

Documentation for developing NatStack panels in restricted mode (OPFS sandbox).

Files

DocumentContent
PANEL_DEVELOPMENT.mdHooks, fs, workers, templates
PANEL_SYSTEM.mdAPI reference
RPC.mdTyped parent-child contracts
AI.mdAI and browser automation
TOOLS.mdAgent tools reference
WORKFLOW.mdDevelopment workflow

Quick Start

  1. Clone: WorkspaceClone({ repo_spec: "skills/paneldev" })
  2. Read: Read({ file_path: "/workspace/skills/paneldev/PANEL_DEVELOPMENT.md" })

Panel Template

tsx
// panels/my-app/index.tsx
export default function MyApp() {
  return <div>Hello World!</div>;
}
json
// panels/my-app/package.json
{
  "name": "@workspace-panels/my-app",
  "natstack": { "type": "app", "title": "My App" }
}

Common Tasks

TaskCommand
Discover reposWorkspaceList({ category: "panels" })
Clone a repoWorkspaceClone({ repo_spec: "panels/..." })
Check contextContextInfo()
Git statusGitStatus({ path: "/workspace/..." })
CommitGitCommit({ message: "...", path: "/workspace/..." })