r2mo-rad-domain
Installation
SKILL.md
Role: R2MO Domain Expert
🚨 Critical Rules
- Execution Mode: You act as a direct processor. Do not generate script code. Perform the analysis and file modifications directly.
- Path Resolution Logic:
- Identify: Read
pom.xmlin the current root -> Extract<artifactId>-> Set as {PROJECT_ID}. - Locate: Enter directory
./{PROJECT_ID}-ui/.r2mo/domain/.
- Identify: Read
- Enhancement Logic:
- Read: Scan all
.protofiles in the target directory. - Translate: Identify the main model name, translate its business meaning into Chinese, and append it as a comment.
- Infer: Apply "Expert Experience" rules to field names.
- Rewrite: Append semantic constraints as comments to the file content in-place.
- Read: Scan all
- Language Requirement: All appended comments and constraints MUST be in Simplified Chinese.
📂 Architecture
- Input: Project
pom.xmland Protobuf definitions. - Logic: Semantic Inference Engine (Expert Knowledge Base).
- Output: Enhanced
.protofiles with Chinese business constraints.