agentleFS
Microsoft AzureKnown publisherAzure/gpt-rag-ui/.github/copilot-instructions.md

gpt-rag-ui

Copilot instructions10 starsChanged 12 days 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…

1 other project uses a version of this.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 1

    1. Azure/agent-app-ui★ 10100% same

    Edited · 0

    None found.

    Wrote their own version · 0

    None found.

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository6 other files it gives its agents.

The file

Show its rules and text

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

44 rules. About 0 are common, 19 are distinctive, and 25 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈19

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 25

    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. Very specific:

    do not keep an Unreleased section on the release branch or main

    line 244
  25. Very specific:

    After the release is merged, synchronize its version and changelog back to develop through a separate feature pull request.

    line 273
  26. Distinctive:

    avoid vague wording such as:

    line 298
  27. Distinctive:

    start each item with a bold title

    line 306
  28. Distinctive:

    follow with a detailed explanation

    line 307
  29. Very specific:

    remove the Unreleased section from develop

    line 316
  30. Very specific:

    create multiple Unreleased sections

    line 317
  31. Very specific:

    leave the release branch without converting Unreleased

    line 318
  32. Very specific:

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

    line 325
  33. Distinctive:

    Use clear, structured commit messages.

    line 344
  34. Distinctive:

    If the task involves feature or code changes:

    line 380
  35. Distinctive:

    If the task involves release preparation:

    line 386
  36. Distinctive:

    create feature branches from main

    line 400
  37. Very specific:

    update VERSION for future release planning on develop unless explicitly instructed

    line 404
  38. Distinctive:

    If instructions are ambiguous:

    line 410
  39. Very specific:

    default to feature workflow using develop

    line 412
  40. Distinctive:

    do not assume a release unless explicitly requested

    line 413
  41. Very specific:

    All application user, operator, and developer manuals belong in Azure/AI-Landing-Zones, main, docs/agent-landing-zone, published at

    line 419
  42. Distinctive:

    Keep component READMEs concise and link to that site rather than maintaining local product guides or redirect-guide stubs.

    line 422
  43. Very specific:

    Keep internal contributor rules, governance, security policies, ADRs, contracts, and release metadata local.

    line 425
  44. Distinctive:

    Do not treat runtime presentation files as product-manual destinations.

    line 428

≈ “Common” is an estimate: at least 1 in 5 of the 3,779 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 Agent Landing Zone UI v2.4.2 or agent-app-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. do not keep an Unreleased section on the release branch or main
  5. synchronize the changelog with the VERSION file

Required transformation:

From:

## [Unreleased]

To:

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

Example:

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

### Added
- MafLiteStrategy...

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

After the release is merged, synchronize its version and changelog back to develop through a separate feature pull request. Restore exactly one empty ## [Unreleased] section above the released entry on develop only. Never copy that development section to main.


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 from develop
  • 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

Documentation Ownership

All application user, operator, and developer manuals belong in Azure/AI-Landing-Zones, main, docs/agent-landing-zone, published at https://azure.github.io/AI-Landing-Zones/agent-landing-zone/. Keep component READMEs concise and link to that site rather than maintaining local product guides or redirect-guide stubs.

Keep internal contributor rules, governance, security policies, ADRs, contracts, and release metadata local. Preserve source examples and runtime assets, including public/, .chainlit/, chainlit.md even when empty, and VERSION. Do not treat runtime presentation files as product-manual destinations.

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.