agentleFS
Microsoft AzureKnown publisherAzure/LogicAppsUX/libs/designer/CLAUDE.md

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…

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
  1. Distinctive:

    State debugging: Use Redux DevTools in Standalone app

    line 122
  2. Distinctive:

    Operation flow: Add operation → parse → state → serialize

    line 123
  3. Distinctive:

    Parser changes: Must update both parsers if format changes

    line 124
  4. Very specific:

    Read libs/designer/src/graphify-out/GRAPH_REPORT.md for structural context (god nodes, communities, surprising connections).

    line 137

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
CLAUDE.md
<!-- 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 tests

Architecture

Entry Point

src/index.ts exports:

  • DesignerProvider - Main provider component
  • Designer - 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 components

State Management

Redux Slices (/core/state/)

SlicePurpose
workflowSliceWorkflow graph structure
operationMetadataSliceOperation definitions
connectionSliceConnection state
panelSliceUI panel state
designerOptionsSliceDesigner configuration
designerViewSliceView settings
settingsSliceOperation settings
tokensSliceExpression tokens
undoRedoSliceUndo/redo history

Key Actions (/core/actions/)

  • initializeDesigner - Load workflow and setup
  • addOperation - Add node to workflow
  • moveOperation - Reorder operations
  • saveWorkflow - 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/react for the graph visualization
  • ELK.js for automatic layout
  • Custom node and edge components

Panels (/ui/panel/)

  • recommendationpanel/ - Add operation search
  • nodeDetailsPanel/ - Operation configuration
  • connectionsPanel/ - Connection management

Services Integration

The designer accepts services via DesignerProvider:

  • connectionService - Manage connections
  • operationManifestService - Operation metadata
  • searchService - Operation search
  • oAuthService - Authentication
  • workflowService - 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 tests

Development Tips

  1. State debugging: Use Redux DevTools in Standalone app
  2. Operation flow: Add operation → parse → state → serialize
  3. Parser changes: Must update both parsers if format changes
  4. 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).

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.