Logo: Build Ci Migration Assistant

Build Ci Migration Assistant

Communautéit
ArabelaTso
build-ci-migration-assistant

Migréiert Build-Systemer an CI/CD-Konfiguratioune automatesch op Zilplattformen. Benotzt dës Skill, wann Dir d’Build-Infrastruktur moderniséiert, de CI/CD-Anbieter wiesselt oder Projeten op e gemeinsame Standard bréngt. Ënnerstëtzt üblech Migratiounen, dorënner Maven↔Gradle, npm↔Yarn, Travis CI→GitHub Actions, CircleCI→GitHub Actions, Jenkins→GitLab CI a GitLab CI→GitHub Actions. Analyséiert déi bestoend Konfiguratioun, generéiert eng entspriechend Zilkonfiguratioun, passt Ofhängegkeeten a Kommandoen un a liwwert Dokumentatioun zur Validéierung an zur Migratioun.

Add to TypingMind

Iwwersiicht

EditeurArabelaTso
RepositorySkills-4-SE
Skill-Nummbuild-ci-migration-assistant
Stären
258
Forks
25
Matgeliwwert Dateien
2
LizenzApache-2.0
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 2 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    ArabelaTso huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Build Ci Migration Assistant an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/ArabelaTso/Skills-4-SE/tree/main/skills/build-ci-migration-assistant
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

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
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Build Ci Migration Assistant an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Build Ci Migration Assistant automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Build Ci Migration Assistant net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

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

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Build Ci Migration Assistant?

Migréiert Build-Systemer an CI/CD-Konfiguratioune automatesch op Zilplattformen. Benotzt dës Skill, wann Dir d’Build-Infrastruktur moderniséiert, de CI/CD-Anbieter wiesselt oder Projeten op e gemeinsame Standard bréngt. Ënnerstëtzt üblech Migratiounen, dorënner Maven↔Gradle, npm↔Yarn, Travis CI→GitHub Actions, CircleCI→GitHub Actions, Jenkins→GitLab CI a GitLab CI→GitHub Actions. Analyséiert déi bestoend Konfiguratioun, generéiert eng entspriechend Zilkonfiguratioun, passt Ofhängegkeeten a Kommandoen un a liwwert Dokumentatioun zur Validéierung an zur Migratioun.

Firwat Build Ci Migration Assistant op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Build Ci Migration Assistant besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Build Ci Migration Assistant an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/ArabelaTso/Skills-4-SE/tree/main/skills/build-ci-migration-assistant an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Build Ci Migration Assistant benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Build Ci Migration Assistant benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Build Ci Migration Assistant domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Build Ci Migration Assistant gratis?

Jo. ArabelaTso huet de Skill ënner der Lizenz Apache-2.0 op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇