pre-commit-validation

Community

Ensure code quality and runtime stability

Authorxin-lai
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill ensures that staged changes are safe to commit by combining static code review, runtime health checks, and automated functional login tests to catch issues early and reduce broken builds.

Core Features & Use Cases

  • Static Code Review: Integrates with the project's code-review guidance to detect security, correctness, and stylistic issues in staged files.
  • Runtime Validation: Checks Aspire resource states, aggregates console and structured logs, and highlights errors or failing services.
  • Functional Login Tests: Executes Playwright-based or dotnet-script login tests for system and tenant admin flows to verify real user paths.
  • Use Case: Before pushing a feature branch, run this skill to verify no critical code issues, ensure services start correctly, and confirm tenant/admin logins succeed.

Quick Start

Run the pre-commit validation on staged changes to perform code review, runtime health checks, and login tests.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: pre-commit-validation
Download link: https://github.com/xin-lai/CodeSpirit/archive/main.zip#pre-commit-validation

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.