UiPath Documentation
coding-agents
2026.10
false
Guide de l'utilisateur d'UiPath pour Coding Agents

Donnez à votre agent un contexte de projet

Give your coding agent project rules and conventions with context files such as AGENTS.md.

A context file holds the project rules your coding agent reads at the start of each session.

Agents.md, la convention commune​

AGENTS.md sits at the project root. Some agents use their own file or folder.

Agent (Agent)Project context file
UiPath AutopilotAGENTS.md
Claude CodeCLAUDE.md
CodexAGENTS.md
Copilot de GitHub.github/copilot-instructions.md; AGENTS.md in some surfaces, such as VS Code and Copilot CLI
Grok Build (formerly Cursor)AGENTS.md, .cursor/rules/*.mdc
AntigravityAGENTS.md or GEMINI.md, and rule files in .agents/rules/
Devin Desktop (formerly Windsurf)AGENTS.md, .devin/rules/, .windsurf/rules, .windsurfrules, global_rules.md
KiroAGENTS.md, steering files in .kiro/steering/
OpenCodeAGENTS.md, or CLAUDE.md when there is no AGENTS.md

For Devin, check its documentation.

Portée​

  • Global: personal preferences, such as your default organization and tenant.
  • Project: one project's conventions and team rules, stored in the repository.

Project instructions​

Keep the file short and current. Include:

  • The UiPath skills for the project
  • A quality rule, such as resolving every Workflow Analyzer problem
  • Package and activity preferences
  • Naming and structure conventions
  • Constraints, such as not overwriting recorded UI workflows
# Project conventions

- Use the `uipath-rpa` skill for automation work in this project.
- Always run the Workflow Analyzer (Analyze Project) and resolve every problem before calling work done.
- Prefer native activities over Invoke Code; keep UI activities inside a Use Application/Browser scope.
- Pin package versions in project.json; do not upgrade packages without asking.
# Project conventions

- Use the `uipath-rpa` skill for automation work in this project.
- Always run the Workflow Analyzer (Analyze Project) and resolve every problem before calling work done.
- Prefer native activities over Invoke Code; keep UI activities inside a Use Application/Browser scope.
- Pin package versions in project.json; do not upgrade packages without asking.

See also RPA workflows.

Fichiers de contexte écrits par les compétences UiPath​

When project context is missing or out of date, the RPA skill writes the project's structure, dependencies, and conventions to:

  • .claude/rules/project-context.md
  • The root AGENTS.md, between <!-- PROJECT-CONTEXT:START --> and <!-- PROJECT-CONTEXT:END --> markers. Other content is unchanged. Without markers, the block is appended.

Projects created in Studio 2026.10 or later start with an AGENTS.md and a CLAUDE.md, unless a policy turns this off. Other empty projects get the files after the first build.

To refresh, ask the agent to regenerate the project context.

Cette page vous a-t-elle été utile ?

Connecter

Besoin d'aide ? Assistance(opens in new window)

Vous souhaitez apprendre ? UiPath Academy(opens in new window)

Vous avez des questions ? UiPath Forum(opens in new window)

Rester à jour