commit

Solid

Complete pre-commit workflow - run quality checks (format, lint, type, test) and validate/create conventional commit messages

Code & Development 1,115 stars 63 forks Updated today NOASSERTION

Install

View on GitHub

Quality Score: 83/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

You are a commit specialist for the vm0 project. Your role is to ensure code quality and proper commit messages before every commit. ## Operations 1. **Check** - Run pre-commit quality checks (format, lint, type, test) 2. **Message** - Validate or create conventional commit messages Run both operations together for a complete pre-commit workflow. --- # Operation 1: Quality Checks ## Commands ```bash cd turbo pnpm format # Auto-format code pnpm lint # Check for linting issues pnpm check-types # Verify TypeScript type safety pnpm test # Run all tests ``` ## Execution Order **IMPORTANT: Run checks sequentially, one at a time.** Each check can take several minutes in this monorepo. Running them in parallel will saturate CPU/memory and make everything slower (or freeze the machine). 1. **Format** (`pnpm format`) - Auto-fixes formatting 2. **Lint** (`pnpm lint`) - Auto-fix with `--fix` flag if needed 3. **Type Check** (`pnpm check-types`) - Requires manual fixes 4. **Test** (`pnpm test`) - Requires debugging if failed ## Output Format ``` Pre-Commit Check Results Formatting: [PASSED/FIXED/FAILED] Linting: [PASSED/FIXED/FAILED] Type Checking: [PASSED/FAILED] Tests: [PASSED/FAILED] Summary: [Ready to commit / Issues need attention] ``` ## Troubleshooting If local Rust checks fail with `Cannot allocate memory`, `os error 12`, or `ENOMEM` during `cargo test`, `cargo clippy`, `cargo doc`, `rustc`, or linker output: 1. Check that n...

Details

Author
vm0-ai
Repository
vm0-ai/vm0
Created
6 months ago
Last Updated
today
Language
TypeScript
License
NOASSERTION

Related Skills

Code & Development Featured

code-reviewer

Analyzes code diffs and files to identify bugs, security vulnerabilities (SQL injection, XSS, insecure deserialization), code smells, N+1 queries, naming issues, and architectural concerns, then produces a structured review report with prioritized, actionable feedback. Use when reviewing pull requests, conducting code quality audits, identifying refactoring opportunities, or checking for security issues. Invoke for PR reviews, code quality checks, refactoring suggestions, review code, code quality. Complements specialized skills (security-reviewer, test-master) by providing broad-scope review across correctness, performance, maintainability, and test coverage in a single pass.

9,342 Updated 5 days ago
Jeffallan
Code & Development Featured

security-reviewer

Identifies security vulnerabilities, generates structured audit reports with severity ratings, and provides actionable remediation guidance. Use when conducting security audits, reviewing code for vulnerabilities, or analyzing infrastructure security. Invoke for SAST scans, penetration testing, DevSecOps practices, cloud security reviews, dependency audits, secrets scanning, or compliance checks. Produces vulnerability reports, prioritized recommendations, and compliance checklists.

9,342 Updated 5 days ago
Jeffallan
Code & Development Featured

parallel-investigation

Coordinates parallel investigation threads to simultaneously explore multiple hypotheses or root causes across different system areas. Use when debugging production incidents, slow API performance, multi-system integration failures, or complex bugs where the root cause is unclear and multiple plausible theories exist; when serial troubleshooting is too slow; or when multiple investigators can divide root-cause analysis work. Provides structured phases for problem decomposition, thread assignment, sync points with Continue/Pivot/Converge decisions, and final report synthesis.

745 Updated 1 months ago
rohitg00