🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@double-codeing/flow2spec

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@double-codeing/flow2spec - npm Package Compare versions

Comparing version
2.2.2
to
2.2.3
+1
-1
docs/Flow2Spec使用说明.md

@@ -22,3 +22,3 @@ # Flow2Spec 使用说明

在**配置根父目录**执行 **`flow2spec init [agent ...]`**(未全局安装可用 **`npx @ctrip/flow2spec init`**)。`agent` 省略时默认 **`cursor`** → **`.cursor/`**;可多个:`cursor claude codex`,各写一套相同结构。详见 **`flow2spec --help`**。
在**配置根父目录**执行 **`flow2spec init [agent ...]`**(未全局安装可用 **`npx @double-codeing/flow2spec init`**)。`agent` 省略时默认 **`cursor`** → **`.cursor/`**;可多个:`cursor claude codex`,各写一套相同结构。详见 **`flow2spec --help`**。

@@ -25,0 +25,0 @@ 对每个所选配置根:**覆盖写入** `templates/` 中的 `rules/`、`skills/`、`template/`,并预建 **`stock-docs/`**、**`req-docs/`**。Cursor 下 Agent 按场景加载 **`skills/<标识>/SKILL.md`**。

@@ -36,3 +36,3 @@ # 工作流与技能说明

| ---- | ----------------------------------------------------------------------------------------------------------------------------------------- |
| 用法 | `npx @ctrip/flow2spec init` 或全局安装后 `flow2spec init [cursor \| claude \| codex ...]`;默认 **cursor** |
| 用法 | `npx @double-codeing/flow2spec init` 或全局安装后 `flow2spec init [cursor \| claude \| codex ...]`;默认 **cursor** |
| 写入 | 各配置根下 `stock-docs/`、`req-docs/`、`template/`、`rules/`、`skills/`(见 [Flow2Spec使用说明](./Flow2Spec使用说明.md#一init-做了什么))。**`.claude/`** 下 **`rules/*.md`**(`globs`→`paths`);**`.cursor/`** 下 **`rules/*.mdc`** |

@@ -39,0 +39,0 @@ | 结果 | Agent 按场景加载 `skills/*/SKILL.md` |

{
"name": "@double-codeing/flow2spec",
"version": "2.2.2",
"version": "2.2.3",
"description": "flow2spec init:落盘 .cursor/.claude/.codex 等配置根的 rules、skills、stock-docs/req-docs,文档驱动、f2s 可写回知识库工作流。",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/Lands-1203/Flow2Spec#readme",

@@ -17,8 +17,8 @@ # Flow2Spec

# 在目标代码仓库(配置根的父目录)执行(默认仅写入 .cursor/)
npx @ctrip/flow2spec init
npx @double-codeing/flow2spec init
# 指定 AI 工具配置目录(可多选)
npx @ctrip/flow2spec init claude
npx @ctrip/flow2spec init cursor claude codex
npx @double-codeing/flow2spec init claude
npx @double-codeing/flow2spec init cursor claude codex
# 或全局安装后
npm install -g @ctrip/flow2spec
npm install -g @double-codeing/flow2spec
flow2spec init

@@ -25,0 +25,0 @@ ```