codespring
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseCodeSpring CLI
CodeSpring CLI
Manage project planning: workspaces, projects, tasks, PRDs, and mindmaps.
用于项目规划管理:工作区、项目、任务、PRD和思维导图。
Prerequisites
前置条件
- CLI installed: or use
npm i -g @codespring/clibunx @codespring/cli - Authenticated: Run to check. Login with
codespring auth status.codespring auth login - Project linked: Check for or run
.codespring/config.json.codespring init
- 已安装CLI:执行,或直接使用
npm i -g @codespring/clibunx @codespring/cli - 已完成身份认证:运行检查认证状态,使用
codespring auth status登录codespring auth login - 已关联项目:检查是否存在,若没有则运行
.codespring/config.json。codespring init
Quick Start
快速开始
bash
undefinedbash
undefined1. Check auth
1. 检查认证状态
codespring auth status
codespring auth status
2. Link project (interactive — picks workspace → project → writes config)
2. 关联项目(交互模式——选择工作区 → 选择项目 → 写入配置)
codespring init
codespring init
3. Start working
3. 开始使用
codespring tasks --status todo
undefinedcodespring tasks --status todo
undefinedCore Commands
核心命令
| Command | Purpose |
|---|---|
| List available workspaces |
| List projects in a workspace |
| List features for linked project |
| List tasks with filters |
| Mark task as in_progress |
| Mark task as done |
| List PRDs by feature structure |
| Get full PRD content |
| Update PRD from file |
| Get mindmap structure |
| Sync tech stack |
| Sync features |
| Add feature notes |
| Data schema reference |
| Mindmap node type reference |
| 命令 | 用途 |
|---|---|
| 列出可用工作区 |
| 列出指定工作区下的项目 |
| 列出已关联项目的功能点 |
| 按筛选条件列出任务 |
| 将任务标记为进行中 |
| 将任务标记为已完成 |
| 按功能结构列出PRD |
| 获取完整PRD内容 |
| 从文件更新PRD |
| 获取思维导图结构 |
| 同步技术栈 |
| 同步功能点 |
| 为功能点添加备注 |
| 数据模式参考 |
| 思维导图节点类型参考 |
Output
输出
All commands output JSON. Add for human-readable formatting.
Use on any command for full options.
--pretty--help所有命令默认输出JSON格式,添加参数可生成易读的格式化输出。任意命令后添加可查看完整参数选项。
--pretty--helpAgentic Task Workflow
智能任务工作流
bash
undefinedbash
undefined1. Find available work
1. 查找待处理工作
codespring tasks --status todo
codespring tasks --status todo
2. Claim a task
2. 认领任务
codespring task start <task-id>
codespring task start <task-id>
3. Do the work using your coding tools
3. 使用你的编码工具完成开发工作
4. Mark done
4. 标记任务完成
codespring task done <task-id>
undefinedcodespring task done <task-id>
undefinedSyncing Codebase Analysis
同步代码库分析结果
After analyzing a codebase, sync findings:
bash
undefined完成代码库分析后,可同步分析结果:
bash
undefinedSync detected technologies
同步检测到的技术栈
codespring mindmap tech-stack --add '[{"id":"tech-react","title":"React","description":"Frontend"}]'
codespring mindmap tech-stack --add '[{"id":"tech-react","title":"React","description":"Frontend"}]'
Sync discovered features
同步发现的功能点
codespring mindmap features --add '[{"title":"Authentication","description":"User login/signup"}]'
codespring mindmap features --add '[{"title":"Authentication","description":"User login/signup"}]'
Add analysis notes to a feature
为功能点添加分析备注
codespring mindmap note feature-auth --text "Uses OAuth2 with PKCE flow..."
undefinedcodespring mindmap note feature-auth --text "Uses OAuth2 with PKCE flow..."
undefinedDetailed References
详细参考文档
- commands.md — Full CLI reference with all flags
- task-workflow.md — Agentic task execution patterns
- analyze-codebase.md — Codebase analysis checklist
- mindmap-structure.md — Mindmap data formats and node types
- prd-management.md — PRD export and sync workflows
- commands.md — 完整CLI参考文档,包含所有参数
- task-workflow.md — 智能任务执行模式说明
- analyze-codebase.md — 代码库分析检查清单
- mindmap-structure.md — 思维导图数据格式与节点类型说明
- prd-management.md — PRD导出与同步工作流说明