UiPath Documentation
coding-agents
latest
false
UiPath for Coding Agents 用户指南
重要 :
请注意,此内容已使用机器翻译进行了本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。

GitHub Copilot

Set up GitHub Copilot with the uip CLI and UiPath skills, then install, check, and remove the skills.

GitHub Copilot logoGitHub's coding agent: an IDE extension and Copilot CLI.

Quick start​

  1. Install GitHub Copilot. For the IDE extension, see the GitHub Copilot docs. For Copilot CLI:

    npm install -g @github/copilot
    npm install -g @github/copilot
    
  2. Install the uip CLI and sign in. For options, see Install and set up.

    irm https://download.uipath.com/uipath-cli/install.ps1 | iex
    irm https://download.uipath.com/uipath-cli/install.ps1 | iex
    

    Open a new terminal, then sign in:

    uip login
    uip login
    
  3. Install the UiPath skills. The installer adds them for agents it detects. If you installed GitHub Copilot afterwards, run:

    uip skills install --agent copilot
    uip skills install --agent copilot
    
  4. Start GitHub Copilot in your project folder. Open the project in your IDE with GitHub Copilot, or start Copilot CLI:

    copilot
    copilot
    
  5. Check that the skills loaded. Ask: "What UiPath skills do you have installed?" If GitHub Copilot lists none, restart it.

  6. Try a prompt. For example:

    Create a sample input.csv with five rows. Then create a cross-platform UiPath RPA project that reads each row of input.csv, counts the rows, and writes the total to output.txt. Then run it.

Install scope and paths​

The install is global by default. For one project, add --local:

uip skills install --agent copilot --local
uip skills install --agent copilot --local
范围路径
全局~/.copilot/skills/<skill>/
Local (--local)<project>/.github/skills/<skill>/

Project context file​

.github/copilot-instructions.md. VS Code and Copilot CLI also read AGENTS.md. See Give your agent project context.

Remove the skills​

uip skills uninstall --agent copilot
uip skills uninstall --agent copilot

Add --local for a project-scoped install.

  • Quick start​
  • Install scope and paths​
  • Project context file​
  • Remove the skills​

此页面有帮助吗?

连接

需要帮助? 支持(opens in new window)

想要了解详细内容? UiPath Academy(opens in new window)

有问题? UiPath 论坛(opens in new window)

保持更新