{"data":{"slug":"discovered-4987b3372468957095665d7d7d3ce86ce94de5bafd123354","title":"Blocks","summary":"Build sites faster using pre-tested accessible blocks and one of three art directions; fill slots with the brief's true content and re-run the gates.","url":"https:\/\/skillshunter.net\/skills\/discovered-4987b3372468957095665d7d7d3ce86ce94de5bafd123354","json_url":"https:\/\/skillshunter.net\/api\/public\/v1\/skills\/discovered-4987b3372468957095665d7d7d3ce86ce94de5bafd123354","markdown_url":"https:\/\/skillshunter.net\/skills\/discovered-4987b3372468957095665d7d7d3ce86ce94de5bafd123354.md","download_url":"https:\/\/skillshunter.net\/skills\/discovered-4987b3372468957095665d7d7d3ce86ce94de5bafd123354\/download","category":{"slug":"software-development","name":"Software & Development"},"editor_note":"Read `BRIEF.md` and the approved foundation first. Run `node \"${CLAUDE_PLUGIN_ROOT}\/scripts\/blocks.mjs\" list` to list available blocks.","instructions":"---\nname: blocks\ndescription: Build sites faster from pre-tested accessible blocks and one of three art directions; fill slots with the brief's true content and re-run the gates.\ndisable-model-invocation: false\n---\n# Lilac blocks\n\nUse after `foundation` is VALID. Blocks are tested HTML\/CSS\/JS pieces; directions are token sets plus layout CSS. They save time and keep pages consistent. They do not replace the brief.\n\n1. Read `BRIEF.md` and the approved foundation. List the pages and what each must do. Run `node \"${CLAUDE_PLUGIN_ROOT}\/scripts\/blocks.mjs\" list`.\n2. Pick a direction that fits the brief's audience and tone, and say why in one line: `warm-editorial` (serif, paper tones, rules: writing, food, craft, culture), `crisp-product` (geometric sans, high contrast, grid: software, tools), `calm-soft` (rounded, muted: care, wellbeing, community). If the human already approved brand tokens, keep them and use only the direction's layout CSS; never overwrite approved tokens.\n3. Pick only the blocks the pages need. Add each: `node \"${CLAUDE_PLUGIN_ROOT}\/scripts\/blocks.mjs\" add \"<project>\" <block> --direction <name>` (never overwrites; prints the include lines). To preview a whole look: `blocks.mjs assemble <dir> --pages <spec.json> --direction <name>`.\n4. Fill every `{{slot}}` with TRUE content from the brief. Anything the brief does not state is written `UNKNOWN` or marked SAMPLE. Never invent prices, hours, addresses, policies, awards or quotes. `testimonial-placeholder` stays a SAMPLE slot: delete it unless the human supplies a real quote they may use.\n5. Do not change a block's accessibility behaviour (labels, focus handling, aria, no-JS fallback, reduced-motion rule) without re-running the gates: `blocks.mjs check`, then `qa.mjs`, `qa-browser.mjs`, `controls-test.mjs` on the site. Use `var(--token)` only; no literal colours, inline handlers, inline styles or external URLs.\n6. Record in BUILD-LOG: direction chosen and why, each block used (name and page), every slot left SAMPLE or UNKNOWN, and the gate output lines.\n\n`consent` is off by default and is a plain notice for a site with no tracking, not a consent manager. Say so if the human asks for analytics.\n","use_cases":["Filling slots with content from the brief","Re-running gates after updating content","Using pre-tested HTML\/CSS\/JS blocks for consistent page layouts"],"limitations":[],"compatibility":[],"setup_tip":null,"sample_input":null,"sample_output":null,"source_url":"https:\/\/github.com\/DevPatel128\/lilac-plugin\/blob\/7e77aadbd31442412fba6856e43e4a2d8b781a6d\/skills\/blocks\/SKILL.md","source_commit":"7e77aadbd31442412fba6856e43e4a2d8b781a6d","license":null,"version":null,"listing_approved_at":"2026-11-29","created_at":"2026-11-28T18:57:34.000000Z","updated_at":"2026-11-29T10:53:53.000000Z","seo_title":"Blocks - Pre-Tested HTML\/CSS\/JS Components for Faster Site Development","seo_description":"Use pre-tested accessible blocks and art directions to build sites faster. Ensure consistency and save time with validated components.","seo_keywords":["blocks","pre-tested components","HTML\/CSS\/JS blocks","site development","art directions","foundation validation"]}}