Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>Documentation Agent OrchestratorNew to Visual Studio Code? Get it now.
Documentation Agent Orchestrator

Documentation Agent Orchestrator

Tharun Sebastian

| (0) | Free
Generate governance-driven AI prompts for technical documentation and preview rewrites with side-by-side diffs
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Documentation Agent Orchestrator

A VS Code extension that generates governance-driven AI prompts for technical documentation and provides side-by-side diff previews of AI rewrites.

Features

🎯 Generate AI Documentation Prompts

Transform your rough notes or existing content into structured AI prompts with built-in governance rules:

  • Procedure Documentation - Convert steps into formal procedures
  • Concept Explanations - Turn technical notes into clear concept docs
  • Troubleshooting Guides - Structure problem-solving documentation

Each prompt includes:

  • ✅ Governance rules (prevent AI from inventing features)
  • ✅ Missing information handling (AI asks questions instead of guessing)
  • ✅ Structured output templates
  • ✅ Quality enforcement

📊 Preview Documentation Rewrites

Compare original content with AI-generated documentation using VS Code's built-in diff viewer:

  • Side-by-side comparison
  • Highlight changes
  • Easy validation before committing

Usage

1. Generate Documentation Prompt

  1. Select text in your editor (or open a file with content)
  2. Open Command Palette (Ctrl+Shift+P / Cmd+Shift+P)
  3. Run: "Generate Documentation Prompt"
  4. Choose task type: Procedure, Concept, or Troubleshooting
  5. Describe your intent (e.g., "Document the login process")
  6. The prompt opens in a new tab and is copied to clipboard
  7. Paste into your AI assistant (Claude, Copilot, ChatGPT, etc.)

2. Preview Documentation Rewrite

  1. After getting AI output, paste it into a VS Code file
  2. Open Command Palette
  3. Run: "Preview Documentation Rewrite Diff"
  4. Review the side-by-side comparison
  5. Validate changes before finalizing

Requirements

  • VS Code 1.104.0 or higher
  • Access to an AI assistant (Claude, GitHub Copilot, ChatGPT, etc.)

Commands

This extension contributes the following commands:

  • Generate Documentation Prompt - Create a governance-driven AI prompt from selected content
  • Preview Documentation Rewrite Diff - Compare original content with AI-rewritten documentation

Governance Features

The extension enforces these governance rules in every prompt:

  • No feature invention - AI cannot make up functionality
  • No terminology changes - Preserves established terms
  • No implied steps - Only documents what's explicitly stated
  • Missing info handling - AI asks questions instead of guessing
  • Violation tracking - AI flags any governance concerns

Example Workflow

Input (rough notes):

Click settings. User profile. Add email. Admin only maybe.

AI Prompt Generated:

  • Includes governance rules
  • Defines output structure
  • Enforces quality standards

AI Response:

  • Asks clarifying questions, OR
  • Generates structured documentation with governance notes

Diff Preview:

  • Compare original vs rewritten
  • Validate accuracy
  • Accept or iterate

Known Issues

  • Diff preview requires running "Generate Documentation Prompt" first
  • Context is reset when VS Code restarts

Release Notes

0.0.1

Initial release:

  • Generate governance-driven documentation prompts
  • Preview documentation rewrites with diff view
  • Support for 3 documentation types: Procedure, Concept, Troubleshooting

Contributing

Found a bug or have a feature request? Open an issue

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft