2 Commits

  • fix(skills): move top-level origin frontmatter key under metadata
    The official Agent Skills spec (agentskills.io/specification) whitelists exactly
    6 top-level frontmatter keys (name/description/license/compatibility/metadata/
    allowed-tools). A top-level `origin` key fails the official validator
    (anthropics/skills quick_validate.py ALLOWED_PROPERTIES; skills-ref validate).
    
    This moves `origin: X` -> `metadata.origin: X` across the canonical skills/
    tree, preserving each value verbatim. Frontmatter-only, minimal diff.
    
    - 251 SKILL.md updated (242 new metadata block, 9 appended to existing metadata)
    - origin values preserved verbatim (verified 251/251)
    - YAML validated on all changed files
    - scoped to canonical skills/ only (docs/<lang> translations + tool mirrors
      .cursor/.kiro/.agents left untouched; presumably regenerated from canonical)
    
    Addresses #2233
  • feat: add click-path-audit skill — finds state interaction bugs (#729)
    New debugging skill that traces every button/touchpoint through its full
    state change sequence. Catches bugs where functions individually work but
    cancel each other out via shared state side effects.
    
    Covers 6 bug patterns:
    1. Sequential Undo — call B resets what call A just set
    2. Async Race — double-click bypasses state-based loading guards
    3. Stale Closure — useCallback captures old value
    4. Missing State Transition — handler doesn't do what label says
    5. Conditional Dead Path — condition always false, action unreachable
    6. useEffect Interference — effect undoes button action
    
    Battle-tested: found 48 bugs in a production React+Zustand app that
    systematic debugging (54 bugs found separately) completely missed.