
leechen298/code2skill
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
Generate Function, MCP, Agent Skill, and offline test packages from existing code; installable as a DeepSeek Harness bundle.
개요
Code2Skill is a collection of installable Agent Skills that helps coding agents understand business functionality in user-authorized frontend, backend, or full-stack source code, then generate Functions, MCP tools, workflow Skills, and offline tests for other agents to use. This repository is distinct from ant-intl/Code2Skill, a research implementation for synthesizing source-grounded procedural skill records and retrieval indexes from code; the two projects serve different purposes. Functions and MCP tools provide business capabilities. Skills guide an agent in using those capabilities. The consuming agent still decides whether to call a tool, what to clarify, how to interpret a response, and what to do next. - Generates capabilities from business invocation points that actually exist in source code.
README
원문 README의 일부입니다. 원문 보기.
Code2Skill
English | 简体中文
Code2Skill is a collection of installable Agent Skills that helps coding agents understand business functionality in user-authorized frontend, backend, or full-stack source code, then generate Functions, MCP tools, workflow Skills, and offline tests for other agents to use.
This repository is distinct from ant-intl/Code2Skill, a research implementation for synthesizing source-grounded procedural skill records and retrieval indexes from code; the two projects serve different purposes.
Current release: v1.2.0.
Existing application code
↓ Code2Skill
Functions + MCP Tools + Skills + Tests
↓
An agent gathers the required information and completes the user's goal
Functions and MCP tools provide business capabilities. Skills guide an agent in using those capabilities. The consuming agent still decides whether to call a tool, what to clarify, how to interpret a response, and what to do next.
What It Does
- Generates capabilities from business invocation points that actually exist in source code. Client-backed features start from calls made by the client or consumer; projects without a client start from user-specified public APIs, RPCs, services, messages, or task entry points and follow their public request, response, and contract types as needed.
- Identifies independently completable goals within a user-specified page, directory, feature, or public entry point.
- Places field provenance, selected-record handoffs between tools, request assembly, and deterministic transformations in Functions.
- Generates a Skill for each primary goal while reusing the necessary Functions and MCP tools.
- Defaults to offline technical validation and does not call live business APIs.
Supported Agents
You can run Code2Skill with mainstream coding agents such as Codex, Claude Code, and Kimi Code. Generated Skills can be installed in Codex, Claude Code, Cursor, OpenClaw, and other environments that support Agent Skills.
See the skills CLI compatibility list for more environments. To perform live business operations, register the generated MCP server as described in each package’s MCP-SETUP.md.
Installation
Install all three Skills with the standard Agent Skills CLI:
npx skills add leechen298/Code2Skill \
--skill code2skill-generate code2skill-review-flow code2skill-review-source \
--agent "$AGENT_ID" \
--global \
--yes
code2skill-generate: generates Functions, MCP tools, workflow Skills, and offline tests.code2skill-review-flow: checks whether a user can complete the main goals through the generated workflows.
추천 도구
다른 키워드를 입력하거나 필터를 제거해 보세요.
설치
npx skillfish add leechen298/code2skill