dshbase

插件目录 / Data / function-extraction

function-extraction

已验证 · 实测可装 addxing

✓ 持续维护

查看 GitHub ↗ ← 返回插件目录

0Stars
0Forks
0未关闭 issue
—语言
2026-08-14最近推送
跨平台平台

功能简介

面向 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

✅
我们的评价
可用 — 实测通过,早期项目

面向 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 实测能干净安装、正常启动。早期项目,但功能可用。

「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。

README

Function Extraction

skills.sh

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 instructions
  • template.md - the output document template
  • LICENSE.txt - Apache 2.0 license

Chinese Documentation

See README.zh.md.

安装

🧩 让 Agent 自动装(推荐)

装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:

dsh plugin add dshbase-catalog

然后对 agent 说「帮我装 function-extraction」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。

该插件是 GitHub 源码(未发 npm)——直接从仓库装:

Web profile:

dsh plugin --profile web add github:addxing/function-extraction

Headless(CLI)profile:

dsh plugin --profile headless add github:addxing/function-extraction

实测报告

验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。

安全:尚未扫描——我们的每日静态扫描将很快覆盖它。

分享徽章

Data 里更多

浏览全部 7819 个插件 →