Command Palette

Search for a command to run...

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

bot-instructions

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

Load to render, check, or adopt a repo's GitHub review-bot instruction files from the shared doctrine and its effective manifest.

vanillagreencomот vanillagreencom★ 93 звезды на GitHub

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

Bot Instructions

Renders each enabled review bot's instruction files from the doctrine below and the repository's [bot-instructions] manifest table, and checks them.

  • Where github-repository-settings declares repository effects, core selects it as the review-file owner, and this package stays installed as its renderer.
  • One exception: a github-repository-settings installed only as another package's dependency, and set up neither in this checkout nor in its main checkout, leaves this package the owner until that setup.
  • Keep this package's repo-effects declaration: core reads it for predecessor discovery and recovery.

Commands

.agents/skills/bot-instructions/scripts/bot-instructions render   # validate, then write every enabled output
.agents/skills/bot-instructions/scripts/bot-instructions check    # re-render and compare; --staged reads the index
.agents/skills/bot-instructions/scripts/bot-instructions adopt    # take a hand-written file or region over, once
.agents/skills/bot-instructions/scripts/bot-instructions retire   # revoke kendex automatic rendering on removal; files stay as they are
  • Options: bot-instructions --help.
  • The scripts need Python 3.11 or newer and no third-party package. Keep it so, since every repository that installs this package renders with what it already has.
  • Before choosing --output local, read schemas/renders.md § Local output.
  • Exit codes: 0 clean, 1 findings, 2 could not complete.
  • A manifest with no [bot-instructions] table follows schemas/validators.md § orphan.
  • The commit-guards chain runs check --staged itself where this package is installed.
  • Elsewhere, wire check --staged into the repository's own guards. This package ships no hook.
  • render replaces only a file or region that carries its marker.
  • A hand-written file or region at a generated path is taken over by adopt, never overwritten: schemas/renders.md § Common rules.

What reads what

Bot Reads Reads from
Codex AGENTS.md § Code Review Rules undocumented
Copilot code review .github/copilot-instructions.md, .github/instructions/**/*.instructions.md, AGENTS.md the pull request head
CodeRabbit .coderabbit.yaml, plus the knowledge_base.code_guidelines.filePatterns files the pull request head
Qodo .pr_agent.toml, best_practices.md, REVIEW.md the default branch root
Macroscope .macroscope/ignore.md, .macroscope/correctness/*.md, .macroscope/check-run-agents/**, .macroscope/approvability.md the pull request's most recent commit
  • Codex reads the root AGENTS.md plus the nearest nested one.
  • CodeRabbit reads .coderabbit.yaml whole, beneath any organization or workspace global override.
  • This package never writes .macroscope/check-run-agents/** or .macroscope/approvability.md.
  • Macroscope reads the default branch for a fork.
  • Codex and Copilot reach the doctrine through a pointer to the rendered code-review.md, and CodeRabbit through a file reference.
  • Which blocks each destination still carries, and why: schemas/renders.md § Doctrine routing.
  • Vendor caps and read semantics: references/limits.md.

The pieces

  • The effective manifest holds [bot-instructions]: bots, repo context, cadence, exclusions, path instructions and doctrine overrides.
  • Keys, manifest selection and refusals: schemas/repo-toml.md.
  • Validators: schemas/validators.md.
  • In full mode, [bot-instructions.bots] codex writes the complete doctrine to [bot-instructions.repo] code_review_path, which defaults to .github/instructions/code-review.md.
  • In full mode, the same flag makes the AGENTS.md § Code Review Rules region one directive line naming that file.
  • The generator owns only that region of AGENTS.md and never creates the file or the heading.
  • A repo without the heading:
    1. Adds the heading.
    2. Sets codex.
    3. Runs adopt.
    4. Runs render.
  • Region body and bounds: schemas/renders.md § AGENTS.md § Code Review Rules.
  • In full mode, a repo enabling codex renders a canary, a line of its own [bot-instructions.doctrine.append], to check whether the bots follow the pointer.
  • No script adds one.
  • Before choosing that rule or interpreting a comment, read references/limits.md § GitHub Copilot code review.

Every rendered config excludes the render trees

A pull request changing its own re

Полный SKILL.md на GitHub

Установить bot-instructions в Claude Code и Claude Desktop

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

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

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

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

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

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

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

README.mdreferences/checklist.mdreferences/limits.mdschemas/renders.mdschemas/repo-toml.mdschemas/validators.mdscripts/bot-instructionsscripts/lib/__init__.pyscripts/lib/cli.pyscripts/lib/config.pyscripts/lib/constants.pyscripts/lib/errors.pyscripts/lib/fsutil.pyscripts/lib/globs.pyscripts/lib/jsonschema.pyscripts/lib/main.pyscripts/lib/manifest.pyscripts/lib/markdown.pyscripts/lib/marker.pyscripts/lib/model.pyscripts/lib/refusals.pyscripts/lib/render.pyscripts/lib/render_coderabbit.pyscripts/lib/render_markdown.pyscripts/lib/render_qodo.pyscripts/lib/repo_toml.pyscripts/lib/run.pyscripts/lib/spec.pyscripts/lib/tree.pyscripts/lib/validators_bytes.pyscripts/lib/validators_repo.pyscripts/lib/verbs.pyscripts/lib/writer.pyscripts/lib/yamlemit.pyworkflows/add-repository.md

FAQ

Что делает скилл bot-instructions?

Load to render, check, or adopt a repo's GitHub review-bot instruction files from the shared doctrine and its effective manifest.

Как установить скилл bot-instructions?

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

Скилл bot-instructions запускает скрипты?

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

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

Сравнить bot-instructions с