github / github/copilot-cli

Read `.claude/rules`

Open
#4,440 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area:context-memory
Dominant language
Shell
Stars
11.2k
Forks
1.9k
Avg merge
14h 16m
Merged PRs (30d)
6

Description

Describe the feature or problem you'd like to solve

We use both Claude and CoPilot and we currently need to duplicate instructions between .github/instructions/**/*.instructions.md and .claude/rules

Proposed solution

Support reading .claude/rules. Perhaps also .agents/rules - hopefully we can move to a vendor agnostic location for these files at some point.

If you already read them, then update the documentation here where it is not mentioned that these locations are read: https://docs.github.com/en/copilot/how-tos/copilot-cli/customize-copilot/add-custom-instructions

Example prompts or workflows

No response

Additional context

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing how custom instruction locations are discovered, then check whether .claude/rules is already read and where .agents/rules could fit. Compare the behavior with .github/instructions/**/*.instructions.md and review the linked Copilot documentation; done means supported locations are handled or the documentation accurately lists those already supported.

Written by the indexing model from the issue text.

Assessment

Domain
cli, documentation
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.