spritecook-workflow-essentials
Original:🇺🇸 English
Translated
Shared workflow rules for SpriteCook. Use together with spritecook-generate-sprites or spritecook-animate-assets for credits, downloads, asset manifests, safe auth handling, and recommended defaults.
6installs
Sourcespritecook/skills
Added on
NPX Install
npx skill4agent add spritecook/skills spritecook-workflow-essentialsTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →SpriteCook Workflow Essentials
Use this alongside the SpriteCook image or animation skill whenever SpriteCook MCP tools are available.
Requires: SpriteCook MCP server connected to your editor. Set up with or see spritecook.ai.
npx spritecook-mcp setupPreflight Checklist
- Check credits first with before starting a batch or multi-asset workflow.
get_credit_balance - Prefer presigned download URLs over authenticated asset endpoints.
- Save important values in a local manifest whenever there is a writable workspace, unless the user explicitly wants a throwaway result.
asset_id
Credential Safety
- Never ask the user to paste a SpriteCook API key into chat, prompts, code blocks, shell commands, or generated files.
- Never print, persist, echo, or inline API keys or headers in agent output.
Authorization - Prefer SpriteCook MCP tools, presigned URLs, or a preconfigured local connector/helper that handles authentication outside the prompt.
- If a raw API call is required and no authenticated helper exists, stop and ask the user to configure one.
Defaults
- Prefer for the best default results. Use
smart_crop_mode="tightest"only when the user explicitly asks for it."power_of_2" - Model guidance:
- : cheapest
gemini-2.5-flash-image - : recommended default
gemini-3.1-flash-image-preview - : most expensive
gemini-3-pro-image-preview
Asset Manifest
- Treat as the primary stable identifier.
asset_id - Store a 12-character SHA-256 prefix () for saved local files.
sha12 - Use a minimal manifest entry shape:
asset_idsha12- optional
label
- Prefer a simple machine-readable file such as unless the project already has an asset manifest.
spritecook-assets.json - Before generating a new reference asset or asking the user for an asset id, check the local manifest first.
- Before reusing a local file, compute its and match it against the manifest to recover the correct
sha12.asset_id
Downloading Assets
- Prefer when saving the pixel PNG.
_presigned_pixel_url - Prefer when saving the raw/original image.
_presigned_url - Avoid direct authenticated download endpoints in skill-driven workflows unless a helper handles auth out of band.