
Oracle APEX 的 AI CLI 技能
概览
A导出Oracle APEX组件,修改导出的文件,应用数据库变更,并用 .格式导入所有内容。 该技能赋予 Claude Code 直接修改您的 Oracle APEX 应用程序的能力,方法包括: 1. 组件(页面、区域、LOV等)通过SQLcl分段导出 2.捆绑APEX 24.2导入API参考文档以理解导出格式 3.(通过SQLcl 创建表、ALTER、PL/SQL包)导出的SQL文件并附有请求修改 5.通过SQLcl补丁回APEX 6.结果(编译检查,重新导出差别) 所有步骤都通过 Bash 工具的 SQLcl CLI 执行——无需手动 SQL 或文件编辑。 该仓库还提供只读技能用于检查和模式学习: - 已安装 Claude Code CLI - 运行 Java 17 或 21 的 SQLcl 25.1+ 该技能通过 Bash 工具执行 SQLcl 命令。确认它是否可用: 打开SQLcl并保存一个连接到你的APEX数据库的连接:
概述(AI 翻译)
这是一个Claude代码技能,可以导出Oracle APEX组件,修改导出的文件,应用数据库变更,并用Oracle SQLcl CLI导入所有内容。
它的作用
该技能赋予 Claude Code 直接修改您的 Oracle APEX 应用程序的能力,方法包括:
- 通过SQLcl分流导出组件(页面、区域、LOV等)进行导出
- 阅读捆绑的APEX 24.2导入API参考文档以理解导出格式
- 应用数据库变更(通过SQLcl创建表、改变、PL/SQL包)
- 修补导出的SQL文件并附带请求修改
- **通过SQLcl将补丁组件导入回APEX
- 验证结果(编译检查,重新导出差分)
所有步骤都通过 Bash 工具的 SQLcl CLI 执行——无需手动 SQL 或文件编辑。
支持组件
| 类别 | 组成部分 |
|---|---|
| 页面层级 | 页面、区域、页面项目、按钮、进程、计算、分支 |
| 动态动作 | 事件,动作(完整的DA生命周期) |
| 验证 | 页面和项目级别验证 |
| 报告互动报告(IR)、互动网格(IG)、经典报告 |
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
Oracle APEX Component Modifier
A Claude Code Skill that exports Oracle APEX components, modifies the exported files, applies DB changes, and imports everything back — using Oracle SQLcl CLI.
What It Does
The skill gives Claude Code the ability to directly modify your Oracle APEX application by:
- Exporting a component (page, region, LOV, etc.) via SQLcl split export
- Reading bundled APEX 24.2 import-API reference docs to understand the export format
- Applying DB changes (CREATE TABLE, ALTER, PL/SQL packages) via SQLcl
- Patching the exported SQL files with the requested modifications
- Importing the patched component back into APEX via SQLcl
- Validating the result (compilation checks, re-export diff)
All steps run through SQLcl CLI via the Bash tool — no manual SQL or file editing required.
Supported Components
| Category | Components |
|---|---|
| Page-level | Pages, regions, page items, buttons, processes, computations, branches |
| Dynamic actions | Events, actions (full DA lifecycle) |
| Validations | Page and item-level validations |
| Reports | Interactive Reports (IR), Interactive Grids (IG), Classic Reports |
| Visualizations | JET Charts (bar, line, pie, etc.), Maps |
| Cards | Cards regions, card components, media, actions, icons |
| Forms | Form regions with DML processes |
| Faceted Search | Faceted search regions and facets |
| Navigation | Navigation menus, lists, breadcrumbs |
| Automation | Automations (actions, schedules) |
| Web sources | REST data sources and web source modules |
| Shared components | LOVs, authorization schemes, list entries, templates, build options, static files |
Companion Skills
This repo also provides read-only skills for inspection and pattern learning:
| Skill | Invocation | Purpose |
|---|---|---|
| apex-describe | /apex-describe PAGE:5 |
Describe an APEX page or component by reading its export |
| apex-export | /apex-export PAGE:5 |
Export a component without modification (read-only) |
| apex-learn | /apex-learn |
Export all components from an app, analyze conventions, and generate pattern files for future patching |
| sqlcl | /sqlcl |
General-purpose Oracle DB operations — SQL, schema inspection, data ops, Liquibase, Data Pump, CI/CD projects |
Prerequisites
- Claude Code CLI installed
- SQLcl 25.1+ with Java 17 or 21
Installation
1. Copy the skill into your project
cd your-project
# Clone the repo into a temp directory and copy the skill
git clone https://github.com/avhrst/apex.git /tmp/apex-skill
mkdir -p .claude/skills
推荐工具
换一个关键词,或者移除筛选条件。
安装
npx skillfish add avhrst/apex-component-modifier