experience-lds-graphql-generate
A Salesforce skill for building Lightning Web Components that use the Lightning Data Service GraphQL API.
スキルの内容
A Salesforce skill for building Lightning Web Components that use the Lightning Data Service GraphQL API. The agent obtains the org's GraphQL schema through a bundled shell script that uses the sf CLI, identifies the objects and fields involved, and introspects them step by step before writing a read query or a mutation that matches the schema. It then wires the query into the component through lightning/uiGraphQLApi, including the HTML and JavaScript, and tests it against a connected org with a second script. It needs the sf CLI with an authorised org and Python 3.
できること
- Fetch an org's LDS GraphQL schema
- Write schema-checked GraphQL read queries and mutations
- Wire GraphQL queries into an LWC
- Test a query against a connected org
概要
- 公開元
- Salesforce
- ツール
- Salesforce
インストール
- すべてのクライアントに追加するには、次のコマンドを実行します:
npx skills add forcedotcom/sf-skills
含まれるファイル
- references/generation-guide.md
- references/generation-mutation.md
- references/generation-query.md
- scripts/fetch-lds-graphql-schema.sh
- scripts/test-lds-graphql-query.sh
MCPサーバーやスキルは、お使いのコンピューターでコードを実行したり、データを操作したりできます。インストールする前にソースを確認してください。
このスキルには、エージェントが実行する可能性のあるスクリプトが含まれています。
詳細
| 項目 | 内容 | 出典 |
|---|---|---|
| 種類 | スキル | |
| ツール | Salesforce | |
| 公開元 | Salesforce | 出典 |
| 公式かどうか | 公式Salesforce's developer documentation for its skills and plugins links to the forcedotcom/sf-skills repository | 出典 |
| APIキーまたはサインインが必要 | ドキュメントに記載なし | |
| スクリプトを含む | はい | 出典 |
| プラットフォーム | ドキュメントに記載なし | |
| AIクライアント | ドキュメントに記載なし | |
| ライセンス | Apache-2.0 | 出典 |
| 料金 | ドキュメントに記載なし | |
| 活動状況 | 最終コミット 2026年11月6日GitHubスター 1,156ダウンロード数のデータなし(npm・PyPIで未公開) | 出典 |
| リンク | リポジトリ |
出典
- スキルファイル(SKILL.md)github.com/forcedotcom/sf-skills2026年11月10日
- README(README.md)github.com/forcedotcom/sf-skills2026年11月13日
- ライセンスファイル(LICENSE.txt)github.com/forcedotcom/sf-skills · 根拠となる項目:ライセンス, 公開元2026年11月13日
- Webページdeveloper.salesforce.com · 根拠となる項目:公式かどうか2026年11月13日
- リポジトリ内のフォルダ(experience-lds-graphql-generate)github.com/forcedotcom/sf-skills · 根拠となる項目:スクリプトを含む2026年11月10日
- GitHubリポジトリgithub.com/forcedotcom/sf-skills · 根拠となる項目:活動状況, ライセンス2026年11月11日