local-ci

Run architecture checks, style checks, and unit tests locally for Python projects.

1|Updated Jan 25, 2026
One-click install
npx skills add https://github.com/kellyson520/TG-ONE --skill local-ci-kellyson520
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: local-ci
Source: https://github.com/kellyson520/TG-ONE/tree/main/.agent/skills/local-ci
Command: npx skills add https://github.com/kellyson520/TG-ONE --skill local-ci-kellyson520

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires flake8, tqdm, psutil, and includes scripts (resource) components.

What problem does it solve?

Local CI gates code submissions by enforcing architecture conformance, style quality, and targeted tests before pushes, reducing defects in cloud deployments.

Core Features & Use Cases

  • Architecture guard: detects layering violations and prevents cross-component dependencies.
  • Style and quality checks: runs static analysis (flake8) and linting to ensure maintainable code.
  • Targeted testing: executes selected tests or full suites with configurable concurrency and batching.
  • Progress display: shows real-time progress, timing, and a concise results summary.

Quick Start

Run the local CI to verify architecture, lint, and tests before pushing changes.

Frequently Asked Questions about local-ci

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enforce code quality gates locally before pushing Python code?

To enforce code quality gates locally before pushing Python code, run a local CI script that checks architecture conformance, executes flake8 style linting, and runs targeted unit tests during your pre-push workflow.

What is local CI and how does it prevent layering violations in Python projects?

Local CI is a pre-push automation process that prevents layering violations by detecting cross-component dependencies and enforcing architecture conformance before code is pushed to remote repositories.

How do I run targeted unit tests with concurrency and batching before a git push?

You can run targeted unit tests with configurable concurrency and batching before a git push by executing the local CI script, which displays real-time progress, timing, and a concise results summary.

Does this local CI script require flake8 to run static analysis checks?

Yes, this local CI script requires flake8 as a dependency to run static analysis and linting checks, ensuring code maintainability before allowing pushes to proceed.

Can I use local CI to gate pushes for large scale Python projects?

You can use local CI to gate pushes for Python projects of varying scales, as it supports configurable concurrency and batching for test suites while monitoring system resources via psutil.

Why use local CI instead of waiting for cloud deployment tests to fail?

Using local CI reduces defects in cloud deployments by catching architecture violations, style issues, and test failures locally during pre-push, saving time and resources compared to waiting for remote pipelines.