wordspace
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseWordspace
Wordspace
Wordspace is a CLI tool that bootstraps project workspaces with workflows — reusable programs fetched from GitHub.
.proseWordspace是一款CLI工具,可通过工作流快速搭建项目工作区——这些工作流是从GitHub获取的可复用程序。
.proseWhen to activate
激活时机
Activate this skill when the user:
- Wants to set up a new wordspace project
- Wants to browse, search, or add workflows
- Mentions "wordspace" by name
- Asks about available workflows or how to get new ones
当用户出现以下场景时激活此技能:
- 想要搭建一个新的Wordspace项目
- 想要浏览、搜索或添加工作流
- 提及“Wordspace”名称
- 询问可用工作流或获取新工作流的方法
Commands
命令
wordspace init
wordspace initwordspace init
wordspace initBootstrap a new project in the current directory. Runs three steps:
- Workflows — Fetches available workflows from GitHub and presents an interactive picker. The user selects which ones to download. In CI (non-TTY), all workflows are downloaded automatically.
.prose - Claude settings — Creates with base permissions (
.claude/settings.local.json,curl,python3,WebFetch).WebSearch - Directories — Creates the directory.
output/
Use to re-download workflows that already exist locally.
--force在当前目录快速搭建新项目。执行三个步骤:
- 工作流——从GitHub获取可用的工作流,并展示交互式选择器。用户可选择要下载的工作流。在CI环境(非TTY)中,会自动下载所有工作流。
.prose - Claude设置——创建文件,包含基础权限(
.claude/settings.local.json、curl、python3、WebFetch)。WebSearch - 目录——创建目录。
output/
使用参数可重新下载本地已存在的工作流。
--forcewordspace search [query]
wordspace search [query]wordspace search [query]
wordspace search [query]List all available workflows from the remote repository. Optionally filter by a substring query.
wordspace search # list all
wordspace search pulse # filter by "pulse"列出远程仓库中所有可用的工作流。可通过子串查询进行筛选。
wordspace search # 列出所有工作流
wordspace search pulse # 按“pulse”筛选wordspace add <name> [...]
wordspace add <name> [...]wordspace add <name> [...]
wordspace add <name> [...]Download one or more specific workflows by name. Automatically appends if missing.
.prosewordspace add x-daily-pulse
wordspace add x-daily-pulse x-weekly-report
wordspace add x-daily-pulse --force # overwrite existing按名称下载一个或多个特定工作流。如果未添加后缀,会自动补全。
.prosewordspace add x-daily-pulse
wordspace add x-daily-pulse x-weekly-report
wordspace add x-daily-pulse --force # 覆盖已存在的工作流Project structure after init
初始化后的项目结构
project/
├── .claude/
│ └── settings.local.json # Claude permissions
├── workflows/
│ └── *.prose # downloaded workflow files
├── output/ # working directory for outputs
└── skills/
└── wordspace/
└── SKILL.md # this fileproject/
├── .claude/
│ └── settings.local.json # Claude权限配置
├── workflows/
│ └── *.prose # 下载的工作流文件
├── output/ # 输出内容的工作目录
└── skills/
└── wordspace/
└── SKILL.md # 本文件Workflow picker (during init)
工作流选择器(初始化过程中)
When running , the CLI presents a numbered list of available workflows. The user can respond with:
wordspace init- or press Enter — download everything
all - or
none— skip workflow download0 - — pick specific numbers
1,3,5 - — pick a range
1-3 - — mix of both
1,3-5,7
运行时,CLI会展示可用工作流的编号列表。用户可通过以下方式响应:
wordspace init- 输入或按回车键——下载所有工作流
all - 输入或
none——跳过工作流下载0 - 输入——选择特定编号的工作流
1,3,5 - 输入——选择一个范围的工作流
1-3 - 输入——混合选择单个和范围
1,3-5,7
Installation
安装方式
npx wordspace initOr install globally:
npm i -g wordspace
wordspace initnpx wordspace init或者全局安装:
npm i -g wordspace
wordspace init