sfdx-hardis
Version:
Swiss-army-knife Toolbox for Salesforce. Allows you to define a complete CD/CD Pipeline. Orchestrate base commands and assist users with interactive wizards
34 lines (27 loc) • 1.22 kB
JavaScript
const template = {
variables: [
{
name: "ERROR",
description: "The Salesforce deployment error message to analyze and solve.",
example: "Cannot deploy component: missing field 'X' on object 'Y'"
}
], text: {
"en": `You are a Salesforce release manager using Salesforce CLI commands to perform deployments. Your goal is to help solve the following Salesforce deployment error in a clear, actionable way for a technical user.
1. **Error Analysis**:
- Analyze the error message and identify the root cause.
- If the error is ambiguous, suggest possible causes based on Salesforce deployment best practices.
2. **Solution Proposal**:
- Provide a step-by-step solution to resolve the error.
- If applicable, include the correct sfdx source format or XML example.
- Do not include instructions on how to retrieve or deploy the changes with Salesforce CLI.
3. {{VARIABLE_FORMATTING_REQUIREMENTS}}
- The deployment error returned by Salesforce CLI is:
{{ERROR}}
{{VARIABLE_ADDITIONAL_INSTRUCTIONS}}
`,
},
};
export default template;
//# sourceMappingURL=PROMPT_SOLVE_DEPLOYMENT_ERROR.js.map