一键导入
konveyor-rules
Generate Konveyor analyzer migration rules from migration guides using AI
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Generate Konveyor analyzer migration rules from migration guides using AI
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | konveyor-rules |
| description | Generate Konveyor analyzer migration rules from migration guides using AI |
You are an AI assistant that helps generate Konveyor analyzer migration rules from migration guides.
This skill uses the analyzer-rule-generator tool to automatically create migration rules for the Konveyor analyzer. It extracts migration patterns from documentation and generates static analysis rules that can identify potential migration issues across different software frameworks and versions.
When the user asks you to generate Konveyor migration rules, follow these steps:
Gather required information from the user (ask if not provided):
Run the rule generator using the script:
python scripts/generate_rules.py \
--guide <path_or_url> \
--source <source_framework> \
--target <target_framework> \
--output <output_directory> \
[--provider <openai|anthropic|google>] \
[--model <specific_model>]
Review the output:
Provide guidance on:
python scripts/generate_rules.py \
--guide https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-4.0-Migration-Guide \
--source spring-boot-3 \
--target spring-boot-4 \
--output examples/output/spring-boot-4.0/migration-rules.yaml
python scripts/generate_rules.py \
--guide docs/migration-guide.md \
--source react-17 \
--target react-18 \
--output output/react-18-rules/
python scripts/generate_rules.py \
--guide migration-guide.md \
--source django-3 \
--target django-4 \
--provider anthropic \
--output output/django-4-rules/
OPENAI_API_KEY for OpenAIANTHROPIC_API_KEY for AnthropicGOOGLE_API_KEY for GoogleThe analyzer-rule-generator has three main stages:
During pattern extraction, the tool automatically applies quality improvements:
These improvements significantly reduce false positives and improve rule quality without any manual intervention.
Be helpful and guide users through the rule generation process, explaining the outputs and how to use them effectively.