# Changelog

## [1.4.1] - 2026-04-30

### Fixed
- `npx qiushi-skill validate` 在 npm 包环境中不再把未发布的 `docs/README.*` 与 `docs/platforms.md` 当成必需文件

## [1.4.0] - 2026-04-30

### Added
- `npx qiushi-skill install` 现在直接支持 Codex、OpenCode、OpenClaw、Hermes Agent、nanobot，不再只输出 guidance
- OpenCode 安装同时复制 `skills/*` 与 `commands/*.md`
- 新增 `.qiushi-skill-install.json` 安装清单，卸载时只删除 CLI 管理过的文件
- 新增 Node test runner 覆盖多平台安装与卸载行为

### Changed
- `all` 目标纳入 nanobot，并覆盖全部支持平台
- `package.json.files` 纳入 `.nanobot`
- 文档、CLI help 与平台说明更新为直接安装路径

## [1.3.0] - 2026-04-14

### Added
- `.claude-plugin/marketplace.json`，支持 Claude Code 从 GitHub 仓库原生发现 marketplace
- `bin/qiushi-skill.mjs` 与 `bin/lib/*`，提供零依赖 npm CLI：`install` / `validate` / `uninstall`
- `.openclaw/INSTALL.md`、`.hermes/INSTALL.md` 以及对应平台文档
- `README.en.md`，提供英文入口

### Changed
- `package.json` 升级为 npm 可发布包，补齐 `bin`、`files`、仓库元数据、关键词与 `1.3.0` 版本
- `README.md` 安装链路改为以 `npx qiushi-skill` 和官方 `/plugin marketplace add HughYau/qiushi-skill` 为主
- `tests/validate.sh`、`tests/validate.ps1` 与 Node 版 validate 对齐，纳入 marketplace、CLI、平台文档检查
- OpenClaw 文档改为复用现有 Claude bundle；Hermes 文档改为对接其原生 skills 机制

## [1.2.0] - 2026-03-26

### Added
- `hooks/session-start.ps1`，为 Windows 提供原生 PowerShell SessionStart hook
- `commands/` 目录，补齐与 README 一致的手动 slash command 入口
- `tests/validate.ps1`，覆盖 JSON、frontmatter、链接、commands、hook smoke test
- `.codex/INSTALL.md`、`.opencode/INSTALL.md` 以及平台说明文档

### Changed
- `hooks/run-hook.cmd` 优先执行 PowerShell hook，bash/sh 改为兜底
- `skills/arming-thought/SKILL.md` 精简为轻量路由器，降低常驻 prompt 侵入性
- README 安装、验证、平台支持与项目结构说明更新
- `package.json` 增加 `validate`、`test`、`verify:install` 脚本
- 项目版本更新为 `1.2.0`

## [1.1.0] - 2026-03-25

### Changed
- 项目命名统一为 `qiushi-skill`（求是 skill）
- README 中"毛泽东"替换为"教员"（原著引用署名保留）
- 9 个 SKILL.md 瘦身：原著依据外迁到各 skill 目录下的 `original-texts.md`，减少 AI token 消耗
- hooks/session-start 中的品牌标识更新

### Added
- 3 个 Subagent Prompts：
  - `investigation-first/investigation-agent-prompt.md` — 调查研究 agent
  - `contradiction-analysis/contradiction-mapper-prompt.md` — 矛盾映射 agent
  - `mass-line/feedback-synthesizer-prompt.md` — 反馈综合 agent
- 3 个 Reference Guides：
  - `contradiction-analysis/contradiction-types-reference.md` — 矛盾类型速查
  - `criticism-self-criticism/review-checklist.md` — 工作审查检查清单
  - `protracted-strategy/phase-assessment-guide.md` — 持久战阶段评估指南
- 9 个 `original-texts.md` — 各 skill 的原著引用独立存放
- `.cursor-plugin/plugin.json` — Cursor IDE 平台支持
- `CHANGELOG.md` — 版本变更记录

## [1.0.0] - 2026-03-25

### Added
- 初始发布
- 1 个入口 skill（arming-thought）+ 9 个方法论 skill
- 三层架构：哲学基座 → 工作方法 → 战略战术
- hooks 系统实现 session 自动注入
- self-critic subagent
