Use when a hardware photo is low-quality, skewed, cropped awkwardly, or has glare—prep it for cleaner component identification.
npx claudepluginhub danielrosehill/claude-code-plugins --plugin hardware-id-annotationThis skill uses the workspace's default tool permissions.
Pre-process a hardware photo to improve clarity and alignment for visual component identification. The skill invokes a Python script to auto-rotate based on EXIF, de-skew if needed, optionally enhance contrast and white-balance, and crop to the board boundary. Output is a cleaned-up image saved with a `-prepped` suffix.
Provides UI/UX resources: 50+ styles, color palettes, font pairings, guidelines, charts for web/mobile across React, Next.js, Vue, Svelte, Tailwind, React Native, Flutter. Aids planning, building, reviewing interfaces.
Conducts multi-round deep research on GitHub repos via API and web searches, generating markdown reports with executive summaries, timelines, metrics, and Mermaid diagrams.
Share bugs, ideas, or general feedback.
Pre-process a hardware photo to improve clarity and alignment for visual component identification. The skill invokes a Python script to auto-rotate based on EXIF, de-skew if needed, optionally enhance contrast and white-balance, and crop to the board boundary. Output is a cleaned-up image saved with a -prepped suffix.
Data storage root:
${CLAUDE_USER_DATA:-${XDG_DATA_HOME:-$HOME/.local/share}/claude-plugins}/hardware-id-annotation/
identify-componentsoutput/--auto-rotate (default: true) — use EXIF orientation--deskew (default: false) — rotate to align board edges (requires opencv)--enhance-contrast (default: false) — boost visibility of faint markings--white-balance (default: false) — correct color cast--crop-board (default: false) — auto-detect and crop to board boundary (requires opencv)Invoke the prep script:
python3 ${CLAUDE_PLUGIN_ROOT}/scripts/prep.py \
--input <image> \
--output <output.png> \
--auto-rotate \
--deskew \
--enhance-contrast \
--white-balance
Inspect the output. Display the prepped image to the user and ask: "Does this look better? Any areas still unclear?" If needed, suggest running again with different flags (e.g., less contrast boost, crop enabled).
Save prepped image with -prepped suffix by default:
<input-dir>/<name>-prepped.png
or to plugin storage if specified:
${CLAUDE_USER_DATA:-${XDG_DATA_HOME:-$HOME/.local/share}/claude-plugins}/hardware-id-annotation/output/<board-slug>-prepped.png
Preserve original. Never overwrite the original unless explicitly confirmed by the user.
Report transformations. Console output lists which operations were applied and their parameters (e.g., "Rotated 90° CCW per EXIF, deskew 3.2°, contrast +20%").
-prepped suffixidentify-components for cleaner component detectioninstall-deps to add it.