speccore 4.0.1 → 4.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.en.md +20 -1
  2. package/README.md +21 -2
  3. package/package.json +1 -1
package/README.en.md CHANGED
@@ -105,7 +105,9 @@ User Input (Natural Language / Slash Command)
105
105
 
106
106
  ---
107
107
 
108
- ## 🤖 Command Quick Reference (39 total)
108
+ ## 🔧 CLI Commands Quick Reference (39 total)
109
+
110
+ > Run in terminal. All commands start with `speccore`.
109
111
 
110
112
  | Category | Key Commands |
111
113
  | :--- | :--- |
@@ -122,6 +124,23 @@ User Input (Natural Language / Slash Command)
122
124
  | 📱 Platform | `platform-add` / `context` |
123
125
  | 🛠️ Tools | `health` / `report` / `template-add` / `help` / `demo` / `welcome` |
124
126
 
127
+ ## 🤖 AI Commands (Slash Command) Mapping
128
+
129
+ > Type `/` in AI tools (WorkBuddy / Cursor / Claude Code etc.). AI commands call the corresponding CLI command internally.
130
+
131
+ | CLI Command | AI Slash Command | Purpose |
132
+ | :--- | :--- | :--- |
133
+ | `speccore init` | `/spec-init` | Initialize project |
134
+ | `speccore import` | `/spec-import` | Import to global layer |
135
+ | `speccore iteration create` | `/spec-iteration-create` | Create iteration |
136
+ | `speccore new-task` | `/spec-new-task` | Create multi-platform task |
137
+ | `speccore execute` | `/spec-execute` | Execute development |
138
+ | `speccore progress` | `/spec-progress` | View progress |
139
+ | `speccore validate` | `/spec-validate` | Compliance check |
140
+ | `speccore impact` | `/spec-impact` | Impact analysis |
141
+ | `speccore audit` | `/spec-ai-audit` | AI smart audit |
142
+ | `speccore spec "query"` | `/spec query` | Natural language intent |
143
+
125
144
  > 📋 Full command reference: [Command Reference](docs/commands.en.md) | 🧠 Intent mapping: [Intent Map](docs/commands.en.md#natural-language-intent-mapping-31-types)
126
145
 
127
146
  ---
package/README.md CHANGED
@@ -104,7 +104,9 @@ SpecCore 采用**确定性逻辑与智能逻辑解耦**的架构:
104
104
 
105
105
  ---
106
106
 
107
- ## 🤖 AI 命令速查(39 个,按分类)
107
+ ## 🔧 终端命令速查(39 个 CLI 命令)
108
+
109
+ > 在终端中执行,所有命令以 `speccore` 开头。
108
110
 
109
111
  | 分类 | 命令 | 说明 |
110
112
  | :--- | :--- | :--- |
@@ -122,7 +124,24 @@ SpecCore 采用**确定性逻辑与智能逻辑解耦**的架构:
122
124
  | 🎯 场景 | `speccore goal` / `bugfix` / `research` / `handover` / `retro` | 端到端需求 + Bug + 调研 + 交接 + 回顾 |
123
125
  | 🛠️ 工具 | `speccore health` / `report` / `archive` / `config` / `rename` / `template-add` / `help` / `demo` / `welcome` | 健康度 + 报告 + 归档 + 配置 + 重命名等 |
124
126
 
125
- > 📋 完整命令参数和别名见 [命令参考手册](docs/命令参考.md) | 🧠 31 种意图映射见 [命令参考—意图映射](docs/命令参考.md#自然语言意图映射31-种)
127
+ ## 🤖 AI 命令(Slash Command)对应关系
128
+
129
+ > 在 AI 工具(WorkBuddy / Cursor / Claude Code 等)中输入 `/` + 命令。AI 命令在底层调用对应的 CLI 命令执行。
130
+
131
+ | CLI 终端命令 | AI Slash Command | 用途 |
132
+ | :--- | :--- | :--- |
133
+ | `speccore init` | `/spec-init` | 项目初始化 |
134
+ | `speccore import` | `/spec-import` | 导入项目到全量层 |
135
+ | `speccore iteration create` | `/spec-iteration-create` | 创建期次 |
136
+ | `speccore new-task` | `/spec-new-task` | 创建多平台 Task |
137
+ | `speccore execute` | `/spec-execute` | 执行开发任务 |
138
+ | `speccore progress` | `/spec-progress` | 查看进度 |
139
+ | `speccore validate` | `/spec-validate` | 合规性检查 |
140
+ | `speccore impact` | `/spec-impact` | 变更影响分析 |
141
+ | `speccore audit` | `/spec-ai-audit` | AI 智能审计 |
142
+ | `speccore spec "查询"` | `/spec 查询` | 自然语言智能入口 |
143
+
144
+ > 📋 完整命令参数见 [命令参考手册](docs/命令参考.md) | 🧠 31 种意图映射见 [意图映射表](docs/命令参考.md#自然语言意图映射31-种)
126
145
 
127
146
  ---
128
147
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "speccore",
3
- "version": "4.0.1",
3
+ "version": "4.0.2",
4
4
  "description": "SpecCore - Code by Spec, Not by Vibe.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",