workspace-architect 2.0.4 → 2.1.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
@@ -192,8 +192,10 @@ description: A guide for setting up X.
192
192
  ```
193
193
 
194
194
  **Naming Convention**: Filenames become IDs (extensions are stripped)
195
- - `assets/instructions/my-guide.md` → `instructions:my-guide`
196
- - `assets/agents/my-agent.agent.md` → `agents:my-agent`
195
+ - `assets/instructions/my-guide.md` → ID: `instructions:my-guide`
196
+ - `assets/agents/my-agent.agent.md` → ID: `agents:my-agent`
197
+
198
+ **Note**: The colon format (`type:name`) is used for internal IDs in collections and manifests. When using the CLI, use the space-separated format: `npx wsa download instructions my-guide`
197
199
 
198
200
  ### Creating Collections
199
201
 
@@ -203,17 +205,20 @@ Create a JSON file in `assets/collections/`:
203
205
  {
204
206
  "name": "My Collection",
205
207
  "description": "A collection for X development.",
206
- "items": [
207
- "instructions:reactjs",
208
- "prompts:code-review",
209
- "agents:expert-architect"
210
- ]
208
+ "items": {
209
+ "instructions": ["reactjs"],
210
+ "prompts": ["code-review"],
211
+ "agents": ["expert-architect"]
212
+ }
211
213
  }
212
214
  ```
213
215
 
216
+ **Collection Format**: Collections use a nested object structure where items are grouped by type. Each type key contains an array of asset names (without the type prefix).
217
+
214
218
  ### Useful Scripts
215
219
 
216
220
  - `npm run generate-manifest` - Generate `assets-manifest.json` (required before PRs)
221
+ - `npm run migrate-collections` - Migrate collections from old flat array format to new nested format
217
222
  - `npm run analyze` - Analyze collections with TF-IDF/Cosine Similarity
218
223
  - `npm run analyze -- --add` - Auto-add high-confidence matches
219
224
  - `npm run analyze -- --remove` - Remove low-confidence items
@@ -256,7 +261,11 @@ workspace-architect/
256
261
 
257
262
  ## Migration Guide
258
263
 
259
- Migrating from `.chatmode.md` to `.agent.md`? Run:
264
+ ### Migrating from `.chatmode.md` to `.agent.md`
265
+
266
+ **Note:** This guide is for users migrating from the deprecated `.chatmode.md` format to the current `.agent.md` format.
267
+
268
+ If you have legacy `.chatmode.md` files, run:
260
269
 
261
270
  ```bash
262
271
  mkdir -p assets/agents