Git PersonasSmall VS Code extension for planning and switching between project roles from one workspace. Use it when the same project needs different working modes: backend owner, reviewer, migration planner, release captain, incident responder, documentation writer, or any other role with its own expectations. It adds a status bar item that shows the current active role. Click it to choose a role profile. The selected profile can also write a matching Git author identity into the current repository:
Selections are hierarchical by folder path. If you choose a role while editing a file in a parent folder, child folders inherit it until you open a file in a child folder and choose a different role there. The extension writes the effective role into the Git repository that contains the active file so commits and AI context use the same active profile. Features
SettingsAdd role profiles to your user or workspace settings:
AI Context FileThe extension writes the active role profile into Git's private local directory:
This file is not part of the working tree and cannot be committed. Tell your AI assistant to read that file before answering or editing code. It includes the active label, Git identity, folder scope, repo path, and role description. Commands
PublishingBefore publishing, make sure these fields in
1. Create A Marketplace PublisherOpen:
Create a publisher. Its ID must match 2. Create A Personal Access TokenCreate an Azure DevOps token for Marketplace publishing. Give it access to Marketplace extension management. Keep the token private. 3. Install Dependencies
4. Verify And Package
You can test a packaged
5. Login And Publish
For later releases, bump the version first:
Use NotesThis changes the commit author identity for the current repository only. Push/fetch credentials are separate and should still be handled with SSH host aliases or your credential manager. |