Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

a0-review-plugin

БесплатноБез исполняемых скриптовНе проверен

Full audit of Agent Zero plugins in usr/plugins/. Reviews manifest validity, directory structure, code patterns (Store Gating, notifications, imports)…

Gen-Verseот Gen-Verse★ 40 звёзд на GitHub

Об этом скилле

Agent Zero Plugin Review

Full-audit workflow for plugins in /a0/usr/plugins/<name>/. Run all 4 phases in order and report findings grouped by phase. Mark each item PASS, FAIL, or WARN.

For detailed checklists and code pattern references, read checklists.md in this skill directory when needed.


Phase 1: Manifest Validation

Read usr/plugins/<name>/plugin.yaml. Check:

  • File exists at plugin root
  • Valid YAML (parseable, mapping at top level)
  • name field handling matches the intended distribution target: for community / Plugin Index plugins it must be present, non-empty, match ^[a-z0-9_]+$, and match the directory name; for local-only plugins, a missing name is a WARN rather than a FAIL
  • title present and non-empty
  • description present and non-empty
  • version present, follows semver or simple x.y.z format
  • settings_sections is a list; each value is one of: agent, external, mcp, developer, backup
  • per_project_config and per_agent_config are booleans (if present)
  • always_enabled is false or absent (only framework core plugins should use true)
  • No unknown fields (warn on extra keys not in the schema)

Phase 2: Structure Validation

Inspect the plugin directory layout:

  • Directory is under usr/plugins/ (not plugins/ - that is reserved for core)
  • Directory name matches ^[a-z0-9_]+$
  • If api/ exists: contains Python files only; each should subclass ApiHandler
  • If tools/ exists: contains Python files only; each should subclass Tool
  • If extensions/ exists: check subdirs follow python/<point>/, python/_functions/<module>/<qualname>/<start|end>/, or webui/<point>/ patterns; flag the retired flattened python/<module>_<qualname>_<start|end>/ form
  • If helpers/ exists: shared Python logic (standard directory)
  • If prompts/ exists: prompt templates (standard directory)
  • If agents/ exists: agent profiles with <profile>/agent.yaml (standard directory)
  • If conf/ exists: configuration files such as model_providers.yaml (standard directory)
  • If webui/config.html exists: plugin must declare at least one settings_sections entry
  • If hooks.py exists: review whether it defines the lifecycle hook functions the plugin appears to rely on, especially install and pre_update when the plugin needs install-time or update-time behavior
  • If execute.py exists: check it has a main() function and if __name__ == "__main__": sys.exit(main())
  • LICENSE at plugin root: Agent Zero does not require it for local plugins, but it is required at the repo root before submitting to the Plugin Index. If missing → WARN — LICENSE absent — required for community contribution (Plugin Index); optional for local-only use
  • default_config.yaml (if present): valid YAML
  • No unexpected top-level entries (WARN for anything outside the standard layout)

Standard top-level layout: plugin.yaml, execute.py, hooks.py, default_config.yaml, optional README.md, LICENSE, __init__.py, plus api/, tools/, extensions/, webui/, helpers/, prompts/, agents/, conf/


Phase 3: Code Pattern Review

Read source files and check for violations of Agent Zero conventions.

Frontend (HTML/JS)

  • Every component that accesses a store uses the Store Gate pattern:
    <div x-data>
      <template x-if="$store.myStore">
        <div x-init="$store.myStore.onOpen()" x-destroy="$store.myStore.cleanup()">
          ...
        </div>
      </template>
    </div>
    
  • No alpine:init event listeners inside HTML files (store logic must be in .js files)
  • Alpine stores use createStore imported from /js/AlpineStore.js
  • No inline error/success <div> blocks bound to store.error or similar - must use notification system:
    • toastFrontendError(msg, "Plugin Name") / toastFrontendSuccess(...) etc.
    • Import from /components/notifications/notification-store.js
  • Static assets served via GET /plugins/<name>/... (not hardcoded absolute paths)
  • Store module imported in HTML <head> via <script type="module" src="/plugins/<name>/webui/store.js">

Backend (Python)

  • Correct import paths:
    • from agent import AgentContext, AgentContextType (not helpers.context)
    • from initialize import initialize_agent (not a local reimport)
  • API handlers subclass ApiHandler from python/helpers/api.py
  • Tools subclass Tool from helpers.tool
  • Plugin settings read via get_plugin_config("plugin-name", agent=agent) from helpers.plugins
  • User messages sent via context.communicate(UserMessage(...)), not direct socket writes
  • hooks.py environment targeting: if installing packages for the agent runtime (not framework), subprocess must explicitly target the correct interpreter (e.g., /opt/venv/bin/python)
  • No sys.executable -m pip install for agen
Полный SKILL.md на GitHub

Установить a0-review-plugin в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

checklists.md

FAQ

Что делает скилл a0-review-plugin?

Full audit of Agent Zero plugins in usr/plugins/. Reviews manifest validity, directory structure, code patterns (Store Gating, notifications, imports), security, and duplicate detection against the community index. Use when asked to review, audit, validate, or check an existing plugin before using or contributing it.

Как установить скилл a0-review-plugin?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл a0-review-plugin запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить a0-review-plugin с