feishu-doc-to-dev-spec

feishu-doc-to-dev-spec is a skill for Claude Code, Codex from LingyiChen-AI/OpenSkills. It costs 52 tokens per session (1,699 once invoked), scanned A, original, Apache-2.0.

A converter for turning Feishu cloud documents—a Chinese workplace document service—into structured development requirements.

In plain words
What is it for?
Use it to read one or more Feishu links and produce a Markdown development specification covering architecture, data models, APIs, implementation, and risks.
Why use it?
It gathers text, tables, images, and code from product documents so the engineering plan does not have to be assembled manually.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to read one or more Feishu links and produce a Markdown development specification covering architecture, data models, APIs, implementation, and risks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lingyichen-ai/openskills/feishu-doc-to-dev-spec
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add LingyiChen-AI/OpenSkills --skill feishu-doc-to-dev-spec
Clone the repo
git clone --depth 1 https://github.com/LingyiChen-AI/OpenSkills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for feishu-doc-to-dev-spec

README.md
[![agentmods](https://agentmods.dev/badge/skills/lingyichen-ai/openskills/feishu-doc-to-dev-spec/github.svg)](https://agentmods.dev/skills/lingyichen-ai/openskills/feishu-doc-to-dev-spec)
Your own site
<a href="https://agentmods.dev/skills/lingyichen-ai/openskills/feishu-doc-to-dev-spec"><img src="https://agentmods.dev/badge/skills/lingyichen-ai/openskills/feishu-doc-to-dev-spec/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for feishu-doc-to-dev-spec

Your own site · 80×15
<a href="https://agentmods.dev/skills/lingyichen-ai/openskills/feishu-doc-to-dev-spec"><img src="https://agentmods.dev/badge/skills/lingyichen-ai/openskills/feishu-doc-to-dev-spec.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,699 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00052 $0.01699
Opus 5 $0.00026 $0.00849
Sonnet 5 $0.00010 $0.00340
Haiku 4.5 $0.00005 $0.00170

Measured 9d ago against content hash d56623a2797f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

feishu-doc-to-dev-spec scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (demo.py, scripts/fetch_feishu_doc.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

examples/feishu-doc-to-dev-spec/SKILL.md · 222 lines

How it starts

The opening of the file, as written. The whole thing — 222 lines — stays where its author put it; the contents beside it link to each section on GitHub.

飞书云文档转研发需求文档

任务目标

本 Skill 用于:

  1. 读取飞书云文档内容(支持多个文档链接)
  2. 完整解析文档中的所有内容:文本、表格、图片、代码块等
  3. 根据用户选择的开发语言和存储结构
  4. 将产品需求文档(PRD)转换为结构化的研发开发需求文档

前置准备

飞书应用配置

使用前需要创建飞书应用并获取凭证:

  1. 访问 飞书开放平台
  2. 创建企业自建应用
  3. 获取 App ID 和 App Secret
  4. 配置应用权限:
    • docx:document:readonly - 读取文档内容
    • drive:drive:readonly - 读取云空间文件
    • wiki:wiki:readonly - 读取知识库(如需要)

环境变量

export FEISHU_APP_ID=your-app-id
export FEISHU_APP_SECRET=your-app-secret

操作步骤

标准流程

  1. 收集文档链接

    • 用户提供一个或多个飞书文档链接
    • 支持的链接格式:
      • https://xxx.feishu.cn/docx/xxxxx - 新版文档
      • https://xxx.feishu.cn/docs/xxxxx - 旧版文档
      • https://xxx.feishu.cn/wiki/xxxxx - 知识库文档
  2. 确认技术选型

    • 询问用户选择的开发语言(如:Python、Java、Go、Node.js、Rust 等)
    • 询问存储结构(如:PostgreSQL、MySQL、MongoDB、Redis 等)
    • 询问其他技术栈偏好(框架、部署方式等)
  3. 读取文档内容

    • 调用 [INVOKE:fetch_feishu_doc] 脚本
    • 传入文档链接列表
    • 脚本会返回完整的文档内容,包括:
      • 文本段落
      • 表格数据(转换为 Markdown 表格)
      • 图片(下载到本地并返回路径)
      • 代码块
      • 有序/无序列表
  4. 分析需求内容

    • 识别功能需求、非功能需求
    • 提取业务规则和约束
    • 整理用户故事和验收标准
  5. 生成研发需求文档

    • 根据用户选择的技术栈
    • 生成包含以下内容的研发文档:
      • 技术架构设计
      • 数据模型设计(表结构)
      • API 接口设计
      • 核心功能实现方案
      • 技术风险评估
  6. 输出结果

    • 生成 Markdown 格式的研发需求文档
    • 保存到 ./output/ 目录

资源索引

脚本

  • 飞书文档读取scripts/fetch_feishu_doc.py
    • 用途:读取飞书云文档的完整内容
    • 输入参数(JSON 格式):
      {
        "doc_urls": ["https://xxx.feishu.cn/docx/xxxxx"],
        "app_id": "飞书应用ID(可选,默认从环境变量读取)",
        "app_secret": "飞书应用密钥(可选,默认从环境变量读取)"
      }
      
    • 输出:文档内容的 JSON 结构

参考文档

  • 研发文档模板references/dev-spec-template.md

    • 何时读取:生成研发需求文档时
    • 包含标准的研发文档结构和示例
  • 技术选型指南references/tech-stack-guide.md

    • 何时读取:帮助用户选择技术栈时
    • 包含常见技术栈的特点和适用场景

注意事项

文档权限

  • 确保飞书应用有权限访问目标文档
  • 如果文档是私有的,需要将应用添加为文档协作者

图片处理

  • 文档中的图片会被下载到 ./output/images/ 目录
  • 图片链接会被替换为本地相对路径

多文档合并

  • 当用户提供多个文档链接时,会按顺序读取并合并内容
  • 每个文档的内容会用分隔线区分

输出格式

  • 研发需求文档采用 Markdown 格式
  • 表格使用 Markdown 表格语法
  • 代码块使用对应语言的语法高亮标记

Read the full file on GitHub · 222 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 222 lines · 52 tokens per session scan A d56623a2797f

Subscribe to this mod's changes

feishu-doc-to-dev-spec is a skill published in the GitHub repository LingyiChen-AI/OpenSkills (68 stars, last pushed 7mo ago), licensed Apache-2.0. It adds 52 tokens to every session and 1,699 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

orbit-notion

Open Orbit briefing skill — selected by the Orbit pipeline when Notion is the user's only connected connector, or when the user explicitly scopes their daily digest to Notion. Pulls the past 24 hours of document edits, comments, mentions, and database row changes from the user's authenticated Notion connection and…

nexu-io/open-design · 117 tokens

instrument-data-to-allotrope

Convert laboratory instrument output files (PDF, CSV, Excel, TXT) to Allotrope Simple Model (ASM) JSON format or flattened 2D CSV. Use this skill when scientists need to standardize instrument data for LIMS systems, data lakes, or downstream analysis. Supports auto-detection of instrument types. Outputs include full…

anthropics/knowledge-work-plugins · 123 tokens

baoyu-youtube-transcript

A tool for downloading the written captions, subtitles, chapter information, speaker labels, and cover image from a YouTube video using its URL or ID.

JimLiu/baoyu-skills · 107 tokens

feishu

Work with Feishu or Lark bots, docs, sheets, bitables, approval flows, and OpenAPI/MCP setup without hardcoding credentials.

Hmbown/CodeWhale · 33 tokens

read

Reads URLs and PDFs by fetching source content, defaulting to concise summaries for plain read requests and clean Markdown when asked to convert, save, quote, cite, or feed downstream work. Use when users ask in any language to read, fetch, check, summarize, quote, cite, convert, or save a URL or PDF. Not for local…

tw93/Waza · 78 tokens

overleaf-sync

A two-way connection between a local paper folder and Overleaf, a web-based LaTeX editor for writing research papers. It lets you move changes between the local files and the shared Overleaf project.

wanshuiyin/Auto-claude-code-research-in-sleep · 97 tokens