/major-ai-skills:adobe-photoshopfrom major-ai-skills
Automates Photoshop with UXP or ExtendScript, Actions, Batch/Image Processor, Smart Object pipelines, and color-managed exports. Catches profile, bit-depth, and headless-DOM failures agents routinely miss.
Ships in major-ai-skills. 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.
Adobe Photoshop is a layer-based pixel compositor for retouching, design, and stills pipelines. Agents should treat documents as trees of layers / groups / Smart Objects / adjustment layers, Actions as recorded human-intent steps, and scripts (ExtendScript JSX or UXP) as deterministic I/O + export. Color is a first-class contract: document profile ≠ export intent (web sRGB vs print Adobe RGB / CMYK).
┌─────────────────────────────────────────────────────────────┐
│ Photoshop edit → script → export │
│ │
│ Document model │
│ ├── ArtLayer / LayerSet / Smart Object │
│ ├── Adjustment layers / masks / channels / paths │
│ └── History (non-destructive until flatten) │
│ │
│ Automation │
│ ├── Actions + Batch / Image Processor │
│ ├── ExtendScript DOM (app.activeDocument) │
│ └── UXP plugins (modern JS + manifest) │
│ │
│ Color & deliverables │
│ ├── Working space / convert on export │
│ └── PNG/JPEG/TIFF/PSD; Generator naming │
└─────────────────────────────────────────────────────────────┘
Version pins: document Photoshop major (e.g. 2025) and whether the studio standardizes on UXP (new panels) or ExtendScript (legacy farm scripts). Do not mix APIs in one file.
Use when
Do not use when
@substance-painter.sRGB IEC61966-2.1 for web).close(SaveOptions.DONOTSAVECHANGES) unless in-place save requested.doAction; keep paths/quality in script.{name}_{size}.{ext} conventions for design-system exports.// ExtendScript: max-edge 2048, convert to sRGB JPEG
(function () {
var inputFolder = Folder.selectDialog("Select input folder");
var outputFolder = Folder.selectDialog("Select output folder");
if (!inputFolder || !outputFolder) return;
var files = inputFolder.getFiles(/\.(jpg|jpeg|png|tif|tiff|psd)$/i);
var count = 0;
for (var i = 0; i < files.length; i++) {
var doc = open(files[i]);
var maxEdge = 2048;
var w = doc.width.as("px");
var h = doc.height.as("px");
var scale = Math.min(1, maxEdge / Math.max(w, h));
if (scale < 1) {
doc.resizeImage(
UnitValue(w * scale, "px"),
UnitValue(h * scale, "px"),
null,
ResampleMethod.BICUBICSHARPER
);
}
try {
doc.convertProfile("sRGB IEC61966-2.1", Intent.RELATIVECOLORIMETRIC, true, true);
} catch (e) {
// Unmanaged docs: assign sRGB first in Color Settings workflows if convert fails
}
var outFile = new File(
outputFolder + "/" + doc.name.replace(/\.[^\.]+$/, "") + "_2048.jpg"
);
var opts = new JPEGSaveOptions();
opts.quality = 10;
opts.embedColorProfile = true;
doc.saveAs(outFile, opts, true);
doc.close(SaveOptions.DONOTSAVECHANGES);
count++;
}
alert("Processed " + count + " files.");
})();
Hybrid pattern:
1. Record Action for retouch steps that need human brush intent
2. JSX: doAction("RetouchHero", "StudioSet")
3. JSX: deterministic export paths + profile + quality
Validation loop:
Edit → Color Settings (confirm RGB working space)
File → Scripts → browse JSX
Spot-check: open export → document profile shows sRGB
| Signature | Likely cause | Fix path |
|---|---|---|
activeDocument null / error | No file open | Open/create before DOM calls |
convertProfile throws | Missing/unmanaged profile | Assign profile then convert; try/catch with log |
| Batch skips files | Regex / ACL / cloud-only stubs | Fix extensions; ensure local files |
| Smart Object unexpectedly raster | Script used raster-only op | Edit Contents / export SO; avoid accidental rasterize |
| Washed or heavy print shift | Wrong working space / no convert | Match export intent; soft-proof for CMYK |
| UXP command fails, JSX works | Wrong host API | Use UXP batchPlay descriptors or keep JSX for that op |
| Action missing in Batch | Set/Action name mismatch | Exact doAction(name, set) strings |
Export As naming conventions agreed with design system.@adobe-illustrator — vector source (if present in catalog)@figma — UI design handoff (if present)@substance-painter — 3D texture maps sometimes finished in PS@cinema-4d — 3D stills often finished/comped in PSMANDATORY: Default to Smart Objects and explicit color-profile intent on export. Close batch docs with
DONOTSAVECHANGESunless the user requested saves. Prefer UXP for new panels and JSX for legacy farms—do not mix casually. Never invent Adobe credentials or press ICC profiles.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
photoshop, extendscript, uxp, actions, batch, smart-objects, color-management, icc
npx claudepluginhub alivirgo/major-ai-skills --plugin major-ai-skills412 skills in this plugin
/3d-slicerAutomate 3D Slicer research workflows with MRML, VTK/ITK, DICOM data, and Segment Editor. Use for software workflows, not clinical interpretation./abbreviated-git-statusInspect Git branch, staging, and working-tree changes with short or porcelain status output when a compact repository check is needed./ableton-liveAutomate Ableton Live sessions with Python MIDI Remote Scripts, Max for Live, AbletonOSC, and Link synchronization.Other plugins' skills for the same job
/act-as-a-personal-tutorExplain a subject step by step, assess prior knowledge, and use short exercises to check understanding before advancing.2 plugins in one repository ship this exact skill · first indexed Oct 25, 2026