Token导航 LogoToken导航

Agent Skill · 前端设计

pure-admin-crud-generator(纯管理 CRUD 生成器)

pure-admin-crud-generator 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

pure-admin-crud-generator 是前端设计类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描已通过,按安装量在前端设计类的 10,216 个 Skill 里排第 6,080。

总安装 559周安装 24GitHub Stars 公开资料未说明下载 196核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:pure-admin-crud-generator(纯管理 CRUD 生成器)
来源仓库:https://github.com/go-sphere/skills
仓库路径:skills/pure-admin-crud-generator
安装命令:
npx skills add https://github.com/go-sphere/skills --skill pure-admin-crud-generator
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/go-sphere/skills --skill pure-admin-crud-generator

这个 Skill 是做什么的

前端设计类 Skill 关注页面结构、视觉规范和组件写法,输出通常是可运行的界面代码。

用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。适合在需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库和原始 README 核验具体用法。安装方式:通过 npx 从指定 GitHub 仓库添加技能。建议确认权限范围、维护状态及是否会触发联网或文件读写。

来源仓库内路径:skills/pure-admin-crud-generator

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/go-sphere/skills --skill pure-admin-crud-gener…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

pure-admin-crud-generator 怎么安装?

在终端执行 npx skills add https://github.com/go-sphere/skills --skill pure-admin-crud-generator。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

pure-admin-crud-generator 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

pure-admin-crud-generator 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

pure-admin-crud-generator 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

pure-admin-crud-generator 用的人多吗?

公开数据是累计安装 559 次,近一周安装 24 次,下载 196 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

pure-admin-crud-generator 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理前端设计类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

前端设计类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
frontend-design

前端设计 · Codex、Claude

8,823,360126,072只读MIT通过
vercel-composition-patterns

Vercel 组合模式 · Codex、Claude

3,858,81625,893需要联网MIT通过
vercel-react-native-skills

Vercel React native skills 前端 · Codex、Claude

2,468,66425,878只读MIT通过
adapt

adapt 搜索 · Codex、Claude

2,027,04023,125操作浏览器未明确通过
bolder

bolder 分析 · Codex、Claude

2,004,28823,130只读未明确通过
pure-admin-crud-generator

纯管理 CRUD 生成器 · 本页

559—需要联网未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Pure Admin Thin CRUD Generator

Overview

Generate runnable Vue pages under src/views/<module>/ and route modules under src/router/modules/ from local swagger-ts-api output in src/api/swagger/Api.ts and API wrapper behavior in src/api/api.ts.

This is an AI-first generator skill. Do not use external OpenAPI generators and do not add helper codegen scripts.

When to Use

ALWAYS use this skill when the user asks to scaffold or update pure-admin-thin admin pages, including:

  • CRUD pages (index.vue, edit.vue, optional detail.vue)
  • dashboard-first admin pages
  • route module files under src/router/modules
  • action buttons backed by non-CRUD APIs (retry/enable/disable/export etc.)
  • ANY admin management interface in a pure-admin-thin project

Trigger examples:

  • "Generate admin pages for user management"
  • "Create CRUD for voice-features module"
  • "Add dashboard view for analytics"
  • "Scaffold edit and detail pages for product management"
  • "Generate route module and views for order management"

Hard Gates

These are non-optional. If any gate fails, stop and report blocking issues.

  1. Parse and generate from local Api.ts + api.ts only.
  2. Do not regenerate API clients with external tools.
  3. Do not create reusable business UI component libraries.
  4. Use Element Plus components for page UI.
  5. Do not add runtime dependencies only for generated pages.
  6. Keep repository conventions first; only fallback to generic heuristics if local patterns are missing.
  7. Page name must match route name for keepAlive to work.
  8. Route name must be unique across the application.
  9. Use satisfies RouteConfigsTable for route module type safety.

If the module name is too vague (e.g., just "management"), ask for clarification before proceeding. If the API definition file doesn't exist, ask if the user wants to generate with generic REST patterns (noting the limitation in output).

Progressive Reference Loading

Phase 1: Always Read First

  1. references/output-contract.md - Output format requirements
  2. references/api-parsing-rules.md - API classification rules

Phase 2: Load On Demand

  1. pageMode=crud or mixed: references/page-generation-spec.md
  2. pageMode=dashboard: references/dashboard-best-practices.md
  3. Need RBAC permissions: references/rbac-permissions.md
  4. Need type declarations: references/type-declarations.md

Phase 3: Final Gate

Run through references/completion-checklist.md before output.

Input Contract

Required and optional generation inputs:

  • moduleSelector (required): module tag/entity/path keyword (e.g., "user", "voice-features", "order").
  • selectorMode (optional, default auto): auto | tag | entity | path.
  • forceDetailPage (optional, default auto): auto | true | false.
  • pageMode (optional, default crud): crud | dashboard | mixed.
  • routeBase (optional, default /<kebab-module>).
  • outputMode (fixed): full file contents only.

Examples:

  • User says: "Generate pages for user management" → moduleSelector="user", infer module from API tags
  • User says: "Create dashboard for voice-generate-text" → moduleSelector="voice-generate-text", pageMode="dashboard"
  • User says: "Add edit page for product module" → moduleSelector="product", generate edit.vue + route module

If the user provides only a vague module name, resolve with selectorMode=auto and explicitly state matched methods.

Repository Facts

Use these local assumptions first:

  • API calls go through API from src/api/api.ts.
  • API already unwraps axios response once.
  • Swagger methods are under new Api().api in src/api/swagger/Api.ts.
  • Method doc blocks include @tags, @name, @summary, @request.
  • Routes are auto-collected via import.meta.glob("./modules/**/*.ts"); route index edits are usually unnecessary.

Workflow

Quick Path (Simple CRUD)

For simple CRUD operations with clear API patterns:

  1. Parse API definitions (list, detail, create, update, delete endpoints)
  2. Infer data structures from response types
  3. Generate standard file set: index.vue, edit.vue, route module
  4. Skip detailed validation notes
  5. Use condensed output format

Full Path (Complex/Dashboard)

For dashboard pages, custom actions, or complex workflows:

  1. Parse API definitions with full classification
  2. Analyze data structures and relationships
  3. Plan file set based on pageMode
  4. Generate pages with full error/retry handling
  5. Apply dashboard best practices if needed
  6. Use full output format with capability matrix

Output Contract

Condensed Output (Simple Tasks)

For straightforward CRUD with clear API patterns, use:

  1. Recognized APIs - Brief list of matched endpoints
  2. Files - File paths
  3. File Contents - Full Vue files
  4. Route Registration - Brief route module

Full Output (Complex Tasks)

For dashboards or complex pages, include all sections:

  1. Scaffold Fit Decision - Module config summary
  2. Recognized APIs - Full endpoint list with classification
  3. API Capability Matrix - What operations are available
  4. Files - File paths
  5. File Contents - Full Vue files
  6. Route Registration - Full route module with meta
  7. Validation Notes - Assumptions and risks
  8. Blocking Issues - Only if any gate fails

Use references/output-contract.md for detailed format.

Degrade Gracefully

When full CRUD is not available:

  • Generate only valid pages/operations based on available endpoints
  • Remove unsupported actions from UI (e.g., no delete button if no delete endpoint)
  • Explicitly report missing CRUD endpoints in output
  • Keep code runnable even when some operations are unavailable

Common degradation scenarios:

  • Only list endpoint → generate list page only, disable create/edit/delete buttons
  • List + create only → generate index + edit (create mode), no edit for existing items
  • No detail endpoint → omit detail page or disable view action

Optional VueUse Policy

VueUse composables are optional. Use them only when complexity justifies it and @vueuse/core already exists in the project.

  • do not add dependency automatically
  • keep manual ref/reactive flow for simple pages
  • when available in this session, vueuse-functions can be used for composable selection patterns

Completion Checklist

Before returning, verify ALL of the following:

  1. Output format: Section order matches output contract (condensed or full based on task complexity)
  2. Type safety: Generated files compile under pnpm typecheck
  3. Pagination: Internal state is 0-based, UI displays 1-based (pageIndex + 1)
  4. Route id handling: Invalid id shows error message, does NOT silently fallback to create mode
  5. Filters: Only include filters that match real API query parameters
  6. Delete safety: All delete/destructive actions use ElMessageBox.confirm
  7. Runtime safety: Uncertain API fields use Array.isArray() guards
  8. Missing endpoints: Explicitly report which CRUD operations are unavailable
  9. Route module: Root route redirects to /index, hidden routes use showLink: false
  10. Page name: Vue component name matches route name for keepAlive
  11. Dashboard quality (if dashboard mode): Has filter + metrics + main content + actions, per-region retry
  12. Route uniqueness: No duplicate route names across the application

平台分布

Codex

37.21%
按下载量换算73

Claude

27.75%
按下载量换算54

Cursor

19.43%
按下载量换算38

Gemini CLI

9.96%
按下载量换算20

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills