Skip to content
anyai.fyi

pre-commit-setup

Skill from milad-ahmd/agent-skills

Development No risky patterns found contains scripts git

Install

npx skills add milad-ahmd/agent-skills --skill pre-commit-setup

Runs the open skills CLI and installs the skill for your agent (Claude Code, Codex, Cursor …). Alternatively copy the skill folder into .claude/skills/ or upload it in Claude.ai under Settings → Skills.

As a Claude Code plugin

/plugin marketplace add milad-ahmd/agent-skills /plugin install all-skills@milad-agent-skills

This skill is part of the plugin “all-skills”. In Claude Code the plugin installs it together with the plugin’s other skills, commands and hooks.

What does the pre-commit-setup skill do?

Sets up git pre-commit hooks (not agent hooks) running the project's own formatters, linters and a secret scan on staged files, mirrored in CI. Use when asked for pre-commit hooks, husky and lint-staged, lefthook, or to format or lint on commit.

Description from the SKILL.md in the source repository.

Questions about pre-commit-setup

What does the pre-commit-setup skill do?

Sets up git pre-commit hooks (not agent hooks) running the project's own formatters, linters and a secret scan on staged files, mirrored in CI. Use when asked for pre-commit hooks, husky and lint-staged, lefthook, or to format or lint on commit.

How do I install pre-commit-setup?

In a terminal: npx skills add milad-ahmd/agent-skills --skill pre-commit-setup. The skills CLI asks which agents to install it for. In Claude.ai you can upload the skill folder as a ZIP under Settings → Skills.

Which agents can use pre-commit-setup?

Skills use the open SKILL.md format, which Claude Code, Claude.ai, the Claude API, OpenAI Codex, Cursor, Gemini CLI and other agents support.

Is pre-commit-setup safe to use?

Our automatic check found no risky patterns (piped shell scripts, hidden characters, secret access, prompt overrides). It is not a full audit – read the SKILL.md and any scripts before installing.

More skills from milad-ahmd/agent-skills

tdd-loop
milad-ahmd/agent-skills

Runs strict test-driven development one behaviour at a time. Picks the next smallest behaviour from the spec or task list, writes one failing test, makes the smallest change that passes it, then …

Testing & QA
No risky patterns found
social-media-calendar
milad-ahmd/agent-skills

Builds a complete monthly cross-platform social media content calendar (Instagram, TikTok, YouTube, LinkedIn, X, Facebook, Pinterest, Threads) with themes, pillars, post ideas, drafts, formats, posting times, and campaign or holiday hooks, exported …

Writing & Marketing
No risky patterns found
social-media-manager
milad-ahmd/agent-skills

Head-of-social agent that picks which platforms a brand should focus on, sets KPIs, runs the weekly plan and community work, and does the hands-on work on LinkedIn, X (Twitter), Facebook Pages and …

Writing & Marketing
Risky patterns
sql-optimizer
milad-ahmd/agent-skills

Explains slow SQL queries in plain English, reads EXPLAIN plans, and suggests concrete rewrites and indexes for PostgreSQL, MySQL, and SQLite, including ORM-generated N+1 problems.

Data & Databases
No risky patterns found
startup-idea-validator
milad-ahmd/agent-skills

Stress-tests a startup or product idea before you build it. It runs critique from a skeptical investor, a target customer, and a competitor, researches existing competitors, ranks the riskiest assumptions, writes Mom-Test …

Testing & QA
No risky patterns found
test-gap-hunter
milad-ahmd/agent-skills

Finds the riskiest untested code in a project and writes meaningful tests for it using the project's existing test framework and conventions.

Testing & QA
No risky patterns found
tiktok-viral-creator
milad-ahmd/agent-skills

Plans and scripts TikTok videos built for watch time and rewatches: trend and niche research, 2-second openers, shot-by-shot shooting scripts with on-screen text, sound choices, series formats, a weekly upload schedule, and …

Research & Web
No risky patterns found
social-analytics-reporter
milad-ahmd/agent-skills

Turns raw social media analytics exports (Instagram Insights, TikTok Analytics, YouTube Studio, LinkedIn, X, Meta Ads CSV or screenshots) into a clear performance report with KPIs, trends, top and bottom content analysis …

Data & Databases
No risky patterns found

Related skills in Development

improve-codebase-architecture
mattpocock/skills

Scan a codebase for deepening opportunities, present them as a visual HTML report, then grill through whichever one you pick.

Development 1289k installs curated
No risky patterns found
diagnosing-bugs
mattpocock/skills

Diagnosis loop for hard bugs and performance regressions. Use when the user says "diagnose"/"debug this", or reports something broken/throwing/failing/slow.

Development 954k installs curated
No risky patterns found
code-review
mattpocock/skills

Review the changes since a fixed point (commit, branch, tag, or merge-base) along two axes: Standards (does the code follow this repo's documented coding standards?) and Spec (does the code match what …

Development 915k installs curated
No risky patterns found
research
mattpocock/skills

Investigate a question against high-trust primary sources and capture the findings as a Markdown file in the repo.

Development 826k installs curated
No risky patterns found
appinsights-instrumentation
microsoft/azure-skills

Guidance for instrumenting webapps with Azure Application Insights. Provides telemetry patterns, SDK setup, and configuration references.

Development 748k installs curated
No risky patterns found
azure-resource-visualizer
microsoft/azure-skills

Analyze Azure resource groups and generate detailed Mermaid architecture diagrams showing the relationships between individual resources. WHEN: create architecture diagram, visualize Azure resources, show resource relationships, generate Mermaid diagram, analyze resource group …

Development 748k installs curated
No risky patterns found
azure-aigateway
microsoft/azure-skills

Configure Azure API Management as an AI Gateway for AI models, MCP tools, and agents. WHEN: semantic caching, token limit, content safety, load balancing, AI model governance, MCP rate limiting, jailbreak detection …

Development 747k installs curated
No risky patterns found
azure-messaging
microsoft/azure-skills

Troubleshoot and resolve issues with Azure Messaging SDKs for Event Hubs and Service Bus. Covers connection failures, authentication errors, message processing issues, and SDK configuration problems.

Development 739k installs curated
No risky patterns found