plankit

craft

craft is the engineering standards and prompts for working in a plankit repository. /plankit:craft loads the standards into the session. /plankit:craft <prompt> loads this page with the prompt name as its argument, and the session runs that prompt. pk help craft prints this page.

Standards

Working

Code

Git

Prompts

review

Code review: DRY violations, anti-patterns, design tokens, security.

Run it as a second pass, after the first pass has the code working. The first pass will contain DRY violations; that is expected. Refactoring is pattern recognition, so the second pass is where the model does its best work. Keep the prompt to the line above: it leaves room to be comprehensive, and adding scope or examples narrows it. The developer directs both passes and decides what ships.

audit-docs

Audit the documentation against the code before rewriting a word.

List every claim in the affected documents that describes behavior. Verify each against the source or by running the command. Record each disagreement as a fact correction; commit corrections before any style change. Then rewrite for the four sentence kinds without changing a fact.

smoke

Prove the change end to end.

Name the commands, run them, show the output, including one case that must fail and its failure. For a pure internal refactor, run the suite and say so.

grep-done

Find every occurrence before declaring done.

Search for the old form, list every hit, change them together, search again, show the empty result.