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
61 lines (50 loc) • 3.59 kB
JavaScript
const template = {
variables: [
{
name: "PACKAGE_NAME",
description: "The name of the package to describe.",
example: "Pardot"
},
{
name: "PACKAGE_XML",
description: "The JsonL metadata for the package",
example: "{\"SubscriberPackageName\":\"Pardot\",\"SubscriberPackageNamespace\":\"pi\",\"SubscriberPackageVersionNumber\":\"1.0.0\",\"SubscriberPackageVersionId\":\"04t1t0000000abcAAA\",\"SubscriberPackageVersionName\":\"Pardot Version 1.0\"}"
},
{
name: "PACKAGE_METADATAS",
description: "A list of all metadata items (Apex classes, objects, flows, etc.) in the org that are provided by this package (namespaced).",
example: "ApexClass: pi__MyClass, CustomObject: pi__MyObject, Flow: pi__MyFlow",
truncateAfter: 100000
}
],
text: {
"en": `You are a skilled business analyst working on a Salesforce project. Your goal is to summarize the content and behavior of the Salesforce Installed package "{{PACKAGE_NAME}}" in plain English, providing a detailed explanation suitable for a business user. {{VARIABLE_OUTPUT_FORMAT_MARKDOWN_DOC}}
### Instructions:
1. **Contextual Overview**:
- Browse the internet using Google to find the package's official documentation and provide an overview of its purpose and capabilities, with links to the documentation.
- If you found the package's official documentation, summarize its key features and functionalities.
- If you can not find the package's official documentation, provide a general overview based on the package attributes and its metadata components (but do not output the list of metadatas, it will be for paragraph 2).
- Include any relevant information about the package's intended use cases or target audience.
- If you can find other relevant information about the package, like articles or blog posts, in english or in the prompt reply language, provide them as a list of links
- If you find the AppExchange page, include it in your response. Otherwise, don't mention it.
- If you find the package's GitHub repository, include it in your response. Otherwise, don't mention it.
- If you find the vendor information, include it in your response. Otherwise, don't mention it.
- Make sure that hyperlinks are not dead links leading to 404 pages.
2. **Package Metadata**:
- Review the list of metadata items (Apex classes, objects, flows, etc.) provided by this package, as listed in reference data.
- Highlight the most important or business-relevant components.
3. {{VARIABLE_FORMATTING_REQUIREMENTS}}
### Reference Data:
- The attributes for Installed package "{{PACKAGE_NAME}}" are:
{{PACKAGE_XML}}
- The list of metadata items provided by this package is:
{{PACKAGE_METADATAS}}
- Many Salesforce managed packages are published by third-party vendors. You can find the package's vendor information in the Salesforce AppExchange (https://appexchange.salesforce.com/).
- There are also many open-source packages available on GitHub (github.com)
- Other relevant sources for articles or blog posts about the package may include the vendor's website, community forums, or Salesforce-related blogs, like Salesforce Ben or medium.com. Do not mention these source if you don't have a direct link to a page explicitly related to package "{{PACKAGE_NAME}}".
{{VARIABLE_ADDITIONAL_INSTRUCTIONS}}
`,
},
};
export default template;
//# sourceMappingURL=PROMPT_DESCRIBE_PACKAGE.js.map