Skip to content
cccskills
FreePublished on GitHub

nuxt-pages

PowerX Nuxt CRUD 页面与主题规范。

The English summary is being prepared. Showing the original description.

See how to install

Files included (1)

  • SKILL.md1.7 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

PowerX Nuxt Pages

步骤

  1. 打开 本文件内嵌规则。
  2. 按规则执行实现/校对。
  3. 完成后按核对清单验收。

核对点

  • 与 PowerX 当前代码结构、路径与命名一致。
  • 仅在传输层/契约层做职责内改动,不跨层越界。

规则(内嵌)

nuxt_pages.yaml

kind: ruleset
name: plugin/crud/frontend/nuxt_pages
version: 1

pages:
  resource: template
  files:
    - target: web-admin/app/pages/templates/index.vue
      template: builtin/nuxt_page_table
      params:
        title: "Templates"
        columns: ["name","description","updated_at"]
        actions: ["create","edit","delete","view"]
    - target: web-admin/app/pages/templates/[id].vue
      template: builtin/nuxt_page_detail
      params:
        title: "Template Detail"

theme:
  description: |
    浅色模式:使用浅色面板(如 `bg-white/95`)+ 深色前景(不超过 `text-gray-900`),禁止在浅色面板上放白色文字或图标。
    深色模式:完全对齐模板 CRUD 组件,面板使用深海军蓝 (`#0f192a`~`#111a2b`) 并辅以低饱和边框;标题 `#fdfcff`,正文/描述 `#d6e2ff` 附近,不得出现深灰文字。
    图标/按钮:所有状态图标(参考租户配置左侧纵向卡片)在浅色模式用 `text-primary-600`;暗色模式需改为高亮浅色(`#fdfcff` 或 `#93c5fd`),不可保留灰黑图标。
    页面开发必须参照模板 CRUD 组件的色阶搭配(面板、按钮、表格 hover 状态等),保证在明暗主题下对比度一致。

gates.require: [PG-FE-UI-001, PG-FE-RBAC-001]

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

PowerX API 命名、前缀配置、版本迁移与插件网关路径规范(/admin、/internal 边界)。

The English summary is being prepared. Showing the original description.

ArtisanCloud/PowerX382Updated Oct 20, 2026

PowerX 底座 Capability 治理与发布准入规则。用于审计 REST/OpenAPI/gRPC/Gin 生成的能力候选、正式 platform_capabilities 目录、Capability Registry 登记、agent_usable/permission_code/risk_level 元数据、ignore 清单和缺失能力;当用户要求“重新识别能力”“能力是否能发布”“补齐能力登记”“检查 capability-gen/audit/check”“底座接口暴露给插件/agent”时使用。

The English summary is being prepared. Showing the original description.

ArtisanCloud/PowerX382Updated Oct 20, 2026

PowerX REST 契约规则(资源命名、分页、错误、版本化)。

The English summary is being prepared. Showing the original description.

ArtisanCloud/PowerX382Updated Oct 20, 2026

PowerX CRUD 依赖注入规则(Deps 单入口、构造注入、跨传输复用)。

The English summary is being prepared. Showing the original description.

ArtisanCloud/PowerX382Updated Oct 20, 2026

PowerX CRUD DTO 规则(输入输出分离、分页、校验)。

The English summary is being prepared. Showing the original description.

ArtisanCloud/PowerX382Updated Oct 20, 2026

PowerX CRUD gRPC 开发规范(proto、server、拦截器、错误映射)。

The English summary is being prepared. Showing the original description.

ArtisanCloud/PowerX382Updated Oct 20, 2026

See all skills by ArtisanCloud

Report a problem with this skill