Skip to main content

Module writing_guide

Module writing_guide 

Source
Expand description

写作技能的公开阅读页:三步接入(安装技能、连接站点、开始写作)、正文功能卡片与 技能全文。复用文章渲染器及 MCP 配置生成器。

Structs§

ConnectStepProps 🔒
Props for the ConnectStep component.
CopyButtonProps 🔒
Props for the CopyButton component.
InstallStepProps 🔒
Props for the InstallStep component.
McpTokenLinkProps 🔒
Props for the McpTokenLink component.
SkillDocumentProps 🔒
Props for the SkillDocument component.
WritingGuideProps 🔒
Props for the WritingGuide component.
WritingGuideRoute
写作指南路由,对应 /about/writing。
WritingHeaderProps
Props for the WritingHeader component.

Constants§

CLIENTS 🔒
客户端:名称、配置文件位置与官方文档。顺序与 WritingGuideData::configs 一致。
FEATURES 🔒
正文支持的功能:标题、说明与最小写法。

Functions§

ConnectStep 🔒
第 2 步:选择客户端,复制合并到配置文件的 MCP 配置。
CopyButton 🔒
仅在剪贴板写入成功后显示成功;失败时保持原文可选中或下载。
InstallStep 🔒
第 1 步:一句话让 Agent 安装技能到用户目录。
McpTokenLink 🔒
「管理 MCP 令牌」入口:后台 MCP 页是站内路由,未登录由后台外壳跳转登录。
SkillDocument 🔒
技能全文:左侧目录,右侧正文默认收起,展开后读全文。
WritingGuide 🔒
Required Props
WritingHeader
页头:返回关于、标题与一句说明。骨架屏复用。
__WritingGuideRoute_View 🔒
fetch_guide 🔒