sentrux
OfficialVerify your codebase architecture automatically
Software Engineering#architecture#governance#tree-sitter#structural analysis#regression detection#code quality gates#dependency boundaries
AuthorPyl-Tech
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Sentrux solves the problem of architectural drift by quantifying and enforcing structural quality rules so that code remains layered, bounded, and maintainable over time.
Core Features & Use Cases
- Structural rule enforcement: Applies constraints from
.sentrux/rules.tomlto detect violations as a pass/fail gate. - Quality signal scoring: Produces a 0–10000 architectural health score derived from modularity, acyclicity, depth, equality, and redundancy.
- Baseline regression checking: Uses
gateto compare current structural health against a saved baseline to prevent gradual degradation. - Layer & boundary governance: Ensures dependency direction respects foundational vs presentation layering and prevents DIP violations.
- Use case: After implementing a new service/module, run structural checks to confirm the domain layer does not start depending on handlers and that the dependency graph remains acyclic and shallow.
Quick Start
Activate the skill by adding a project-specific .sentrux/rules.toml, then run sentrux gate . to enforce the constraints and detect architectural regressions against the baseline.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: sentrux Download link: https://github.com/Pyl-Tech/stream-coding/archive/main.zip#sentrux Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.