generate-rules-with-test

Generate Konveyor analyzer migration rules from guides and validate them with tests.

1|2|Updated Mar 19, 2026
One-click install
npx skills add https://github.com/konveyor/ai-rule-gen --skill generate-rules-with-test
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: generate-rules-with-test
Source: https://github.com/konveyor/ai-rule-gen/tree/main/.claude/skills/generate-rules-with-test
Command: npx skills add https://github.com/konveyor/ai-rule-gen --skill generate-rules-with-test

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill turns migration guides into Konveyor analyzer migration rules and validates them, removing the manual effort of translating upgrade documentation into working rules.

Core Features & Use Cases

  • End-to-End Rule Generation: Produces migration rules from a guide supplied as a URL, local file path, or pasted text.
  • Test Generation and Validation: Builds tests and runs validation so the resulting rules are ready for real-world use.
  • Workflow Control: Supports a rules-only path or a full pipeline with testing, making it useful for both quick drafts and production-ready outputs.
  • Use Case: A platform team can point the skill at a product migration guide and get validated Konveyor rules that are suitable for inclusion in a ruleset repository.

Quick Start

Provide a migration guide URL, file path, or pasted text and ask the skill to generate Konveyor rules with test generation and validation.

Frequently Asked Questions about generate-rules-with-test

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

FAQPage Schema
How do I generate Konveyor analyzer migration rules from a migration guide?

You can generate Konveyor analyzer migration rules by supplying a migration guide URL, local file path, or pasted text to the skill, which then extracts and validates the rules automatically.

Can I validate migration rules automatically before adding them to a ruleset repository?

Yes, you can validate migration rules by using the full pipeline with test generation, which builds tests and runs Kantra-based validation to ensure the generated rules are production-ready.

What is the best way to turn upgrade documentation into working migration rules?

The best way to turn upgrade documentation into working migration rules is using an automated generation skill that parses the guide and optionally validates the output with a test pipeline.

Does the Konveyor rule generation workflow support pasted text or only guide URLs?

The Konveyor rule generation workflow supports pasted text, guide URLs, and local file paths, allowing you to extract migration rules from any accessible migration documentation format.

Can I generate migration rules without running the test validation pipeline?

Yes, you can generate migration rules without running tests by selecting the rules-only extraction path, which provides quick drafts before committing to the full end-to-end testing workflow.

Do I need to configure source and target labels when generating Konveyor migration rules?

Yes, you need to configure source and target labels when generating Konveyor migration rules, along with checkpoint behavior control, to ensure accurate Kantra-based rule validation readiness.