Angular Modernizer
    Preparing search index...

    MCP tool learn-patterns: discovers recurring architectural patterns, anti-patterns and transformation opportunities in a codebase.

    Detects a style profile of the codebase (DI, RxJS/signals, change detection, module style, state management), scores patterns by confidence and style alignment, tracks them across scans in a knowledge base and can write fixtures and generated rules.

    Implements

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    annotations: ToolAnnotations = ...

    Behavior hints for clients (MCP 2025-03-26); hints, not guarantees.

    description: string = 'Discover recurring architectural patterns, anti-patterns and transformation opportunities in a codebase with AST heuristics (RxJS, components, services, transformations, architecture), count their occurrences and store them in a pattern knowledge base that later runs extend. Detects the codebase style conventions. summary is a short text of patterns and style profile.'

    Human-readable description of what the tool does.

    name: string = 'learn-patterns'

    Unique tool name.

    title: string = 'Learn Patterns'

    Display name for clients (MCP 2025-06-18).

    Methods

    • Execute the tool with given arguments.

      Parameters

      • args: Record<string, unknown>

        Tool arguments validated against inputSchema

      Returns Promise<LearnPatternsResult>

      Tool execution result