Skip to content

[WIP] Add sigmap instructions for multiple projects in folder#40

Closed
manojmallick with Copilot wants to merge 1 commit into
mainfrom
copilot/add-sigmap-instructions
Closed

[WIP] Add sigmap instructions for multiple projects in folder#40
manojmallick with Copilot wants to merge 1 commit into
mainfrom
copilot/add-sigmap-instructions

Conversation

Copilot AI commented Apr 8, 2026

Copy link
Copy Markdown

Thanks for asking me to work on this. I will get started on it and keep this PR's description up to date as I form a plan and make progress.


This section details on the original issue you should resolve

<issue_title>folder with multiple projects</issue_title>
<issue_description>I have several projects (git repos) under one folder - something like monorepo.

main/
├─ repo1/
├─ repo2/
├─ repo3/

and it doesn't work in main/
I need to run manually for every project.</issue_description>

Comments on the Issue (you are @copilot in this section)

@manojmallick Two options available right now:

Option 1 — sigmap --each (recommended for your case)

Run from your parent directory (the one that contains all your git repos):

cd ~/projects   # parent of repo-a/, repo-b/, repo-c/
sigmap --each

Each sub-repo gets its own copilot-instructions.md written into it. No config needed.


Option 2 — sigmap --monorepo

For workspaces where your repos live under packages/, apps/, or services/ inside a single git root. Just fixed a bug in this release where it was outputting CLAUDE.md instead of copilot-instructions.md — that's now resolved.


Option 3 — Single aggregated context at root level

If you want one combined copilot-instructions.md that covers all your repos:

cd ~/projects
sigmap --init           # creates gen-context.config.json

Then edit gen-context.config.json and list your repos as source dirs:

{
  "srcDirs": ["repo-a/src", "repo-b/src", "repo-c/src"]
}

Then run sigmap — you get one output that spans all three repos.


All three options are available in the latest release. --each is the most direct fix for your setup.

Copilot AI linked an issue Apr 8, 2026 that may be closed by this pull request
@manojmallick manojmallick deleted the copilot/add-sigmap-instructions branch April 8, 2026 15:58
Copilot AI requested a review from manojmallick April 8, 2026 15:59
Copilot stopped work on behalf of manojmallick due to an error April 8, 2026 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants