awslabs / awslabs/amazonq.nvim

Feature Request: local "global" context

Open
#21 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Lua
Stars
188
Forks
13
PR merge metrics
No merged PRs in 30d

Description

At the moment, we can create a global context via `cC`, but this is truly global and applies to AmazonQ on all projects.

This feature request is about allowing a local "global" context that users can add to a local git repo, for example.

For example, the following md would be added to all prompts when AmazonQ is started within `$PWD/repo` but not to other repos:

```
$PWD/repo/.amazonq/global-context.md
```

Contributor guide

Open the contributing guide

Research direction

Start by tracing the existing `cC` global-context behavior and how prompts are assembled when AmazonQ starts. Determine how a repository-local `.amazonq/global-context.md` would be discovered only within that repository, then verify that its contents affect prompts there but not in other repositories.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua, neovim
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.