Training course · Claude Code · Legacy Modernisation

Claude Code for Legacy Modernisation

Agentic coding with Claude Code in the terminal and IDE: CLAUDE.md, subagents, hooks, MCP, CI pipelines and secure permissions.

Duration
2 days (14 hrs)
Format
Online or on-site
Language
German or English
Participants
open dates or exclusive for your team
Certificate
Certificate of attendance

Overview

“Claude Code for Legacy Modernisation” is a hands-on course for roles such as Developers maintaining COBOL, PL/I or RPG systems, Java and .NET teams with ageing monoliths and outdated frameworks and Software and enterprise architects in modernisation programmes. Rather than learning Claude Code in the abstract, you work on tasks from your daily routine – with examples, exercises and templates from Legacy Modernisation.

Claude Code is Anthropic’s agentic coding assistant, working directly in your terminal and in popular IDEs. Rather than completing individual lines, it reads your repository, plans changes across multiple files, runs commands, executes tests and prepares commits. Over two days you will learn to use it with deliberate control: clear project instructions in CLAUDE.md, careful context management, and a workflow in which you set the direction as a developer and can trace every change the agent makes back to a clear intention.

The course is built around real engineering work: diagnosing bugs, delivering features, refactoring legacy code and filling gaps in test coverage. You will configure subagents for specialised tasks, enforce quality checks with hooks, connect external systems through the Model Context Protocol (MCP) and capture team knowledge as reusable skills. Finally, you will run Claude Code headless in CI pipelines and define permissions, sandboxing and approval rules so that its use remains defensible even in security-sensitive environments.

Many business-critical systems still run on mainframe COBOL, ageing Java EE applications or .NET Framework solutions whose original developers moved on long ago. AI coding assistants and agents make these codebases far more approachable: they explain programme logic, reconstruct business rules, generate characterisation tests and support stepwise migration to modern languages, frameworks and cloud platforms. Successful modernisation is still engineering work, though, because automated translation without understanding simply produces new legacy code. In this course you learn to apply AI along proven patterns such as strangler fig, branch by abstraction and anti-corruption layers, lock down existing behaviour with tests before every change and base modernisation decisions on a solid analysis of what you already have.

The course is delivered live – either online in a virtual classroom or on-site in our training rooms in Munich, Salzburg, Berlin, Augsburg, Hanover, Bremen, Stuttgart and Kaiserslautern. We can also run it exclusively for your team.

Who is this course for?

  • Developers maintaining COBOL, PL/I or RPG systems
  • Java and .NET teams with ageing monoliths and outdated frameworks
  • Software and enterprise architects in modernisation programmes
  • IT managers and project leads responsible for migrations
  • Application modernisation and cloud migration consultants

Typical challenges we address

  • Business rules are buried undocumented in code and the original developers’ knowledge is gone
  • Missing automated tests make every change risky
  • Outdated frameworks, unpatched libraries and proprietary runtimes
  • Big-bang migrations fail on scope, data migration and parallel operation

What you will be able to do

  • You use Claude Code for multi-step development tasks while keeping full control over every change.
  • You maintain a CLAUDE.md that effectively conveys project conventions, commands and architectural guidance to the agent.
  • You extend Claude Code with subagents, hooks, MCP servers and skills tailored to your team.
  • You integrate Claude Code into Git workflows and CI pipelines with traceable, test-backed results.
  • Use AI agents to understand legacy systems, document business rules and make dependencies visible.
  • Protect existing behaviour with generated characterisation tests before migrating or refactoring code.
  • Plan and steer incremental modernisation using proven patterns instead of risky big-bang cutovers.

Course outline

Day 1

Module 1 How Claude Code works
  • Installation, sign-in and use in the terminal, VS Code and JetBrains IDEs
  • Understanding the agentic loop: read, plan, act, verify
  • Using plan mode to agree on an approach before any code changes
  • Writing effective task briefs with goal, context and acceptance criteria
Module 2 Project context with CLAUDE.md and context management
  • Structuring CLAUDE.md at project, directory and user level
  • Documenting build, test and style conventions so the agent follows them reliably
  • Managing the context window with targeted file references, compaction and fresh sessions
  • Resuming sessions and breaking long tasks into manageable stages
Module 3 Extending Claude Code with subagents, hooks, MCP and skills
  • Defining subagents for code review, research or test generation
  • Using hooks to enforce formatting, linting or checks before and after tool calls
  • Connecting MCP servers for issue trackers, databases or internal documentation
  • Creating custom slash commands and skills for recurring team workflows
Module 4 Git workflows, testing and quality assurance
  • Creating branches, meaningful commits and pull requests with Claude Code
  • Test-first work: have tests written before the implementation
  • Reviewing diffs systematically and rejecting or refining changes
  • Organising parallel work with Git worktrees and multiple sessions

Day 2

Module 5 Headless operation, CI and security
  • Running Claude Code non-interactively in scripts and CI pipelines
  • Automated reviews and issue handling in GitHub or GitLab workflows
  • Configuring permission modes, allow and deny rules, and sandboxing
  • Handling secrets, prompt injection risks and organisation-wide policies
Module 6 Practice lab: Legacy Modernisation
  • Extracting business rules
  • Mapping dependencies
  • Generating characterisation tests
  • Framework upgrades
  • Translating and refactoring code
  • Designing a strangler fig architecture
Module 7 Data protection, quality & transfer to daily work
  • Legacy systems often process customer, financial or insurance data: you learn to sanitise code and test data before using AI, clarify licensing and copyright questions around translated code and address the requirements of the GDPR, DORA and sector regulators for changes to critical systems.
  • Ground rules for safe AI use in your team
  • Checking results: facts, sources, tests and the four-eyes principle
  • Personal action plan for the next 30 days
  • Open questions, outlook and resources for further learning

Practical scenarios from your field

Extracting business rules

Analyse COBOL paragraphs, copybooks or Java service classes, document the embedded calculation and decision logic as readable business rules and validate them together with domain experts.

Mapping dependencies

Reconstruct call graphs, JCL job chains, database access and interfaces from source code and visualise them as diagrams to find sensible seams for stepwise replacement.

Generating characterisation tests

Capture current behaviour with golden master and approval tests, derive anonymised test data from production patterns and build a safety net before any migration begins.

Framework upgrades

Plan migrations from Java EE to Jakarta EE or Spring Boot and from .NET Framework to modern .NET, identify API breaks and apply consistent changes across many files.

Translating and refactoring code

Turn COBOL modules into idiomatic Java or C# rather than translating line by line, map data types such as packed decimals correctly and verify the result against the original with comparison tests.

Designing a strangler fig architecture

Design facades, routing layers and anti-corruption layers through which new services take over legacy functions step by step, including data synchronisation and fallback options. Each stage remains independently deployable.

Possible hands-on projects

Copybook to schema converter

A tool that reads COBOL copybooks and generates JSON schemas, Java records or SQL tables, correctly mapping decimal and REDEFINES fields.

Legacy knowledge portal

A small web app that makes analysed programmes, business rules and dependencies searchable and answers questions about the legacy system with source references.

Comparison test harness

A test harness that sends identical inputs to the old and new system, compares outputs field by field and logs discrepancies clearly.

Prerequisites

You have hands-on programming experience in at least one language and are comfortable with Git and the command line. You have programming experience in at least one language of the legacy or target platform, such as COBOL, Java or C#, plus a basic grasp of software architecture.

Technical requirements

Your own laptop with admin rights, Git, a Node.js runtime and an up-to-date editor; a Claude subscription or Anthropic API access is required for the exercises.

Data protection & compliance

Legacy systems often process customer, financial or insurance data: you learn to sanitise code and test data before using AI, clarify licensing and copyright questions around translated code and address the requirements of the GDPR, DORA and sector regulators for changes to critical systems.

Suggested dates

All dates are suggestions – your preferred date is always possible.

  • Wed, 25 November 2026 – Thu, 26 November 2026 Online Request
  • Thu, 10 December 2026 – Fri, 11 December 2026 Bremen Request
  • Thu, 14 January 2027 – Fri, 15 January 2027 Online Request
  • Tue, 19 January 2027 – Wed, 20 January 2027 Salzburg Request
  • Wed, 3 February 2027 – Thu, 4 February 2027 Online Request
  • Wed, 17 February 2027 – Thu, 18 February 2027 Kaiserslautern Request

Frequently asked questions

How is Claude Code different from traditional code completion?

Code completion suggests the next few lines, whereas Claude Code acts as an agent that handles whole tasks: it searches the repository, plans changes across several files, runs tests and commands, and corrects itself based on the results. You define the goal and review the outcome instead of steering every single line yourself.

Is Claude Code secure enough for enterprise use?

By default, Claude Code asks for approval before editing files or running commands. Permission rules, sandboxing, managed settings and hooks let you define precisely what the agent may do. During the course you learn to configure these mechanisms to match your security and data protection requirements and to assess risks such as prompt injection.

Does Claude Code work with my language and tech stack?

Yes. Claude Code is language-agnostic because it works with files, terminal commands and your existing build and test tooling. Whether you use Python, Java, TypeScript, Go, SAP-related code or infrastructure as code, what matters most is a well-written CLAUDE.md describing your commands and conventions. Each course variant adds the relevant domain focus.

Can AI automatically translate a COBOL system into Java?

AI translates individual modules far faster than manual work, but a pure one-to-one translation often yields code that is hard to maintain. A better approach is to understand and test the business rules first and design the target architecture deliberately. In the course you combine AI-assisted translation with comparison tests and refactoring.

How do we handle very large codebases?

Large legacy systems do not fit entirely into a model’s context. What works is systematic inventory, per-module summaries, dependency graphs and targeted retrieval of relevant code. Agents then work module by module with a clearly defined brief. You learn to build this structure and turn the results into input for architecture decisions.

How much does “Claude Code for Legacy Modernisation” cost?

The course costs a flat €949 plus VAT per participant – whether online or on-site. This includes 2 training day(s) with a live trainer, course materials, a lab environment and a certificate of attendance.

Can I suggest my own date?

Yes. Our suggested dates are just a guide. In the request form you can always describe your preferred date or period in free text – we check availability and confirm within one working day.

Is the course online or on-site?

Both are possible: live online in a virtual classroom or on-site in Munich, Salzburg, Berlin, Augsburg, Hanover, Bremen, Stuttgart or Kaiserslautern. We can also run the course exclusively for your team.

More courses for Legacy Modernisation

More Claude Code courses

All 77 Claude Code courses