Content
63%Weight 40%Scale 1-5Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.
The body is actionable and well-structured with real code and a clear workflow, but it is a monolithic 560-line file that should be split into reference files, and it contains duplicated patterns and version-pinned model names that hurt token efficiency. Several code snippets also lack the imports needed to run as written.
Suggestions
Split advanced sections (streaming, hierarchical/multi-step patterns, error handling) into references/ files and keep SKILL.md as a concise overview, matching the implied 'extractors/*.ts' file structure.
Remove time-sensitive model version pins like 'gpt-4-turbo-preview' and 'gpt-4o-2024-08-06', or move them to a deprecated-patterns section.
Make each code snippet self-contained (imports, openai instance, the 'extract' helper in multistep.ts) or explicitly note shared prerequisites once.
| Dimension | Reasoning | Score |
|---|---|---|
Conciseness | The ~560-line body includes near-duplicate patterns (Function Calling vs. Tool Use sections), a hand-rolled 'Simplified' zodToJsonSchema, and time-sensitive model versions ('gpt-4-turbo-preview', 'gpt-4o-2024-08-06') that age poorly. Mostly code rather than concept-padding, but noticeable tightening is possible. | 3 / 5 |
Actionability | Concrete, real TypeScript throughout covering the common extraction cases. Not 5 because several snippets are not self-contained: retry.ts and streaming.ts use undeclared 'openai'/'z' imports, and multistep.ts calls an undefined 'extract' helper. | 4 / 5 |
Workflow Clarity | The 5-step Core Workflow (Define schema → Choose method → Generate → Validate → Handle errors) is clearly sequenced, and retry-with-error-context code provides a feedback loop. Not 5 because validation checkpoints are terse labels rather than explicit gates tied to commands. | 4 / 5 |
Progressive Disclosure | Well-organized section headers, but the entire skill is one monolithic file with no references/ bundle despite '// extractors/*.ts' header comments implying separate files. Streaming, hierarchical, and error-handling sections are inline content that belongs in one-level-deep reference files. | 3 / 5 |
Total | 14 / 20 Passed |