← Vault Index
Source: business/marketing/qc-agents/micro-tool-build-qc.md

Micro-Tool Build QC

Applies to: Every AOS micro-tool HTML file before it ships — revelation tools, calculators, diagnostics, and any future tool types.

When to run: After the tool is functionally complete and before presenting the final file. This is not a design review. It's a compliance pass. Every check is binary — pass or fail.

Reference files: aos-brand-kit.html (canonical hex values), aos-brand-kit-skill.md (usage rules). Tool-type-specific checks (input design, scoring, results structure) live in each tool's own skill file.


Why This Exists

The brand kit QC covers everything from master plans to client SOPs. Most of those checks don't apply to micro-tools. Meanwhile, the violations that actually ship in micro-tools are specific and recurring:

This checklist catches those patterns.


1. Zero var()

The single most common violation. The brand kit skill says it in bold: all colors in output files use hardcoded hex values — never CSS custom properties.

How to check: grep -c "var(--" filename.html — result must be 0.

This means:

The JS-generated styles are the ones that slip through. Search for 'var(-- in addition to var(-- to catch both CSS and JS contexts.


2. Canonical Colors Only

Every hex value in the file must trace back to the brand kit. No inventing colors.

How to check: grep -oE "#[0-9a-fA-F]{6}" filename.html | sort -u — compare output to the allowed list below.

Allowed Hex Values (Core Palette — Micro-Tools)

HexNameUse
#1a1a1acharcoalBackground, nav, footer, button text
#2a2a2adeep-charcoalGradient depth, tool container background
#232323panelCard surfaces on charcoal (if needed)
#b79d64goldAccent — labels, CTAs, slider, scrollbar, borders
#c4aa74gold-lightHover states
#a08a58gold-darkRarely used in micro-tools
#f5f4f0creamPrimary text
#faf9f7off-whiteAlternate light background (rarely needed)
#8a8680stoneSecondary text, hints, labels, nav label
#4a5a6aslateSecondary accent, dimension bars
#c45a4aredHigh severity, "bad" numbers, urgency
#5a9a6agreenLow severity, "good" numbers, recovery

Banned patterns:

If a color appears in the sort -u output that isn't in the table above, it's a violation. Either replace it with the nearest canonical color or justify why the brand kit needs extending.


3. Sharp Geometry

AOS micro-tools use sharp corners on all structural elements. This is a brand identity decision, not an aesthetic preference.

How to check: grep "border-radius" filename.html | grep -v "50%\|scrollbar" — result should be empty or contain only slider track rounding (2px on the track itself is acceptable).

Allowed border-radius:


4. Label Spec

Every uppercase eyebrow label in the tool — section labels, eyebrows, counter text — must hit the brand spec exactly.

Brand spec: Inter, 0.625rem (10px), weight 600, letter-spacing 0.25em, text-transform uppercase.

Common violations:

Elements that must match this spec:

Not every tool will have all of these. But every element that functions as an uppercase eyebrow label must hit the spec.


5. Severity/Strength Background Opacity

When severity or strength tiers use tinted backgrounds, all tiers must use the same opacity. This keeps visual weight consistent regardless of which tier the person lands in.

Correct values:

Borders and tints (not background fills) can use higher opacity: 0.15, 0.2, 0.25, 0.3 as appropriate. The 0.1 rule applies specifically to background fills on insight boxes, result sections, and offer bridges where the background is the primary visual signal.


6. Nav

Every micro-tool uses the same nav structure.

Common violation: Nav label in gold (#b79d64) instead of stone (#8a8680). The tool name is metadata, not an accent — it's stone.


7. Footer

Every micro-tool uses the same footer structure.

Common violation: Footer border is 1px solid rgba(245, 244, 240, 0.06) (subtle divider) instead of 3px solid #b79d64 (gold signature element). The footer border is a signature element — it needs the full 3px gold treatment.


8. Typography Guards

Minimum Cormorant sizes in micro-tools:

All are above 18px. If you need a Cormorant element smaller than 1.125rem, switch it to Inter instead.


9. Gold Scrollbar

Every micro-tool gets the gold scrollbar. Both Webkit and Firefox.


10. Inline Styles in JS

JavaScript-generated result HTML is where brand violations hide. The CSS stylesheet is clean, but the calculate() / showResult() function builds HTML strings with inline style="" attributes. These need the same compliance as the stylesheet.

How to check: Search for style=" and style=' within