agentsclimarketplace

Wxml review

Skill N0v4ont0p/wxml-masterguide-/skills/wxml-review

Audit WXML, WXSS, WXS, and custom-component code against the bundled official documentation, reporting concrete defects with the doc page that backs each one. Use when asked to review, audit, check, or lint Mini Program markup or components, and as a self-check after generating a non-trivial amount of WXML.From its SKILL.md

Install
npx -y skills add N0v4ont0p/wxml-masterguide- --skill wxml-review

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

3.6 KB, as published. Nobody here has run it

WXML review

Audit the target against the bundled docs at ${CLAUDE_SKILL_DIR}/../../docs/. Every finding must name a real defect and cite the page that establishes the rule — no style opinions, no findings you have not verified against the source.

The master skill's reference files carry the checkable material: ${CLAUDE_SKILL_DIR}/../wxml/invariants.md for the cross-file contracts, ${CLAUDE_SKILL_DIR}/../wxml/does-not-exist.md for imported non-existent APIs, and ${CLAUDE_SKILL_DIR}/../wxml/syntax-card.md for exact spellings.

Target: $1 if given, otherwise the WXML/WXSS/WXS/component files changed on this branch (git diff --name-only main...HEAD), otherwise ask.

Checklist

Read the relevant doc page before reporting anything in a category you are not certain of.

Bindings and directives — docs/01-syntax/

  • Boolean attributes written as bare strings: checked="false" is truthy. Needs {{false}}.
  • Statements or function calls inside {{ }} outside WXS.
  • Attribute bindings placed outside the quotes.
  • wx:for without wx:key where items can reorder or be inserted, or a wx:key that is dynamic or non-unique. Watch for wx:key="{{id}}" — it takes a bare property name or *this.
  • Whitespace between }} and the closing quote, which coerces the value to a string.
  • wx:if on a hot toggle where hidden is the cheaper choice, or vice versa.

Events — docs/01-syntax/06-event-system.md

  • catch used where bind was meant, silently killing a parent handler.
  • target used where currentTarget was meant inside a list.
  • Per-item state passed through anything other than data-* / dataset.
  • Handlers assumed to bubble that do not: only the documented touch, transition, and animation events bubble.

Components — docs/03-component-system/

  • Missing "component": true, or a tag absent from the consumer's usingComponents.
  • Tag names outside lowercase letters, hyphens, and underscores.
  • Handlers at the top level of Component() instead of under methods.
  • triggerEvent expected to reach an ancestor without bubbles, or across a component boundary without composed.
  • Multiple <slot> without options.multipleSlots.
  • ID, attribute, or tag selectors in component WXSS.
  • selectComponent reached for where a property or event would do.
  • this.setData in created.

WXS — docs/04-wxs/

  • ES2015+ syntax: arrow functions, let/const, template literals, destructuring, classes, Promise.
  • Methods that are not in the documented basic library.
  • Missing module.exports, or a <wxs> tag without module.

Config — docs/07-reference-api/

  • A page missing from app.json pages.
  • Config keys checked against 07-global-configuration.md, not from memory.

Versions — flag any feature used without regard to its minimum base-library version when the doc page shows one (mut-bind 2.8.2, capture-bind 1.5.0, WXS response events 2.4.4, and so on).

Output

Group by severity — correctness bugs first, then likely bugs, then maintainability. For each: the file and line, one sentence on what breaks, the fix, and the doc page. If a category is clean, say so in one line rather than padding. If nothing is wrong, say that plainly.

Keep looking

Skills are one crate of 607,533. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.