agentleFS
Microsoft AzureKnown publisherAzure/agent-app-ui/.github/copilot-instructions.md

agent-app-ui

Copilot instructions10 starsChanged 6 months agoMITView on GitHub

This repository follows a structured workflow based on two primary branches: This repository uses a root-level VERSION file and a CHANGELOG.md file as release metadata. All work must follow the branching, release, versioning, and changelog rules defined below. Unless explicitly instructed otherwise: Examples: - feature/conversation-metadata - feature/improve-chat-history - feature/add-evaluation-logging Examples: - release/2.4.2 - release/2.5.0 When preparing a release branch, the agent MUST: In this repository: - release branch names do NOT use the v prefix - the root VERSION file…

The file

Show its rules and text

We split this copilot-instructions.md into the rules it gives an agent

38 rules. About 0 are common, 17 are distinctive, and 21 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈17

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 21

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    All work must follow the branching, release, versioning, and changelog rules defined below.

    line 12
  2. Very specific:

    All development work MUST start from develop

    line 22
  3. Distinctive:

    All new implementation work MUST be done in a feature branch

    line 23
  4. Very specific:

    Always create feature branches from develop

    line 33
  5. Distinctive:

    Never target main from a feature branch

    line 48
  6. Distinctive:

    When preparing a release branch, the agent MUST:

    line 79
  7. Very specific:

    update the root VERSION file

    line 81
  8. Distinctive:

    ensure both are synchronized with the intended release number

    line 83
  9. Distinctive:

    ensure the repository reflects a releasable state

    line 84
  10. Distinctive:

    do NOT introduce unrelated feature work

    line 85
  11. Very specific:

    Follow semantic versioning: MAJOR.MINOR.PATCH

    line 108
  12. Very specific:

    do NOT preemptively change the VERSION file on develop for an upcoming release unless explicitly instructed

    line 162
  13. Very specific:

    update the VERSION file to match the release number without the v prefix

    line 171
  14. Very specific:

    ensure the release branch name, VERSION file, changelog, and tag naming are all aligned

    line 172
  15. Very specific:

    add the v prefix to the VERSION file

    line 195
  16. Very specific:

    update the VERSION file in develop just to anticipate a release

    line 196
  17. Very specific:

    leave the VERSION file out of sync with the release branch number during release preparation

    line 197
  18. Very specific:

    all new changes on develop MUST be added under Unreleased

    line 213
  19. Very specific:

    do NOT assign a release number in develop

    line 214
  20. Very specific:

    do NOT create future version sections in develop

    line 215
  21. Very specific:

    When a release branch is created from develop, the agent MUST:

    line 239
  22. Very specific:

    use the correct version with v prefix in the changelog

    line 242
  23. Distinctive:

    add the release date

    line 243
  24. Distinctive:

    avoid vague wording such as:

    line 295
  25. Distinctive:

    start each item with a bold title

    line 303
  26. Distinctive:

    follow with a detailed explanation

    line 304
  27. Very specific:

    remove the Unreleased section

    line 313
  28. Very specific:

    create multiple Unreleased sections

    line 314
  29. Very specific:

    leave the release branch without converting Unreleased

    line 315
  30. Very specific:

    When preparing a release X.Y.Z, the agent MUST ensure consistency across:

    line 322
  31. Distinctive:

    Use clear, structured commit messages.

    line 341
  32. Distinctive:

    If the task involves feature or code changes:

    line 377
  33. Distinctive:

    If the task involves release preparation:

    line 383
  34. Distinctive:

    create feature branches from main

    line 397
  35. Very specific:

    update VERSION for future release planning on develop unless explicitly instructed

    line 401
  36. Distinctive:

    If instructions are ambiguous:

    line 407
  37. Very specific:

    default to feature workflow using develop

    line 409
  38. Distinctive:

    do not assume a release unless explicitly requested

    line 410

≈ “Common” is an estimate: at least 1 in 5 of the 1,644 Copilot instructions files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
copilot-instructions.md

Repository Development and Release Instructions

Overview

This repository follows a structured workflow based on two primary branches:

  • develop → ongoing development
  • main → stable, released versions

This repository uses a root-level VERSION file and a CHANGELOG.md file as release metadata.

All work must follow the branching, release, versioning, and changelog rules defined below.


Branching Strategy

Default Behavior

Unless explicitly instructed otherwise:

  • All development work MUST start from develop
  • All new implementation work MUST be done in a feature branch
  • Feature work MUST target develop
  • Release preparation MUST target main

Feature Development Workflow

Branch Creation

  • Always create feature branches from develop
  • Naming convention:
    • feature/<short-description>

Examples:

  • feature/conversation-metadata
  • feature/improve-chat-history
  • feature/add-evaluation-logging

Feature Pull Requests

  • Source branch: feature/*
  • Target branch: develop
  • Never target main from a feature branch

Expected Flow

  1. Start from develop
  2. Create feature/<name>
  3. Implement changes
  4. Commit changes
  5. Open pull request to develop

Release Workflow

Release Branch Creation

  • Release branches MUST be created from develop
  • Naming convention:
    • release/x.y.z
  • Release branch names MUST NOT include the v prefix

Examples:

  • release/2.4.2
  • release/2.5.0

Release Responsibilities

When preparing a release branch, the agent MUST:

  • update the root VERSION file
  • update CHANGELOG.md
  • ensure both are synchronized with the intended release number
  • ensure the repository reflects a releasable state
  • do NOT introduce unrelated feature work

Release Pull Requests

  • Source branch: release/x.y.z
  • Target branch: main

Expected Flow

  1. Start from develop
  2. Create release/x.y.z
  3. Update VERSION
  4. Update CHANGELOG.md
  5. Open pull request to main

Versioning Rules

  • Follow semantic versioning: MAJOR.MINOR.PATCH

Important Distinction

In this repository:

  • release branch names do NOT use the v prefix
  • the root VERSION file does NOT use the v prefix
  • tags and changelog entries DO use the v prefix
  • GitHub Release titles MUST be exactly the tag name (for example, v2.4.2); never prefix release titles with the product or service name (for example, do not use GPT-RAG UI v2.4.2 or gpt-rag-ui v2.4.2).

Examples:

  • Release branch:
    • release/2.4.2
  • VERSION file:
    • 2.4.2
  • Tag:
    • v2.4.2
  • Changelog entry:
    • ## [v2.4.2] - YYYY-MM-DD

Version Increment Guidelines

  • PATCH → bug fixes and minor compatible improvements
  • MINOR → backward-compatible features
  • MAJOR → breaking changes

VERSION File Rules

This repository contains a root-level VERSION file.

Purpose

  • the VERSION file stores the repository release number
  • it is the plain semantic version number without the v prefix

Example:

2.4.2

Development Phase (develop branch)

  • the VERSION file on develop represents the latest version currently present in that branch
  • do NOT preemptively change the VERSION file on develop for an upcoming release unless explicitly instructed
  • feature work should normally not modify VERSION

Release Phase (release/x.y.z branch)

When preparing a release branch, the agent MUST:

  • update the VERSION file to match the release number without the v prefix
  • ensure the release branch name, VERSION file, changelog, and tag naming are all aligned

For release 2.4.2:

  • Branch:

    • release/2.4.2
  • VERSION:

    • 2.4.2
  • Changelog:

    • ## [v2.4.2] - YYYY-MM-DD
  • Tag:

    • v2.4.2

VERSION Safety Rules

Do NOT:

  • add the v prefix to the VERSION file
  • update the VERSION file in develop just to anticipate a release
  • leave the VERSION file out of sync with the release branch number during release preparation

Changelog Lifecycle Rules

The changelog follows a two-phase lifecycle:

  • development phase on develop
  • release phase on release/x.y.z

Development Phase (develop branch)

  • CHANGELOG.md MUST use an Unreleased section
  • all new changes on develop MUST be added under Unreleased
  • do NOT assign a release number in develop
  • do NOT create future version sections in develop

Required format:

## [Unreleased]

Example:

## [Unreleased]

### Added
- New ui component...

### Fixed
- Fixed resource cleanup issue...

Release Phase (release/x.y.z branch)

When a release branch is created from develop, the agent MUST:

  1. convert Unreleased into the actual release entry
  2. use the correct version with v prefix in the changelog
  3. add the release date
  4. recreate a new empty Unreleased section at the top
  5. synchronize the changelog with the VERSION file

Required transformation:

From:

## [Unreleased]

To:

## [vX.Y.Z] - YYYY-MM-DD

Example:

## [Unreleased]

## [v2.4.2] - 2026-03-22

### Added
- MafLiteStrategy...

### Fixed
- Agent Service lifecycle cleanup...

Changelog Sections

Use when applicable:

  • Added
  • Changed
  • Fixed
  • Removed

Changelog Writing Style

Entries MUST:

  • be clear, technical, and descriptive
  • explain what changed and why it matters
  • include relevant technical context where useful
  • avoid vague wording such as:

    • "minor updates"
    • "improvements"
    • "fixes"

Preferred style:

  • start each item with a bold title
  • follow with a detailed explanation

Changelog Safety Rules

Do NOT:

  • assign a release number in develop
  • remove the Unreleased section
  • create multiple Unreleased sections
  • leave the release branch without converting Unreleased
  • mismatch release numbers across branch name, VERSION, changelog, and tag naming

Release Synchronization Rules

When preparing a release X.Y.Z, the agent MUST ensure consistency across:

  • release branch:

    • release/X.Y.Z
  • VERSION:

    • X.Y.Z
  • changelog:

    • ## [vX.Y.Z] - YYYY-MM-DD
  • tag:

    • vX.Y.Z

Commit Guidelines

Use clear, structured commit messages.

Preferred format:

  • feat: add conversation metadata support
  • fix: correct chat history persistence issue
  • docs: update changelog for v2.4.2
  • chore: prepare release 2.4.2

Pull Request Guidance

Feature PRs

  • From: feature/*
  • To: develop

Release PRs

  • From: release/x.y.z
  • To: main

PR descriptions should clearly state:

  • purpose of the change
  • whether it is feature work or release preparation
  • target branch
  • any required validation or follow-up steps

Operational Rules

Default Decision Logic

If the task involves feature or code changes:

  • base on develop
  • create feature/*
  • target develop

If the task involves release preparation:

  • base on develop
  • create release/x.y.z
  • update VERSION
  • update CHANGELOG.md
  • target main

Safety Constraints

Do NOT:

  • create feature branches from main
  • open feature PRs to main
  • mix new feature work into release branches
  • assign release versions on develop
  • update VERSION for future release planning on develop unless explicitly instructed

Final Rule

If instructions are ambiguous:

  • default to feature workflow using develop
  • do not assume a release unless explicitly requested

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.