QA skill as a checker

8 of 10 phases fail

PlanCard.tsx

import { Button, Card } from '@ds/core';import { Icon } from '@ds/icons'; export function PlanCard({ plan, onRemove }) {  return (    <div style={{ display: 'flex', gap: 12 }}> (fail)      <Card elevated className="bg-white shadow-md"> (fail)        <h3 style={{ color: '#1A73E8' }}>{plan.name}</h3> (fail)        <Button variant="primary" onClick={onRemove}>          <Icon name="trash-can" /> Remove (fail)        </Button>      </Card>    </div>  );}
  1. ImportsOnly imports from the packages.pass
  2. Forbidden HTMLLine 6: a raw <div> as the container.fail
  3. Hard-coded valuesLine 6: gap: 12 instead of a spacing step.fail
  4. TokensLine 8: a hex colour instead of a token.fail
  5. IconsLine 10: “trash-can” is not in the icon set.fail
  6. PropsLine 7: Card has no “elevated” prop.fail
  7. LayoutLine 6: hand-made flexbox instead of Stack.fail
  8. CSS entryLine 7: className overrides the component.fail
  9. Dark modeLines 7–8: bg-white and the hex colour ignore dark mode.fail
  10. AccessibilityThe button has a visible name.pass

Sample code written for this page, not taken from a product. Same task, same model: the difference is the skill.