change-scope
БесплатноЗапускает вложенные скриптыНе проверенLoad to classify a diff's change class, or to read the shared path rules and branch measurement a tier, review depth or CI selection rests on.
от vanillagreencom★ 93 звезды на GitHubОб этом скилле
Project Instructions
Problems with a kendex-owned skill go through kendex report; check ownership in the file first.
Change Scope
.agents/skills/change-scope/scripts/change-scope --event pull_request --base "$BASE" --head "$HEAD" --repo "$DIR"
.agents/skills/change-scope/scripts/change-scope launch --body "$BODY_FILE" --floor small --path "$PATH_NAMED"
.agents/skills/change-scope/scripts/harness-only --event pull_request --base "$BASE" --head "$HEAD" --repo "$DIR"
change-scope answers one class for an explicit repository, base and head. change-scope launch answers the class a work item launches at, before its branch exists. harness-only reads the changed paths and answers whether a diff may skip a family of CI checks. change-scope --help states every flag, the rule behind each class and every setting except HARNESS_CI_DOCS_PATHS, which harness-only --help states with its own flags. The class: line on change-scope's stderr names the cause of its answer.
Classes
The classes, narrowest first, are render, trivial, micro, small and standard. The first class a rule proves wins. Anything unproved is standard.
render: a passing row ofkendex verify --scope project --json, run in a private checkout of the head, owns every surviving changed path. The caller proof in § Shared refresh caller ownership can own a path instead.trivial: by default, a range confined to kendex manifests, JSON settings files and Markdown files takes this class at any size, except a harness file that registers hooks, permissions or MCP servers, at any depth (.claude/settings.json,.codex/hooks.json,.codex/config.toml,.github/hooks/*.json,.pi/kendex/hooks.json,.mcp.json,opencode.jsonand the rest of the registry listscripts/lib/change-scope.shholds, and.gemini/settings.json), a changed[sources]table inkendex.tomlorkendex-local.toml, a changed.kendex-lock.json, and a pathHARNESS_CI_STANDARD_PATHSnames. Seechange-scope --helpfor the supported overrides.- The kendex manifests are
kendex.toml,kendex-local.toml,kendex.settings.tomland.kendex/settings.toml. A JSON settings file is one namedsettings.json,settings.jsonc,settings.local.jsonorsettings.local.jsonc, at any path. The Markdown is the docs set, every.mdor.markdownfile plusdocs/andchangelog.d/. - Where
HARNESS_CI_TRIVIAL_PATHSis set, the repository's own globs replace the docs set.
- The kendex manifests are
micro: production additions withinmicro_max_productioninreferences/narrow-change.conf.small: one subsystem, production additions withinsmall_max_production. A path's subsystem is its first directory, after a leading render root is removed. The render roots areORCH_SIZE_RENDER_ROOTS, by default.agents,.claude,.codexand.pi. Soskills/orch/SKILL.md,.agents/skills/orch/SKILL.mdandskills/reviewer/scripts/review-depthare all subsystemskills. Test, fixture and docs-set paths, kendex manifests and JSON settings files belong to no subsystem.standard: everything else, and every diff the classifier cannot read.
scripts/lib/branch-growth.sh measures production, test, render-mirror and paired dependency lock lines over the range. It sets test paths aside by its built-in rule and ORCH_SIZE_TEST_PATHS. references/narrow-change.conf holds the path rules, including the lock pairing that sends a diff through the small size and subsystem checks. HARNESS_CI_STANDARD_PATHS adds the repository's own exclusions.
A diff that earns trivial or micro and removes test protection answers small. The classifier counts the list's case, skip and selection lines over the whole range. A failed read of that protection answers standard.
Every setting comes from the caller's environment or the commit --base names, as change-scope --help states for each and harness-only --help states for HARNESS_CI_DOCS_PATHS, never from the judged tree or an author-writable field. A branch cannot choose the roots, test paths, ceilings or exclusions its own size is scored against.
Reading the answer
- stdout is one line,
change_class=<class>. - stderr ends with one
quick-proof: proved=true|falseline and then oneclass:line that carriesmeasured=true|false. measured=falsemarks a fallback tostandardbecause the classifier could not read something. It is a refusal to read, never a class.quick-proof: proved=trueneeds--event pull_request, an unset or emptyHARNESS_CI_TRIVIAL_PATHS, and atrivialanswer whose every changed path is a kendex manifest, a JSON settings file or a.mdor.markdownfile. Act on the literaltruealone. An absent line proves nothing.- Exit 2 is a wiring error, with no class.
Launch arm
`change-s
Установить change-scope в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл change-scope?
Load to classify a diff's change class, or to read the shared path rules and branch measurement a tier, review depth or CI selection rests on.
Как установить скилл change-scope?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл change-scope запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
ci-review
The scan that the plugin's GitHub Action runs.
от Anthropicazure-static-web-apps
Helps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
от GitHubai-ready
Make any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
от GitHubaws-cdk-python-setup
Setup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…
от GitHub