Skip to content

armgit / klad

Public Imported from GitHub
0

A drawing app built for agent/human collaboration

Rust

A second agent skill: the craft of drawing (klad skill drawing)

Indicode BV0fbc0686ba03
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 7814a8f..b36632b 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,6 +5,7 @@
The first builds, and klad's licences.
- A new icon, painted in klad: a K in two brush strokes.
+- A second agent skill, `klad skill drawing`: the craft of drawing and painting (planning a picture, light on form, values, edges, colour, materials, line, a painting method and a critique checklist), under the MIT licence like the first.
- Drawings are `.klad` folders in a fresh format, `klad/6` (drawings from the first builds open as they are, except their bones, which are dropped). Drawings from before (`.draw` folders) do not open and are not converted.
- Drawings live well in git: an edit changes only the files of what it edits (`doc.json` keeps no revision or id counter), and copies of a drawing edited apart, in a clone or a worktree, never make the same id, so edits to different layers merge. New ids end in the copy's two-letter tag (`l48qa`, `c12:s349qa`); `klad info` shows it. The editor follows a `git checkout` of an open drawing, and klad never renders an old picture from its cache after one. Recolouring several strokes or fills at once (the selection bar in the editor, or `klad recolour`) moves them to the new colour together and keeps each one's own shade, so a painted-over area stays painted. If a merge still leaves an id used twice, `klad repair` (or **Repair and open** when the drawing won't open) gives every later one a new id and moves its stroke files along.
- Erasers, smudges and blends stay with the strokes they were drawn over: move, copy or delete the strokes and they come along (or split, when only some of the strokes move), and an eraser erases only its own strokes, so moving them never bites into the paint they land on. The selection bar shows what is attached, "attached only" moves it on its own (it attaches to what it lands on), and detach frees it (`klad detach`); a stroke its erasers wipe out completely is skipped by clicks and the lasso. `klad strokes --json` lists `on`, `attached` and `hidden`. Stroke files move to version 2 (format `klad/6`); older drawings open with nothing attached.
diff --git a/LICENSE-MIT b/LICENSE-MIT
index cc12df7..1c2f4d1 100644
--- a/LICENSE-MIT
+++ b/LICENSE-MIT
@@ -7,7 +7,7 @@ of klad (see LICENSE), they are licensed under the MIT License below:
- docs/format.md: the file format of a klad drawing
- docs/cli.md: the command reference
-- docs/skill/: the agent skill (SKILL.md and drawkit.py)
+- docs/skill/: the agent skills (SKILL.md, drawkit.py and drawing/SKILL.md)
- crates/client/: the klad-client crate
---
diff --git a/README.md b/README.md
index 1156b19..40df7d4 100644
--- a/README.md
+++ b/README.md
@@ -41,7 +41,7 @@ Once klad is built, paste this to your agent:
> Run `klad skill` and read what it prints. Then make scene.klad and paint a night scene: a hooded traveller holding a lantern out to a ruined arch, a small creature following, flat shaded and lit by the lantern.
-`klad skill` prints the agent skill in `docs/skill/SKILL.md`: how to look at a drawing, change it and check the result. Open the drawing to watch and draw along:
+`klad skill` prints the agent skill in `docs/skill/SKILL.md`: how to look at a drawing, change it and check the result. A second one, `klad skill drawing` (`docs/skill/drawing/SKILL.md`), teaches the craft: planning a picture, light on form, values, edges, colour, materials and how to judge the result. Both are MIT, so use them with any agent and any tool. Open the drawing to watch and draw along:
```sh
klad open scene.klad
@@ -130,7 +130,7 @@ klad is source-available, not open source, copyright Indicode BV.
- The app, meaning everything not listed in the next point, is under the [PolyForm Internal Use License 1.0.0](https://polyformproject.org/licenses/internal-use/1.0.0) with three additional permissions and one limit (`LICENSE`): you may use it for your own personal purposes, building it from source free of charge, as well as inside your company; you may send changes to Indicode BV to propose them as contributions; and the drawings you make with it are yours to share, with the brush settings and pictures klad copies into them. The limit: a company (counted with the companies it controls or is controlled by) that had 100,000 euros or more in revenue in its last tax year needs a bought licence for each person who uses klad for it. You may build it and change it for those uses; you may not distribute it, from source or as a build.
- Buying a build, on itch.io, Steam or from Indicode BV, gets you that bought licence, and the build is licensed under these same terms: one licence for the source and the builds, with no separate end-user licence.
-- These files are under the MIT License (`LICENSE-MIT`), so any program or agent can work with klad drawings: `docs/format.md` (the file format), `docs/cli.md` (the command reference), `docs/skill/` (the agent skill) and `crates/client/` (the `klad-client` crate).
+- These files are under the MIT License (`LICENSE-MIT`), so any program or agent can work with klad drawings: `docs/format.md` (the file format), `docs/cli.md` (the command reference), `docs/skill/` (the agent skills) and `crates/client/` (the `klad-client` crate).
- Contributions are licensed to Indicode BV for inclusion in klad and in its sold builds, under the contributor licence agreement (`CLA.md`); see `CONTRIBUTING.md`.
klad is built on open source libraries, fonts and Skia; their licences are in `THIRD-PARTY-NOTICES.md`, also shown by `klad licences` and in the editor's About window.
diff --git a/crates/cli/src/main.rs b/crates/cli/src/main.rs
index bc291c4..dc31e0b 100644
--- a/crates/cli/src/main.rs
+++ b/crates/cli/src/main.rs
@@ -1827,8 +1827,14 @@ enum Command {
#[arg(long)]
dir: Option<PathBuf>,
},
- #[command(about = "Print the agent skill: how an agent draws with klad (the same text as docs/skill/SKILL.md)")]
- Skill,
+ #[command(
+ about = "Print an agent skill: how an agent draws with klad, or the craft of drawing itself",
+ long_about = "Print an agent skill, to hand to an agent as its instructions.\n\n klad skill how an agent draws with klad: the commands, layers, brushes and traps (docs/skill/SKILL.md)\n klad skill drawing the craft: planning a picture, light on form, values, edges, colour, materials, line, a painting method and a critique checklist (docs/skill/drawing/SKILL.md)\n\nBoth are under the MIT licence."
+ )]
+ Skill {
+ #[arg(help = "Which skill: klad (the default) or drawing")]
+ which: Option<String>,
+ },
#[command(
about = "List the sample drawings that come with klad, or copy one to draw on",
long_about = "List the sample drawings that come with klad (the editor's start window shows the same ones), or copy one into a folder to open, render and draw on; the copy is yours, the samples stay as they are. Without --into it goes in the current folder, as <name>.klad (or <name> 2.klad when that is taken). KLAD_SAMPLES points at another samples folder (one holding shipped.json).\n\n klad samples\n klad samples --copy lantern\n klad samples --copy rig --into ~/Drawings"
@@ -3589,7 +3595,13 @@ fn run() -> Result<()> {
Command::Watch { bundle, poll, seconds } => edit::watch(&bundle, poll, seconds)?,
Command::Licences => print!("{}\n{}", klad_core::notices::LICENSE, klad_core::notices::NOTICES),
Command::Install { dir } => install::install(dir.as_deref())?,
- Command::Skill => print!("{}", include_str!("../../../docs/skill/SKILL.md")),
+ Command::Skill { which } => match which.as_deref() {
+ None | Some("klad") => print!("{}", include_str!("../../../docs/skill/SKILL.md")),
+ Some("drawing") => print!("{}", include_str!("../../../docs/skill/drawing/SKILL.md")),
+ Some(other) => bail!(
+ "there is no skill named {other}: klad skill prints the klad skill, klad skill drawing the craft of drawing"
+ ),
+ },
Command::Samples { copy, into, json } => samples(copy.as_deref(), into, json)?,
Command::Reference => print!("{}", reference()),
#[cfg(feature = "editor")]
diff --git a/crates/cli/tests/binary.rs b/crates/cli/tests/binary.rs
index 8cb053e..a98de98 100644
--- a/crates/cli/tests/binary.rs
+++ b/crates/cli/tests/binary.rs
@@ -10,6 +10,26 @@ fn the_binary_runs() {
assert!(String::from_utf8_lossy(&out.stdout).starts_with("klad"));
}
+#[test]
+fn skill_prints_the_klad_skill_and_the_drawing_skill() {
+ let skill = |args: &[&str]| {
+ Command::new(env!("CARGO_BIN_EXE_klad"))
+ .arg("skill")
+ .args(args)
+ .output()
+ .unwrap()
+ };
+ let said = |args: &[&str]| String::from_utf8_lossy(&skill(args).stdout).to_string();
+ assert!(said(&[]).starts_with("---\nname: klad\n"));
+ assert_eq!(said(&["klad"]), said(&[]));
+ let drawing = said(&["drawing"]);
+ assert!(drawing.starts_with("---\nname: klad-drawing\n"));
+ assert!(drawing.contains("## The order of work"));
+ let unknown = skill(&["painting"]);
+ assert!(!unknown.status.success());
+ assert!(String::from_utf8_lossy(&unknown.stderr).contains("no skill named painting"));
+}
+
#[test]
fn a_drawing_moves_and_a_layer_duplicates_from_the_command_line() {
let dir = std::env::temp_dir().join(format!("draw-binary-move-{}", std::process::id()));
diff --git a/docs/DESIGN.md b/docs/DESIGN.md
index 09eb32d..523972b 100644
--- a/docs/DESIGN.md
+++ b/docs/DESIGN.md
@@ -1,4 +1,4 @@
-_Last updated: 2026-11-10 12:10_
+_Last updated: 2026-11-10 14:30_
# klad: design
@@ -433,7 +433,7 @@ An error is one line on stderr (`error: reading a.klad/doc.json: No such file or
| `klad export <bundle> --godot-scene [dir]`, `--godot-rig [dir]` | a Godot parallax scene; a Godot rig with its animations |
| `klad paintover <bundle> <layer> [--from] [--in] [--sizes 32,16,8] [--threshold 6] [--length 1,8] [--curve 0.5] [--brush oil] [--focus] [--vary] [--like <cel> [--frames a-b]] [--part] [--seed]` | brushwork from what is below the layer (see Paint over) |
| `klad compare <drawing\|png> <reference> [--frame] [--region name=x,y,w,h]... [--heat out.png] [--json]` | values, saturation, texture, edges and colour against a reference, in numbers and words |
-| `klad install [--dir]`, `klad skill` | put `klad` on the terminal's path; print the agent skill |
+| `klad install [--dir]`, `klad skill [drawing]` | put `klad` on the terminal's path; print the agent skill, or with `drawing` the skill that teaches the craft of drawing (`docs/skill/drawing/SKILL.md`, MIT like the first, written for any agent and any tool) |
| `klad samples [--json]`, `klad samples --copy <name> [--into <folder>]` | the sample drawings a build carries; copy one to draw on |
| `klad report [--drawing <bundle>]` | a problem report to paste into an issue, the drawing zipped to attach |
diff --git a/docs/cli.md b/docs/cli.md
index 9d961dd..8f98d52 100644
--- a/docs/cli.md
+++ b/docs/cli.md
@@ -80,7 +80,7 @@ This reference is licensed under the MIT License (`LICENSE-MIT`), unlike klad it
- [`klad watch`](#klad-watch): Print editor saves as they arrive, with how long they took to show up here
- [`klad licences`](#klad-licences): Print the licence and the third-party notices (every open source part klad is built on)
- [`klad install`](#klad-install): Put klad on the terminal's path, for you and for agents
-- [`klad skill`](#klad-skill): Print the agent skill: how an agent draws with klad (the same text as docs/skill/SKILL.md)
+- [`klad skill`](#klad-skill): Print an agent skill: how an agent draws with klad, or the craft of drawing itself
- [`klad samples`](#klad-samples): List the sample drawings that come with klad, or copy one to draw on
- [`klad report`](#klad-report): Print a problem report to paste into an issue: version, system and the last lines of klad's log
- [`klad updates`](#klad-updates): Check now whether a newer klad is out (the editor also checks once a day by itself)
@@ -3564,13 +3564,22 @@ Options:
## klad skill
```text
-Print the agent skill: how an agent draws with klad (the same text as docs/skill/SKILL.md)
+Print an agent skill, to hand to an agent as its instructions.
-Usage: klad skill
+ klad skill how an agent draws with klad: the commands, layers, brushes and traps (docs/skill/SKILL.md)
+ klad skill drawing the craft: planning a picture, light on form, values, edges, colour, materials, line, a painting method and a critique checklist (docs/skill/drawing/SKILL.md)
+
+Both are under the MIT licence.
+
+Usage: klad skill [WHICH]
+
+Arguments:
+ [WHICH]
+ Which skill: klad (the default) or drawing
Options:
-h, --help
- Print help
+ Print help (see a summary with '-h')
```
## klad samples
diff --git a/docs/skill/SKILL.md b/docs/skill/SKILL.md
index 0828963..f5dec3d 100644
--- a/docs/skill/SKILL.md
+++ b/docs/skill/SKILL.md
@@ -8,6 +8,8 @@ description: Make and edit 2D art with the klad CLI (`klad`) in a `.klad` bundle
A `.klad` bundle is a folder: `doc.json` (layers, cels, vector nodes, palette), `strokes/<layer>/<cel>.strokes` (paint strokes and fills as data), `brushes/<id>.json` (every brush its strokes use) and `.cache/` (renders, history, notes, tiles). The `klad` CLI edits it; the user edits the same bundle in the editor (`klad open`, or the klad app). Both see each other's changes within a second. The user starts and opens drawings from the editor's start window (cmd N, cmd O, recent) and can copy a drawing's path from File (the menu bar) or the document menu at the bottom of the tool strip to hand it to you. To start one yourself: `klad new art.klad --width 1600 --height 1200 --background '#e9e4da' --sketch` (one paint layer, `l1`, and a vector layer named sketch on top, `l3`). If `klad` is not on the path, the user can run "install the klad command" from that menu (or `klad install` from the folder they unpacked); `klad skill` prints these instructions, matching the version installed. When klad itself fails (an error that starts "klad hit a bug"), tell the user and offer `klad report --drawing <bundle>`: it prints a report for an issue and zips the drawing to attach. `klad solo art.klad <layer>` hides every other layer, as an alt click on its eye does in the editor; it changes what the user sees, so use it when asked, and look at one layer alone with `klad export art.klad --layer <layer> -o one.png` instead. `klad samples` lists the sample drawings that come with klad, and `klad samples --copy lantern` copies one into the current folder to read, render or draw on: a quick way to see how a finished piece is layered.
+This skill is the tool. The craft of drawing itself (planning a picture, light on form, values, edges, colour, materials, line, a painting method and a checklist to judge the result) is a second skill: `klad skill drawing`, the text of `docs/skill/drawing/SKILL.md`. Read it before you draw or paint anything, and before you critique a picture.
+
Working on klad itself: the repository's `CLAUDE.md`, `CONTRIBUTING.md` and `docs/DESIGN.md` are the source of truth. Build the CLI with `just compile` (`just build` also counts the version up, for the person making a build); the binary is `target/release/klad` on macOS and `target/linux/release/klad` on Linux.
## The loop
diff --git a/docs/skill/drawing/SKILL.md b/docs/skill/drawing/SKILL.md
new file mode 100644
index 0000000..cb797a4
--- /dev/null
+++ b/docs/skill/drawing/SKILL.md
@@ -0,0 +1,129 @@
+---
+name: klad-drawing
+license: MIT (LICENSE-MIT in the klad repository)
+description: The craft of drawing and painting, for an agent that makes pictures. How to plan a picture before drawing it (purpose, focal point, light, values, thumbnails), how light falls on form, where detail and sharp edges go, how to choose colour, how to draw stone, foliage, metal, water and other materials, how to build tone from line, a method for painting stroke by stroke, and a checklist to judge the result. Use it with the klad skill whenever you draw or paint anything, and before you critique a picture.
+---
+
+# Drawing
+
+How to make a picture look drawn by someone who knows what they are doing. The klad skill (`klad skill`) is the tool: commands, layers, brushes. This one is the craft, and it holds for any picture, whatever it is drawn with.
+
+A weak picture is rarely short of marks. It is short of decisions: nobody chose where the eye goes, where the light comes from or which shapes are dark. More detail on top of that only makes it busier. So decide first, then draw, and know what every mark is for.
+
+## The order of work
+
+Do not draw objects one after another and add things until the picture looks full. Work through these in order.
+
+1. **Purpose and focus.** One sentence on what the picture is for, and one focal point. Two equal centres fight each other. Write both at the top of your script or your notes.
+2. **Light.** Where each light is (in the picture, outside it, or hidden behind something), how large it is (a large light gives soft shadow edges, a small one hard edges), its colour, and how strong it is next to the others. One main light by default. Any other light gets an area of its own to rule.
+3. **How far light and shadow sit apart.** On a scale of ten values from black to white, decide how many steps separate a lit plane from the same plane in shadow: about one or two under an overcast sky, about three in sunlight, four or five for a bare lamp in the dark. Use the same gap on every object. Nothing in shadow may be as light as anything in the light.
+4. **The value plan.** Reduce the picture to three or four flat values and decide which one covers most of it. That one comes from the subject's largest expanse: a sky, snow, the dark of a cave, water. The subject then reads against it in the values that are left. A picture with every value spread evenly everywhere has no plan.
+5. **Thumbnails.** Render four to nine tiny versions in those flat values with no detail at all, swapping which masses are light and which dark. Pick one. Look at each in grey, mirrored and upside down: a good plan survives all three.
+6. **Silhouettes.** Every mass should read as an interesting shape when filled solid black: an irregular outline that belongs to that thing, not a circle or a box. The whole picture is one shape made of smaller shapes.
+7. **Big masses.** Lay each object as one flat middle value. Then the shapes of its lights, then the shapes of its shadows. For each boundary decide: sharp, soft or lost.
+8. **Form.** Now model each solid (see Light on a form, below). On a complicated surface such as rock or rubble, sort the planes into three or four families by the way they face and give each family one value before any texture.
+9. **Detail.** Spend most of the detail and the strongest contrast at the focal point, and let both fall off gradually towards the edges and into the distance.
+10. **Edges.** Mix sharp, soft and lost edges everywhere. Soften a shape where it passes behind another. Let edges on the shadow side dissolve into a dark background.
+11. **Colour, on top of values that already work.** Then accents, glow and atmosphere. Then the critique at the end of this page.
+
+## Light on a form
+
+A solid in one light shows these, from the light side to the dark:
+
+- **The lit side**, lightest where the surface faces the light. A highlight sits where the surface mirrors the light towards you, which is not always the lightest-facing spot.
+- **The halftone**, where the surface turns away. Texture shows most here, because the light rakes across it.
+- **The terminator**, the line where light stops. Just past it lies the **core of the shadow**, the darkest band on the form, because neither the light nor much bounce reaches it.
+- **Reflected light** inside the shadow, from whatever is near: cool from an open sky on planes that face up, warm from lit ground on planes that face down. It is always darker than the lit side.
+- **An occlusion accent** wherever two things touch or nearly touch: the darkest dark, small and crisp.
+- **The cast shadow**, sharp next to the thing that casts it and softer the farther it falls.
+
+Rules that follow from this:
+
+- Far things show fewer halftones. In the distance a form flattens into one light value and one shadow value.
+- Texture belongs in the halftone near the terminator, a little in the light, and barely at all in the shadow.
+- A light directly in front of a round form, or directly below it, lights it evenly and takes its shadow side away. Put the main light to one side.
+- A glowing thing: paint the scene without the glow first, darker than you think. Then add the glow: a pale core, a saturated halo around it at a middle value, a haze that lifts nearby values and eats nearby edges, fading fast with distance.
+
+## Colour
+
+- **Choose the colours before you draw.** Three corner colours, none of which has to be pure, and a neutral that leans towards their middle. Make each a short string: two or three steps in the light, two in shadow. Draw only from those. Most colour that fails is too much raw colour, not too little.
+- **One small strong accent, at the focus.** Everything else is greyer than you expect.
+- **A shadow is the same colour made darker and duller,** plus what reflects into it. Never an unrelated hue. Multiplying a warm colour down goes brown and dead; lean the shadow towards a cool grey or lavender while keeping its darkness.
+- **The strongest colour sits at the edge of the light,** in the halftone next to the terminator. A highlight is washed out by the light, and a shadow has too little light to show colour.
+- **Each hue is strong at its own value.** Yellow is only intense when light, blue only when dark. A dark yellow reads as olive or brown, a light blue as pale.
+- **Tie the palette together** with a little of one hue mixed into every colour.
+- **Distance:** darks lift and turn blue first, warm colours lose their strength soonest, and the gap between light and shadow closes until far forms are flat pale shapes. Near a low sun in dust or mist it runs the other way: far things turn warm.
+
+## Edges and detail
+
+- Uniformly crisp edges are the mark of shapes typed in as coordinates. Vary them.
+- A found edge (sharp, high contrast) pulls the eye. Use them at the focus and where a form turns hard. A lost edge (two shapes of the same value meeting) lets shapes join and gives the eye a rest.
+- Shapes typed in by hand come out geometric. Build silhouettes from segments of unequal length with some wobble, and judge them in solid black.
+- Leave real gaps between repeated small forms. Cobbles packed edge to edge read as beans; with the dark bed showing between them they read as stones.
+- An outline must never cross a part in front of it. Draw overlapping parts back to front, each with its own colour and its own lines, so the parts in front cover the lines behind.
+- One shape per limb, and coverings that cover: a leg is one shape, the boot sits over the ankle, the hand closes over what it holds.
+- Close an outline where nobody looks: start it where something covers the join, at full weight, and run a little past the full turn so the ends overlap. Draw only the part of a tucked-in form's outline that lies outside the form in front of it.
+
+## Materials
+
+- **Stone and masonry.** A patchy middle value over the whole area, shadows in the joints on the side away from the light, and only a few stones drawn in full, near the focus. Large stones at corners and openings, joints staggered. Rough stone reads darker than smooth stone because of its many small shadows. Build each block from two planes, a top and a darker side, and keep texture to the side.
+- **Foliage and trees.** Never one leaf shape scattered evenly, and never a smooth blob with leaves on its edge. Start from the tree's own silhouette and its skeleton of trunk and limbs, including the hidden ones. Build the crown from clumps, each lit as a round form in two or three values. Leaves show four kinds of light: a yellow-green glow where light shines through thin edges from behind, the darkest shadow on undersides, a blue-green shadow on tops that face the sky, and a pale light on tops that face the sun. Break the outline with single leaves on the lit side and the sky side. Gaps where the sky shows through are a little darker than the open sky. Roots are lobes of the trunk's own outline, and the base disappears into the grass.
+- **Grass.** Dark at the roots and lit at the tips, over soft patches of light that flatten and shrink with distance. Mix kinds of plant, each in its own patches, with taller blades breaking the top edge. Put flowers and tufts down before the grass so the blades grow over their bases. Far grass is a soft mass, not blades.
+- **Shiny things** (metal, wet stone, glass, shell). Model them as if matte, then add reflections with a wider range of values than the matte form has, then highlights tinted by the light, only where a plane faces it. A smooth glaze wants few wide strokes and one deliberate streak of highlight; many thin strokes read as bark.
+- **Things light passes through** (leaves, ears, wax, fungus caps). A warm saturated glow on the thin side away from the light.
+- **Hair, fur, moss.** Masses first, a band of highlight across the curve, and only a few strands picked out at the edge.
+- **Water.** Nearly a mirror at a shallow angle and see-through looking straight down. Reflections stretch vertically, come out darker than light things and lighter than dark ones, and lose their detail.
+- **Clouds and mist.** Light passes through them, so their shadow side glows. Do not model them like plaster. A cloud has a lumpy underside in shade, not a flat bottom.
+- **Smooth forms** (skin, plastic, fruit, balloons). Lay light and shadow with a soft airbrush, wider than the area it shades, in few passes, then add a few crisp accents so it does not go plastic. Keep visible bristle strokes for subjects whose charm is the stroke.
+
+## Line and hatching
+
+- Tone from line comes from spacing first and weight second. Lines far apart read as lines, close together as a tone. Leave white between them; let them merge to black only where black is meant.
+- Hatch each surface its own way: along the grain or the receding edges of a flat plane, around the curve of a round form. One angle for everything flattens the picture.
+- The character of a line tells the material: long and crisp for glass and metal, broken with flecks for weathered wood and stone, short and broken for rope and fibre, wavering for rough surfaces, dots for far hills and plaster.
+- Weight an outline instead of keeping it even: heavier on the shadow side and under overhangs, thin or broken on the lit side, darker where lines meet, and a contact line under things that stand on the ground. Heavier lines come forward. A line that fades as it nears another shape passes behind it.
+- Neighbouring patches of hatching should join without seams. Too many small patches look restless; none at all looks flat.
+
+## Painting stroke by stroke
+
+A method that works when a piece needs more than flat shapes.
+
+1. **Build it in 3D and project it.** Describe each object in real units, choose an eye height, a focal length and a horizon, and project the points. Corners typed in by eye give vanishing points at different heights and uprights of the same length near and far. With the eye below a ceiling, far things on that ceiling drop towards the horizon. Moving the camera's centre on the canvas moves the subject without bending the perspective; moving the eye sideways changes which faces show.
+2. **One plane, one layer.** Fill each plane (each visible face of a box, a cylinder's body and its top) with its own middle value on a layer of its own, lock it so paint only lands on what is there, and paint into it. Strokes can then run past the plane's edges. One base under several planes shows through the gaps as streaks of the wrong value.
+3. **Strokes follow the form and take their colour from the light.** Rings around the light's axis on a sphere, along the axis of a cylinder, along an edge on a flat face, level strokes on a table. Colour each stroke from the light at the place where it lies, so neighbours agree and the gradation builds itself. Work large to small: big strokes everywhere, half that size next, the smallest only where the form turns.
+4. **Strokes like a hand's.** Each stroke presses in, peaks and lifts off, and the lift-off is usually the longer. Tapers are a share of the stroke's length. Width varies from stroke to stroke. A slight bow is fine on flat planes and backgrounds.
+5. **Then a decisive pass.** Once the values sit, lay fewer, larger, visible strokes in the lights, quieter broad ones in the shadows and loose broad ones on backgrounds. Smooth is not finished.
+6. **Then material detail,** at the focus and where the light rakes: pits with a dark side towards the light and a lit lip opposite, grain in clusters and not as even speckle, a few chips of different sizes, grime towards the base.
+7. **Shadows on top.** Cast shadows and the darkening where things touch go on a multiply layer as soft shapes, a crisp one near the contact and a softer one farther out, so the brushwork under them still shows.
+8. **Look closely.** After each pass, zoom in on every object and fix what you see before you show anyone.
+
+What goes wrong, and why:
+
+- **Big masses before texture, on every surface.** A wall or ceiling painted as rows of short strokes reads as ripples or gravel. Broad strokes for the light first, then a few quiet, low-contrast forms.
+- **Brushes that mix into what is under them** turn lights muddy. Build values with an opaque brush and mix only for small transitions.
+- **Tapered ends inside a plane** leave gaps. Start and end strokes past the plane's edge.
+- **A ring stroke that wraps behind a sphere** shows its hidden part as a bright sliver on the shadow side. Cut each stroke where the surface turns away from the viewer.
+- **A stroke that crosses the terminator** carries the lit colour into the shadow. Cut strokes where the light changes much.
+- **A bowed stroke on a curved form** lands on a different value band while keeping its colour. No bow on strokes that follow a gradient.
+- **Occlusion sampled into long strokes** turns into dashes. Keep it out of them and paint it as soft shapes.
+- **Background strokes with a lot of value jitter** make a leopard pattern. Keep the jitter to a few percent.
+- **Thin random strokes in the distance** read as scratches. Distance wants soft masses and broad quiet planes.
+- **Where one form grows out of another,** paint the parent over the join, or the child looks stuck on.
+- **A backing that sticks out** past what it backs (mortar behind stones) reads as a backdrop. Keep it inside.
+- **A shadow on a transparent sprite** needs a normal layer with a dark, see-through colour. A multiply layer over nothing shows its own colour.
+- **A swirl is not a smudge.** A smudge is a short straight streak along the form.
+- **Paint at twice the size it will be seen.** Pixels show the moment anything enlarges them. Find the largest size on screen, paint at about twice that, and keep lines to 4 px or more and grain to 2 px or more at that size.
+
+## Before you show it
+
+Blur the picture, or squint, and check in this order:
+
+1. **In grey:** do the big masses separate, and do they follow the value plan you chose? Is there one focal point, with the strongest contrast?
+2. **The gap:** is every shadow the same number of steps below its light? Is any light value sitting inside a shadow?
+3. **Silhouettes:** does each main shape read in solid black? Is anything geometric that should be organic?
+4. **Detail:** does it peak at the focus and fall off? Is any texture spread evenly?
+5. **Edges:** is there a mix of sharp, soft and lost?
+6. **Colour:** only the colours you chose? One accent? Shadows darker and duller, never a foreign hue? The strongest colour at the edge of the light?
+7. **Mirrored and upside down:** still balanced?
+
+If you can name what would make it better, do that before you show it.
diff --git a/packaging/archive.sh b/packaging/archive.sh
index 9c88d4e..6897be7 100755
--- a/packaging/archive.sh
+++ b/packaging/archive.sh
@@ -22,6 +22,7 @@ cp "$built/klad$ext" "$stage/"
mkdir -p "$stage/fonts"
(cd "$root/fonts" && tar cf - --exclude update.py .) | (cd "$stage/fonts" && tar xf -)
cp "$root/LICENSE" "$root/LICENSE-MIT" "$root/THIRD-PARTY-NOTICES.md" "$root/docs/skill/SKILL.md" "$stage/"
+cp "$root/docs/skill/drawing/SKILL.md" "$stage/SKILL-drawing.md"
cp "$root/packaging/icon/icon.png" "$stage/klad.png"
bash "$root/packaging/samples.sh" "${KLAD:-$stage/klad$ext}" "$stage/samples" >/dev/null
case "$platform" in
diff --git a/packaging/macos/app.sh b/packaging/macos/app.sh
index 57e8820..346f9c7 100755
--- a/packaging/macos/app.sh
+++ b/packaging/macos/app.sh
@@ -30,6 +30,8 @@ rsync -a --exclude update.py "$root/fonts/" "$app/Contents/Resources/fonts/"
cp "$root/LICENSE" "$root/LICENSE-MIT" "$root/THIRD-PARTY-NOTICES.md" "$app/Contents/Resources/"
mkdir -p "$app/Contents/Resources/skill"
cp "$root/docs/skill/SKILL.md" "$app/Contents/Resources/skill/"
+mkdir -p "$app/Contents/Resources/skill/drawing"
+cp "$root/docs/skill/drawing/SKILL.md" "$app/Contents/Resources/skill/drawing/"
bash "$root/packaging/samples.sh" "${KLAD:-$app/Contents/MacOS/klad}" "$app/Contents/Resources/samples" >/dev/null
codesign --force --deep --sign - "$app" 2>/dev/null || true
echo "$app"