← 全部工具

dariuszpanas/yaga

热度 65 更新于 开发与构建

Explicit repository policy checks for local development and CI: commits, workflows, Git trees, and review adapters.

githubauto-collected

安装

暂未验证可直接使用的安装命令,请查看项目官方文档或 Release。

YAGA

<img src="https://dariuszpanas.github.io/yaga/assets/branding/isometricterminalylogotransparent.png" alt="YAGA terminal Y logo" width="128" height="128"

Repository conventions you can check locally and enforce in CI.

YAGA helps teams turn recurring review feedback into repeatable checks. Catch inconsistent commit structure, missing companion changes, unwanted files, and risky workflow settings before they become another review conversation. Start with one check and adopt more as your project needs them.

What can YAGA help with?

| Problem | What YAGA checks | | --- | --- | | Commit messages and branch names follow inconsistent conventions | Commit policy and branch naming defined by your team | | A change lands without the related files your project expects | Changed-path rules, such as source changes accompanied by tests | | Unwanted files, oversized blobs, or incompatible paths enter the repository | Committed-file checks for contents, sizes, names, and entry modes | | GitHub Actions workflows drift from your security and maintenance rules | Workflow checks for immutable references, permission and checkout rules, and syntax | | Local checks and CI enforce different policies | An explicit repository plan used in both places |

Checks produce actionable findings and reports for automation. You choose the policies and checks; YAGA does not require adopting the entire CLI at once.

Start here

Install YAGA and run your first check

YAGA requires Python 3.12 or newer. Its PyPI distribution is yaga-cli and its command is yaga; the distribution named yaga is an unrelated project.

  • Adoption recipes — add checks to an existing workflow.
  • Assess YAGA for CI — match your problem to a check and its prerequisites.
  • Documentation — policies, examples, and operational guidance.
  • Command reference — find the check for your task.

Optional review tools

For feedback beyond deterministic rules, YAGA offers model-backed commit advice and agent review plans and receipts. These are optional. The experimental GitHub review adapter has separate deployment and security requirements; it is not needed for ordinary local or CI checks.

Project status

YAGA is beta. CLI and configuration contracts may change. Workflow security checks cover specific rules, not a complete security audit; see the security model for boundaries and reporting.

Changelog · Contributing

Licensed under BSD-3-Clause.