post-work-checks

Enforce post-change quality gates for the React Native audio-api project.

822|83|Updated Jul 3, 2024
One-click install
npx skills add https://github.com/software-mansion/react-native-audio-api --skill post-work-checks
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: post-work-checks
Source: https://github.com/software-mansion/react-native-audio-api/tree/main/.claude/skills/post-work-checks
Command: npx skills add https://github.com/software-mansion/react-native-audio-api --skill post-work-checks

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Manages and enforces a quality gate after code changes, ensuring formatting, linting, type checking, C++ tests, JS tests, and enum synchronization are performed before a PR is opened.

Core Features & Use Cases

  • Automated pre-commit checks: Lefthook runs formatting, linting, type checking, and commit-message validation on every commit.
  • Manual validation steps: Run C++ tests and Android C++ compile checks after changes to affected areas.
  • Guided workflow: Provides a clear sequence for teams to verify code health before contributing.

Quick Start

Run a normal commit to trigger Lefthook pre-commit checks, and complete the manual steps before opening a PR.

Frequently Asked Questions about post-work-checks

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

FAQPage Schema
How do I enforce pre-commit checks for formatting, linting, and type checking in a React Native project?

Pre-commit checks for formatting, linting, and type checking are enforced using Lefthook, which automatically triggers these validations on every commit to ensure code quality.

What manual validation steps are required for C++ and enum sync before opening a PR?

Manual validation requires running C++ tests and Android C++ compile checks after changes to affected areas, along with verifying enum synchronization before opening a pull request.

Does Lefthook support commit-message validation alongside linting and typecheck tasks?

Yes, Lefthook supports commit-message validation alongside running formatting, linting, and type checking tasks automatically during the regular development commit workflow.

What is the best way to verify code health and run tests after making code changes?

The best way to verify code health is executing a guided workflow that runs automated Lefthook checks on commit, followed by manual C++ tests and enum synchronization steps.

Why do I need to manually run C++ compile checks if Lefthook already automates pre-commit hooks?

Manual C++ compile checks are needed because Lefthook automates formatting, linting, type checking, and commit validation, but requires manual execution for C++ tests and Android compile verification.

Can I use this quality gate workflow to automate enum synchronization in my React Native codebase?

No, enum synchronization is not fully automated; the workflow requires manual validation steps to verify enum sync alongside running C++ tests after modifying affected code areas.