Plugin directory / Data / function-extraction
function-extraction
Verified · install-tested on dsh addxing
What it does
面向 AI 编程代理的功能链路提取 Skill。它可以从项目代码中提取某个具体功能的完整实现链路,并生成包含业务逻辑、数据流、异常处理、模块依赖和 Mermaid 图表的技术开发文档 A skill for extracting a complete feature implementation chain from a codebase and generating a technical development document with business logic, data flow, exception handling, and Mermaid diagrams. Works with any AI coding agent
Works — verified, early-stage project
面向 AI 编程代理的功能链路提取 Skill。它可以从项目代码中提取某个具体功能的完整实现链路,并生成包含业务逻辑、数据流、异常处理、模块依赖和 Mermaid 图表的技术开发文档 A skill for extracting a complete feature implementation chain from a codebase and generating a technical development document with business logic, data flow, exception handling, and Mermaid diagrams. Works with any AI coding agent It installs cleanly and boots without issues in our testing. It's early-stage but functional.
“Verified” means our automated CI actually ran dsh plugin add in a clean profile and it booted — nothing more. Feature descriptions and version compatibility are the author’s claims. This is not a security audit and not an endorsement of third-party code.
README
Function Extraction
A skill for extracting a complete feature implementation chain from a codebase and generating a technical development document with business logic, data flow, exception handling, and Mermaid diagrams. Works with any AI coding agent.
Install
npx skills add addxing/function-extraction
DeepSeek Harness
This repo follows the DeepSeek Harness (DSH) Skill format. Clone it into a skills directory and it will be auto-discovered:
# User-level install (available in all projects)
git clone https://github.com/addxing/function-extraction ~/.dsh/skills/function-extraction
# Project-level install (current project only)
git clone https://github.com/addxing/function-extraction .dsh/skills/function-extraction
DSH hot-reloads the skills directory after cloning; the skill becomes available in new sessions.
Or install it as an official bundle plugin in one line (requires pnpm; restart the web app afterwards):
dsh plugin --profile web add "github:addxing/function-extraction#main"
Usage
After installing the skill, ask your AI agent to use it when you need a feature-level implementation document:
Use $function-extraction to document the login flow implementation.
For best results, provide:
- the feature name
- the entry file, class, method, route, page, button text, or other clues
- the expected output language or documentation scope, if different from the default
If the entry point is missing, the skill guides the agent to search the codebase and ask you to confirm the correct entry before continuing.
What It Does
This skill guides an agent to:
- confirm the target feature and entry point
- trace the implementation from entry to completion
- identify key business logic, data flow, state changes, and exception handling
- generate a technical development document using
template.md - include Mermaid flowcharts, sequence diagrams, and dependency graphs when useful
Files
SKILL.md- the skill instructionstemplate.md- the output document templateLICENSE.txt- Apache 2.0 license
Chinese Documentation
See README.zh.md.
Install
Install the catalog once, then DeepSeek Harness can find and install any plugin from this site automatically:
dsh plugin add dshbase-catalog Then say "install function-extraction for me" — your agent finds it in the directory and installs it. Docs: dshbase-catalog · verified packs.
This plugin is GitHub source (not published to npm) — install it straight from the repo:
Web profile:
dsh plugin --profile web add github:addxing/function-extraction Headless (CLI) profile:
dsh plugin --profile headless add github:addxing/function-extraction Test report
Verified: L1 install + L2 load + L3 runtime from GitHub source on dsh 0.1.0-rc.6.