Skip to content

Configure custom agent for DB Viewer extension development#2

Draft
Copilot wants to merge 2 commits intomasterfrom
copilot/pull-request-handler
Draft

Configure custom agent for DB Viewer extension development#2
Copilot wants to merge 2 commits intomasterfrom
copilot/pull-request-handler

Conversation

Copy link

Copilot AI commented Feb 5, 2026

Populated the custom agent template with project-specific context and development guidelines for the DB Viewer VS Code extension.

Changes

  • Agent configuration (.github/agents/my-agent.agent.md)
    • Agent name: db-viewer-expert
    • Description: Expert agent for SQLite database viewer extension
    • Architecture overview: Custom editor provider, webview UI, sql.js integration
    • Development workflow: Build commands, linting, testing, deployment
    • Code patterns: TypeScript conventions, example implementations
    • Constraints: Version compatibility, security (SQL injection prevention), bundle size
    • Common tasks: Adding file types, features, bug fixes

The agent provides context on the TypeScript/VS Code Extension API stack, esbuild build system, and project-specific patterns like the CustomReadonlyEditorProvider implementation.

Example

// Pattern documented in agent configuration
export class DbViewerProvider implements vscode.CustomReadonlyEditorProvider {
    public static register(context: vscode.ExtensionContext): vscode.Disposable {
        const provider = new DbViewerProvider(context);
        return vscode.window.registerCustomEditorProvider(
            DbViewerProvider.viewType,
            provider,
            { webviewOptions: { retainContextWhenHidden: true } }
        );
    }
}
Original prompt

pull


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Jury1981 Jury1981 added documentation Improvements or additions to documentation enhancement New feature or request good first issue Good for newcomers labels Feb 5, 2026
@github-project-automation github-project-automation bot moved this to In Progress in @Jury1981's Azure Feb 5, 2026
Co-authored-by: Jury1981 <210622247+Jury1981@users.noreply.github.com>
Copilot AI changed the title [WIP] Add pull request handling functionality Configure custom agent for DB Viewer extension development Feb 5, 2026
Copilot AI requested a review from Jury1981 February 5, 2026 19:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New feature or request good first issue Good for newcomers

Projects

Status: In Progress
Status: Todo

Development

Successfully merging this pull request may close these issues.

3 participants