LogicAppsUX / designer
CLAUDE.md114 starsChanged 5 months agoMITView on GitHub
The main workflow designer component library. This is the core package that powers the visual Logic Apps editing experience. Package: @microsoft/logic-apps-designer Two parser implementations: - BJSWorkflowParser - Standard (Azure Functions-hosted) - ConsumptionParser - Consumption tier Parsers handle: - Deserializing workflow JSON to Redux state - Serializing Redux state back to JSON - Handling nested operations (scopes, loops) The designer accepts services via DesignerProvider: - connectionService - Manage connections - operationManifestService - Operation metadata - searchService - Operation search - oAuthService…
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-ui/CLAUDE.mdCLAUDE.md
- libs/designer-v2/CLAUDE.mdCLAUDE.md
- libs/logic-apps-shared/CLAUDE.mdCLAUDE.md
- libs/vscode-extension/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
4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
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
- Distinctive: line 122
State debugging: Use Redux DevTools in Standalone app
- Distinctive: line 123
Operation flow: Add operation → parse → state → serialize
- Distinctive: line 124
Parser changes: Must update both parsers if format changes
- Very specific: line 137
Read libs/designer/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/designer.md. DO NOT EDIT directly. -->Logic Apps Designer
The main workflow designer component library. This is the core package that powers the visual Logic Apps editing experience.
Package: @microsoft/logic-apps-designer
Purpose
- Visual workflow editor - Drag-and-drop workflow canvas
- Operation configuration - Parameter panels and expression editor
- State management - Redux-based workflow state
- Workflow serialization - Convert between UI state and workflow JSON
Commands
pnpm run build:lib # Build library
pnpm run test:lib # Run unit testsArchitecture
Entry Point
src/index.ts exports:
DesignerProvider- Main provider componentDesigner- The designer canvas- Redux store and hooks
- Service interfaces
Core Structure
/src/lib
/core
/state/ - Redux slices
/actions/ - Action creators
/parsers/ - Workflow parsers
/queries/ - React Query hooks
/utils/ - Core utilities
/ui
/panel/ - Side panels
/settings/ - Operation settings
/connections/ - Connection UI
/menuItems/ - Context menus
/common/ - Shared UI componentsState Management
Redux Slices (/core/state/)
| Slice | Purpose |
workflowSlice | Workflow graph structure |
operationMetadataSlice | Operation definitions |
connectionSlice | Connection state |
panelSlice | UI panel state |
designerOptionsSlice | Designer configuration |
designerViewSlice | View settings |
settingsSlice | Operation settings |
tokensSlice | Expression tokens |
undoRedoSlice | Undo/redo history |
Key Actions (/core/actions/)
initializeDesigner- Load workflow and setupaddOperation- Add node to workflowmoveOperation- Reorder operationssaveWorkflow- Serialize workflow
Workflow Parsers (/core/parsers/)
Two parser implementations:
BJSWorkflowParser- Standard (Azure Functions-hosted)ConsumptionParser- Consumption tier
Parsers handle:
- Deserializing workflow JSON to Redux state
- Serializing Redux state back to JSON
- Handling nested operations (scopes, loops)
Key Components
DesignerProvider
Wraps the designer with all required providers:
<DesignerProvider options={...}>
<Designer />
</DesignerProvider>Canvas (/ui/)
- Uses
@xyflow/reactfor the graph visualization - ELK.js for automatic layout
- Custom node and edge components
Panels (/ui/panel/)
recommendationpanel/- Add operation searchnodeDetailsPanel/- Operation configurationconnectionsPanel/- Connection management
Services Integration
The designer accepts services via DesignerProvider:
connectionService- Manage connectionsoperationManifestService- Operation metadatasearchService- Operation searchoAuthService- AuthenticationworkflowService- Workflow CRUD
Testing
Tests are in __test__/ folders alongside source:
pnpm run test:lib # All tests
pnpm run test:lib -- --watch # Watch mode
pnpm run test:lib -- <pattern> # Specific testsDevelopment Tips
- State debugging: Use Redux DevTools in Standalone app
- Operation flow: Add operation → parse → state → serialize
- Parser changes: Must update both parsers if format changes
- New operations: Define in
logic-apps-shared, implement UI here
Dependencies
@microsoft/designer-ui- Stateless UI components@microsoft/logic-apps-shared- Utilities and services@microsoft/logic-apps-chatbot- AI assistance@xyflow/react- Graph visualization@reduxjs/toolkit- State management
Graphify
Read libs/designer/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.

