Dv Generate Options — Development skill for Claude Code
从 Dataverse 环境重新生成 OptionSet 语义化常量模块 XRM.Options(默认同时生成「单文件」与「按实体拆分」两种模式),用于在 JS/HTML 中以 XRM.Options.entities.
How to install Dv Generate Options
Installs to ~/.claude/commands/jonny-xhl-power-platform-agent-dv-generate-options.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/jonny-xhl/power-platform-agent/HEAD/.claude/commands/dv-generate-options.md -o ~/.claude/commands/jonny-xhl-power-platform-agent-dv-generate-options.md Restart Claude Code, or start a new session, for it to be picked up.
What Dv Generate Options does
从 Dataverse 环境重新生成 OptionSet 语义化常量模块 `XRM.Options*`(默认**同时**生成「单文件」与「按实体拆分」两种模式),用于在 JS/HTML 中以 `XRM.Options.entities...` 取代 picklist 魔法数字。数据源为环境(非 YAML)。
参数: `$ARGUMENTS`(实体逻辑名,空格分隔,如 `contact account`;为空时默认 `contact`)
默认行为(`scripts/generate_xrm_options.py`)
- 实体:
$ARGUMENTS或默认contact - 模式:
single,split(两种都生成) include_global=true、env=dev、输出目录webresources/shared/js/- 常量名语言
en(英文标签→PascalCase,仅中文标签时回退Option{value}),显示标签zh
执行流程
Step 1: 运行生
Alternatives in Development
- Skill Decision Support — Present options with trade-offs for informed decision-making — use when choosing between approaches 2.8k ★
- Obsidian Ingest — Ingest a source into the vault — the vault rewrites itself around new knowledge 277 ★
- Generate Ddd — Generate DDD components 63 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Cc Notify Pretty
cc-notify-pretty是一个 macOS 通知脚本,用于在 Claude Code CLI 工具执行任务时向用户发送桌面通知。
Dv Sync Solution
将解决方案 YAML 中定义的所有组件批量同步到 Dataverse(完整流程:验证 → 计划 → 确认 → 按依赖顺序执行 → 验证)。
Dv Sync
将 YAML 元数据同步到 Dataverse(完整流程:验证 → 计划 → 确认 → 应用 → 验证)。
Power Platform Claude Skills
Claude Code custom skills for Power Platform & Dataverse architects.
Power Platform Skills
Claude Code skills for Microsoft Power Platform development: canvas apps, cloud flows, Dataverse ALM, and PCF
Wb Entity Edit
Load directions via mcpwork-buddywb_run("agent_docs", {"path": "entities/entity-edit-directions", "depth": "fu
Related Agents
UI UX Iterador Rapido
Use this agent whenever you need to quickly create or iterate unique and differentiated HTML/CSS designs—espec
JS Reviewer
Expert JavaScript/TypeScript front-end reviewer — Vue 3 (Options and Composition), Vue 2, Nuxt, and framework-
Paper Content Reviewer
论文内容审查 Agent。审查逻辑连贯性、论证结构、范围覆盖度、学术严谨性。支持计划审查(Gate 1)和结果验收(Gate 2)两种模式,由各主 Agent 的门控流程触发调用。