checks

Automate pre-commit checks for the Chai design system.

8|4|Updated Mar 9, 2023
One-click install
npx skills add https://github.com/droidconKE/chai --skill checks-droidconke
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: checks
Source: https://github.com/droidconKE/chai/tree/main/.ai/skills/checks
Command: npx skills add https://github.com/droidconKE/chai --skill checks-droidconke

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automates the pre-PR checks for the Chai design system, ensuring code quality and adherence to design standards before committing or opening a pull request.

Core Features & Use Cases

  • Design System Audit: Checks for correct usage of the Chai design system components.
  • Android Lint: Identifies potential issues in the Android code.
  • Unit Tests: Executes unit tests to ensure functionality.
  • Build Assembly: Assembles the debug build to check for compilation errors.
  • Use Case: Before submitting a pull request, use this Skill to run all checks and ensure the code meets the required standards.

Quick Start

Run the pre-PR checks for the Chai design system by executing the 'checks' command.

Frequently Asked Questions about checks

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

FAQPage Schema
How do I automate pre-commit checks for a design system?

You can automate pre-commit checks by running a command that executes a design system usage audit, Android code linting, unit testing, and debug build assembly to ensure code quality before opening a pull request.

What is included in a pre-PR code review audit for Android?

A pre-PR audit for Android includes a design system usage audit, Android code linting to identify potential issues, unit test execution to ensure functionality, and debug build assembly to check for compilation errors.

Can I run Android lint and unit tests before opening a pull request?

Yes, you can run Android lint and unit tests before opening a pull request by executing the automated checks command. This validates your code by identifying potential issues and verifying functionality before submission.

Does this work with the Chai design system for Android code?

Yes, this is designed specifically to audit Chai design system component usage in Android code. It ensures adherence to design standards by validating component implementation before code submission.

Why do I need to assemble a debug build during code review?

Assembling a debug build during code review checks for compilation errors before submitting a pull request. This step validates that the Android code and design system components compile successfully without integration issues.