/engineering:image-compressionfrom engineering
Implements hybrid image compression: client-side Squoosh (WASM) with Canvas fallback, server-side Sharp validation, resize, metadata stripping, and re-encoding. Targets 1920px width, 512KB max, quality 75.
Ships in engineering. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Acknowledgement: Shared by Peter Bamuhigire, techguypeter.com, +256 784 464178.
| Category | Artifact | Format | Example |
|---|---|---|---|
| Performance | Image compression policy | Markdown doc covering Squoosh client-side targets, Canvas fallback, and Sharp server-side validation budgets | docs/images/compression-policy.md |
references/ directory for deep detail after reading the core workflow below.Use a hybrid image-compression path:
Common defaults: 1920 px long-edge envelope, 512 KB canonical output maximum, quality 75 (adjust down inside an explicit quality floor). Product profiles override these values when the rendering context, transparency, or small-scale legibility requires it.
✅ Web apps that upload user images and must reduce bandwidth ✅ Need transparent UX (no user action) ✅ Want modern codecs but must support older browsers
❌ Server-only batch pipelines (use Sharp directly) ❌ Large-scale media processing with complex transforms (use ImageMagick/FFmpeg)
compressImage(file, options).maxWidth: 1920maxHeight: 1920maxSize: $512 * 1024$quality: 75minDimensions: 200x200 (server-side)Skill-specific anti-patterns:
file.type, extension, or magic bytes alone as authoritative. Fix: require content
detection plus a successful bounded decode and canonical re-encode.saas-managed-visual-assetsRead and search the upload path first. Edit only when authorised; execute codec, size-limit, malformed-file, and server-validation tests when supported. Network access is optional for dependency verification.
| Artefact | Required? | Purpose |
|---|---|---|
| Source images, display sizes, quality targets, formats, and delivery constraints | yes | Choose safe optimisation |
Fallback without visual inspection or target rendering: retain originals and mark quality comparison unverified.
Inventory usages, choose formats and dimensions, compress non-destructively, render representative states, compare quality and size, then update references.
references/client-usage.md (opens in a new tab)references/client.md (opens in a new tab)references/docker.md (opens in a new tab)references/env.md (opens in a new tab)references/implementation-checklist.md (opens in a new tab)references/monitoring.md (opens in a new tab)references/performance.md (opens in a new tab)references/photo-management/entrypoint.md (opens in a new tab)references/quality-metrics.md (opens in a new tab)references/readme-notes.md (opens in a new tab)references/routing.md (opens in a new tab)references/security.md (opens in a new tab)references/server.md (opens in a new tab)references/storage.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
169 skills in this plugin
/accounting-engineUse when designing or implementing double-entry accounting policy and an embedded ledger engine for invoices, payments, stock, balanced postings, mapped accounts, idempotency, reversals, period locks, audit trails, and financial statements./accounting-finance-controllerUse when coordinating accounting and finance implementation reviews, doctrine routing, control evidence, remediation priorities, and release decisions across a software system./advanced-testing-strategyUse when designing or reviewing test strategy for production systems, APIs, mobile apps, SaaS platforms, ERP workflows, and AI-enabled systems. Covers unit, integration, contract, end-to-end, regression, release-gate, and risk-based testing decisions./ai-agent-commercial-operationsUse when pricing, billing, refunding, recognizing revenue, or packaging commercial terms for agentic AI services, or when defining agent SLAs, customer commitments, SLA dashboards, breach credits, and service evidence./ai-agent-compliance-controlsUse when mapping AI agent operations to SOC 2, ISO 27001, HIPAA, audit logs, control testing, attestations, and compliance evidence, including drill-cadence evidence, approval-completeness (PI1.1) gap checks, and signed agent-memory erasure proofs./ai-agent-governance-and-limitsUse when defining agent budgets, step limits, reversibility, blast-radius controls, kill switches, and governance policy for agentic AI systems.npx claudepluginhub peterbamuhigire/chwezi-dev-engine --plugin engineeringOther plugins' skills for the same job