libragent-quality
Comprehensive code quality validation for LibrAgent, covering TypeScript frontend and Rust/Tauri backend via automated linting, formatting, type checking, and build verification.
Introduction
The LibrAgent Code Quality Validation skill acts as a specialized quality gate for the LibrAgent platform, ensuring code integrity across its dual-stack architecture. It is designed for developers and autonomous agents maintaining the React/TypeScript frontend and the Rust/Tauri backend, streamlining the pre-commit and CI/CD validation process. By orchestrating a suite of industry-standard tools, the skill enforces strict coding standards, identifies potential bugs, and ensures performance consistency throughout the development lifecycle.
-
Executes full-stack validation workflows, including ESLint, Prettier, Vitest, Rust clippy, and Rust format.
-
Performs critical build verification, ensuring production readiness through Vite builds and Rust compilation checks with all features.
-
Detects dead code and unused exports to maintain a clean and performant codebase, leveraging tools like unimported.
-
Validates strict project architecture rules, including non-negotiable TypeScript types (no 'any'), Rust memory safety, and centralized logging patterns.
-
Supports individual stack validation, allowing developers to target specific frontend linting or backend clippy linting independently.
-
Facilitates automated refactoring and formatting fixes through pre-configured npm/pnpm scripts.
-
Use this skill whenever initiating a pull request, committing code, or performing major refactoring tasks to ensure compliance with architectural standards.
-
Input is primarily triggered via CLI commands such as 'pnpm refactor:validate', while outputs are direct console reports identifying pass/fail status of linting, testing, and compilation tasks.
-
Constraints include strict adherence to the defined coding standards, such as the prohibition of 'any' types in TypeScript and mandatory doc comments in Rust public APIs.
-
Ideal for managing complex agentic workflows where architectural consistency is paramount for long-term scalability and system reliability.
Repository Stats
- Stars
- 7
- Forks
- 3
- Open Issues
- 4
- Language
- Rust
- Default Branch
- main
- Sync Status
- Idle
- Last Synced
- May 3, 2026, 03:21 PM