dsh-plugin-strict-spec 0.5.1 → 0.6.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 +13 -13
- package/README.zh.md +10 -12
- package/dist/cli/strict-spec-cli.js +108 -770
- package/dist/skills/strict-roadmap-plan/SKILL.md +49 -139
- package/dist/skills/strict-roadmap-recommend/SKILL.md +63 -282
- package/dist/skills/strict-roadmap-reorder/SKILL.md +40 -158
- package/dist/skills/strict-roadmap-review/SKILL.md +48 -144
- package/dist/skills/strict-roadmap-transition/SKILL.md +52 -274
- package/dist/skills/strict-scene-edit/SKILL.md +51 -121
- package/dist/skills/strict-spec-apply/SKILL.md +63 -173
- package/dist/skills/strict-spec-architecture/SKILL.md +39 -97
- package/dist/skills/strict-spec-archive/SKILL.md +57 -127
- package/dist/skills/strict-spec-auto/SKILL.md +98 -270
- package/dist/skills/strict-spec-brainstorm/SKILL.md +73 -176
- package/dist/skills/strict-spec-bugfix/SKILL.md +101 -225
- package/dist/skills/strict-spec-design/SKILL.md +55 -124
- package/dist/skills/strict-spec-design-sync/SKILL.md +55 -123
- package/dist/skills/strict-spec-init/SKILL.md +45 -93
- package/dist/skills/strict-spec-maintenance/SKILL.md +44 -94
- package/dist/skills/strict-spec-modify/SKILL.md +44 -113
- package/dist/skills/strict-spec-propose/SKILL.md +180 -495
- package/dist/skills/strict-spec-review/SKILL.md +121 -273
- package/dist/skills/strict-spec-ship/SKILL.md +25 -60
- package/dist/skills/strict-spec-spec-edit/SKILL.md +35 -84
- package/dist/skills/strict-spec-sync-specs/SKILL.md +44 -94
- package/dist/skills/strict-spec-verify/SKILL.md +28 -43
- package/dist/skills/strict-tech-edit/SKILL.md +43 -124
- package/dist/skills/strict-tech-sync/SKILL.md +60 -162
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -135,7 +135,7 @@ page](https://github.com/kw12121212/strict-spec-driven/releases) and install
|
|
|
135
135
|
its tarball (0.3.0 shown):
|
|
136
136
|
|
|
137
137
|
```sh
|
|
138
|
-
dsh plugin --profile web add https://github.com/kw12121212/strict-spec-driven/releases/download/plugin-v0.
|
|
138
|
+
dsh plugin --profile web add https://github.com/kw12121212/strict-spec-driven/releases/download/plugin-v0.6.0/dsh-plugin-strict-spec-0.6.0.tgz
|
|
139
139
|
```
|
|
140
140
|
|
|
141
141
|
When a registry release exists, the name form works too:
|
|
@@ -157,28 +157,28 @@ Upgrades install the newer release's URL the same way and restart the host.
|
|
|
157
157
|
|
|
158
158
|
### Development installs
|
|
159
159
|
|
|
160
|
-
The built bundle is
|
|
161
|
-
|
|
160
|
+
The built bundle is tracked beside the plugin's sources, so a checkout of this
|
|
161
|
+
repository installs as-is — no build step, no bun, nothing to regenerate first.
|
|
162
|
+
Run this from the plugin directory:
|
|
162
163
|
|
|
163
164
|
```sh
|
|
164
|
-
cd plugins/dsh-strict-spec
|
|
165
|
-
bun install
|
|
166
|
-
bun run build
|
|
167
165
|
dsh plugin --profile web add "link:$(pwd)"
|
|
168
166
|
```
|
|
169
167
|
|
|
170
|
-
|
|
171
|
-
npm-installed `dsh` command. Alternatively, install from a tarball packed from
|
|
172
|
-
the built checkout:
|
|
168
|
+
Alternatively, install from a tarball packed from the checkout:
|
|
173
169
|
|
|
174
170
|
```sh
|
|
175
171
|
dsh plugin --profile web add "$(pwd)/$(npm pack --silent)"
|
|
176
172
|
```
|
|
177
173
|
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
174
|
+
After changing the plugin's sources, run `bun install && bun run build` inside
|
|
175
|
+
`plugins/dsh-strict-spec` and commit the rebuilt `dist/`: the regression suite
|
|
176
|
+
compares the tracked bundle with a fresh build and fails when it drifts. The
|
|
177
|
+
package's `prepare` script rebuilds the bundle only when one of its files is
|
|
178
|
+
missing, so an interrupted checkout repairs itself. A `link:` install follows
|
|
179
|
+
later rebuilds of the checkout; a tarball install is a fixed copy that you
|
|
180
|
+
replace by packing and adding again. Then boot the web client from the
|
|
181
|
+
workspace you want to read:
|
|
182
182
|
|
|
183
183
|
```sh
|
|
184
184
|
cd /path/to/your/project
|
package/README.zh.md
CHANGED
|
@@ -105,7 +105,7 @@ roadmap-status` 报告该里程碑的所有计划变更都已完成时目标完
|
|
|
105
105
|
选最新的 `plugin-v*` 标签安装其 tarball(以 0.3.0 为例):
|
|
106
106
|
|
|
107
107
|
```sh
|
|
108
|
-
dsh plugin --profile web add https://github.com/kw12121212/strict-spec-driven/releases/download/plugin-v0.
|
|
108
|
+
dsh plugin --profile web add https://github.com/kw12121212/strict-spec-driven/releases/download/plugin-v0.6.0/dsh-plugin-strict-spec-0.6.0.tgz
|
|
109
109
|
```
|
|
110
110
|
|
|
111
111
|
若存在 registry 发布,按名称安装亦可:
|
|
@@ -119,27 +119,25 @@ dsh plugin --profile web add dsh-plugin-strict-spec
|
|
|
119
119
|
|
|
120
120
|
### 开发安装
|
|
121
121
|
|
|
122
|
-
|
|
123
|
-
|
|
122
|
+
插件仓库同时提交了构建产物,所以本仓库的 checkout 可以直接安装——不需要先构建,
|
|
123
|
+
也不需要 bun。在插件目录执行:
|
|
124
124
|
|
|
125
125
|
```sh
|
|
126
|
-
cd plugins/dsh-strict-spec
|
|
127
|
-
bun install
|
|
128
|
-
bun run build
|
|
129
126
|
dsh plugin --profile web add "link:$(pwd)"
|
|
130
127
|
```
|
|
131
128
|
|
|
132
|
-
|
|
133
|
-
插件。也可以从构建好的 checkout 打包 tarball 安装:
|
|
129
|
+
也可以从 checkout 打包 tarball 安装:
|
|
134
130
|
|
|
135
131
|
```sh
|
|
136
132
|
dsh plugin --profile web add "$(pwd)/$(npm pack --silent)"
|
|
137
133
|
```
|
|
138
134
|
|
|
139
|
-
`
|
|
140
|
-
`
|
|
141
|
-
|
|
142
|
-
|
|
135
|
+
修改插件源码后,在 `plugins/dsh-strict-spec` 中执行
|
|
136
|
+
`bun install && bun run build`,并提交重建后的 `dist/`:回归套件会把仓库里的
|
|
137
|
+
构建产物与一次全新构建逐字节比对,出现漂移即失败。包的 `prepare` 脚本只在构建
|
|
138
|
+
产物缺少文件时才重建,因此不完整的 checkout 会自行修复。`link:` 安装会跟随之后
|
|
139
|
+
的重新构建;tarball 安装是固定副本,需要重新打包并再次 add 才能替换。然后在要
|
|
140
|
+
查看的 workspace 中启动 Web 客户端:
|
|
143
141
|
|
|
144
142
|
```sh
|
|
145
143
|
cd /path/to/your/project
|