morphir-architect

Guide Morphir AST/IR design and code generation for morphir-dotnet.

14|12|Updated Mar 30, 2020
One-click install
npx skills add https://github.com/finos/morphir-dotnet --skill morphir-architect
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: morphir-architect
Source: https://github.com/finos/morphir-dotnet/tree/main/.claude/skills/morphir-architect
Command: npx skills add https://github.com/finos/morphir-dotnet --skill morphir-architect

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill provides expert guidance for Morphir architecture, enabling teams to design robust AST/IR structures, select appropriate FP patterns, and plan code generation for morphir-dotnet across both Classic (F#) and Modern (C#) implementations.

Core Features & Use Cases

  • Guidance on language design patterns (ADT, visitors, type systems)
  • Functional programming pattern strategies (monads, lenses, ROP)
  • IR modeling, transformations, and cross-language interop planning
  • Code generation architecture using Myriad, FCS, Roslyn, and Source Generators
  • Playbooks and decision trees to steer architecture decisions
  • Reusable templates and playbooks for common Morphir architecture tasks

Quick Start

Invoke: @skill morphir-architect Design an AST for Morphir function definitions Or try: @skill architect Implement a railway-oriented programming pipeline for IR validation

Frequently Asked Questions about morphir-architect

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I design an AST for Morphir function definitions in F#?▼

Design an AST for Morphir function definitions by applying algebraic data types and visitor patterns to structure the IR. This enables robust type modeling and transformation pipelines for Classic F# and Modern C# implementations.

What's the best way to implement railway-oriented programming for IR validation?▼

Implement railway-oriented programming (ROP) for IR validation by applying functional programming patterns like monads and ROP. This strategy structures validation pipelines to handle errors gracefully during Morphir transformations and cross-language interop.

Can I use Roslyn and Source Generators for Morphir code generation?▼

Yes, you can use Roslyn and Source Generators for Morphir code generation. The skill guides integrating these tools alongside Myriad and FCS to automate code generation architecture across morphir-dotnet.

Does morphir-architect support both F# and C# interop strategies?▼

Morphir-architect fully supports F# and C# interop strategies. It provides decision trees and playbooks for navigating between Classic F# IR and Modern C# IR to ensure smooth cross-language transformation pipelines.

When do I need to choose between Classic F# IR and Modern C# IR for Morphir?▼

Choose between Classic F# IR and Modern C# IR based on your project's interop requirements and code generation targets. The skill offers documented decision trees and playbooks to guide visitor selection and transformation pipeline architecture.

Related Skills