Command Palette

Search for a command to run...

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

nvim-pack-audit

БесплатноЗапускает вложенные скриптыНе проверен

Run interactive staged vim.pack.update() + security audit, then review findings before explicit approve/abort.

elentokот elentok★ 25 звёзд на GitHub

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

Use this skill when the user asks to update and audit Neovim vim.pack plugins.

Entry

Run:

core/ai/skills/nvim-pack-audit/scripts/start-audit

If it exits with no plugin updates applied, stop here.

Save the emitted state.json path from output (staging ready: ...).

Run Audit

  1. Read audit_prompt_path, schema_path, old_lockfile, staged_lockfile, plugin_root, audit_json, and audit_md from state.json.
  2. Spawn a fresh sub-agent — isolated from this conversation's context — and give it the contents of audit_prompt_path as its task, followed by a ## Runtime Context section with mode: changed_only, old_lockfile_path: <old_lockfile>, new_lockfile_path: <staged_lockfile>, plugin_root: <plugin_root>, and audit_md_path: <audit_md>. The sub-agent must have read/write access to the repo and write its JSON verdict to audit_json and its Markdown report to audit_md.
  3. Once the sub-agent finishes, run:
    core/ai/skills/nvim-pack-audit/scripts/record-audit <state-json>
    
    This validates audit.json against the schema and writes summary.txt and commit-message.txt. If validation fails, re-run the sub-agent.

Review Loop

While waiting for promotion decision, support:

  • show summary
    • Run: core/ai/skills/nvim-pack-audit/scripts/show-summary <state-json>
  • show plugin <name>
    • Run: core/ai/skills/nvim-pack-audit/scripts/show-plugin <state-json> <name>
  • open audit report
    • Run: core/ai/skills/nvim-pack-audit/scripts/open-audit-report <state-json>
  • edit commit message
    • Run: core/ai/skills/nvim-pack-audit/scripts/edit-commit-message <state-json> <output-file>

Free-form follow-up questions are expected in this state.

Decision Actions

  • approve
    • Run: core/ai/skills/nvim-pack-audit/scripts/approve-update <state-json> [--commit-message-file <path>]
    • This commits the lockfile, then syncs the user's installed plugins to it headlessly via nvim --headless "+lua vim.pack.update(nil, { target = 'lockfile' })" +qa (same pattern as core/nvim/install).
  • abort
    • Run: core/ai/skills/nvim-pack-audit/scripts/abort-update <state-json>

Artifact Lifecycle

  • Keep artifacts through done-auditing and review Q&A.
  • Keep artifacts on abort and block.
  • Clean artifacts only after successful approve flow.
  • Optional manual cleanup: core/ai/skills/nvim-pack-audit/scripts/cleanup <state-json>
Полный SKILL.md на GitHub

Установить nvim-pack-audit в Claude Code и Claude Desktop

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

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

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

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

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

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

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

README.mdaudit-schema.jsonscripts/abort-updatescripts/approve-updatescripts/cleanupscripts/edit-commit-messagescripts/open-audit-reportscripts/record-auditscripts/show-pluginscripts/show-summaryscripts/start-auditsecurity-audit-prompt.md

FAQ

Что делает скилл nvim-pack-audit?

Run interactive staged vim.pack.update() + security audit, then review findings before explicit approve/abort.

Как установить скилл nvim-pack-audit?

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

Скилл nvim-pack-audit запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

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

Сравнить nvim-pack-audit с