Skip to content

Commit 85896e9

Browse files
ericyangpanclaude
andcommitted
chore(skills): update manifest-automation skill
Update manifest-automation skill documentation for new schema. - Update field references from totalContext to contextWindow - Update validation command references to use npm run test:validate - Update workflow documentation to reflect new schema structure 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent 292a3db commit 85896e9

File tree

9 files changed

+18
-18
lines changed

9 files changed

+18
-18
lines changed

.claude/skills/manifest-automation/SKILL.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ Always replaced with freshly discovered values:
274274
- `websiteUrl` - Official URL
275275
- `docsUrl` - Documentation URL
276276
- `tokenPricing` - Model pricing (changes frequently)
277-
- `size`, `totalContext`, `maxOutput` - Model specs
277+
- `size`, `contextWindow`, `maxOutput` - Model specs
278278

279279
### PRESERVE Fields
280280
Never updated (user-curated):
@@ -340,7 +340,7 @@ Status: DRAFT (3 fields incomplete)
340340
3. **Update github-stars.json** with new entry
341341
4. Update i18n translations if English content changed
342342
5. Update verified field once data confirmed accurate
343-
6. Run validation: node scripts/validate/validate-manifests.mjs
343+
6. Run validation: npm run test:validate
344344
```
345345

346346
## Comparison with manifest-creator
@@ -429,7 +429,7 @@ After running this skill, expect:
429429
1. **Manifest file**: `manifests/<type>s/<name>.json`
430430
2. **With TODO comments**: For failed field extractions
431431
3. **Valid against schema**: `manifests/$schemas/<type>.schema.json`
432-
4. **Ready for validation**: Run `node scripts/validate/validate-manifests.mjs`
432+
4. **Ready for validation**: Run `npm run test:validate`
433433

434434
## GitHub Stars Update
435435

@@ -523,7 +523,7 @@ updateGithubStarsEntry(manifestType, manifestName, { isNew: operationMode === 'c
523523
- Check that no language has outdated or mismatched translations
524524
5. **Set verified**: Change `verified` to `true` if data is confirmed accurate
525525
6. **Add related products**: Manually curate `relatedProducts` array
526-
7. **Run validation**: Ensure schema compliance
526+
7. **Run validation**: Ensure schema compliance with `npm run test:validate`
527527
8. **Commit changes**: Add manifest to git repository
528528

529529
## i18n Consistency Requirements

.claude/skills/manifest-automation/scripts/lib/config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export const FIELD_CATEGORIES = {
5555
'resourceUrls.download',
5656
'tokenPricing',
5757
'size',
58-
'totalContext',
58+
'contextWindow',
5959
'maxOutput',
6060
],
6161

.claude/skills/manifest-automation/scripts/lib/field-tracker.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,10 +173,10 @@ export class FieldTracker {
173173
if (report.failed > 0) {
174174
output += '2. Manually fill TODO-marked fields if information available\n'
175175
output += '3. Update verified field once data confirmed accurate\n'
176-
output += '4. Run validation: node scripts/validate/validate-manifests.mjs\n'
176+
output += '4. Run validation: npm run test:validate\n'
177177
} else {
178178
output += '2. Update verified field if data confirmed accurate\n'
179-
output += '3. Run validation: node scripts/validate/validate-manifests.mjs\n'
179+
output += '3. Run validation: npm run test:validate\n'
180180
}
181181

182182
return output

.claude/skills/manifest-automation/scripts/lib/merge-strategies.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -311,9 +311,9 @@ export function generateChangeReport(changes, mode, manifestPath) {
311311
output += `1. Review merged manifest: ${manifestPath}\n`
312312
if (summary.needsReview > 0) {
313313
output += '2. Resolve fields marked "Needs Review"\n'
314-
output += '3. Run validation: node scripts/validate/validate-manifests.mjs\n'
314+
output += '3. Run validation: npm run test:validate\n'
315315
} else {
316-
output += '2. Run validation: node scripts/validate/validate-manifests.mjs\n'
316+
output += '2. Run validation: npm run test:validate\n'
317317
}
318318

319319
return output

.claude/skills/manifest-automation/scripts/workflows/cli-workflow.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ This workflow guides you through creating or updating a CLI manifest using advan
269269

270270
1. **Run schema validation**:
271271
```bash
272-
node scripts/validate/validate-manifests.mjs
272+
npm run test:validate
273273
```
274274

275275
2. **Fix any validation errors**:

.claude/skills/manifest-automation/scripts/workflows/extension-workflow.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ Follow **Phase 6** from CLI workflow:
167167

168168
Run validation and fix errors:
169169
```bash
170-
node scripts/validate/validate-manifests.mjs
170+
npm run test:validate
171171
```
172172

173173
## Common Marketplace Patterns

.claude/skills/manifest-automation/scripts/workflows/model-workflow.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ This workflow guides you through creating or updating a Model manifest with focu
1010

1111
**Model-specific fields:**
1212
- `size`: Parameter count (e.g., "7B", "32B", "200B", "Unknown")
13-
- `totalContext`: Context window (e.g., "32K", "128K", "200K")
14-
- `maxOutput`: Max output tokens (e.g., "4K", "8K", "16K")
13+
- `contextWindow`: Context window in tokens (e.g., 32000, 128000, 200000)
14+
- `maxOutput`: Max output tokens (e.g., 4096, 8192, 16384)
1515
- `tokenPricing`: {input, output, cache} in $/million tokens
1616
- `platformUrls`: {huggingface, artificialAnalysis, openrouter}
1717

@@ -182,8 +182,8 @@ Follow standard entity extraction:
182182
"vendor": "<Company Name>",
183183
"githubUrl": "<https://github.com/... or null>",
184184
"size": "<7B|32B|200B|Unknown>",
185-
"totalContext": "<32K|128K|200K>",
186-
"maxOutput": "<4K|8K|16K>",
185+
"contextWindow": "<32000|128000|200000>",
186+
"maxOutput": "<4096|8192|16384>",
187187
"tokenPricing": {
188188
"input": 0.25,
189189
"output": 1.25,
@@ -201,7 +201,7 @@ Follow standard entity extraction:
201201

202202
Run validation:
203203
```bash
204-
node scripts/validate/validate-manifests.mjs
204+
npm run test:validate
205205
```
206206

207207
## Common Patterns

.claude/skills/manifest-automation/scripts/workflows/provider-workflow.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ Set to null if not applicable.
142142

143143
Run validation:
144144
```bash
145-
node scripts/validate/validate-manifests.mjs
145+
npm run test:validate
146146
```
147147

148148
## Provider Type Examples

.claude/skills/manifest-automation/scripts/workflows/vendor-workflow.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ This workflow guides you through creating or updating a Vendor manifest - the si
119119

120120
Run validation:
121121
```bash
122-
node scripts/validate/validate-manifests.mjs
122+
npm run test:validate
123123
```
124124

125125
## Examples

0 commit comments

Comments
 (0)