ci-validator

Run lint, type, spell, duplicate code, and test checks for xiaozhi-client.

333|92|Updated Jun 9, 2025
One-click install
npx skills add https://github.com/shenjingnan/xiaozhi-client --skill ci-validator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ci-validator
Source: https://github.com/shenjingnan/xiaozhi-client/tree/main/.claude/skills/ci-validator
Command: npx skills add https://github.com/shenjingnan/xiaozhi-client --skill ci-validator

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates CI checks and quality assurance for the xiaozhi-client project, ensuring code quality before integration.

Core Features & Use Cases

  • Automated CI validation: runs a comprehensive suite of checks including lint, type checks, spell checks, duplicate code detection, and tests to catch issues early.
  • Quality gate enforcement: helps teams enforce code quality in PRs and releases, reducing CI failures.
  • Smart guidance: offers suggested fixes and commands to resolve common failures.

Quick Start

Run a full quality sweep on the repository with: pnpm check:all && pnpm test

Frequently Asked Questions about ci-validator

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

FAQPage Schema
How do I automate CI checks for lint, types, and tests in a pnpm project?

Automating CI validation for lint, types, and tests uses a comprehensive suite to catch issues early. You can execute pnpm check:all and pnpm test to enforce code quality across linting, strict type checks, spell checking, duplicate code detection, and test execution.

What's the best way to enforce code quality gates before merging pull requests?

Enforcing code quality gates before merging pull requests requires automated CI validation. Running checks like pnpm lint, pnpm check:type, and pnpm check:cpd helps teams catch issues early and reduce CI failures during repository maintenance and release preparation.

Can I run TypeScript strict type checks and duplicate code detection together?

Running TypeScript strict type checks and duplicate code detection together is supported within a Node.js environment. You can execute pnpm check:type for strict typing and pnpm check:cpd for copy-paste detection sequentially to ensure codebase quality.

Does automated CI validation work with Node.js and pnpm environments?

Automated CI validation works directly with Node.js and pnpm environments. It is designed to run pnpm-based scripts like pnpm check:spell, pnpm lint, and pnpm test to validate your codebase within its native npm environment setup.

Why do I need spell checking and duplicate code detection in my CI pipeline?

Spell checking and duplicate code detection in your CI pipeline catch subtle quality issues before integration. Running pnpm check:spell and pnpm check:cpd ensures documentation accuracy and reduces code redundancy, serving as a quality gate for pull requests and releases.