config-migration-generator
БесплатноБез исполняемых скриптовНе проверенGenerate configuration file migration utilities for version upgrades.
от a5c-ai★ 1 947 звёзд на GitHubОб этом скилле
Config Migration Generator
Generate config file migration utilities.
Generated Patterns
interface Migration {
version: string;
up: (config: any) => any;
down: (config: any) => any;
}
const migrations: Migration[] = [
{
version: '2.0.0',
up: (config) => ({
...config,
server: { host: config.host, port: config.port },
version: '2.0.0',
}),
down: (config) => ({
host: config.server?.host,
port: config.server?.port,
version: '1.0.0',
}),
},
];
export function migrateConfig(config: any, targetVersion: string): any {
let current = config;
for (const migration of migrations) {
if (semver.gt(migration.version, config.version) && semver.lte(migration.version, targetVersion)) {
current = migration.up(current);
}
}
return current;
}
Target Processes
- configuration-management-system
- cli-update-mechanism
Установить config-migration-generator в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadWriteEditBashGlobGrepВложенные файлы
FAQ
Что делает скилл config-migration-generator?
Generate configuration file migration utilities for version upgrades.
Как установить скилл config-migration-generator?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл config-migration-generator запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic