Smithery Logo
MCPsSkillsDocsPricing
Login
Smithery Logo

Accelerating the Agent Economy

Resources

DocumentationPrivacy PolicySystem Status

Company

PricingAboutBlog

Connect

© 2026 Smithery. All rights reserved.

    musicjunkieg

    pre-commit

    musicjunkieg/pre-commit
    Coding

    About

    SKILL.md

    Install

    Install via Skills CLI

    or add to your agent
    • Claude Code
      Claude Code
    • Codex
      Codex
    • OpenClaw
      OpenClaw
    • Cursor
      Cursor
    • Amp
      Amp
    • GitHub Copilot
      GitHub Copilot
    • Gemini CLI
      Gemini CLI
    • Kilo Code
      Kilo Code
    • Junie
      Junie
    • Replit
      Replit
    • Windsurf
      Windsurf
    • Cline
      Cline
    • Continue
      Continue
    • OpenCode
      OpenCode
    • OpenHands
      OpenHands
    • Roo Code
      Roo Code
    • Augment
      Augment
    • Goose
      Goose
    • Trae
      Trae
    • Zencoder
      Zencoder
    • Antigravity
      Antigravity
    ├─
    ├─
    └─

    About

    Run before committing code. Runs lint, format, type check, and tests to ensure code quality. Use when preparing to commit changes or when asked to verify code quality.

    SKILL.md

    Pre-Commit Checklist

    Run these checks before committing code to ensure quality.

    Quick Commands

    npm run check      # TypeScript type checking
    npm run lint       # Prettier + ESLint check
    npm run test       # Run all tests
    npm run format     # Auto-fix formatting issues
    

    Full Pre-Commit Flow

    1. Format code (auto-fix):

      npm run format
      
    2. Check types:

      npm run check
      
    3. Run linter:

      npm run lint
      
    4. Run tests:

      npm run test
      
    5. Stage and commit (if all pass):

      git add <files>
      git commit -m "message"
      

    One-Liner

    Run all checks in sequence (stops on first failure):

    npm run format && npm run check && npm run lint && npm run test
    

    Common Issues

    Issue Fix
    Prettier errors Run npm run format
    ESLint errors Fix manually or check .eslintrc
    Type errors Fix TypeScript issues in code
    Test failures Fix failing tests before commit

    Notes

    • Always run checks before pushing to remote
    • Format first to avoid unnecessary lint errors
    • Tests should pass in CI - don't skip locally
    Recommended Servers
    GitHub
    GitHub
    Codeinterpreter
    Codeinterpreter
    Vercel Grep
    Vercel Grep
    Repository
    musicjunkieg/ideal-telegram
    Files