/layer:layer-qualityfrom Layer
Scores Layer-generated files against workspace output scoring rules, reads verdicts, and sets lifecycle statuses before delivery.
Ships in Layer. 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.
None: SKILL.md is the whole skill.
Generation is not delivery. A batch comes back, and something has to decide which of it is usable, against the brief and against whatever standards the studio has already set. Layer records those standards as output scoring rules, and records where each file stands as a lifecycle status:
| Tool | Purpose |
|---|---|
list_output_scoring_rules | The rules in force for a workspace, optionally a project |
score_files | Queue a scoring run. Asynchronous and billed |
get_file_scores | Read the verdicts recorded on one file |
list_file_lifecycle_statuses | The statuses this workspace uses, with their ids |
set_file_lifecycle_status | Mark files In Review, Approved, or any other status |
Generation mechanics are in the layer skill. If a sibling skill named here is missing from your
available skills, ask the user to install it (npx skills add layerai/skills --skill <name>);
unattended, proceed from tool schemas and flag the gap.
Call list_output_scoring_rules before judging anything by eye. Each rule is a standard the studio
has written down, and a delivery that contradicts one is wrong however good it looks. Rules can be
scoped to a project as well as a workspace, so pass the project when the work belongs to one.
When rules exist, score_files queues the batch and get_file_scores reads the verdicts back.
Three things about that contract are easy to get wrong and expensive to get wrong:
score_files is asynchronous. It returns as soon as the run is queued, not with results. Poll
get_file_scores afterwards; a large request takes a few minutes.scores list means not judged yet, not a zero. Treating the queue acknowledgement as
a verdict, or an empty list as a failing score, is the defect this contract invites.estimate_* tools price it. Scoring the same file
again is allowed and appends a fresh verdict rather than replacing the old one, so a re-score
because the first call "returned nothing" is a real double spend. Read get_file_scores first.When no rules exist, say so rather than implying the output passed a gate it never met, then review against the brief.
The question is never "is this good". It is "does this do what was asked". Work back through the brief item by item:
batch_size returns variations, and the temptation is to pick the most striking one. Pick the one
closest to the brief instead, because the striking one is usually striking for a reason that will not
repeat across the rest of the set.
When no candidate is close, the fix is the prompt, not another batch. Two identical rerolls in a row mean the prompt is underspecified: go back to what the prompt failed to name (framing, lighting, background treatment) rather than spending again on the same string.
Say what is wrong with what you deliver. A run that produced three usable assets and one with a
mangled hand is reported as exactly that, not as four assets. Where a reference set was degraded,
name it (layer-reference-sets). Where a constraint was missed, name the constraint.
Creative Units were spent either way, so a quiet pass costs the user a second discovery later, on work already built on the flawed asset.
A review that lives only in chat is lost. Close it on the files themselves with
set_file_lifecycle_status, so the team sees the state in Layer: passing files to the workspace's
approved status, failures back to review or on hold. Statuses belong to the workspace and may be
renamed, reordered, removed or added to, so call list_file_lifecycle_statuses for the ids and match
by name and phase rather than assuming "Approved" exists. One call sets up to 500 files; a
status_id of null clears the status. Set a status only when the user asked for the review to be
recorded or the workflow clearly expects it, since it is visible to the whole team.
"Are these eight icons ready to ship?"
list_output_scoring_rules for the workspace and the project. Two rules exist: transparent
background, and a minimum legibility standard.get_file_scores on the eight file_id values first, in case an earlier session already judged
them. For the ones with no scores, score_files to queue a run, telling the user it spends
Creative Units since no estimate tool prices scoring.get_file_scores until scores appear. An empty list means not yet judged, so keep polling
rather than re-scoring.background_removal (layer-image-editing).list_file_lifecycle_statuses, then set_file_lifecycle_status with
the passing file_id values and the approved status's id.score_files as if it returned verdicts, when it only acknowledges the queued run.scores list as a zero rather than as not yet judged.get_file_scores already holds
verdicts: both spend again and append a second verdict.list_file_lifecycle_statuses.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
quality-gate, scoring, batch-review, lifecycle-status, layer
npx claudepluginhub layerai/skills --plugin layer32 skills in this plugin
/layerUse when generating or editing game and entertainment assets on Layer through MCP: images, video, 3D meshes, audio, sprites, textures, or marketing creative. Also when choosing a Layer base model, pricing a run in Creative Units before spending them, uploading reference files, polling a generation, applying a trained style, or recovering from MODEL_NOT_FOUND, INSUFFICIENT_BALANCE, RATE_LIMITED, or a silently degraded reference set./layer-3dUse when producing 3D assets with Layer: generating a mesh from text or an image, retopologising or remeshing, retexturing an existing mesh, rigging a character, or animating a rigged mesh. Also when choosing between quad and triangle output, setting a polygon budget, or asking for PBR textures for a game engine. Keywords: 3D, mesh, model, text to 3D, image to 3D, remesh, retopology, retexture, rig, skeleton, animate, PBR, quad mesh, poly count, glTF, FBX./layer-art-directionOther plugins' skills for the same job