ab-test-analysis
Design and analyze A/B tests, calculate statistical significance, and determine sample sizes…
Implement Git hooks using Husky, pre-commit, and custom scripts. Enforce code quality, linting, and testing before commits and pushes.
$ npx -y skills add aj-geddes/useful-ai-prompts --skill git-hooks-setup --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/git-hooks-setupContext preview
The summary Claude sees to decide when to auto-load this skill.
Implement Git hooks using Husky, pre-commit, and custom scripts. Enforce code quality, linting, and testing before commits and pushes.
name: git-hooks-setup description: > Implement Git hooks using Husky, pre-commit, and custom scripts. Enforce code quality, linting, and testing before commits and pushes.
Configure Git hooks to enforce code quality standards, run automated checks, and prevent problematic commits from being pushed to shared repositories.
Minimal working example:
#!/bin/bash # setup-husky.sh # Install Husky npm install husky --save-dev # Initialize Husky npx husky install # Create pre-commit hook npx husky add .husky/pre-commit "npm run lint" # Create commit-msg hook npx husky add .husky/commit-msg 'npx --no -- commitlint --edit "$1"' # Create pre-push hook npx husky add .husky/pre-push "npm run test" # Create post-merge hook npx husky add .husky/post-merge "npm install"
Detailed implementations in the `references/` directory:
| Guide | Contents | |---|---| | [Husky Installation and Configuration](references/husky-installation-and-configuration.md) | Husky Installation and Configuration | | [Pre-commit Hook (Node.js)](references/pre-commit-hook-nodejs.md) | Pre-commit Hook (Node.js) | | [Commit Message Validation](references/commit-message-validation.md) | Commit Message Validation | | [Commitlint Configuration](references/commitlint-configuration.md) | Commitlint Configuration, Pre-push Hook (Comprehensive) | | [Pre-commit Framework (Python)](references/pre-commit-framework-python.md) | Pre-commit Framework (Python) | | [Secret Detection Hook](references/secret-detection-hook.md) | Secret Detection Hook, Husky in package.json |
488 production-ready AI prompts, all following a standardized template with validated quality gates. Transform ChatGPT, Claude, and other AI assistants into expert consultants.
Repo: aj-geddes/useful-ai-prompts
Design and analyze A/B tests, calculate statistical significance, and determine sample sizes…
Implement Role-Based Access Control (RBAC), permissions management, and authorization…
Implement WCAG 2.1/2.2 accessibility standards, screen reader compatibility, keyboard…
Test web applications for WCAG compliance and ensure usability for users with disabilities.…
Plan and execute effective sprints using Agile methodologies. Define sprint goals, estimate…
Implement comprehensive alert management with PagerDuty, escalation policies, and incident…