{"id":44383016,"url":"https://github.com/salesforcecli/plugin-metadata-enrichment","last_synced_at":"2026-02-17T23:13:35.916Z","repository":{"id":336564730,"uuid":"1135928436","full_name":"salesforcecli/plugin-metadata-enrichment","owner":"salesforcecli","description":null,"archived":false,"fork":false,"pushed_at":"2026-02-11T22:01:19.000Z","size":1498,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-12T07:05:30.368Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/salesforcecli.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-01-16T19:45:59.000Z","updated_at":"2026-02-11T22:01:23.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/salesforcecli/plugin-metadata-enrichment","commit_stats":null,"previous_names":["salesforcecli/plugin-metadata-enrichment"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/salesforcecli/plugin-metadata-enrichment","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salesforcecli%2Fplugin-metadata-enrichment","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salesforcecli%2Fplugin-metadata-enrichment/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salesforcecli%2Fplugin-metadata-enrichment/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salesforcecli%2Fplugin-metadata-enrichment/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/salesforcecli","download_url":"https://codeload.github.com/salesforcecli/plugin-metadata-enrichment/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salesforcecli%2Fplugin-metadata-enrichment/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29561825,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-17T21:50:49.831Z","status":"ssl_error","status_checked_at":"2026-02-17T21:46:15.313Z","response_time":100,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-02-12T00:09:57.480Z","updated_at":"2026-02-17T23:13:35.904Z","avatar_url":"https://github.com/salesforcecli.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# plugin-metadata-enrichment\n\n[![NPM](https://img.shields.io/npm/v/@salesforce/plugin-metadata-enrichment.svg?label=@salesforce/plugin-metadata-enrichment)](https://www.npmjs.com/package/@salesforce/plugin-metadata-enrichment) [![Downloads/week](https://img.shields.io/npm/dw/@salesforce/plugin-metadata-enrichment.svg)](https://npmjs.org/package/@salesforce/plugin-metadata-enrichment) [![License](https://img.shields.io/badge/License-Apache--2.0-blue.svg)](https://opensource.org/license/apache-2-0)\n\n## Install\n\n```bash\nsf plugins install @salesforce/plugin-metadata-enrichment@x.y.z\n```\n\n## Issues\n\nPlease report any issues at https://github.com/forcedotcom/cli/issues\n\n## Contributing\n\n1. Please read our [Code of Conduct](CODE_OF_CONDUCT.md)\n2. Create a new issue before starting your project so that we can keep track of\n   what you are trying to add/fix. That way, we can also offer suggestions or\n   let you know if there is already an effort in progress.\n3. Fork this repository.\n4. [Build the plugin locally](#build)\n5. Create a _topic_ branch in your fork. Note, this step is recommended but technically not required if contributing using a fork.\n6. Edit the code in your fork.\n7. Write appropriate tests for your changes. Try to achieve at least 95% code coverage on any new code. No pull request will be accepted without unit tests.\n8. Sign CLA (see [CLA](#cla) below).\n9. Send us a pull request when you are done. We'll review your code, suggest any needed changes, and merge it in.\n\n### CLA\n\nExternal contributors will be required to sign a Contributor's License\nAgreement. You can do so by going to https://cla.salesforce.com/sign-cla.\n\n### Build\n\nTo build the plugin locally, make sure to have yarn installed and run the following commands:\n\n```bash\n# Clone the repository\ngit clone git@github.com:salesforcecli/plugin-metadata-enrichment\n\n# Install the dependencies and compile\nyarn \u0026\u0026 yarn build\n```\n\nTo use your plugin, run using the local `./bin/dev` or `./bin/dev.cmd` file.\n\n```bash\n# Run using local run file.\n./bin/dev metadata enrich\n```\n\nThere should be no differences when running via the Salesforce CLI or using the local run file. However, it can be useful to link the plugin to do some additional testing or run your commands from anywhere on your machine.\n\n```bash\n# Link your plugin to the sf cli\nsf plugins link .\n# To verify\nsf plugins\n```\n\n## Commands\n\n\u003c!-- commands --\u003e\n\n- [`sf metadata enrich`](#sf-metadata-enrich)\n\n## `sf metadata enrich`\n\nEnrich metadata components in your DX project by adding AI-generated descriptions.\n\n```\nUSAGE\n  $ sf metadata enrich -o \u003cvalue\u003e -m \u003cvalue\u003e... [--json] [--flags-dir \u003cvalue\u003e]\n\nFLAGS\n  -m, --metadata=\u003cvalue\u003e...  (required) Metadata type and optional component name to enrich.\n  -o, --target-org=\u003cvalue\u003e   (required) Username or alias of the target org. Not required if the `target-org`\n                             configuration variable is already set.\n\nGLOBAL FLAGS\n  --flags-dir=\u003cvalue\u003e  Import flag values from a directory.\n  --json               Format output as json.\n\nDESCRIPTION\n  Enrich metadata components in your DX project by adding AI-generated descriptions.\n\n  Use this command to add AI-generated descriptions right in the metadata source files in your local DX project. These\n  enriched descriptions succinctly outline the metadata component’s purpose and capabilities, which in turn provide\n  context when vibe coding with an AI tool, such as Agentforce Vibes.\n\n  This command updates only the local metadata source files in your DX project; it doesn't change the components in your\n  org. If you want the AI-generated descriptions in your org, then you must explicitly deploy the updated metadata\n  components to your org by using, for example, the \"project deploy start\" CLI command.\n\n  To enrich multiple metadata components, specify multiple --metadata \u003cname\u003e flags. Enclose names that contain spaces in\n  double quotes.\n\n  Even though this command updates only local files in your DX project, you're still required to authorize and specify\n  an org, which is how the command accesses a large language model (LLM).\n\n  Currently, this command supports enriching only Lightning Web Components, represented by the LightningComponentBundle\n  metadata type.\n\n  Your org must be eligible for metadata enrichment. Your Salesforce admin can help with that.\n\nEXAMPLES\n  Enrich the \"HelloWorld\" LightningComponentBundle metadata component in the local DX project; use your default org:\n\n    $ sf metadata enrich --metadata LightningComponentBundle:HelloWorld\n\n  Enrich the \"HelloWorld\" LightningComponentBundle metadata component and use the org with alias \"my-org\":\n\n    $ sf metadata enrich --metadata LightningComponentBundle:HelloWorld --target-org my-org\n\n  Enrich metadata for multiple LightningComponentBundles using your default org:\n\n    $ sf metadata enrich --metadata LightningComponentBundle:Component1 --metadata \\\n      LightningComponentBundle:Component2\n\n  Enrich metadata for multiple LightningComponentBundles using a matching wildcard:\n\n    $ sf metadata enrich --metadata \"LightningComponentBundle:Component\\*\"\n\nFLAG DESCRIPTIONS\n  -m, --metadata=\u003cvalue\u003e...  Metadata type and optional component name to enrich.\n\n    Wildcards (\"_\") are supported as long as you use double quotes, such as \"LightningComponentBundle:MyClass_\".\n```\n\n_See code: [src/commands/metadata/enrich.ts](https://github.com/salesforcecli/plugin-metadata-enrichment/blob/0.0.3/src/commands/metadata/enrich.ts)_\n\n\u003c!-- commandsstop --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsalesforcecli%2Fplugin-metadata-enrichment","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsalesforcecli%2Fplugin-metadata-enrichment","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsalesforcecli%2Fplugin-metadata-enrichment/lists"}