schema-gen

Merge common_schema.yaml with category overrides to generate OCI Resource Manager UI schemas.

3|2|Updated Sep 25, 2025
One-click install
npx skills add https://github.com/oci-ai-incubations/ai-accelerator-starter-packs --skill schema-gen
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: schema-gen
Source: https://github.com/oci-ai-incubations/ai-accelerator-starter-packs/tree/main/.claude/skills/schema-gen
Command: npx skills add https://github.com/oci-ai-incubations/ai-accelerator-starter-packs --skill schema-gen

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Generate a reusable, category-aware UI schema for OCI Resource Manager to simplify setup of starter packs and ensure consistency across categories.

Core Features & Use Cases

  • Merge common_schema.yaml with category-specific overrides to produce a final UI schema
  • Update starter_pack_category.auto.tfvars automatically as categories change
  • Ideal for adding new starter-pack categories or refining existing ones in CI/CD

Quick Start

Run create_final_schema.py for a specific category to generate the final UI schema.

Frequently Asked Questions about schema-gen

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I auto-generate OCI Resource Manager UI schemas for starter pack categories?

You can auto-generate OCI Resource Manager UI schemas by running create_final_schema.py, which merges common_schema.yaml with category-specific overrides to produce a final unified schema for starter packs.

What is the mechanism for merging common and category-specific Terraform UI schemas?

The schema generation mechanism merges a base common_schema.yaml file with category-specific overrides, ensuring consistent UI configurations while allowing unique starter pack variables across different categories.

Can I integrate OCI schema generation into a CI/CD pipeline to auto-update Terraform variables?

Yes, you can integrate this into CI pipelines to auto-update schemas and automatically modify the starter_pack_category.auto.tfvars file whenever starter pack categories change.

Do I need pytest to validate generated OCI Resource Manager schemas?

Yes, pytest is used to run schema tests, validating the final generated OCI Resource Manager UI schemas to ensure correctness after merging common and category-specific configurations.

What's the best way to manage multiple starter pack categories in OCI Resource Manager?

The best way to manage multiple starter pack categories is using a category-aware schema generator that merges common configurations with overrides and automatically updates starter_pack_category.auto.tfvars.