Community研究与数据分析github.com

EastDong314/agent-skills

针对ruoyi-vue-pro/Yudao项目进行开发,涵盖后端模块、Vue3管理后台UI、uni-app UI、SQL、权限及数据集成边界。

agent-skills 是什么?

该技能专为基于ruoyi-vue-pro或Yudao框架的项目开发而设计,适用于Claude Code、Cursor等具备技能文件的AI代理。它指导开发者遵循项目分支和环境约定,并通过一系列引用文件(如后端约定、前端Vue3/uni-app约定、MySQL SQL规范、集成边界等)提供结构化的开发流程。技能强调在编码前先检查附近已实现的模块、设计数据模型和API契约,并遵循全局规则,如数据库变更必须使用SQL、前端仅通过API与后端通信、避免引入不必要的依赖等。这有助于保持代码一致性、减少手动检查工作,并自动验证后端编译、前端类型检查和SQL权限与编码问题,从而提高开发效率并降低错误率。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/EastDong314/agent-skills/tree/HEAD/skills/ruoyi-vue-pro-dev

Installed? Explore more 研究与数据分析 skills: affaan-m/uspto-database, affaan-m/scholar-evaluation, affaan-m/literature-review · View all 6 →

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

ruoyi-vue-pro 开发

使用此技能进行基于ruoyi-vue-pro / Yudao框架的开发。请先遵循实际仓库分支;这些注释仅补充代理经常遗漏的约定。

快速工作流

  1. 明确模块、管理端/用户端、页面入口、权限、租户/数据范围需求、字典、导入/导出、审计/日志,以及项目所选分支/JDK。
  2. 在编辑之前检查附近已实现的模块。复用现有的Controller、Service、Mapper、VO、API、页面和SQL模式。
  3. 在实现之前设计数据模型、API契约、权限字符串、菜单和字典。保持SQL与后端注解和前端权限检查一致。
  4. 仅读取任务所需的参考文件:
    • 仓库结构和分支检查:references/repo-map.md
    • 后端约定:references/backend-conventions.md
    • Vue3管理前端:references/frontend-vue3-conventions.md
    • uni-app前端:references/frontend-uniapp-conventions.md
    • MySQL SQL、菜单、权限、字典:references/db-mysql-conventions.md
    • Redis / 分析数据库 / 外部系统边界:references/integration-boundaries.md
    • 模拟或种子数据:references/mock-data.md
  5. 通过最小相关检查进行验证:编译/测试所触及的后端模块、类型检查/lint所触及的前端包,并审查生成的SQL中的权限和编码问题。

全局规则

  • 保持文件为UTF-8编码。技能/参考文件和新项目文件优先使用LF行尾。
  • 任何数据库变更必须表示为SQL(模式和数据)。
  • 前端只调用后端API。不允许浏览器、应用或大屏页面直接连接数据库、Redis或消息代理。
  • 在现有ruoyi/Yudao模块、框架辅助工具或平台功能不足以满足需求之前,不要添加新的依赖项。
  • 仅在无法安全推断模块、入口、权限、数据所有权或报表语义时,才提出有针对性的问题。

Individual skills in this repo

This repo contains 4 individual skills — each has its own dedicated page.

EastDong314/agent-skills

查询《中华人民共和国民法典》条文原文(1260 条 / 7 编 84 章 / 附则)。当用户询问民法典的任何条文或制度时使用,例如「第 1042 条」「离婚冷静期」「居住权」「保证合同」「高空抛物」「诉讼时效」「夫妻共同债务」;也用于需要引述、比对、解释民法典原文的场景。回答必须逐字引用条文原文并标注条号,不做改写。 | Look up verbatim articles of the PRC Civil Code (中华人民共和国民法典). Use when the user asks about any Civil Code article, needs the exact statutory text, or wants to cite, quote, or compare provisions.

EastDong314/agent-skills

管理 Ricky 的本地 Obsidian 知识库(默认 $HOME/workspace/notes):创建、读取、更新、删除、搜索、重构、入库(ingest)、体检(lint)、建索引与整理笔记。当用户要求管理 Obsidian 笔记、知识库内容、日记、项目笔记、资料入库(source-to-wiki)、backlinks、tags、YAML frontmatter、Properties、Bases、Dataview 字段或查询、wiki 链接、嵌入、callout、canvas、网页剪藏,或用本地 Obsidian 应用/CLI 打开笔记时使用。 | Create, read, update, delete, search, refactor, ingest, lint, index, and organize Ricky's local Obsidian vault at $HOME/workspace/notes (override with OBSIDIAN_VAULT). Use when an AI coding agent is asked to manage Obsidian notes, knowledge-base content, daily notes, project notes, source-to-wiki ingestion, backlinks, tags, YAML frontmatter, Properties, Bases, Dataview fields or queries, wiki links, embeds, callouts, canvases, web clipping, or to open notes in the local Obsidian app/CLI.

EastDong314/agent-skills

专注过度设计的代码审查。找出可删除的内容:重复造轮子的标准库、不必要的依赖、投机性抽象、无用的灵活性。每个发现一行:位置、要删什么、用什么替代。当用户说「review for over-engineering」「what can we delete」「is this over-engineered」「simplify review」或调用 /ponytail-review 时使用。作为专注正确性的审查的补充,本技能只追查复杂度。 | reinvented standard library, unneeded dependencies, speculative abstractions, dead flexibility. One line per finding: location, what to cut, what replaces it. Use when the user says "review for over-engineering", "what can we delete", "is this over-engineered", "simplify review", or invokes /ponytail-review. Complements correctness-focused review, this one only hunts complexity.

EastDong314/agent-skills

Investigate a bug, regression, flaky behavior, or unclear backend failure with an evidence-first debugging workflow before jumping into fixes. Use when Codex should establish a reproducible feedback loop, rank hypotheses, inspect the real failing path, and only then propose or apply changes.

相关技能