com um clique
zuora-api-build
Generate or update Zuora integration code using the selected APIs
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Menu
Generate or update Zuora integration code using the selected APIs
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Baseado na classificação ocupacional SOC
Generate Credit Memos / Debit Memos migration implementation artifacts based on the plan
Produce Credit Memos / Debit Memos migration strategy, code inventory, and phases
This skill should be used when the user mentions "Zuora API", "Zuora SDK", "Zuora Billing", "Zuora Revenue", "Zuora CPQ", "Zuora Payments", "subscription billing", "invoice settlement", "zuora-mcp", "rate plan", "product rate plan charge", "order API", or discusses integration with Zuora systems. Do not activate for generic billing or subscription discussions that are not Zuora-specific.
Compose an importable Zuora Workflow JSON from a design or requirement
Design a Zuora Workflow-based solution
Generate legacy Zuora CPQ Apex, Visualforce, Component Library, zQuoteUtil, controller extension, or plugin-interface artifacts directly into a Salesforce DX repo
| name | zuora-api-build |
| description | Generate or update Zuora integration code using the selected APIs |
| argument-hint | <language> <API or requirement description> |
| allowed-tools | ["Read","Write","Edit","Glob","Grep","Bash","Agent","mcp__zuora-mcp__zuora_codegen","mcp__zuora-mcp__ask_zuora","mcp__zuora-mcp__query_objects"] |
Codex-only path resolution: When an instruction refers to ${CLAUDE_PLUGIN_ROOT}, treat it as the root of this installed plugin. In Codex, resolve that root as the ancestor directory containing skills/, references/, and .codex-plugin/.
You are generating Zuora integration code. The user has either already run /zuora-api-design or is describing what they want to build.
The user's request: $ARGUMENTS
This build skill depends on mcp__zuora-mcp__zuora_codegen for API specs, model fields, enum values, SDK idioms, and code rules. Do not use generic product knowledge for code generation details. mcp__zuora-mcp__ask_zuora is allowed only as a fallback for a specific product-behavior question that remains after codegen and references are checked; include the exact uncertainty and sources already checked.
Identify the target language (Java, Python, Node.js, C#, curl). If not specified, ask the user. Understand what APIs and operations are needed.
This sequence is critical — call mcp__zuora-mcp__zuora_codegen in this exact order:
code_guidance with the target language — get SDK setup instructions and workflow guidance. This MUST be called first.list_api_classes — if the right API class is unclear, list all available classes to find the right one.get_class_apis — for the relevant class(es), get all available API methods.get_api_details — for each endpoint you will use, get method signature, parameters, request/response models.get_model_details — for ALL request and response models you will use. This is mandatory to get actual field names, types, and enum values. Call this for each model class. For complex field types, recursively call get_model_details(fieldTypeName).code_rules — get language-specific coding rules. This MUST be called before presenting code to the user.For simple queries (single API, known models), you may skip step 2 and go directly to step 3.
If the request involves custom fields (fields ending in __c) on any Zuora object:
mcp__zuora-mcp__query_objects with objectType=<objectName> and help=fields to retrieve the live field schema from the tenant.properties map in the response — custom field names are case-sensitive and must be used verbatim as returned (e.g., Region__c, not region__c).query_objects returns no properties (no tenant context), ask the user to provide the exact names.Following the patterns from code_guidance and rules from code_rules:
get_model_details response.execute() calls, SDK enum constantsAsync suffix on async methodsRead ${CLAUDE_PLUGIN_ROOT}/references/api-integration-patterns.md and ${CLAUDE_PLUGIN_ROOT}/references/best-practices.md. Apply relevant patterns to the generated code.
If the user's project context is clear (they're working in a repo), write code to appropriate files. Otherwise, present the code inline.
Recommend the user run /zuora-validate on the generated code to check for correctness.
get_model_details.__c fields) — always resolve them from the live tenant via query_objects help=fields (Step 2.5). Custom field names are case-sensitive.setName() in Java — use fluent builder pattern.