check

Check source files against predefined project rules and report violations.

4.6k|161|Updated Oct 1, 2022
One-click install
npx skills add https://github.com/x-cmd/x-cmd --skill check-x-cmd
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: check
Source: https://github.com/x-cmd/x-cmd/tree/main/mod/slash/lib/preset/check
Command: npx skills add https://github.com/x-cmd/x-cmd --skill check-x-cmd

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

The Skill solves the problem of ensuring code quality by providing a rule-based check for all source files against project rules, identifying every violation efficiently.

Core Features & Use Cases

  • Comprehensive Check: Evaluates all source files against project rules.
  • Triggering: Triggered by "/check [target]" to evaluate all source files against project rules and report every violation.
  • Rule-Based: Uses a defined set of rules to evaluate code quality.
  • Use Case: Before commiting code to a repository or in a continuous integration process, to quickly identify any issues with the code.

Quick Start

Run the /check command to verify all source files against the project rules in the current directory.

Frequently Asked Questions about check

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

FAQPage Schema
How do I run an automated code review against predefined project rules?

To run an automated code review, you can trigger the rule-based check by targeting your source files, which evaluates the code against predefined project rules and reports every violation efficiently.

What is the best way to identify source code violations before committing to a repository?

The best way to identify source code violations before committing is to perform a comprehensive rule-based check on all source files, ensuring code quality by catching issues early.

How does rule-based code checking work for multiple programming languages?

Rule-based code checking works by evaluating source files against a defined set of project rules, providing comprehensive analysis across multiple programming languages to identify any violations.

Can I use this automated verification tool in CI/CD pipelines?

Yes, you can use this automated verification tool in CI/CD pipelines to quickly identify issues with the code by evaluating all source files against project rules during continuous integration.

Does the code quality check support custom rule definitions for source code analysis?

Yes, the code quality check supports custom rule definitions for source code analysis, using a defined set of rules to evaluate code quality and identify every violation efficiently.