LogicAppsUX / vscode-extension
CLAUDE.md114 starsChanged 5 months agoMITView on GitHub
Shared utilities and services for the Logic Apps VS Code extension. Provides common functionality used by both the extension host and webviews. Package: @microsoft/vscode-extension-logic-apps Read libs/vscode-extension/src/graphify-out/GRAPH_REPORT.md for structural context (god nodes, communities, surprising connections).
In this repository17 other files it gives its agents.
- apps/docs/CLAUDE.mdCLAUDE.md
- apps/iframe-app/CLAUDE.mdCLAUDE.md
- apps/Standalone/CLAUDE.mdCLAUDE.md
- apps/vs-code-designer/CLAUDE.mdCLAUDE.md
- apps/vs-code-react/CLAUDE.mdCLAUDE.md
- CLAUDE.mdCLAUDE.md
- libs/a2a-core/CLAUDE.mdCLAUDE.md
- libs/chatbot/CLAUDE.mdCLAUDE.md
- libs/data-mapper/CLAUDE.mdCLAUDE.md
- libs/data-mapper-v2/CLAUDE.mdCLAUDE.md
- libs/designer/CLAUDE.mdCLAUDE.md
- libs/designer-ui/CLAUDE.mdCLAUDE.md
- libs/designer-v2/CLAUDE.mdCLAUDE.md
- libs/logic-apps-shared/CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- uiSkill
- verify-prSkill
The file
We split this CLAUDE.md into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 95
Read libs/vscode-extension/src/graphify-out/GRAPH_REPORT.md for structural context (god nodes, communities, surprising connections).
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
<!-- AUTO-GENERATED from docs/ai-setup/packages/vscode-extension.md. DO NOT EDIT directly. -->VS Code Extension Library
Shared utilities and services for the Logic Apps VS Code extension. Provides common functionality used by both the extension host and webviews.
Package: @microsoft/vscode-extension-logic-apps
Purpose
- Shared utilities - Common functions for VS Code integration
- Message protocol - Extension ↔ webview communication
- Service implementations - VS Code-specific service adapters
- Type definitions - Shared types for extension development
Commands
pnpm run build:lib # Build library
pnpm run test:lib # Run unit testsArchitecture
Entry Point
src/index.ts exports all public APIs.
Structure
/src/lib
/helpers/ - Utility helper functions
/models/ - Shared types, extension commands, workflow models
/services/ - Service implementationsKey Features
Extension Commands
Command constants defined in src/lib/models/extensioncommand.ts:
import { ExtensionCommand } from '@microsoft/vscode-extension-logic-apps'
// Command identifiers (examples)
ExtensionCommand.initialize
ExtensionCommand.loadRun
ExtensionCommand.disposeWebview Communication
The VS Code webviews communicate via the standard acquireVsCodeApi() pattern:
// In webview (vs-code-react)
const vscode = acquireVsCodeApi()
vscode.postMessage({ command: ExtensionCommand.initialize, data: payload })
// In extension host (vs-code-designer)
panel.webview.onDidReceiveMessage((msg) => {
switch (msg.command) {
case ExtensionCommand.initialize: // handle...
}
})Service Adapters
VS Code-specific service implementations adapt designer services for the extension environment. See apps/vs-code-react/src/app/designer/servicesHelper.ts.
Usage
In Extension Host (vs-code-designer)
The extension host creates webview panels and handles message passing with the VS Code API directly.
In Webview (vs-code-react)
// Communication via acquireVsCodeApi (see apps/vs-code-react/src/webviewCommunication.tsx)
const vscode = acquireVsCodeApi()
vscode.postMessage({ command: 'save_workflow', data: workflow })Dependencies
@microsoft/logic-apps-shared- Core utilities- VS Code API types (
@types/vscode) - Azure SDK packages
Development Tips
- Type safety: Define message types clearly
- Error handling: Catch and report errors properly
- Async operations: Handle VS Code's async nature
- Testing: Mock VS Code APIs for unit tests
Graphify
Read libs/vscode-extension/src/graphify-out/GRAPH_REPORT.md for structural context (god nodes, communities, surprising connections).
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

