Review the results of git diff --staged and prepare a commit message in the following format (display it in a code block format to make it copyable):
<commit-before-symbol>: <commit message>
- <details>
- <details>
| #!/usr/bin/env python3 | |
| # Run: uv run python drawio-to-png-tabs.py <input_dir> <output_dir> | |
| # Output: | |
| # input/path/sample.drawio | |
| # -> out/input/path/sample/<tabname>.png | |
| from __future__ import annotations | |
| import argparse |
| #!/usr/bin/env bash | |
| set -Eeuo pipefail | |
| # Usage: | |
| # ./md-to-pdf.sh <input_dir> <output_dir> [config_js] | |
| # | |
| # Example: | |
| # ./md-to-pdf.sh ./docs ./out ./config.js | |
| if [ "$#" -lt 2 ] || [ "$#" -gt 3 ]; then |
| #!/usr/bin/env bash | |
| set -Eeuo pipefail | |
| # Usage: | |
| # ./drawio-to-pdf.sh <input_dir> <output_dir> | |
| # | |
| # Example: | |
| # ./drawio-to-pdf.sh ./docs ./out |
| // Notifications triggered via osascript are handled by Script Editor, so make sure notifications are enabled for Script Editor in macOS System Settings. | |
| // Run: nohup node notify-server.mjs | |
| // Test: curl "http://host.docker.internal:8100/notify?title=Title&message=$(node -p 'encodeURIComponent(`Write your message here`)')" | |
| import http from 'node:http'; | |
| import { execFile } from 'node:child_process'; | |
| import { promisify } from 'node:util'; | |
| const execFileAsync = promisify(execFile); | |
| const HOST = '127.0.0.1'; |
| #!/usr/bin/env bash | |
| set -Eeuo pipefail | |
| # Examples: | |
| # bash lint-github-actions.sh .github/workflows | |
| # bash lint-github-actions.sh .github/workflows/auto-assign.yml | |
| # bash lint-github-actions.sh --fix .github/workflows | |
| # bash lint-github-actions.sh --fix .github/workflows/auto-assign.yml |
| #!/usr/bin/env bash | |
| set -Eeuo pipefail | |
| mkdir -p ~/.claude/skills; | |
| git clone --depth 1 --filter=blob:none --sparse https://github.com/anthropics/skills.git ./tmp/anthropic-skills; | |
| cd ./tmp/anthropic-skills; | |
| git sparse-checkout set skills/skill-creator; | |
| cp -R skills/skill-creator ~/.claude/skills/; |
| #!/usr/bin/env bash | |
| # Prerequisite: | |
| # Install draw.io beforehand: | |
| # brew install --cask drawio | |
| set -euo pipefail | |
| DRAWIO="/Applications/draw.io.app/Contents/MacOS/draw.io" | |
| OUTPUT_BASE="$HOME/Downloads/tmp" |
| model = "gpt-5-codex" | |
| model_reasoning_effort = "low" | |
| [mcp_servers.context7] | |
| command = "/Users/<user>/Library/pnpm/context7-mcp" | |
| args = ["--api-key", "YOUR_API_KEY"] | |
| [mcp_servers.playwright] | |
| command = "/Users/<user>/Library/pnpm/mcp-server-playwright" | |
| args = [] |
Review the results of git diff --staged and prepare a commit message in the following format (display it in a code block format to make it copyable):
<commit-before-symbol>: <commit message>
- <details>
- <details>
| // deno run --allow-read mermaid_lint.ts <path> | |
| // ----------------------------------------------------------------------------- | |
| // File spec | |
| // ----------------------------------------------------------------------------- | |
| // Behavior: | |
| // - If <path> is a file: lint that single file (supports .mmd/.mermaid and Markdown fences). | |
| // - If <path> is a directory: recursively find markdown files matching | |
| // the glob pattern: "**" + "/" + "*.md", and lint all Mermaid code fences. | |
| // No flags; behavior is inferred from argument type. | |
| // |