Blitz Report Development

For developers: build, convert, test and tune Blitz Reports and Blitz Uploads with Claude Code.

Install
  1. Add the Enginatics marketplace in Claude Code.
    /plugin marketplace add enginatics/ai-skills
  2. Install the plugin.
    /plugin install blitz-report-ai-skills@enginatics
  3. Set up the Blitz Report environment file (.claude/rules/blitz-environment.md) that the Blitz Report development skills use to reach the Oracle EBS development instance.
    /blitz-report-ai-skills:blitz-environment-setup

14 skills · 9 rule sets

DescriptionDownload
Environment Setup blitz-environment-setup
Set up the Blitz Report environment file (.claude/rules/blitz-environment.md) that the Blitz Report development skills use to reach the Oracle EBS development instance.
Getting Started MD
Convert Oracle Reports to Blitz Report convert-bip-and-rdf-reports-to-blitz
End-to-end conversion of Oracle RDF, BI Publisher, or Concurrent Program reports to Blitz Reports. Includes conversion rules, deployment, testing, duplicate detection, and iterative performance optimization.
Migration MD
Custom Reports Migration Rules custom-reports-migration
Rules for migrating custom Oracle EBS reports gathered by the Blitz Report Custom Reports Converter into Blitz Reports.
Rules
Migration MD
Discoverer Migration Rules discoverer-migration
Reviewing and finishing Oracle Discoverer workbooks converted to Blitz Reports.
Rules
Migration MD
Migrate Custom Reports migrate-custom-reports
Phase-2 engagement workflow for migrating a customer's gathered custom Oracle EBS reports (the Blitz Report Custom Reports Converter zip output) into Blitz Reports — inventory, extract SQL, classify each report into one of three outcomes (complete map / enhance / new custom build), build/recommend, categorize as "Custom Reports <ABBR>", and prove each report prints what the original prints (field inventory + value fidelity gate) on the conversion instance.
Migration MD
Migrate WebADI Integrators migrate-webadi
Convert a customer's Oracle WebADI integrators, gathered by the Blitz Report Custom Reports Converter (Include WebADI Integrators), into Blitz Uploads - inventory the gathered zip, generate a form analysis document per integrator from its definition, decide between a template of a shipped upload and a new upload, build it with the upload-builder skill keeping the integrator's commit behaviour, and prove it against the customer's own spreadsheet on an instance of the customer's release.
Migration MD
Oracle Report Analyzer rdf-analyzer
Analyze Oracle EBS standard reports (.rdf and XML Publisher data templates) to extract SQL queries, parameters, output structure, and PL/SQL logic.
Migration MD
WebADI Migration Rules webadi-migration
Converting Oracle WebADI integrators gathered by the Blitz Report Custom Reports Converter into Blitz Uploads.
Rules
Migration MD
EBS Performance Review ebs-performance-review
Server-wide Oracle EBS performance review for a customer from Blitz Report DBA extracts. Covers memory and parameter configuration, the top AWR SQLs, and literal-SQL hard parsing, and delivers corrected package code plus a one-table HTML summary.
Performance Tuning MD
Blitz Report Developer blitz-report-developer
Create and update Blitz Reports and uploads for Oracle EBS.
Report Development MD
Report Development Rules report-development
Blitz Report XML rules: parameters, LOVs, anchors, lexicals, templates, assignments, columns, the report engine.
Rules
Report Development MD
Development Workflow development-workflow
Working method for Blitz Report content development: baseline, change, deploy, re-run, regression-diff, test data rules, no hard-coded credentials.
Rules
Standards MD
EBS 11i Compatibility ebs-11i-compatibility
Making Blitz Report content work on Oracle EBS 11i and older databases: 11i twins, translations, version traps.
Rules
Standards MD
SQL and PL/SQL Coding Standards coding-standards
SQL and PL/SQL coding standards for Blitz Report content: report SQL, LOV queries, upload packages.
Rules
Standards MD
Report Performance Tuning tune-report-performance
Tune Blitz Report SQL performance by measuring buffer IO per row, identifying expensive components, and applying targeted fixes.
Testing and Tuning MD
Report Tester report-tester
Test a Blitz Report by running the original Oracle standard report and the Blitz version with the same parameters, then comparing output.
Testing and Tuning MD
ZIP Compatibility Fix fix-zip-compatibility
Re-compress a ZIP file for Oracle compatibility.
Testing and Tuning MD
Add DFF Handling to an Upload add-dff-to-upload
Add descriptive flexfield (DFF) handling to a Blitz Upload - context and attribute columns with context-dependent lists of values, segment prompts as column headers, Success SQL, and the PL/SQL that merges untouched segments, validates the DFF and converts display values to ids before the API call.
Upload Development MD
EBS API Patterns for Uploads upload-api-patterns
Oracle EBS module API specifics for Blitz Uploads (ONT, PO, INV, WIP, CST, AP, AR, HR, FA, CE, EAM, OPM, PA, QA and more).
Rules
Upload Development MD
Oracle Forms Analyzer oracle-forms-analyzer
Analyze Oracle EBS standard forms to extract field definitions, validation logic, LOV queries, defaulting rules, and API calls.
Upload Development MD
Upload Builder upload-builder
Build Blitz Upload XML definitions and PL/SQL processing packages for Oracle EBS.
Upload Development MD
Upload Development Rules upload-development
Blitz Upload XML and PL/SQL rules: upload columns, completeness checklist, processing package architecture, E2E testing.
Rules
Upload Development MD
Upload Validator upload-validator
Review a Blitz Upload against the Oracle standard form and run E2E tests.
Upload Development MD

Commands 10 slash commands in Claude Code

CommandWhat it doesUses
Analyze Oracle Form /blitz-report-ai-skills:analyze-form Analyze an Oracle EBS standard form to extract field definitions, validation logic, LOV queries, defaulting rules, and API calls.
Command text

Analyze an Oracle EBS standard form to extract field definitions, validation logic, LOV queries, defaulting rules, and API calls. Produces a structured Form Analysis Document (FAD).

Arguments

$ARGUMENTS should contain the Oracle form name (e.g., "FAXASSET", "APXINWKB") or OAF page description (e.g., "iProcurement requisition", "iExpenses entry").

Instructions

Load and follow the oracle-forms-analyzer skill. It provides the complete methodology for:

  1. Locating form source files and converting .fmb to readable format
  2. Extracting data blocks, fields, triggers, LOVs, KFFs, and DFFs
  3. Analyzing underlying database packages and APIs
  4. Producing the structured Form Analysis Document
  5. Completing the quality checklist before finishing
  6. Reporting any open questions that need user input

Output

A complete FAD named FAD_<MODULE>_<FORM>_<YYYYMMDD>.md (saved to /tmp on server or C:\Temp on Windows).

The FAD is used as input by the upload-builder and upload-validator skills.

commands/analyze-form.md on GitHub

Oracle Forms Analyzer, Upload Builder, Upload Validator
Analyze Oracle Report /blitz-report-ai-skills:analyze-rdf Analyze an Oracle EBS standard report (.rdf or XML Publisher data template) to extract SQL queries, parameters, output columns, formulas, and PL/SQL logic.
Command text

Analyze an Oracle EBS standard report (.rdf or XML Publisher data template) to extract SQL queries, parameters, output columns, formulas, and PL/SQL logic. Produces a structured Report Analysis Document (RAD).

Arguments

$ARGUMENTS should contain the report filename (e.g., "FADTXA.rdf"), concurrent program name (e.g., "FADTXA"), or a description (e.g., "FA Tax Reserve Report").

Instructions

Load and follow the rdf-analyzer skill. It provides the complete methodology for:

  1. Locating the report source file (.rdf or XML Publisher data template)
  2. Converting .rdf to readable XML using rwconverter (or strings fallback)
  3. Extracting SQL queries, parameters, groups, formulas, and PL/SQL triggers
  4. Documenting master-detail relationships and aggregates
  5. Identifying lexical parameters and SRW user exits
  6. Capturing request group assignments

Output

A complete RAD documenting everything needed to build the equivalent Blitz Report.

The RAD is used as input by the convert-bip-and-rdf-reports-to-blitz skill and the report-tester skill.

commands/analyze-rdf.md on GitHub

Convert Oracle Reports to Blitz Report, Oracle Report Analyzer, Report Tester
Build Upload /blitz-report-ai-skills:build-upload Build a Blitz Upload XML definition and PL/SQL processing package for Oracle EBS.
Command text

Build a Blitz Upload XML definition and PL/SQL processing package for Oracle EBS.

Arguments

$ARGUMENTS should contain the upload name and target module (e.g., "FA Asset Upload" or "CE Bank Statement Upload"). Optionally include a reference to a Form Analysis Document (FAD).

Instructions

Load and follow the upload-builder skill. It provides the complete methodology for:

  1. Designing the column list, PL/SQL package, and processing approach
  2. Building the validation function (with concatenated error messages)
  3. Building the processing procedure (auto-detect create/update)
  4. Building the XML definition (parameters, columns, LOVs, defaults, dependencies, and a Function-level <ASSIGNMENTS> block — update-enabled functions ONLY, never Form/Application/Request-Group; see upload-development skill I7)
  5. Deploying PL/SQL and importing XML to the development instance (see blitz-environment.md)
  6. Auto-generating dependencies and exporting clean XML
  7. Running the quality checklist before handoff

If no FAD is available, first run /analyze-form on the relevant Oracle form.

Output

  • PL/SQL package (spec + body) in sql/extensions/
  • Upload XML in content/r12/uploads/
  • Both deployed to the development instance and ready for testing

After building, run /review-upload to validate against the Oracle form and run E2E tests.

commands/build-upload.md on GitHub

Upload Builder, Upload Development Rules
Convert Report to Blitz /blitz-report-ai-skills:convert-report End-to-end automated conversion of an Oracle RDF, BI Publisher, or Concurrent Program report to Blitz Report format.
Command text

End-to-end automated conversion of an Oracle RDF, BI Publisher, or Concurrent Program report to Blitz Report format. Includes analysis, conversion, deployment, testing, duplicate detection, and iterative performance optimization.

Arguments

$ARGUMENTS should contain one of:

  • File path to source report folder or XML file
  • Concurrent program name (e.g., FADTXA)
  • Report description (e.g., "FA Tax Reserve Report")

If a folder is provided, look for both the auto-converted Blitz XML and the original RDF/BIP data template.

Instructions

Load and follow the convert-bip-and-rdf-reports-to-blitz skill. It covers both the conversion rules and the full end-to-end pipeline (see "End-to-End Conversion Pipeline" section).

All versioned XML files are placed in the same folder as the source files.

The converted report must ship with a top-level <ASSIGNMENTS> block so responsibilities can see it. Derive it data-driven (not by name prefix): the applications/request groups the report's data serves (mirror app→request-group), major-country localization request groups, and Form-level zoom assignments where applicable — see report-development skill "Report Assignments" (reach model, #1 mirror, #4 localization, #3 security, #5 forms). Prefer Request Group level for the concurrent program's request groups (fnd_request_group_units).

Output

  • Blitz Report XML definition (_v01.xml, _v02.xml, etc.)
  • Conversion Summary Report (markdown)
  • Performance before/after metrics

commands/convert-report.md on GitHub

Convert Oracle Reports to Blitz Report, Report Development Rules
Deploy PL/SQL to the Development Instance /blitz-report-ai-skills:deploy-plsql Deploy PL/SQL package changes to the development instance.
Command text

Deploy PL/SQL package changes to the development instance.

Connection

  • Connect to the development instance as described in blitz-environment.md (SQLPlus on its apps tier, or a SQLPlus client that can read the package files). DB login is apps/$APPS_PWD.

Instructions

  1. Identify modified PL/SQL via git status / git diff (your packages, e.g. sql/extensions/*.pks / *.pkb).
  2. Compile spec (.pks) before body (.pkb) when both changed — otherwise the body may fail (e.g. PLS-00307) and leave the package invalid → ORA-04063 at runtime.
  3. Packages may contain & and some .pkb lack a trailing /, so always set define off and add an explicit /:
    printf 'set define off\nwhenever sqlerror continue\n@<path>/XXEN_MY_PKG.pks\n/\nshow errors\nexit\n' | sqlplus -s apps/$APPS_PWD

    Repeat for the .pkb.

  4. After each file, check show errors and confirm the object is VALID:
    echo "select object_name,object_type,status from all_objects where owner='APPS' and object_name='XXEN_MY_PKG';" | sqlplus -s apps/$APPS_PWD
  5. If the package SPEC signature changed (a public subprogram or its parameters added/changed/removed), every dependent is invalidated. Recompile them so users don't hit ORA-04063:
    echo "exec dbms_utility.compile_schema(schema=>'APPS', compile_all=>FALSE);" | sqlplus -s apps/$APPS_PWD

    (Pre-existing Vision invalids that fail with ORA-00942/PLS-00302/datatype errors are unrelated noise — only worry about objects your change touched.)

  6. Report the deployment results (objects compiled, VALID status).

Arguments

If a specific package name is provided as $ARGUMENTS, only deploy that package. Otherwise, deploy all modified packages found in git status.

commands/deploy-plsql.md on GitHub

Deploy XML to the Development Instance /blitz-report-ai-skills:deploy-xml Import Blitz Report XML definition files to the development instance (see blitz-environment.md for how to reach it).
Command text

Import Blitz Report XML definition files to the development instance (see blitz-environment.md for how to reach it).

Instructions

  1. If $ARGUMENTS specifies a file, use that. Otherwise, identify modified XML files from git status under content/
  2. For each XML file to deploy (uploads: also lint the XML with ${CLAUDE_PLUGIN_ROOT}/scripts/lint_upload_xml.py before the import and check every LOV parses after it — the deploy procedure in blitz-environment.md):
    • Copy the file to a working directory on the apps tier of the development instance (e.g. /tmp)
    • Import from that directory: cd /tmp && $XXEN_TOP/bin/import_xml $APPS_PWD <filename>
    • Without apps-tier access, import the file content from a database session with xxen_api.import_xml(<clob>)
  3. Check the import output for errors
  4. Report results

Important

  • Always use the standard import script ($XXEN_TOP/bin/import_xml) or xxen_api.import_xml, never direct SQL on the xxen_* tables
  • The import script handles initialization, error handling, and logging properly
  • XML filenames should match what's in the content directory

commands/deploy-xml.md on GitHub

lint_upload_xml.py
Review Upload /blitz-report-ai-skills:review-upload Review a Blitz Upload against the Oracle standard form and run E2E tests.
Command text

Review a Blitz Upload against the Oracle standard form and run E2E tests. This is the comprehensive validation command that subsumes /validate-upload-xml and /test-upload.

Arguments

$ARGUMENTS should contain the upload name or XML file path (e.g., "FA Asset Upload" or "content/r12/uploads/FA_Asset_Upload.xml").

Instructions

Load and follow the upload-validator skill. It provides the complete methodology for:

  1. Phase 1: Form Analysis — analyze the Oracle form via oracle-forms-analyzer skill
  2. Phase 2: Review Checklist — compare upload against form across 10 categories:
    • Missing fields, field naming, field order
    • LOVs, defaulting logic, validation logic
    • KFF handling, processing logic
    • XML structure, success/error SQL
  3. Phase 3: E2E Testing — download template, create test data, upload, verify results
  4. Phase 4: Report Findings — structured report with BLOCKER/MAJOR/MINOR/SUGGESTION severity, issue IDs, passed checks, and recommended test scenarios

Output

A validation report with:

  • If BLOCKERs found: stop and request fixes before proceeding
  • If only MINOR/SUGGESTION issues: present them with recommended fixes
  • Passed checks listed for completeness

For quick checks without full form comparison:

  • /validate-upload-xml — XML structure checks only (Phase 2.9)
  • /test-upload — E2E testing only (Phase 3)

commands/review-upload.md on GitHub

Oracle Forms Analyzer, Upload Validator
Test Report /blitz-report-ai-skills:test-report Test a Blitz Report by running the original Oracle standard report and the Blitz version with the same parameters, then comparing output.
Command text

Test a Blitz Report by running the original Oracle standard report and the Blitz version with the same parameters, then comparing output.

Arguments

$ARGUMENTS should contain the Blitz Report name (e.g., "FA Tax Reserve Ledger") and optionally the original concurrent program name (e.g., "FADTXA").

Instructions

Load and follow the report-tester skill. It provides the complete methodology for:

  1. Finding test data that produces output (query data, check previous runs)
  2. Running the Oracle standard report via fnd_request.submit_request
  3. Running the Blitz Report via xxen_api.report_submit_concurrent
  4. Comparing outputs: row counts, key aggregates, column presence, data spot-checks
  5. Documenting discrepancies with root cause and fix suggestions

Output

A comparison report showing:

  • Whether both reports run successfully
  • Row count and aggregate matches
  • Any discrepancies with severity and suggested fixes
  • Parameters used (for reproducibility)

commands/test-report.md on GitHub

Report Tester
Test Upload E2E /blitz-report-ai-skills:test-upload Run a full end-to-end upload test on the development instance (see blitz-environment.md).
Command text

Run a full end-to-end upload test on the development instance (see blitz-environment.md).

Arguments

$ARGUMENTS should contain the report/upload name (e.g., "AR Transaction Upload") and optionally test data specifications.

Instructions

Phase 1: Download Template
  1. Connect as described in blitz-environment.md and run a PL/SQL block to download a fresh template:
    declare
    l_run_id number;
    l_request_id number;
    l_message varchar2(4000);
    begin
    fnd_global.apps_initialize(<user_id>,50553,101);
    mo_global.init('S');
    l_run_id:=xxen_api.create_run_id(<report_id>);
    -- Set required parameters (Operating Unit, Source, etc.) using:
    -- xxen_api.set_parameter_value_(p_parameter_name=>'Param', p_value=>'Value', p_report_name=>'Report Name', p_run_id=>l_run_id);
    l_message:=xxen_api.report_submit_concurrent(<report_id>, l_run_id, x_request_id=>l_request_id);
    commit;
    dbms_output.put_line('request_id: '||l_request_id);
    end;
  2. Wait for request to complete, then locate the output XLSM file
Phase 2: Modify Template
  1. Extract the XLSM (it's a ZIP file) to a working directory on the server
  2. Read the template headers from xl/worksheets/sheet1.xml to map column positions
  3. Add test data rows by modifying shared strings and worksheet XML
  4. Key rules:
    • Use shared string format (t="s" cells with shared string index references)
    • Column A = Action (set to "Create"), Column B = Status (set to "Valid")
    • Map data to correct column positions based on header names
    • Hidden columns (Operating Unit, Source, etc.) are at the END of the Excel
  5. Repack the XLSM
Phase 3: Upload
  1. Copy the modified XLSM to /tmp on the server
  2. Load into fnd_lobs via PL/SQL using bfilename('TMP', filename)
  3. Submit via xxen_upload.submit_upload_process with p_template_name=>null
  4. Wait for the concurrent request to complete
Phase 4: Verify Results
  1. Check the main upload request (from submit_upload_process) status — status_code='C' (Normal completion) is required
  2. Check the result report sub-request — look in the main request log for "Request id: NNNNN" after "Report completed". Check that sub-request also completed normally (status_code='C'). A status_code='E' (Error) on the result report means the Success SQL or output generation failed.
  3. Check upload data results in xxen_upload_data — verify column2 (status) = 'S' and column3 (message) shows expected outcome
  4. Verify the actual data was created/updated in the target Oracle tables
  5. Report success/failure with details

CRITICAL: A "Normal completion" on the upload process request does NOT mean the upload succeeded end-to-end. Always check:

  • The result report sub-request status (errors here mean the Success SQL failed, e.g. ORA-01799 if outer join used with subquery)
  • The row-level status in xxen_upload_data
  • The actual database records

Key IDs for Vision Instance

  • User: your own EBS user (select fu.user_id from fnd_user fu where fu.user_name='<YOUR_USER>'). Not OPERATIONS: it has no ICX_SESSIONS rows, so the template download fails with ORA-06502 in DBMS_LOB.
  • Responsibility: responsibility_id=50553, application_id=101
  • Operating Unit "Vision Operations": org_id=204
  • AR Transaction Upload: report_id=515
  • Batch Source "BR Manual": batch_source_id=1188

Gotchas

  • Python 2.7 on server (not 3), no Archive::Zip perl module
  • openpyxl creates inline strings that Blitz parser can't read
  • Oracle directory 'TMP' maps to /tmp for bfilename()
  • set serveroutput on size 1000000 (not unlimited)
  • Pass p_template_name=>null when no custom templates exist

commands/test-upload.md on GitHub

Validate Upload XML /blitz-report-ai-skills:validate-upload-xml Analyze a Blitz Report upload XML definition for common issues and consistency.
Command text

Analyze a Blitz Report upload XML definition for common issues and consistency.

Arguments

$ARGUMENTS should be the path to the XML file to validate (e.g., "content/r12/uploads/AR_Transaction_Upload.xml").

Checks to Perform

1. Column Consistency
  • Verify COLUMN_NAME entries match the SQL select columns
  • Check that UPLOAD_COLUMN_NUMBER assignments are sequential and correct
  • Ensure PARAMETER_TYPE_DSP matches the column data type
  • Verify VALUE_TO_ID_QUERY references are valid (if column has one)
  • Check that FREE_TEXT is set only on columns that must accept values outside their LOV
2. Upload Dependencies
  • For each DEFAULT_VALUE that contains :$column$.column_name references:
    • Verify a matching UPLOAD_DEPENDENCIES_ROW exists
    • Check column name matches exactly (case-sensitive)
  • Flag any orphaned dependencies (dependency without matching default value reference)
3. Parameter Dependencies
  • For each LOV query containing :$flex$.Parameter_Name references:
    • Verify a matching PARAMETER_DEPENDENCIES_ROW exists
    • Check parameter names match exactly
  • Verify null handling pattern: (:$flex$.Param is null or xxen_util.contains(:$flex$.Param, column)='Y')
4. Anchor Consistency
  • Every anchor referenced in PARAMETERS must be declared in ANCHORS section
  • Every anchor in the SQL (1=1, 2=2, etc.) should have parameters using it
  • Check SQL_TEXT syntax for each anchor type
5. Upload Object
  • Verify UPLOAD_OBJECT package.procedure exists in the codebase
  • Check procedure signature matches expected column mappings
6. General Quality
  • Check for proper XML escaping (& as &, etc.)
  • Verify GUID is present and unique
  • Check REPORT_TRANSLATIONS has at least one entry
  • Verify TYPE is 'U' for uploads

Output

Provide a summary of:

  • Total issues found (errors vs warnings)
  • List of each issue with location and suggested fix
  • Overall assessment (ready to deploy / needs fixes)

commands/validate-upload-xml.md on GitHub

Scripts checks the skills run on your files

ScriptWhat it doesUsed by
lint_plsql.py 37 KB Lint a PL/SQL package source file (.pks or .pkb) against the project's coding-standards.md rules. Exit code 0 = clean, non-zero = violations found.
Usage and checks
Lint a PL/SQL package source file (.pks or .pkb) against the project's
coding-standards.md rules. Exit code 0 = clean, non-zero = violations found.
Usage:
  python tools/lint_plsql.py [path1.pkb path2.pks ...]
  python tools/lint_plsql.py --all   # scan sql/ + sql/extensions/
Each violation is reported as:
  <file>:<line> RULE <id> - <message>
Rules currently checked (all have a stable ID matching coding-standards.md):
  R7    Two blank lines before AND after each top-level procedure (body only).
  R34   No `!=` outside string literals — use `<>`.
  R39a  No `andy_log` calls (debug-only, breaks on customer instances).
  R7-spec Single blank line between procedure declarations in the spec.
  R9    No spaces around assignment / comparison operators.
  R31a  Multi-table FROM clauses inside cursor SELECTs must put each table on
        its own line (basic check).
  R55   Every Oracle identifier must be <=30 bytes (procedure/function names,
        DDL object names) — over-30 compiles on 19c dev but fails on 11.2/12.1
        customers with PLS-00114 / ORA-00972.
  R56   No PL/SQL record type constructors (qualified expressions) — an 18c-only
        feature that compiles on 19c dev but fails on pre-18c customers with
        PLS-00222. Assign record fields individually instead.
  R57   Scripts that run BEFORE create_objects.sql (sql/upgrade_pre.sql) must
        reference custom xxen_ objects only through execute immediate, owner
        qualified. A static reference fails to compile at a first installation
        (ORA-00942) and kills the WHOLE anonymous block, silently.
Future rules can be added with a corresponding ID — keep IDs stable so
violations can be referenced in commit messages and grep-able.
Migrate WebADI Integrators, SQL and PL/SQL Coding Standards, Upload Development Rules
lint_upload_xml.py 44 KB Lint a Blitz Upload XML file against the Upload Completeness Checklist in .claude/rules/public/upload-development.md. Exit code 0 = clean, non-zero = violations.
Usage and checks
Lint a Blitz Upload XML file against the Upload Completeness Checklist
in `.claude/rules/public/upload-development.md`. Exit code 0 = clean, non-zero = violations.
Usage:
  python tools/lint_upload_xml.py <upload.xml> [<upload.xml>...]
  python tools/lint_upload_xml.py --all          (every r12 upload, all rules)
  python tools/lint_upload_xml.py --all-content  (every content XML, always-on rules only)
Rules checked (IDs match the Upload Completeness Checklist):
  A1     Mandatory framework columns: action_, status_, message_, modified_columns_, upload_row
  A3     UPLOAD_COLUMNS_ROW column numbers sequential 1..N
  A3T    Visible TEMPLATE_COLUMNS_ROW display sequences sequential 1..N (no midpoint decimals)
  B7     UPLOAD_PARAMETERS_ROW with COLUMN_NAME must reference an existing UPLOAD_COLUMNS_ROW (or framework internal)
  D2/D3  Yes-LOV pattern: column whose LOV_QUERY matches the canonical Yes-only pattern
         must use COLUMN_TYPE=LOV with LOV_NAME=Yes + LOV_GUID=8E2FF36EDEA679D2E0530100007F1FF2
  G1     Upload Mode parameter must use shared LOV (LOV_NAME=Blitz Upload Mode + GUID)
  G2     Upload Mode must bind `:p_upload_mode`, in SQL_TEXT or as the ANCHOR
  G3     Upload Mode literal default and template defaults must be C or C,U
  G4     Upload Mode parameter REQUIRED=Y
  H1     Error SQL row exists with NO SQL_TEXT (auto-generated)
  H2     Order By row exists
  H3     Success SQL row exists
  H3b    Success SQL must be Oracle-sourced (nvl(oracle, xu)), not a bare `xu` echo
         (flagged when the FROM references only the upload view)
  I+5    Read-only descriptor column (name contains DESCRIPTION) must have a DEFAULT_VALUE
         deriving it from its parent key via :$column$.<parent>
  I1     GUID present in REPORTS_ROW
  I2     REPORT_TRANSLATIONS with LANGUAGE=US present
  I7     Upload ASSIGNMENTS must be Function level only
  L1     LOV reuse heuristic: if LOV_QUERY fingerprint matches a known shared LOV
         entity (mtl_system_items_b_kfv with eam_item_type → EAM Asset Group, etc.),
         column should reference that shared LOV via LOV_NAME + LOV_GUID, not be `LOV custom`.
  P1     PARAMETERS_ROW with a DISPLAY_SEQUENCE must carry a PARAMETER_TYPE_DSP
         (checked for reports too, not just uploads)
  P2     every :$flex$ token in a parameter default or custom LOV names a parameter, LOV or value
         set of the same report and carries its leading colon (reports too; FSG reports exempt)
A file may suppress a specific rule with a documented XML comment, for the rare legitimate case
(e.g. a purge/converter/tool upload that persists nothing to re-query, so an echo Success SQL is correct):
  <!-- lint-ignore: H3b purge upload — nothing persisted to re-query, echo is correct -->
/deploy-xml, Blitz Report Developer, Upload Builder, Upload Development Rules

Templates files the skills fill in with you

TemplateWhat it isUsed by
Blitz Report Environment blitz-environment.md The Blitz Report skills read this file to reach your Oracle EBS instances. Keep it in your project as .claude/rules/blitz-environment.md so it loads in every session. Never put production credentials here: use $APPS_PWD and other environment variables, set in your shell.
Template

The Blitz Report skills read this file to reach your Oracle EBS instances. Keep it in your project as .claude/rules/blitz-environment.md so it loads in every session. Never put production credentials here: use $APPS_PWD and other environment variables, set in your shell.

Instances

RoleConnectNotes
development instance<host>:<port>/<service>EBS release and database version, XXEN_TOP, APPLCSF, where the apps tier environment file is
conversion instanceWhere migrated reports (Custom Reports Converter, Discoverer) are built and tested; often the development instance
11i instanceOnly when you develop content for EBS 11i

Never develop or test on production. The skills submit reports and uploads, compile packages and import content on the development instance.

Database access

How Claude runs SQL on the development instance, for example the Oracle SQLcl MCP server (sql -mcp) with a saved connection, or SQLcl/SQL*Plus from the shell: sql -S apps/$APPS_PWD@<host>:<port>/<service>.

Apps tier access

How Claude reaches the apps tier, if at all (SSH user and host, key authentication). Without apps tier access, content is imported over SQL with xxen_api.import_xml(<clob>) and request output is fetched with xxen_util.concurrent_request_file_url(<request_id>).

Deploy

  • Content XML: on the apps tier cd <dir> && $XXEN_TOP/bin/import_xml $APPS_PWD <file>.xml, or over SQL xxen_api.import_xml(<clob>).
  • PL/SQL: compile the spec before the body, set define off, then show errors.

Session initialisation for tests

fnd_global.apps_initialize(<user_id>,<responsibility_id>,<application_id>);
mo_global.init('<application short name>');

Test user, responsibilities, operating unit, ledger, inventory organization and open periods on the development instance:

templates/blitz-environment.md on GitHub

Environment Setup