Commit Graph

6 Commits

Author SHA1 Message Date
Matthew Podwysocki 07d73bcd79 Remove redundant bash setup script
The setup-hooks.sh bash script is redundant since we have the cross-platform
Node.js version (setup-hooks.js) that works on Windows, macOS, and Linux.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-18 13:19:57 -05:00
Matthew Podwysocki 691cb27b9b Format setup-hooks.js with Prettier 2026-02-18 12:17:06 -05:00
Matthew Podwysocki a99e5bd077 Convert setup-hooks script from bash to Node.js for cross-platform compatibility
- Replaced bash script with Node.js version using native fs/path modules
- Updated package.json to use 'node scripts/setup-hooks.js'
- Works on Windows (PowerShell/cmd), macOS, and Linux
- Handles chmod gracefully on Windows where it's not needed
2026-02-18 11:26:51 -05:00
Matthew Podwysocki 48b694835b Add pre-push git hooks to run CI checks locally
Set up automatic git hooks that run all CI validation checks before pushing code. This prevents common CI failures by catching issues early in the development workflow.

Changes:
- Add .githooks/pre-push that runs format, spell, lint, and validation checks
- Add scripts/setup-hooks.sh to install hooks into .git/hooks/
- Update package.json with setup and postinstall scripts for automatic installation
- Document git hooks setup in CONTRIBUTING.md with usage instructions

The pre-push hook runs the same checks as CI:
- Prettier formatting validation
- cspell spell checking
- markdownlint markdown linting
- Skills structure validation

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-11 10:25:59 -05:00
Matthew Podwysocki 3c3702c3d7 Add Prettier formatter for consistent code formatting
- Add prettier as dev dependency
- Create .prettierrc config with markdown-specific settings
- Add .prettierignore to exclude node_modules and generated files
- Add npm scripts:
  - format: Format all files with prettier
  - format:check: Check formatting without changes
- Update npm check script to include format:check
- Add format check step to GitHub Actions CI
- Format all existing files with prettier

Prettier config:
- Preserve line wrapping in markdown (proseWrap: preserve)
- 120 char print width for markdown
- Consistent formatting for JSON and JS files

This ensures all markdown, JSON, and JS files maintain consistent
formatting across the repository.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-04 14:17:21 -05:00
Neha Gupta 2653fa88fb Initial commit 2026-01-29 16:59:42 -05:00