Cube Add API
Developmentcube-add-apiCube Add API is an Agent Skill for development published in the NewLifeX/NewLife.Cube repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
(已迁移) 此技能已更名为 cube-add-page,请使用 cube-add-page 技能根据控制器创建前端页面。当你需要创建或修改 Cube 前端 API 文件时也请使用 cube-add-page。
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/NewLifeX/NewLife.Cube/blob/HEAD/NewLife.Cube.Vue/skills/cube-add-api/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/cube-add-api, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
cube-add-api(已迁移)
此技能已更名为 cube-add-page,功能已合并到
skills/cube-add-page/SKILL.md。
请使用 cube-add-page 技能:
- 根据后端 Controller 创建前端页面
- 配置菜单图标(
[Menu(Icon = "...")]) - 配置列表展示字段(
ListFields) - 创建前端 API 请求模块