ruoyi-cloud-plus-best-practices

Unified best-practice skill for RuoYi-Cloud-Plus backend engineering. Use when designing, implementing, refactoring, or reviewing Java microservice code and you need one-pass guidance across DDD service modeling, foundational service/module split (ruoyi-common + ruoyi-api + ruoyi-modules), and project coding conventions.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "ruoyi-cloud-plus-best-practices" with this command: npx skills add hanfangyu/ruoyi-cloud-plus-best-practices/hanfangyu-ruoyi-cloud-plus-best-practices-ruoyi-cloud-plus-best-practices

RuoYi Cloud Plus Best Practices

Overview

Use this as the single entry skill for RuoYi-Cloud-Plus backend work. Apply it to keep architecture, base service boundaries, and code style consistent in one run.

Routing Rules

  1. Use DDD flow first when the task is a new domain capability, aggregate boundary change, or complex business refactor.
  2. Use basic-service flow first when the task is shared capability extraction or cross-service API design.
  3. Use code-convention flow first when the task is code review, PR cleanup, or style alignment.
  4. Run all three flows for medium-to-large feature delivery.

Unified Execution Flow

  1. Clarify scope and classify task type.
  • Task type: domain-design, base-capability, implementation, or review.
  • Map impacted modules: ruoyi-modules/*, ruoyi-api/*, ruoyi-common/*.
  1. Design architecture and boundaries.
  • Apply DDD package and dependency constraints.
  • Keep bounded context ownership clear.
  • Keep cross-service contracts in ruoyi-api.
  1. Place reusable capability correctly.
  • Put reusable infrastructure in ruoyi-common.
  • Put cross-service contracts in ruoyi-api.
  • Put provider and business orchestration in ruoyi-modules.
  1. Implement with project conventions.
  • Keep controller -> service -> mapper direction.
  • Keep BO/VO/Entity separation and conversion strategy.
  • Use required annotations for permission, logging, idempotency, transaction, and RPC.
  1. Run final quality checks.
  • Check dependency direction and module coupling.
  • Check API contract isolation from local entities.
  • Check formatting and naming alignment with project conventions.

Output Contract

When using this skill, always output:

  1. Scope classification and impacted modules.
  2. Architecture and dependency decisions.
  3. File-level implementation plan or change list.
  4. Convention and risk checklist.

References

  • DDD and layered design: references/ddd.md
  • Foundational service split: references/basic-service.md
  • Coding conventions and review checklist: references/code-convention.md

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

github-tools

Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.

Archived SourceRecently Updated
Coding

openclaw-version-monitor

监控 OpenClaw GitHub 版本更新,获取最新版本发布说明,翻译成中文, 并推送到 Telegram 和 Feishu。用于:(1) 定时检查版本更新 (2) 推送版本更新通知 (3) 生成中文版发布说明

Archived SourceRecently Updated
Coding

ask-claude

Delegate a task to Claude Code CLI and immediately report the result back in chat. Supports persistent sessions with full context memory. Safe execution: no data exfiltration, no external calls, file operations confined to workspace. Use when the user asks to run Claude, delegate a coding task, continue a previous Claude session, or any task benefiting from Claude Code's tools (file editing, code analysis, bash, etc.).

Archived SourceRecently Updated
Coding

ai-dating

This skill enables dating and matchmaking workflows. Use it when a user asks to make friends, find a partner, run matchmaking, or provide dating preferences/profile updates. The skill should execute `dating-cli` commands to complete profile setup, task creation/update, match checking, contact reveal, and review.

Archived SourceRecently Updated