mancode 0.1.0 → 0.2.0

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.
package/README.md CHANGED
@@ -11,14 +11,14 @@
11
11
 
12
12
  <p align="center">
13
13
  Adapts to common coding agent tools, including Claude Code, Cursor, Codex CLI,
14
- and GitHub Copilot.
14
+ GitHub Copilot, and ZCode.
15
15
  </p>
16
16
 
17
17
  <p align="center">
18
18
  <a href="./LICENSE"><img src="https://img.shields.io/badge/License-AGPL--3.0-blue.svg?style=flat-square" alt="License: AGPL-3.0" /></a>
19
- <img src="https://img.shields.io/badge/status-stable%20v0.1.0-green?style=flat-square" alt="Status: stable v0.1.0" />
20
- <img src="https://img.shields.io/badge/platforms-Claude%20Code%20%7C%20Cursor%20%7C%20Codex%20%7C%20Copilot-5865F2?style=flat-square" alt="Platforms: Claude Code, Cursor, Codex CLI, GitHub Copilot" />
21
- <img src="https://img.shields.io/badge/tests-256%20passed-brightgreen?style=flat-square" alt="Tests: 256 passed" />
19
+ <img src="https://img.shields.io/badge/status-stable%20v0.2.0-green?style=flat-square" alt="Status: stable v0.2.0" />
20
+ <img src="https://img.shields.io/badge/platforms-Claude%20Code%20%7C%20Cursor%20%7C%20Codex%20%7C%20Copilot%20%7C%20ZCode-5865F2?style=flat-square" alt="Platforms: Claude Code, Cursor, Codex CLI, GitHub Copilot, ZCode" />
21
+ <img src="https://img.shields.io/badge/tests-313%20passed-brightgreen?style=flat-square" alt="Tests: 305 passed" />
22
22
  </p>
23
23
 
24
24
  <p align="center">
@@ -34,10 +34,10 @@ different gears for different stakes: light solo mode for daily practice, `/man`
34
34
  for playoff-level engineering discipline, and coaching-staff subagents for
35
35
  research, planning, implementation, and review.
36
36
 
37
- mancode ships with adapters for Claude Code, Cursor, Codex CLI, and
38
- GitHub Copilot. Claude Code gets the full hooks, skills, and subagents setup;
39
- the other adapters receive durable rules or instruction files with documented
40
- capability downgrades.
37
+ mancode ships with adapters for Claude Code, Cursor, Codex CLI, GitHub Copilot,
38
+ and ZCode. Claude Code gets the full hooks, skills, and subagents setup; the
39
+ other adapters receive durable rules, skills, or instruction files with
40
+ documented capability downgrades.
41
41
 
42
42
  mancode installs three things:
43
43
 
@@ -82,7 +82,9 @@ testing, and multi-agent review: playoffs, every possession counts.
82
82
  .claude/ # Claude Code: hooks, skills, agents
83
83
  .cursor/rules/ # Cursor: project rules
84
84
  AGENTS.md # Codex CLI: managed instruction block
85
+ .codex/skills/ # Codex CLI: mode skills
85
86
  .github/copilot-instructions.md # GitHub Copilot: managed instruction block
87
+ .zcode/skills/ # ZCode: project mode skills
86
88
  ```
87
89
 
88
90
  `.mancode/` stores local state, project style signals, workflow reports, and
@@ -232,8 +234,9 @@ it should behave, and why previous decisions were made.
232
234
 
233
235
  ## Installation
234
236
 
235
- **Status**: stable v0.1.0. Claude Code, Cursor, Codex CLI, and GitHub Copilot are
236
- supported.
237
+ **Status**: stable v0.2.0. Claude Code, Cursor, Codex CLI, and GitHub Copilot
238
+ are supported. ZCode adapter support is included, with project skill discovery
239
+ kept behind a verification gate before release.
237
240
 
238
241
  ```bash
239
242
  npm install -g mancode
@@ -248,6 +251,9 @@ Supported platforms:
248
251
  - Cursor: `.cursor/rules/*.mdc` rules
249
252
  - Codex CLI: managed `AGENTS.md` block
250
253
  - GitHub Copilot: managed `.github/copilot-instructions.md` block
254
+ - ZCode: managed `AGENTS.md` block and provisional `$man*` skills in
255
+ `.zcode/skills/`; project skill discovery and slash commands pending verified
256
+ workspace paths
251
257
  - Windsurf, Cline, Roo Code: planned later
252
258
 
253
259
  ### Install Options
@@ -258,7 +264,7 @@ mancode init --yes # Skip confirmations for CI usage
258
264
  mancode init --team # Force-enable team mode
259
265
  mancode init --no-team # Force-disable team mode
260
266
  mancode init --style NAME # Save a default style preference
261
- mancode init --platform PLATFORM # Initialize for claude-code, cursor, codex, or copilot
267
+ mancode init --platform PLATFORM # Initialize for claude-code, cursor, codex, copilot, or zcode
262
268
  mancode install --force # Reinstall adapter while preserving scanned tokens
263
269
  mancode install --minimal # Install only solo-mode essentials
264
270
  ```
@@ -279,7 +285,7 @@ mancode install --minimal # Install only solo-mode essentials
279
285
  mancode init
280
286
  mancode status
281
287
  mancode status --json
282
- mancode install <claude-code|cursor|codex|copilot>
288
+ mancode install <claude-code|cursor|codex|copilot|zcode>
283
289
  mancode list-platforms
284
290
  mancode workflow create <man8|man> "<task>"
285
291
  mancode workflow update <taskId> [--step N] [--status in_progress|completed|abandoned]
@@ -296,7 +302,7 @@ mancode version
296
302
  ### `mancode status`
297
303
 
298
304
  ```text
299
- mancode v0.1.0
305
+ mancode v0.2.0
300
306
 
301
307
  Project: my-app (React + TypeScript + Tailwind)
302
308
  Mode: solo (default)
@@ -309,12 +315,14 @@ Installed platforms:
309
315
  ✓ Cursor
310
316
  ✓ Codex CLI
311
317
  ✓ GitHub Copilot
318
+ ✓ ZCode
312
319
 
313
320
  Platform status:
314
321
  ✓ Claude Code: ready (.claude/)
315
322
  ✓ Cursor: ready (.cursor/rules/)
316
- ✓ Codex CLI: ready (AGENTS.md)
323
+ ✓ Codex CLI: ready (AGENTS.md + .codex/skills/)
317
324
  ✓ GitHub Copilot: ready (.github/copilot-instructions.md)
325
+ ✓ ZCode: ready (AGENTS.md + .zcode/skills/)
318
326
 
319
327
  Hooks:
320
328
  ✓ session-start.sh
@@ -461,14 +469,20 @@ run `mancode install claude-code --force` to rewrite the settings.
461
469
 
462
470
  This means the platform's target files are missing. Run
463
471
  `mancode install <platform> --force` to regenerate them. For managed-block
464
- platforms (Codex, Copilot), the managed block in `AGENTS.md` or
472
+ platforms (Codex, ZCode, Copilot), the managed block in `AGENTS.md` or
465
473
  `.github/copilot-instructions.md` may have been manually edited or deleted.
466
474
 
467
475
  ### AGENTS.md or copilot-instructions.md managed block was accidentally deleted
468
476
 
469
- Run `mancode install codex --force` (or `copilot`) to reinsert the managed
470
- block. User-authored content outside the `<!-- mancode:start -->` and
471
- `<!-- mancode:end -->` markers is preserved.
477
+ Run `mancode install codex --force` (or `zcode`, or `copilot`) to reinsert the
478
+ managed block. User-authored content outside the relevant mancode managed
479
+ markers is preserved.
480
+
481
+ ### ZCode skills not appearing
482
+
483
+ Ensure `.zcode/skills/man8/SKILL.md` through `.zcode/skills/mansolo/SKILL.md`
484
+ exist, then restart or refresh ZCode. ZCode slash commands are not generated
485
+ yet because the workspace command file path still needs explicit verification.
472
486
 
473
487
  ### Cursor rules not triggering
474
488
 
@@ -522,9 +536,10 @@ are opt-in for work that needs planning, tests, and review.
522
536
 
523
537
  ### Does mancode work outside Claude Code?
524
538
 
525
- Yes. mancode supports Cursor, Codex CLI, and GitHub Copilot through
526
- persistent project rules or instruction files. Claude Code remains the richest
527
- adapter because it supports hooks, skills, and subagents.
539
+ Yes. mancode supports Cursor, Codex CLI, GitHub Copilot, and experimental ZCode
540
+ adaptation through persistent project rules, skills, or instruction files.
541
+ Claude Code remains the richest adapter because it supports hooks, skills, and
542
+ subagents.
528
543
 
529
544
  ### Can mancode help with frontend consistency?
530
545
 
package/README.zh-CN.md CHANGED
@@ -10,14 +10,14 @@
10
10
  </p>
11
11
 
12
12
  <p align="center">
13
- 适配常见编程代理工具,Claude Code、Cursor、Codex CLI 和 GitHub Copilot
13
+ 适配常见编程代理工具,Claude Code、Cursor、Codex CLI、GitHub Copilot ZCode
14
14
  </p>
15
15
 
16
16
  <p align="center">
17
17
  <a href="./LICENSE"><img src="https://img.shields.io/badge/License-AGPL--3.0-blue.svg?style=flat-square" alt="许可证:AGPL-3.0" /></a>
18
- <img src="https://img.shields.io/badge/status-stable%20v0.1.0-green?style=flat-square" alt="状态:稳定版 v0.1.0" />
19
- <img src="https://img.shields.io/badge/platforms-Claude%20Code%20%7C%20Cursor%20%7C%20Codex%20%7C%20Copilot-5865F2?style=flat-square" alt="平台:Claude Code、Cursor、Codex CLI、GitHub Copilot" />
20
- <img src="https://img.shields.io/badge/tests-256%20passed-brightgreen?style=flat-square" alt="测试:256 通过" />
18
+ <img src="https://img.shields.io/badge/status-stable%20v0.2.0-green?style=flat-square" alt="状态:稳定版 v0.2.0" />
19
+ <img src="https://img.shields.io/badge/platforms-Claude%20Code%20%7C%20Cursor%20%7C%20Codex%20%7C%20Copilot%20%7C%20ZCode-5865F2?style=flat-square" alt="平台:Claude Code、Cursor、Codex CLI、GitHub Copilot、ZCode" />
20
+ <img src="https://img.shields.io/badge/tests-313%20passed-brightgreen?style=flat-square" alt="测试:305 通过" />
21
21
  </p>
22
22
 
23
23
  <p align="center">
@@ -32,9 +32,9 @@
32
32
  日常任务用轻量 `solo`,关键任务用季后赛级别的 `/man`,复杂任务让教练组 subagents
33
33
  负责调研、计划、实现和审查。
34
34
 
35
- mancode 当前支持 Claude Code、Cursor、Codex CLI 和 GitHub CopilotClaude Code
36
- 获得完整 hooks、skills 和 subagents;其他平台通过持久化 rules 或 instructions 文件提供
37
- 降级适配。
35
+ mancode 当前支持 Claude Code、Cursor、Codex CLI、GitHub Copilot ZCode
36
+ Claude Code 获得完整 hooks、skills 和 subagents;其他平台通过持久化 rules
37
+ skills 或 instructions 文件提供降级适配。
38
38
 
39
39
  mancode 会安装三类能力:
40
40
 
@@ -76,7 +76,9 @@ mancode init
76
76
  .claude/ # Claude Code:hooks、skills、agents
77
77
  .cursor/rules/ # Cursor:项目 rules
78
78
  AGENTS.md # Codex CLI:托管 instruction block
79
+ .codex/skills/ # Codex CLI:mode skills
79
80
  .github/copilot-instructions.md # GitHub Copilot:托管 instruction block
81
+ .zcode/skills/ # ZCode:项目 mode skills
80
82
  ```
81
83
 
82
84
  `.mancode/` 保存本地状态、项目风格信号、工作流报告和团队记忆。平台文件保存对应
@@ -209,7 +211,8 @@ src/components/
209
211
 
210
212
  ## 安装
211
213
 
212
- **状态**:稳定版 v0.1.0。Claude Code、Cursor、Codex CLI 和 GitHub Copilot 均已支持。
214
+ **状态**:稳定版 v0.2.0。Claude Code、Cursor、Codex CLI 和 GitHub Copilot
215
+ 均已支持。ZCode adapter 已接入,但项目级 skill 发现路径在发布前仍作为验证门禁。
213
216
 
214
217
  ```bash
215
218
  npm install -g mancode
@@ -224,6 +227,8 @@ mancode init --platform cursor
224
227
  - Cursor:`.cursor/rules/*.mdc` rules
225
228
  - Codex CLI:托管 `AGENTS.md` block
226
229
  - GitHub Copilot:托管 `.github/copilot-instructions.md` block
230
+ - ZCode:托管 `AGENTS.md` block,并暂按 `.zcode/skills/` 生成 `$man*`
231
+ skills;项目级 skill 发现和 slash commands 仍需确认 workspace 路径后再发布承诺
227
232
  - Windsurf、Cline、Roo Code:后续计划
228
233
 
229
234
  ### 安装参数
@@ -234,7 +239,7 @@ mancode init --yes # CI 场景跳过确认
234
239
  mancode init --team # 强制启用团队模式
235
240
  mancode init --no-team # 强制禁用团队模式
236
241
  mancode init --style NAME # 保存默认审美偏好
237
- mancode init --platform PLATFORM # 初始化 claude-code、cursor、codex 或 copilot
242
+ mancode init --platform PLATFORM # 初始化 claude-code、cursor、codex、copilotzcode
238
243
  mancode install --force # 重装适配并保留已扫描 token
239
244
  mancode install --minimal # 只安装 solo 必需文件
240
245
  ```
@@ -255,7 +260,7 @@ mancode install --minimal # 只安装 solo 必需文件
255
260
  mancode init
256
261
  mancode status
257
262
  mancode status --json
258
- mancode install <claude-code|cursor|codex|copilot>
263
+ mancode install <claude-code|cursor|codex|copilot|zcode>
259
264
  mancode list-platforms
260
265
  mancode workflow create <man8|man> "<task>"
261
266
  mancode workflow update <taskId> [--step N] [--status in_progress|completed|abandoned]
@@ -272,7 +277,7 @@ mancode version
272
277
  ### `mancode status`
273
278
 
274
279
  ```text
275
- mancode v0.1.0
280
+ mancode v0.2.0
276
281
 
277
282
  Project: my-app (React + TypeScript + Tailwind)
278
283
  Mode: solo (default)
@@ -285,12 +290,14 @@ Installed platforms:
285
290
  ✓ Cursor
286
291
  ✓ Codex CLI
287
292
  ✓ GitHub Copilot
293
+ ✓ ZCode
288
294
 
289
295
  Platform status:
290
296
  ✓ Claude Code: ready (.claude/)
291
297
  ✓ Cursor: ready (.cursor/rules/)
292
- ✓ Codex CLI: ready (AGENTS.md)
298
+ ✓ Codex CLI: ready (AGENTS.md + .codex/skills/)
293
299
  ✓ GitHub Copilot: ready (.github/copilot-instructions.md)
300
+ ✓ ZCode: ready (AGENTS.md + .zcode/skills/)
294
301
 
295
302
  Hooks:
296
303
  ✓ session-start.sh
@@ -432,13 +439,19 @@ mancode 要求目标目录有 `.git` 或 `package.json`。请在 git 仓库或 N
432
439
  ### `mancode status` 显示某平台 "not ready"
433
440
 
434
441
  该平台的目标文件缺失。运行 `mancode install <platform> --force` 重新生成。
435
- 对于 Codex 和 Copilot,`AGENTS.md` 或 `.github/copilot-instructions.md`
442
+ 对于 Codex、ZCode 和 Copilot,`AGENTS.md` 或 `.github/copilot-instructions.md`
436
443
  中的受控区可能被手动编辑或删除了。
437
444
 
438
445
  ### AGENTS.md 或 copilot-instructions.md 受控区被误删
439
446
 
440
- 运行 `mancode install codex --force`(或 `copilot`)重新插入受控区。
441
- `<!-- mancode:start -->` 和 `<!-- mancode:end -->` 标记外的用户内容会被保留。
447
+ 运行 `mancode install codex --force`(或 `zcode`、`copilot`)重新插入受控区。
448
+ 对应 mancode 受控标记外的用户内容会被保留。
449
+
450
+ ### ZCode skills 未出现
451
+
452
+ 确认 `.zcode/skills/man8/SKILL.md` 到 `.zcode/skills/mansolo/SKILL.md`
453
+ 都存在,然后重启或刷新 ZCode。当前尚不生成 ZCode `/man*` slash commands,
454
+ 因为 workspace command 的文件路径仍需显式验证。
442
455
 
443
456
  ### Cursor rules 不触发
444
457
 
@@ -488,9 +501,9 @@ hooks。用户自定义的 rules 和 instructions 会被保留。
488
501
 
489
502
  ### mancode 支持 Claude Code 以外的平台吗?
490
503
 
491
- 支持。mancode 已通过持久化 rules 或 instruction 文件支持 Cursor、Codex CLI 和
492
- GitHub Copilot。Claude Code 仍是能力最完整的 adapter,因为它支持 hooks、skills 和
493
- subagents。
504
+ 支持。mancode 已通过持久化 rules、skills 或 instruction 文件支持 Cursor、Codex
505
+ CLI、GitHub Copilot,并提供实验性 ZCode adapter。Claude Code 仍是能力最完整的
506
+ adapter,因为它支持 hooks、skills 和 subagents。
494
507
 
495
508
  ### mancode 能改善前端一致性吗?
496
509