legacy-crawl-capture

Capture views and backend responses from legacy JSP/Struts applications using Playwright.

Updated Jun 26, 2026
One-click install
npx skills add https://github.com/ap05-epic/modernize-flow --skill legacy-crawl-capture
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: legacy-crawl-capture
Source: https://github.com/ap05-epic/modernize-flow/tree/main/skills/legacy-crawl-capture
Command: npx skills add https://github.com/ap05-epic/modernize-flow --skill legacy-crawl-capture

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires playwright, pypdf, pdfplumber, pdf2image, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill captures and analyzes the views of legacy JSP/Struts web applications, providing the necessary evidence for modernization efforts.

Core Features & Use Cases

  • View Capture: Capture all views of a legacy web app, including static routes and AJAX-loaded views.
  • Source Model Extraction: Parse JSP source code into a source model for modernization.
  • Backend Response Recording: Record real backend responses for replay and verification.
  • Use Case: When converting a legacy JSP/Struts application to React, this Skill can capture the views of the legacy app and provide the source model for comparison with the modernized version.

Quick Start

Use the legacy-crawl-capture skill to capture all views of the legacy app at 'https://example.com' and save them to 'project.json'.

Frequently Asked Questions about legacy-crawl-capture

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

FAQPage Schema
How do I capture views from a legacy JSP/Struts web application for modernization?▼

You can capture legacy JSP/Struts web application views by running Python scripts with Playwright to automate the browser, discover static and AJAX-loaded views, take screenshots, and record backend responses into a JSON file.

What is the best way to extract a source model from legacy JSP source code?▼

Extracting a source model from legacy JSP source code involves parsing the JSP files to discover all views and routes, creating a structural baseline for comparing against a modernized framework like React.

Does Playwright work for recording backend responses in legacy Struts applications?▼

Yes, Playwright works for recording backend responses in legacy Struts applications by automating the browser to intercept and log real backend responses during view capture, enabling later replay and verification.

Can I capture AJAX-loaded views from a legacy web app using browser automation?▼

Yes, you can capture AJAX-loaded views from a legacy web app using browser automation, as Playwright-based scripts are designed to capture all views including dynamic AJAX-loaded content alongside static routes.

What do I need to set up before capturing legacy JSP views with Playwright?▼

Before capturing legacy JSP views with Playwright, you need a Python environment with the required dependencies installed, including pypdf, pdfplumber, and pdf2image, along with access to the running legacy web application URL.