{"id":66459,"plugin_id":"plugin_asdk_app_695d100ea2e881918c922c735a9784c8","kind":"skill","collection_source":"plugin_package","comparison_source":null,"observed_at":"2026-10-28T12:10:25.672Z","digest":"d7cdd4726d267df441c53e5aeb1f4c9b0b275c4cd798b1be9a64b1a97f5fd0c4","against":null,"payload":{"description":"Derive an ordered tint and shade ramp from a supplied or interactively chosen seed color, with hex values and explicit white or black mix amounts. Use for lighter and darker variants or a small color scale. Do not use for a multi-hue palette, a complete UI theme, or a guaranteed perceptually uniform scale.","included_files":[{"relative_path":"agents/openai.yaml","size_in_bytes":240}],"name":"derive-tints-and-shades","skill_md_contents":"---\nname: derive-tints-and-shades\ndescription: Derive an ordered tint and shade ramp from a supplied or interactively chosen seed color, with hex values and explicit white or black mix amounts. Use for lighter and darker variants or a small color scale. Do not use for a multi-hue palette, a complete UI theme, or a guaranteed perceptually uniform scale.\n---\n\n# Derive tints and shades\n\nRead [the picker contract and calculator reference](../reconcile-color-specs/references/color-tools.md) before tool calls or calculations. Use `../reconcile-color-specs/scripts/color_tools.py`, resolving the path from this skill directory.\n\n## Set the anchor\n\n1. Collect a seed color and desired number of variants. Reuse the current model-visible color when relevant. Default to a five-stop ramp: white, one tint, seed, one shade, black. State this default when no count is supplied.\n2. Require an opaque seed for this workflow. If it has alpha, establish whether to keep its RGB as an opaque anchor or use its rendered color over a supplied opaque backdrop. Do not discard alpha silently.\n3. Open `color-picker` to refine the seed when the user wants a visual choice. Use a `reason` explaining that the chosen color will anchor the ramp. Wait for the final seed; skip this call when the supplied anchor is explicitly fixed.\n\n## Build and inspect\n\n1. Normalize the anchor, then run `ramp`. Use `--steps 2` for five stops or one through seven stops per side for three through fifteen stops. For a requested even or asymmetric count, generate a sufficient ramp and retain the requested ordered subset, including the anchor and agreed endpoints; report the actual mix amounts.\n2. Remove duplicate colors, especially for a white or black seed. Explain when the actual count falls below the request. Keep the anchor and the ordered stop table in the conversation.\n3. Present the generated ramp with each stop's role, hex, and percentage mixed toward white or black. Offer the ramp as `suggestedColors` in a `color-picker` call when the user wants to inspect it visually.\n4. Treat that call as inspection of one stop. A selected or edited stop does not replace the anchor automatically. Ask whether a custom edit should replace that stop or become a new seed; regenerate the whole ramp only for an accepted new seed.\n\n## Deliver\n\nReturn an ordered light-to-dark table containing the seed and every retained variant, its uppercase hex, and its white/black mix percentage. Include CSS variables when requested. State that the calculation mixes encoded sRGB channels and rounds to eight-bit values. Do not claim perceptually equal spacing, text contrast, or that the widget saved or edited the entire ramp.\n"},"changes":[],"summary":"First saved snapshot. No earlier version is available for comparison.","summary_kind":"deterministic","summary_metadata":{}}