Releases: leechen298/Code2Skill
Release list
Code2Skill v1.1.3
Documentation and release assets
- Make English the default GitHub and package README.
- Preserve the complete Simplified Chinese guide in README.zh-CN.md with reciprocal language navigation.
- Include four mobile article images and six Juejin/WeChat cover variants that were previously missing from the release snapshot.
DeepSeek Harness
Install this fixed release with:
dsh plugin --profile web add github:leechen298/Code2Skill#v1.1.3The Bundle still mounts the same three packaged Agent Skills. Generated business MCP servers remain separately registered.
Scope
This is a documentation and release-assets patch. It does not add Skill runtime behavior beyond v1.1.2.
Validation
- 338 repository tests passed.
- npm pack dry-run passed: 43 files, approximately 254 KB.
- Bilingual version, command, score, and documentation-link consistency checks passed.
Code2Skill v1.1.2
Runtime-neutral generation
- Generate from source-backed client, API, RPC, service, message, or task entry points.
- Keep output language, dependencies, and startup instructions aligned with the target runtime profile.
- Extend deterministic validation for runtime-neutral semantics.
License
- Standardize the repository and package metadata on the MIT license.
DeepSeek Harness
- Install the fixed release with: dsh plugin --profile web add github:leechen298/Code2Skill#v1.1.2
- The bundle continues to mount the three packaged Agent Skills only; generated business MCP servers remain separately registered.
Validation
- 338 repository tests passed.
- npm pack dry-run passed: 42 files, approximately 252 KB.
Code2Skill v1.1.1
DeepSeek Harness 插件支持
- 新增原生 DeepSeek Harness Bundle,可通过 GitHub 安装三个 Code2Skill Skills。
- 安装命令:dsh plugin --profile web add github:leechen298/Code2Skill#v1.1.1
- Bundle 不包含安装脚本或额外运行依赖;生成后的业务 MCP 仍按各产物的 MCP-SETUP.md 单独注册。
- 新增安装、验证、headless profile 与卸载文档。
验证
- 干净提交运行 325 项仓库测试,全部通过。
- npm pack 内容审计通过:42 个文件,约 253 KB。
- 使用 @deepseek-ai/dsh 0.1.0-rc.6 在隔离 profile 中完成插件安装、配置合成和 Web 启动,HTTP 返回 200。
DeepSeek Harness 当前仍处于 developer preview,后续版本可能调整插件接口。
Code2Skill v1.1.0:流程感知生成
主要更新
- 增加轻量的业务决策边界分析:区分 Agent 判断与补问、用户确认、MCP Tool、Function 内部确定性步骤、Host 策略和运行时硬约束。
- Tool 只在中间结果会改变分支、需要用户选择、可以独立停止或具有不同副作用时拆分;不再为了增加模型推理次数机械拆细。
- 加强“上游响应 → 客户端归一化/页面状态 → 下游请求”的字段来源追踪,并要求按每个使用点分别还原确定性转换。
- 加强选中记录的跨 Tool 数据交接,使用匿名 A/B 记录检查下游请求变化和残值。
- 更新
code2skill-review-flow:复杂写目标额外检查一个关键决策分支,但仍保持轻量主流程审核。 - 更新
code2skill-review-source:补充跨下游调用与客户端归一化的源码核对。
使用方式
现有调用方式保持不变:
使用 $code2skill-generate,把 <页面、目录或功能路径> 生成为可运行的 Function、MCP 和 Skills。
日常生成只需要 code2skill-generate。复杂写入或高价值业务可按需使用 code2skill-review-flow 和 code2skill-review-source。
验证
- 322 项仓库测试通过。
git diff --check通过。- 发布范围隐私关键词扫描无命中。
- 默认验证未调用真实业务接口。
边界
Code2Skill 生成的是可运行、可继续修改的业务能力初稿,不自动证明所有业务规则或真实环境均已验证。生成模型、源码完整度和授权范围都可能影响结果。对于复杂写入,建议使用方重点抽检跨 Tool 数据来源、同名字段语义、确定性请求转换、目标自己的前置步骤,以及附件上传与下游绑定。
Full Changelog: v1.0.1...v1.1.0
Code2Skill v1.0.1
Code2Skill v1.0.1 是首个正式版本后的稳定性补丁。
主要更新:
- 生成的业务接口地址改为由部署环境显式配置,不再内置测试或生产地址回退。
- 保留列表查询中用户所选记录的数据来源,并在后续 Tool 调用中动态交接,避免把录制或样本值固化为常量。
- 补充对应的匿名回归测试、生成规范和审核规则。
验证:
- 320 项仓库测试通过。
- git diff --check 通过。
- 公开文档敏感信息扫描通过。
边界:默认验证仍为离线技术验证,不代表已经调用或验证用户的真实业务接口。
Code2Skill v1.0.0
首个正式版本
Code2Skill v1.0.0 将项目整理为一组可安装的 Agent Skills,帮助编程 Agent 从用户授权的前端、后端或全栈代码中生成可供其他 Agent 使用的 Function、MCP Tools、业务 Skills 和离线测试。
主要能力
- 提供
code2skill-generate,从页面、目录、接口或业务功能中识别主要用户目标并生成精简运行包。 - 提供
code2skill-review-flow,独立检查主要目标和代表性标准路径是否闭环。 - 提供
code2skill-review-source,进一步核对请求字段、确定性转换、跨 Tool 交接和关键依赖。 - 以前端实际调用的后端接口为主要能力来源,后端默认只用于补齐公开请求、响应、鉴权和枚举契约。
- 多目标目录按主要用户目标生成独立 Skill,并复用共享的原子 Function/MCP Tool。
- 默认使用开放输入 Schema,并将真实 HTTP 响应保留给调用 Agent 判断。
- 默认执行离线 Function/MCP 冒烟和写能力 dry-run,不主动调用真实业务接口。
安装
npx skills add leechen298/Code2Skill \ --skill code2skill-generate code2skill-review-flow code2skill-review-source \ --agent "$AGENT_ID" \ --global \ --yes状态边界
Skill 已生成、MCP 已连接、真实业务已验证和已经部署是不同状态。v1.0.0 的默认验证是离线技术验证,不代表已经调用用户的真实业务接口。
后续稳定性修复已进入更新版本,建议新用户使用当前最新 Release。
Full Changelog: https://github.com/leechen298/Code2Skill/commits/v1.0.0