Community研究與資料分析github.com

EastDong314/agent-skills

針對 ruoyi-vue-pro / Yudao 專案進行開發,涵蓋後端模組、Vue3 管理後台、uni-app 前端、SQL、權限與資料整合邊界。

agent-skills 是什麼?

此技能專為使用 ruoyi-vue-pro 或 Yudao 框架的開發者設計,提供基於 AI 代理的開發輔助。它支援後端模組、Vue3 管理後台、uni-app 前端、SQL 資料庫操作、權限管理以及資料整合邊界等開發任務。技能的核心在於引導 AI 代理遵循專案慣例,首先釐清模組、頁面入口、權限、租戶/資料範圍、字典、匯入匯出、審計日誌等需求,然後參考附近已實作模組的 Controller、Service、Mapper、VO、API、頁面和 SQL 模式進行編寫。它要求開發者在實作前先設計資料模型、API 合約、權限字串、選單和字典,並確保 SQL 與後端註解及前端權限檢查一致。此技能支援 Claude Code、Cursor、Codex 等 AI 編碼工具,透過參考文件(如 repository map、後端慣例、前端慣例等)來減少錯誤,並在編譯、型別檢查、Lint 和 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.

相關技能