Skills

Agent Review

Critically review a Stencila agent and suggest improvements.

Install

npx skills add stencila/stencila --skill agent-review -g -a claude-code -y
Repository
stencila/stencila914
Category
AI and agents
Updated
3d ago
License
Apache-2.0
Context cost
Mediumabout 3,000 tokens
Runs scripts
No, instructions only

What it does

Critically review a Stencila agent and suggest improvements. Use when asked to review, audit, critique, evaluate, or improve an agent directory or AGENT.md file. Covers frontmatter validation, system instruction quality, configuration correctness, and adherence to the Agent schema.

Overview

Review an existing Stencila agent for quality, correctness, and completeness. Produce a structured report with specific, actionable suggestions. The review covers frontmatter fields, system instruction quality, configuration correctness, security posture, and adherence to the agent schema defined in schema/Agent.yaml.

Steps

  1. Identify the agent to review from the user's request, accept an agent name, a directory path, or an AGENT.md file path
  2. Resolve the agent file: if given a name, look for .stencila/agents/<name>/AGENT.md walking up from the current directory; also check ~/.config/stencila/agents/<name>/AGENT.md for user-level agents. If given a path, use it directly
  3. Read the full AGENT.md file and any supporting files in the agent directory (check for scripts/, references/, and assets/ subdirectories)
  4. Read schema/Agent.yaml to verify the checklist covers current agent schema fields and to identify any unknown frontmatter properties
  5. Evaluate the agent against each criterion in the Review Checklist below
  6. Produce a structured review report with a summary, per-criterion findings, and a prioritized list of suggestions
  7. If the user asks you to apply improvements, make the changes and validate the result with stencila agents validate <agent-name>

Review Checklist

Frontmatter

  • name: present, matches directory name, valid kebab-case (^[a-z0-9]([a-z0-9-]{0,62}[a-z0-9])?$), follows the thing-role naming convention (e.g., code-reviewer, data-analyst)
  • description: present, not empty, not a placeholder (TODO, <placeholder>), recommended to be concise (under ~1,024 characters), specific enough to convey the agent's purpose

Optional Fields

Check each present field for validity:

Read the whole SKILL.md on GitHub

More in AI and agents