Build Ci Migration Assistantのロゴ

Build Ci Migration Assistant

コミュニティ
ArabelaTso
build-ci-migration-assistant

ビルドシステムとCI/CD設定を、移行先のプラットフォームに合わせて自動的に移行します。ビルド基盤の刷新、CI/CDプロバイダーの切り替え、プロジェクト間の標準化に使用します。Maven↔Gradle、npm↔Yarn、Travis CI→GitHub Actions、CircleCI→GitHub Actions、Jenkins→GitLab CI、GitLab CI→GitHub Actionsなど、一般的な移行パターンに対応します。既存の設定を分析して同等の移行先設定を生成し、依存関係やコマンドを対応付け、検証手順と移行ドキュメントを提供します。

Add to TypingMind

概要

公開者ArabelaTso
リポジトリSkills-4-SE
スキル名build-ci-migration-assistant
スター
258
フォーク
25
同梱ファイル
2
ライセンスApache-2.0
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 2個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    ArabelaTsoがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Build Ci Migration Assistant」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/ArabelaTso/Skills-4-SE/tree/main/skills/build-ci-migration-assistant
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ArabelaTso/Skills-4-SE.git /tmp/Skills-4-SE
mkdir -p .claude/skills
cp -r /tmp/Skills-4-SE/skills/build-ci-migration-assistant .claude/skills/build-ci-migration-assistant
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでBuild Ci Migration Assistantを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にBuild Ci Migration Assistantを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Build Ci Migration Assistantは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Build/CI Migration Assistant

Automatically migrate build systems and CI/CD configurations to target platforms while preserving functionality.

Workflow

1. Analyze Source Configuration

Identify the current build system or CI/CD platform:

Build Systems:

  • Maven (pom.xml)
  • Gradle (build.gradle, build.gradle.kts)
  • npm (package.json)
  • Yarn (package.json + yarn.lock)
  • Make (Makefile)
  • CMake (CMakeLists.txt)

CI/CD Platforms:

  • Travis CI (.travis.yml)
  • CircleCI (.circleci/config.yml)
  • Jenkins (Jenkinsfile)
  • GitLab CI (.gitlab-ci.yml)
  • GitHub Actions (.github/workflows/*.yml)

Read and parse the source configuration to understand:

  • Dependencies and their versions
  • Build commands and lifecycle
  • Test configuration
  • Environment variables and secrets
  • Caching strategy
  • Deployment steps

2. Map to Target Platform

Consult the appropriate reference guide:

Map source concepts to target equivalents:

  • Dependencies → Target dependency format
  • Build commands → Target command syntax
  • Lifecycle phases → Target stages/jobs
  • Environment variables → Target secrets/variables
  • Caching → Target caching mechanism

3. Generate Target Configuration

Create the target configuration file(s):

For build systems:

  • Generate new build file (build.gradle, pom.xml, etc.)
  • Preserve dependency versions
  • Map plugins and tasks
  • Maintain build lifecycle

For CI/CD platforms:

  • Generate workflow/pipeline file
  • Convert jobs and stages
  • Map triggers and conditions
  • Configure runners/agents
  • Set up caching and artifacts

4. Validate Migration

Test the generated configuration:

Build system validation:

bash
# Maven
mvn clean install

# Gradle
./gradlew build

# npm
npm install && npm test

CI/CD validation:

  • Create a test branch
  • Push generated configuration
  • Verify pipeline runs successfully
  • Check all jobs complete
  • Validate artifacts and deployments

5. Document Changes

Provide migration summary including:

  • What was migrated
  • What requires manual review
  • Breaking changes or incompatibilities
  • Manual steps needed
  • Rollback instructions

Common Migration Paths

Maven to Gradle

Use case: Modernize Java build, improve build performance

Steps:

  1. Read pom.xml
  2. Map dependencies to Gradle format
  3. Convert plugins to Gradle equivalents
  4. Generate build.gradle
  5. Test build: ./gradlew build

Example:

Original Maven:

xml
<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-starter-web</artifactId>
    <version>2.7.0</version>
</dependency>

Generated Gradle:

groovy
dependencies {
    implementation 'org.springframework.boot:spring-boot-starter-web:2.7.0'
}

See references/build-systems.md for complete mapping.

Travis CI to GitHub Actions

Use case: Migrate to GitHub-native CI/CD

Steps:

  1. Read .travis.yml
  2. Map language/runtime setup
  3. Convert matrix builds
  4. Migrate environment variables to secrets
  5. Generate .github/workflows/ci.yml
  6. Test workflow

Example:

Original Travis CI:

yaml
language: python
python:
  - "3.9"
script:
  - pytest tests/

Generated GitHub Actions:

yaml
name: CI
on: [push, pull_request]
jobs:
  test:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v3
    - uses: actions/setup-python@v4
      with:
        python-version: '3.9'
    - run: pytest tests/

See references/ci-platforms.md for complete mapping.

CircleCI to GitHub Actions

Use case: Consolidate CI/CD on GitHub

Steps:

  1. Read .circleci/config.yml
  2. Map Docker images to containers
  3. Convert workflows to jobs with dependencies
  4. Migrate orbs to actions
  5. Generate GitHub Actions workflow
  6. Test all jobs

GitLab CI to GitHub Actions

Use case: Migrate from GitLab to GitHub

Steps:

  1. Read .gitlab-ci.yml
  2. Map stages to jobs
  3. Convert services to GitHub Actions services
  4. Migrate CI/CD variables to secrets
  5. Generate workflow files
  6. Test pipeline

Migration Checklist

Before Migration

  • Backup existing configuration
  • Document current build/CI behavior
  • Identify custom scripts and dependencies
  • List environment variables and secrets
  • Note any special requirements

During Migration

  • Generate target configuration
  • Map all dependencies
  • Convert all commands
  • Migrate environment variables
  • Set up caching
  • Configure artifacts
  • Update deployment steps

After Migration

  • Test build locally
  • Test CI/CD pipeline
  • Verify all jobs succeed
  • Check artifacts are generated
  • Validate deployments work
  • Update documentation
  • Train team on new system

Validation Strategies

Dry Run

Test migration without committing:

  1. Generate configuration in separate branch
  2. Run build/CI locally if possible
  3. Review generated files
  4. Identify issues before committing

Parallel Running

Run both systems temporarily:

  1. Keep old configuration
  2. Add new configuration
  3. Compare results
  4. Fix discrepancies
  5. Remove old configuration once validated

Incremental Migration

Migrate in stages:

  1. Start with basic build
  2. Add tests
  3. Add caching
  4. Add deployment
  5. Validate each stage

Common Patterns

Dependency Version Management

Preserve exact versions:

Maven: <version>2.7.0</version>
→ Gradle: implementation 'group:artifact:2.7.0'

Convert version ranges:

Maven: <version>[1.0,2.0)</version>
→ Gradle: implementation 'group:artifact:1.+'

Environment Variables

Travis CI:

yaml
env:
  global:
    - DATABASE_URL=postgres://localhost/test

GitHub Actions:

yaml
env:
  DATABASE_URL: postgres://localhost/test

Matrix Builds

Travis CI:

yaml
python:
  - "3.8"
  - "3.9"

GitHub Actions:

yaml
strategy:
  matrix:
    python-version: ['3.8', '3.9']

Caching

CircleCI:

yaml
- save_cache:
    paths:
      - node_modules
    key: deps-{{ checksum "package.json" }}

GitHub Actions:

yaml
- uses: actions/cache@v3
  with:
    path: node_modules
    key: ${{ runner.os }}-deps-${{ hashFiles('package.json') }}

Troubleshooting

Build Fails After Migration

Check:

  • Dependency versions match
  • Build commands are correct
  • Environment variables are set
  • Required tools are installed

Solution:

  • Compare old and new configurations
  • Run build with verbose output
  • Check for missing dependencies
  • Verify tool versions

CI Pipeline Fails

Check:

  • Workflow syntax is correct
  • Secrets are configured
  • Runner has required tools
  • Network access is available

Solution:

  • Review pipeline logs
  • Test locally if possible
  • Check runner configuration
  • Verify permissions

Tests Fail

Check:

  • Test commands are correct
  • Test environment is set up
  • Database/services are running
  • Test data is available

Solution:

  • Run tests locally
  • Check service configuration
  • Verify environment variables
  • Review test logs

Best Practices

Preserve Functionality

  • Keep exact dependency versions initially
  • Maintain build lifecycle order
  • Preserve all test configurations
  • Keep deployment steps identical

Incremental Changes

  • Migrate one component at a time
  • Test after each change
  • Don't combine migration with upgrades
  • Document each step

Documentation

  • Document what changed
  • Note manual steps required
  • Provide rollback instructions
  • Update team documentation

Testing

  • Test locally before pushing
  • Use test branches
  • Run full test suite
  • Validate deployments

References

  • build-systems.md: Detailed mappings for Maven, Gradle, npm, Yarn, Make, CMake migrations
  • ci-platforms.md: Complete guides for Travis CI, CircleCI, Jenkins, GitLab CI, GitHub Actions migrations

Tips

  • Start simple: Migrate basic build first, add complexity later
  • Test thoroughly: Validate every aspect of the migration
  • Keep backups: Maintain old configuration until new one is proven
  • Document changes: Clear documentation helps team adoption
  • Use references: Consult reference files for detailed mappings
  • Validate incrementally: Test each component as you migrate it

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Build Ci Migration Assistant」では何ができますか?

ビルドシステムとCI/CD設定を、移行先のプラットフォームに合わせて自動的に移行します。ビルド基盤の刷新、CI/CDプロバイダーの切り替え、プロジェクト間の標準化に使用します。Maven↔Gradle、npm↔Yarn、Travis CI→GitHub Actions、CircleCI→GitHub Actions、Jenkins→GitLab CI、GitLab CI→GitHub Actionsなど、一般的な移行パターンに対応します。既存の設定を分析して同等の移行先設定を生成し、依存関係やコマンドを対応付け、検証手順と移行ドキュメントを提供します。

TypingMindでBuild Ci Migration Assistantを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Build Ci Migration Assistantはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにBuild Ci Migration Assistantをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/ArabelaTso/Skills-4-SE/tree/main/skills/build-ci-migration-assistantを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Build Ci Migration Assistantを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Build Ci Migration Assistantで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもBuild Ci Migration Assistantを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Build Ci Migration Assistant」は無料ですか?

はい。ArabelaTsoがApache-2.0ライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇