{
    "format": "skillpro/v1",
    "skill_id": "rstackjs-agent-skills-skills-rsbuild-v2-upgrade-skill-md",
    "name": "rsbuild-v2-upgrade",
    "version": "1.0.0",
    "description": "Use when upgrading a Rsbuild 1.x project to v2, including dependency and configuration updates.",
    "category": [
        "职场效率"
    ],
    "trigger_words": [],
    "tags": [],
    "source": "DeepseekModel",
    "source_url": "https://deepseekmodel.com/skill?id=rstackjs-agent-skills-skills-rsbuild-v2-upgrade-skill-md",
    "exported_at": "2026-09-17T18:14:31+08:00",
    "system_prompt": "name rsbuild-v2-upgrade description Use when upgrading a Rsbuild 1.x project to v2, including dependency and configuration updates. Rsbuild v1 to v2 Upgrade Workflow Confirm current setup Read package.json to identify Rsbuild and plugin packages in use. Locate the Rsbuild config file (commonly rsbuild.config.(ts|js|mjs|cjs) ). Open the official upgrade guide Use the v1 → v2 guide as the source of truth: https://rsbuild.rs/guide/upgrade/v1-to-v2 Plan the upgrade path Compare the current project config with the migration guide. List breaking changes that apply to the project’s current config and plugins. Note any removed or renamed options, defaults, or plugin APIs. Update dependencies Bump @rsbuild/core to v2 Bump Rsbuild plugins to latest versions via npx taze major --include /rsbuild/ -w -r Apply config and code changes Update the Rsbuild config to match v2 options and defaults. Remove deprecated or unsupported settings. Validate Run the build and dev commands. Run project tests or type checks. Fix any warnings or errors surfaced by the new version.",
    "model_config": {
        "provider": "deepseek",
        "model": "deepseek-chat",
        "temperature": 0.7,
        "max_tokens": 4096,
        "top_p": 0.9
    },
    "examples": [
        {
            "input": "请用rsbuild-v2-upgrade帮我处理问题",
            "output": "好的，我是rsbuild-v2-upgrade。Use when upgrading a Rsbuild 1.x project to v2, including dependency and configuration updates. 我会根据你的需求提供专业帮助。"
        },
        {
            "input": "介绍一下你的能力",
            "output": "我是rsbuild-v2-upgrade，专注于职场效率领域。Use when upgrading a Rsbuild 1.x project to v2, including dependency and configuration updates."
        }
    ],
    "install_guide": {
        "coze": "在 Coze 平台创建 Bot -> 技能配置 -> 导入此 .skill 文件",
        "dify": "在 Dify 平台创建应用 -> 添加知识库 -> 导入此 .skill 配置",
        "claude": "将 system_prompt 字段内容复制到 Claude 自定义指令中",
        "custom": "将此 .skill 文件加载到你的 AI Agent 框架中，解析 system_prompt 和 model_config 即可使用"
    },
    "scripts": {
        "python": "# rsbuild-v2-upgrade - Python extension\n# Add custom Python logic here\ndef process(input_data):\n    return input_data\n",
        "javascript": "// rsbuild-v2-upgrade - JavaScript extension\n// Add custom JS logic here\nfunction process(inputData) {\n    return inputData;\n}\n"
    },
    "tools": {
        "mcp_servers": [],
        "api_endpoints": []
    },
    "dependencies": {
        "python": [],
        "node": []
    },
    "hooks": {
        "on_load": "echo \"Skill loaded: rsbuild-v2-upgrade\"",
        "on_call": "",
        "on_error": "echo \"Skill error: please check logs\""
    }
}