Agent skill

Hier Config Review

by netdevops in netdevops/hier_config

A skill your agent uses when asked to review changes, self-review work, or prepare a pull request in the hierconfig repository — especially before opening or updating a PR, or when checking…

MITAuto-check passedDevelopment

Install Hier Config Review

skills CLI
$ npx skills add netdevops/hier_config --skill hier-config-review -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install netdevops/hier_config hier-config-review --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/netdevops/hier_config.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/hier-config-review .claude/skills/hier-config-review && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
hier-config-review
GitHub stars
150
Token cost
~903 tokens
SKILL.md length
375 words
Files
1
Skills in repo
3
Repo updated
First seen
Licence
MIT

At a glance

A skill your agent uses when asked to review changes, self-review work, or prepare a pull request in the hierconfig repository — especially before opening or updating a PR, or when checking…

  • Works in 4 steps: Establish the Diff → Run the Gates → Review by Category → …
  • Asked to review changes
  • SKILL.md covers Step 1: Establish the Diff, Step 2: Run the Gates, Step 3: Review by Category and Step 4: Report
  • Calls git and poetry

What it does

Hier Config Review is an agent skill from netdevops/hier_config. Use when asked to review changes, self-review work, or prepare a pull request in the hierconfig repository — especially before opening or updating a PR, or when checking AI-generated code against this repo's standards.

Its SKILL.md is about 900 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Pull requests. It works with Pydantic. The repository describes itself as: Hierarchical Configuration. The licence is MIT.

When your agent uses it

  • Asked to review changes
  • Self-review work
  • Prepare a pull request in the hierconfig repository — especially before opening
  • Checking AI-generated code against this repos standards

Example prompts

  • “/hier-config-review”

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Establish the Diff
  2. Run the Gates
  3. Review by Category
  4. Report

What it can do on your machine

Read from SKILL.md and the folder at commit 806c654. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git
    • poetry

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Hier Config Review loads about 903 tokens when it runs. Until then it costs about 60 tokens; SKILL.md has 375 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~60
When it runs · the whole SKILL.md, loaded when a task matches
~903

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from netdevops/hier_config at commit 806c654, republished under its MIT licence (© netdevops). 375 words, ~903 tokens.

Download SKILL.mdSave it as .claude/skills/hier-config-review/SKILL.md (or your agent's skills folder).
name
hier-config-review
description
Use when asked to review changes, self-review work, or prepare a pull request in the hier_config repository — especially before opening or updating a PR, or when checking AI-generated code against this repo's standards.

hier_config Change Review

Review the current change set against this repository's standards and report findings. Do not fix anything unless explicitly asked — the deliverable is the review report.

Step 1: Establish the Diff

bash
git diff master...HEAD --stat   # on a branch
git diff HEAD --stat            # fall back: uncommitted work
git diff --staged --stat        # fall back: staged only

List every changed file and classify it: library code (hier_config/), tests (tests/), docs (docs/, mkdocs.yml), CI/config, or CHANGELOG.md. Read the full diff for each classified file before judging it.

Step 2: Run the Gates

Run these and report exact failures (tool, file, line, message):

bash
poetry run ./scripts/build.py lint
poetry run ./scripts/build.py pytest --coverage

If docs/ or mkdocs.yml changed, also run:

bash
poetry run mkdocs build --strict

Step 3: Review by Category

Read the referenced doc before judging that category — the docs are the standard, not your intuition.

Models & Typing — read docs/dev/code-style.md
  • New Pydantic models subclass the local BaseModel (hier_config/models.py), never pydantic.BaseModel directly.
  • Model fields use tuple/frozenset, never list/set. Rule models use match_rules: tuple[MatchRule, ...].
  • No Any, no missing annotations, no unjustified # type: ignore / # noqa.
  • Lint/coverage/type-checking configuration was not loosened.
Tests & TDD — read docs/dev/testing.md
  • Every library code change has corresponding tests.
  • Tests are flat functions with full annotations; no test classes (benchmarks excepted).
  • Driver changes are tested in tests/test_driver_<platform>.py; view changes in tests/config_view/.
  • Driver/rule behavior changes include the round-trip idiom: remediation asserted via dump_simple() tuple, rollback verified via no unified_diff.
  • New fixtures live in tests/fixtures/ with module-scoped accessors in tests/conftest.py.
Show full SKILL.md (169 more words)Show less
Driver & Rule Changes — read docs/dev/extending.md
  • New rule types: frozen model in models.py → named default factory + field on HConfigDriverRules → consumed in child.py/root.py → populated in drivers.
  • New platforms: Platform enum member, get_hconfig_driver wiring, per-platform test file, and a driver section + table row in docs/user/drivers.md.
Changelog
  • CHANGELOG.md has an entry under ## [Unreleased], in the right category (Added/Changed/Fixed/Removed), referencing the issue/PR ((#NNN)).
Docs
  • Public API or driver behavior changes are reflected in docs/user/ (and docs/user/api-reference.md where relevant).
  • New doc pages are in the mkdocs.yml nav; moved pages have a redirect_maps entry.
Commits — read CONTRIBUTING.md (Commit Message Style)
  • Imperative mood, subject ≤72 characters, body explains why.

Step 4: Report

Group findings by severity, most severe first:

  • Blockers — violates a hard rule or a gate fails (CI would reject this).
  • Should fix — deviates from documented conventions; a reviewer would push back.
  • Nits — minor style or wording.

Each finding: file:line, what is wrong, and which standard it violates (with the doc path). End with a pass/fail verdict against the "Before Opening a PR" checklist in AGENTS.md.

© netdevops, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/hier-config-review of netdevops/hier_config.

Open the folder on GitHubat commit 806c654

Compare with similar skills

Hier Config Review next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Hier Config Review compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Hier Config Review this skillnetdevops/hier_config150—~903Automated safety check: PassMIT
Finishing a Development Branchobra/superpowers296k5 repos~1.9kAutomated safety check: PassMIT
PR Babysitteropeninterpreter/openinterpreter69k3 repos~4.2kAutomated safety check: PassApache-2.0
Check PRonyx-dot-app/onyx32k2 repos~2.3kAutomated safety check: PassMIT
Understand Diff AnalysisEgonex-AI/Understand-Anything86k1 repos~1.4kAutomated safety check: PassMIT
PR Design DocOpenHands/OpenHands90k—~2.4kAutomated safety check: PassMIT

Similar skills

  • Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.

    296k GitHub starsUsed in 5 repos~1.9k tokens
    DevelopmentAuto-check passed
  • PR Babysitter

    openinterpreter/openinterpreter

    Watches an open GitHub pull request until it merges, handling review comments, diagnosing CI failures and retrying flaky checks along the way.

    69k GitHub starsUsed in 3 repos~4.2k tokens
    DevelopmentAuto-check passed
  • Check PR

    onyx-dot-app/onyx

    Checks a GitHub, GitLab, or Perforce (p4) pull request (or merge request, or shelved changelist) for unresolved review comments, failing status checks, and incomplete PR descriptions.

    32k GitHub starsUsed in 2 repos~2.3k tokens
    DevelopmentAuto-check passed
  • Understand Diff Analysis

    Egonex-AI/Understand-Anything

    Reads your git changes or a pull request against a prebuilt knowledge graph of the project to explain what changed, which components are affected and what is risky.

    86k GitHub starsUsed in 1 repo~1.4k tokens
    DevelopmentAuto-check passed
  • PR Design Doc

    OpenHands/OpenHands

    For a non-trivial pull request, write a self-contained HTML design doc under the temporary .pr/ directory and link a visibility-appropriate preview in the PR description, so maintainers grasp the…

    90k GitHub stars~2.4k tokensUpdated today
    DevelopmentAuto-check passed
  • WooCommerce Code Review

    woocommerce/woocommerce

    Reviews WooCommerce code changes against the project's standards, flagging backend PHP architecture, naming, documentation, data integrity and testing violations.

    11k GitHub starsUsed in 3 repos~1.1k tokens
    DevelopmentAuto-check passed

More from netdevops/hier_config

  • Hier Config New Driver

    netdevops/hier_config

    A skill your agent uses when adding hierconfig support for a new network platform or operating system — creating a platform driver, registering a new Platform enum member, or scaffolding driver…

    150 GitHub stars~1.3k tokensUpdated 16 days ago
    Auto-check passed
  • Hier Config Troubleshoot

    netdevops/hier_config

    A skill your agent uses when hierconfig produces wrong or unexpected output — incorrect remediation commands, missing or extra negations, repeated commands, lines nested under the wrong parent…

    150 GitHub stars~1.4k tokensUpdated 16 days ago
    Auto-check passed

Works with

Categories

Questions about Hier Config Review

What does Hier Config Review do?

A skill your agent uses when asked to review changes, self-review work, or prepare a pull request in the hierconfig repository — especially before opening or updating a PR, or when checking…. Hier Config Review is an agent skill from netdevops/hier_config. Use when asked to review changes, self-review work, or prepare a pull request in the hierconfig repository — especially before opening or updating a PR, or when checking AI-generated code against this repo's standards.

When should I use Hier Config Review?

Hier Config Review fits situations like: asked to review changes; self-review work; prepare a pull request in the hierconfig repository — especially before opening; checking AI-generated code against this repos standards.

How do I install Hier Config Review in Claude Code?

Run `npx skills add netdevops/hier_config --skill hier-config-review -a claude-code`. Or copy the skill folder (.claude/skills/hier-config-review in netdevops/hier_config) into .claude/skills/hier-config-review in your project. Claude Code loads it when a task matches its description.

How do I install Hier Config Review in Codex?

Run `npx skills add netdevops/hier_config --skill hier-config-review -a codex`. Or copy the skill folder (.claude/skills/hier-config-review in netdevops/hier_config) into .agents/skills/hier-config-review in your project. Codex loads it when a task matches its description.

Can I use Hier Config Review in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add netdevops/hier_config --skill hier-config-review -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/hier-config-review, .gemini/skills/hier-config-review, .github/skills/hier-config-review and .opencode/skills/hier-config-review in your project.

What does Hier Config Review need to run?

Going by SKILL.md and its folder, Hier Config Review needs the command-line tools its instructions call (git and poetry).

Does Hier Config Review access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Hier Config Review safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Hier Config Review use?

Hier Config Review is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Hier Config Review use?

About 903 tokens (SKILL.md is roughly 3.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Hier Config Review?

Skills that share tags, products or a category with Hier Config Review: Finishing a Development Branch (obra/superpowers, 296k stars), PR Babysitter (openinterpreter/openinterpreter, 69k stars), Check PR (onyx-dot-app/onyx, 32k stars) and Understand Diff Analysis (Egonex-AI/Understand-Anything, 86k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Hier Config Review?

netdevops (a GitHub organization) maintains it in netdevops/hier_config, which has 150 GitHub stars. The repository holds 3 skills in this directory. The repository was last updated on September 21, 2026.

Source: netdevops/hier_config on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.