Search Results for

    ZhEaIsNsAaBn SlopThreshold

    Status: Beta. SlopThreshold is in active development; the first stable release is v1.2.0. Until then, prerelease builds are on PyPI (pip install --pre slopthreshold) and these docs track the Dev branch.

    The threshold slop doesn't cross. SlopThreshold is the house system for building software the ZhEaIsNsAaBn way: one generalized style guide, the enforcement packs that make most of it automatic, the hooks and CI that gate every change, and the code-review skill that judges the rest.

    This repository publishes its own documentation. What you are reading is built from this repo and served under hassanragai.dev/Documentations/SlopThreshold/.

    The guide

    • Style Guide — 247 rules (128 REQUIRED, 119 DEFAULT), stable SG- IDs, the OVERRIDE/BYPASS tag system, the ZhEaIsNsAaBn library map, and the third-party health gate.

    The three layers

    1. While coding — the packs: editorconfig pack, frontend lint pack. Violations fail the local build or the editor, so they never reach review.
    2. At commit and CI — three-layer wiring: pre-commit hook plus the quality workflow. Deterministic checks only.
    3. At PR review — SonarQube's quality gate plus the stack_code_review skill, which spends its attention only on judgment calls the machines cannot make.

    The skill, in three editions

    One source, three installable variants (built by skill/stack_code_review/build_variants.py, committed under dist/):

    • v1-public — core review skill with the generic guide. No SonarQube assumptions, no house library checks. For any .NET/frontend repo.
    • v2-sonar — v1 plus the SonarQube module (gate reading, repeat mining, severity drift).
    • v3-full — v2 plus the house libraries module and the full guide with the ZhEaIsNsAaBn package map.

    The tools

    • tools/zh.py — one entry point: zh check, zh pr, zh adopt, zh doctor, plus one granular command per concern.
    • tools/validate_guide_tags.py — checks a project guide's OVERRIDE/BYPASS tags against this guide.
    • tools/check_package_health.py — grades NuGet/npm pins against the SG-DEP health gate.

    Adopting it in a repo

    Copy a starter guide to docs/STYLE_GUIDE.md, run python3 tools/zh.py adopt app (or library / frontend), and set git config core.hooksPath .githooks.

    • Edit this page
    In this article
    Back to top Generated by DocFX