Skip to main content
Jeden Skill in Manus ausführen
mit einem Klick

lwc-3-decisions

Sterne4
Forks0
Aktualisiert6. Mai 2026 um 21:09

Soft-prompt the LWC author with three load-bearing architectural questions before they create or substantially edit a Lightning Web Component — Communication, State, Responsibility. Always elaborates *why* each question matters with concrete what-goes-wrong examples, then asks. Skipping is allowed but logged in the response so the choice is conscious. TRIGGER when creating or substantially editing files under `force-app/**/lwc/**`, `examples/**/lwc/**`, or any `*.js` / `*.html` / `*.js-meta.xml` inside an `lwc/` folder. Also TRIGGER when the user mentions "new component", "split this component", "refactor this LWC", "props vs events", "wire vs imperative", "LMS", "pubsub", or "where should this live". Skip on tiny edits (typo fixes, single-line CSS, comment-only changes) — invoke only for changes that touch component contract, data flow, or boundaries.

Installation

Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fügen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prüfen und installieren.

SKILL.md
readonly