Skip to content

Copilot should support project specific master prompts #281

@yurivict

Description

@yurivict

Describe the feature or problem you'd like to solve

No response

Proposed solution

For example, I have the master prompt file in my project: misc/master-prompt.md

I have to remember to add "Rules are in @misc/master-prompt.md" With every request I submit, otherwise these rules are not taken into account.

Copilot can also look at .env files hierarchically, and read the same variable from it.

In short, I suggest:

  1. Automatically read the file from the environment variable $COPILOT_MASTER_PROMPT when it is set
  2. Automatically discover a file .env in the current or any parent directory, and read COPILOT_MASTER_PROMPT from there.

This will make the workflow a lot less error prone.

Example prompts or workflows

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions