Code2Skill: Generating Functions, MCP, and Agent Skills from Existing Code

Code2Skill is a MIT-licensed plugin developed by leechen298, designed to organize business logic scattered across frontend, backend, or full-stack source code into standard capability packages for agent invocation. Targeted at DeepSeek Harness (DSH) scenarios, this tool automatically identifies business entry points and call chains within user-authorized source code, generating Functions, MCP tools, workflow Skills, and offline tests. Its core advantage lies in performing offline technical verification by default without invoking production APIs, thereby ensuring security during the generation process. Users can easily install it to a specified profile using the `dsh` command and designate specific pages, directories, or function entry points as transformation targets. The plugin also includes a review feature to assess the completeness of the main workflow in generated packages and...

Read More