Skip to content

8. SPFx Toolkit GitHub Chat Participant

Adam Wójcik edited this page Dec 10, 2024 · 3 revisions

SPFx Toolkit GitHub Chat Participant

chat-intro

Now you may use SPFx Toolkit as a chat participant in GitHub Copilot chat extension. Simply, mention @spfx in the chat to ask dedicated questions regarding SharePoint Framework development.

@spfx is your dedicated AI Copilot that will help you with anything that is needed to develop your SharePoint Framework project. It has predefined commands that are tailored toward a specific activity for which you require guidance.

chat-commands

Currently, we support the following commands:

  • /setup - that is dedicated to providing information on how to setup your local workspace for SharePoint Framework development. Check it out in action 👇

chat-in-action-setup

  • /new - that may be used to get guidance on how to create a new solution or find and reuse an existing sample from the PnP SPFx sample gallery Check it out in action 👇

chat-in-action-new chat-in-action-new2

  • /manage - [beta] this command will allow you to ask and retrieve any kind of data from you SharePoint Online tenant. This command will only work if your are signed in to your tenant. It uses CLI for Microsoft 365 commands under the hood to retrieve and explain data and assets from your SharePoint Online tenant. Currently it does support only retrieving information, it will not support you in creating, updating or removing any resources. For example, you want to check if some list item or file exists. Or how many items with specific metadata do you have on a list? Or ask for content type columns to generate an interface based on the response quickly.
spfx-chat-movie1.mp4
  • /code - [beta] this command is fine-tuned to provide help in coding your SharePoint Framework project and provides additional boosters like validating the correctness of your SPFx project, scaffolding a CI/CD workflow, or renaming your project, and many more.