Skip to content
Skillv1.0.0

pc

PC - 电脑端界面

by sail-sail(0) 0 installs
Free
Sign in to install

Free account. Installing gives you the manifest plus copy-paste snippets.

See reviews

About

Imported from sail-sail/nest (pc/AGENTS.md). Install upstream with npx skills add sail-sail/nest --skill pc. Copyright stays with the author.

PC - 电脑端界面

目录约定

目录 说明
src/views/{mod}/{table}/ 生成的 CRUD 视图
src/components/ 通用组件(不需要import即可全局引用)

生成文件结构

src/views/{mod}/{table}/
├── Model.ts    # 类型定义
├── List.vue    # 列表页(搜索/表格/分页)
├── Detail.vue  # 新增/编辑弹窗
├── TreeList.vue  # 树形列表页
├── SelectInput.vue  # 选择输入
├── Api.ts      # GraphQL 操作
└── Api2.ts     # 自定义 GraphQL 接口

Use it

Copy one of these into your project. Installing also returns the manifest and these snippets.

yaml
targets:
  - https://api.opensmartroute.ai/api/v1/registry/sail-sail-nest-pc/manifest   # or paste the manifest below

Manifest

An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.

sail-sail-nest-pc.ocm.jsonjson
{
  "ocm": "1",
  "id": "sail-sail-nest-pc",
  "kind": "skill",
  "name": "pc",
  "description": "PC - 电脑端界面",
  "publisher": "sail-sail",
  "version": "1.0.0",
  "capabilities": {
    "domains": [
      "general"
    ],
    "tags": [
      "skill-md",
      "github-agents"
    ],
    "languages": [
      "en"
    ]
  },
  "quality_prior": 0.6,
  "examples": [
    "PC - 电脑端界面"
  ],
  "primary": false,
  "metadata": {
    "source": {
      "provider": "github-agents",
      "repository": "https://github.com/sail-sail/nest",
      "path": "pc/AGENTS.md",
      "ref": "5611d7ade67b011ecfe6d06cf4ec1d0f6e9573e9",
      "url": "https://github.com/sail-sail/nest/blob/5611d7ade67b011ecfe6d06cf4ec1d0f6e9573e9/pc/AGENTS.md",
      "key": "sail-sail/nest/pc/AGENTS.md"
    }
  },
  "instructions": "# PC - 电脑端界面\n\n## 目录约定\n\n| 目录 | 说明 |\n|------|------|\n| `src/views/{mod}/{table}/` | 生成的 CRUD 视图 |\n| `src/components/` | 通用组件(不需要import即可全局引用) |\n\n## 生成文件结构\n\n```\nsrc/views/{mod}/{table}/\n├── Model.ts    # 类型定义\n├── List.vue    # 列表页(搜索/表格/分页)\n├── Detail.vue  # 新增/编辑弹窗\n├── TreeList.vue  # 树形列表页\n├── SelectInput.vue  # 选择输入\n├── Api.ts      # GraphQL 操作\n└── Api2.ts     # 自定义 GraphQL 接口\n```",
  "cost": {
    "context_tokens": 95
  }
}

Fetch it by URL: GET /api/v1/registry/sail-sail-nest-pc/manifest?version=1.0.0

Reviews

Star ratings from people who tried it. One review per account; edit yours any time.

No reviews yet. Install it, try it, and be the first to rate it.