.stencila/skills/skill-review/SKILL.md
Critically review a workspace skill and suggest improvements. Use when asked to review, audit, critique, evaluate, or improve a SKILL.md file or skill directory. Covers frontmatter validation, instruction clarity, completeness, and adherence to the Agent Skills Specification.
npx skillsauth add stencila/stencila skill-reviewInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Review an existing workspace skill for quality, correctness, completeness, and self-containment. Produce a structured report with specific, actionable suggestions for improvement. The review covers frontmatter fields, instruction clarity, step structure, examples, edge cases, adherence to the Agent Skills Specification, and whether the skill avoids depending on files outside its own directory.
SKILL.md file path.stencila/skills/<name>/SKILL.md walking up from the current directory; if given a path, use it directlySKILL.md file and any supporting files in the skill directory (scripts/, references/, assets/)references/ files insteadstencila skills validate <skill-name>^[a-z0-9]([a-z0-9-]{0,62}[a-z0-9])?$)license, compatibility, allowed-tools, metadata — check for correctness if present (e.g., valid SPDX identifier, compatibility under 500 characters, allowed-tools is space-delimited)allowed-toolsapply_patch or edit_file should be allowedwrite_file should be allowedask_user should be allowedUse this table when reviewing tool coverage and fit:
| Tool | Review / checking focus | Should usually be present when |
|---|---|---|
| read_file | Check whether the skill needs to inspect existing files | The steps require reading repository or workspace content |
| write_file | Check whether the skill needs to create new files or replace whole files | The steps create files from scratch |
| apply_patch, edit_file | Check whether the skill needs to update existing files in place | The steps revise existing files; some models prefer one or the other |
| grep | Check whether the skill needs content search | The steps look for patterns, symbols, or references |
| glob | Check whether the skill needs file discovery | The steps locate files or directories by pattern |
| web_fetch | Check whether the skill needs to retrieve external web content into local files | The steps review or summarize web pages or external documentation |
| shell | Check whether the skill needs command execution | The steps run validation, formatting, tests, or other CLI checks |
| ask_user | Check whether the skill needs user clarification or approval | The workflow may pause for feedback before continuing |
description and keywords work together — they should be complementary, not redundant. Flag cases where the same text appears verbatim in multiple fieldsTODO, <placeholder>, or empty sections)scripts/, references/, assets/) point to files that actually exist in the skill directorySKILL.md does not send agents to repo documentation, specs, or other external files outside the skill directory for essential instructionsreferences/Skills must describe generic domain competence, not workflow orchestration. Check for these violations:
workflow_* tool references: The skill must not reference workflow_get_context, workflow_set_context, workflow_set_route, or workflow_get_output. These are workflow tools — the workflow's stage prompts should call them, not the skill.RunTestsRed, CheckRemaining) or workflow files..stencila/plans/) when an input is missing, check that this is framed as a standalone convenience, not as the primary contract. Look for language like "as a standalone convenience" or "in workflow use, the stage prompt should provide this explicitly."Any workflow_* reference or context-key/route-label table in a skill is a ❌ Fail. Recommend moving the workflow-specific details into the workflow's stage prompts and restructuring the skill around generic inputs and outputs.
references/ files rather than inlinedStructure the review as follows:
One to three sentences giving an overall assessment and the most important finding.
For each checklist area, report one of:
Include a brief explanation for warnings and failures.
A numbered list of specific, actionable improvements ordered by priority (most impactful first). Each suggestion should explain what to change and why.
Use heading level 3 (###) for each section in your output.
Input: "Review the skill-creation skill"
Process:
.stencila/skills/skill-creation/SKILL.mdscripts/, references/, assets/)references/name is skill-creation, matches directory, valid kebab-case; description is specific and under 1,024 charactersstencila skills validate skill-creation to confirm the skill is validOutput (use ### headings in the report):
Summary
The skill-creation skill is well-structured with comprehensive coverage of naming rules, file format, and validation. Two minor improvements are possible.
Findings
| Area | Status | Notes | |------|--------|-------| | Frontmatter | ✅ Pass | Name and description are valid and specific | | Structure | ✅ Pass | Clear numbered steps in logical order | | Completeness | ⚠️ Warning | Template section serves as an example but a concrete before/after example would be clearer | | Size and Focus | ✅ Pass | Well within size limits, single purpose | | Consistency | ✅ Pass | Consistent formatting throughout |
Suggestions
- Add a concrete example showing a complete user request and the resulting
SKILL.mdfile, beyond the generic template- Consider adding an
allowed-toolsfield to pre-approvewrite_file,shell, andread_file
stencila skills list or by listing .stencila/skills/ directories.scripts/, references/, or assets/, check that they exist and are referenced from SKILL.md, but do not reproduce their full content in the report.references/ and updating links to those local files.stencila skills validate <skill-name> before reporting completion.When applying suggested improvements, validate the skill before reporting completion:
# By skill name
stencila skills validate <skill-name>
# By directory path
stencila skills validate .stencila/skills/<skill-name>
# By SKILL.md path
stencila skills validate .stencila/skills/<skill-name>/SKILL.md
Validation should pass before you report the changes as complete.
scripts/ files — only that they exist and are referenced from SKILL.md.documentation
An agent skill providing instructions for AI agents.
testing
Critically review a Stencila workflow and suggest improvements. Use when asked to review, audit, critique, evaluate, or improve a workflow directory or WORKFLOW.md file. Covers frontmatter validation, DOT pipeline quality, workflow structure, agent selection quality, discovery metadata, ephemeral workflow conventions, workflow composition, and adherence to Stencila workflow patterns.
development
Create a new Stencila workflow. Use when asked to create, write, scaffold, or set up a workflow directory or WORKFLOW.md file. Covers workflow discovery, duplicate-name checks, ephemeral workflows, WORKFLOW.md frontmatter, DOT pipeline authoring, goals, agents, branching, composition, and validation.
development
Critically review an existing or proposed Stencila theme artifact for correctness, token usage, target coverage, cross-target portability, dark-mode handling, maintainability, and approval readiness. Use when asked to review, critique, assess, audit, or validate a theme.css file, theme patch, theme plan, site theme, document theme, plot theme, print or PDF theme, check design tokens, assess DOCX or email behavior, review dark mode support, or validate with stencila themes validate.