appwrite-review-setup
БесплатноБез исполняемых скриптовНе проверенCreates or updates .hansi.json for Appwrite Review. Sets path filters, profile, and instructions, then opens a pull request so the file lands on the base…
от appwrite★ 31 звезда на GitHubОб этом скилле
Appwrite Review setup
Write .hansi.json at the repository root and get it onto the pull request's base branch. Appwrite Review reads that file, and the guideline files, from the base branch only. A copy that exists solely on a feature branch does nothing until it is merged.
Settings that are not in the file, such as which repositories a project reviews and how hard (the review strength), live under Review in the Appwrite Console. Do not request a review. Do not push to the default branch. Do not enable reviews.approveOutsideContributors unless the user explicitly asks.
The command blocks are examples, written for git and the GitHub CLI. Run whatever this environment actually provides to do the same job, including commands the examples do not list. If gh or git is missing, or a command fails because of how this machine authenticates, try another client before stopping.
Prefer a Git remote this environment can already authenticate to.
Inputs
- What to change (optional). For example a profile, paths to skip, or an instruction. If omitted, inspect the repo and propose a minimal file, then wait for a yes before committing.
Instructions
1. Read the config Appwrite Review uses today
origin may be a fork. The branch Appwrite Review reads is on the pull request's base repository, which can be a different repo.
parent does not include nameWithOwner or a default branch. Build the parent repository from its owner and name.
gh repo view --json nameWithOwner,isFork,parent,defaultBranchRef \
--jq '{repo: .nameWithOwner, fork: .isFork, parent: (if .parent then (.parent.owner.login + "/" + .parent.name) else null end), defaultBranch: .defaultBranchRef.name}'
If this checkout is a fork, look up the pull request on parent. Otherwise look it up on repo. That repository is <PR_REPO>.
gh pr view <PR_NUMBER> --repo <PR_REPO> --json number,url -q '{number: .number, url: .url}'
Leave <PR_NUMBER> empty to use the current branch. If that lookup fails, try the other of repo and parent.
Read the base from that pull request. Do not take it from origin.
gh api "repos/<PR_REPO>/pulls/<PR_NUMBER>" \
--jq '{base: .base.ref, baseRepo: .base.repo.full_name, headRepo: .head.repo.full_name, headOwner: .head.repo.owner.login}'
<BASE> is base. <BASE_REPO> is baseRepo. <HEAD_REPO> is headRepo. <HEAD_OWNER> is headOwner.
If there is no pull request and this checkout is a fork, <BASE_REPO> is parent. <HEAD_REPO> is repo, the fork itself, and <HEAD_OWNER> is its owner. <BASE> is that parent's default branch, not the fork's defaultBranch. Those names can differ. Read it from the parent repository:
gh repo view <PARENT> --json defaultBranchRef -q .defaultBranchRef.name
If there is no pull request and this checkout is not a fork, <BASE_REPO> is repo and <BASE> is defaultBranch. <HEAD_REPO> is repo. <HEAD_OWNER> is the owner of <HEAD_REPO>.
Read .hansi.json from <BASE_REPO>:
gh api "repos/<BASE_REPO>/contents/.hansi.json?ref=<BASE>" --jq .content | base64 -d
A 404 means there is no file yet. Also list which guideline files exist on that same ref. Appwrite Review includes each of these in full when it is present: AGENTS.md, CLAUDE.md, .cursorrules, .github/copilot-instructions.md. Do not copy them into instructions.
2. Decide the edits
Every field is optional. Omit a field when it would only restate the default. Keep unknown keys that are already in the file.
| Field | Default | Write it when |
|---|---|---|
reviews.enabled |
true |
The user wants reviews off in this repo. |
reviews.auto |
true |
The user wants mentions only. |
reviews.drafts |
false |
The user wants drafts reviewed. |
reviews.baseBranches |
[] (all) |
The user names branches to review into. |
reviews.pathFilters |
[] |
The user wants extra excludes, or an allowlist. |
reviews.profile |
balanced |
The user wants chill or strict. |
reviews.minSeverity |
minor |
The user sets info, minor, major, or critical. |
reviews.maxComments |
15 |
The user sets a cap from 0 to 100. |
reviews.approve |
true |
The user does not want automatic approval. |
reviews.requestChanges |
major |
The user sets info, minor, major, critical, or ` |
Установить appwrite-review-setup в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл appwrite-review-setup?
Creates or updates .hansi.json for Appwrite Review. Sets path filters, profile, and instructions, then opens a pull request so the file lands on the base branch. Use when the user wants to configure Appwrite Review for a repository, add review instructions, exclude paths, or run review-setup.
Как установить скилл appwrite-review-setup?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл appwrite-review-setup запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic