define-piece
Define Piece
This skill requires project-knowledge. Before doing any work, confirm it is
installed. When it is missing, stop and report it with its install command,
npx skills@latest add toy-crane/skills --skill project-knowledge, using the
project's package manager runner where it pins one.
Settle what one piece must do before any of it is written, by putting concrete candidates in front of the user to correct, then record the confirmed brief that drafting will follow.
Ground the brief in project truth
Read docs/publications/ first. When exactly one publication file exists, it
governs this piece. When several exist, recommend one from the topic with a
one-line reason and confirm before continuing. When none exists, say so and
proceed with the piece-level decisions, recording the missing premise as a
remaining risk; do not create the publication file here.