Session 10. Skills and an architecture decision record — Fri 25 Sep
Quick quiz (ungraded)
Q1: Why does a skill's description line sit in the front matter, separate from the body?
A side effect. The reason is about what the model loads, not about reading.
Correct. That is progressive disclosure, and it is context budgeting.
Nothing in a skill executes. The model reads both; the difference is when.
Q2: Your skill says "read-only: no edits, no commits". The assistant edits a file anyway. What went wrong?
Stronger wording is still wording. The next model, or the next long context, ignores it again.
Correct. Permissions live in the tool contract and the assistant's configuration; the skill says what should happen, not what can.
Write it — it changes behaviour often. Just do not confuse it with a permission system.
Q3: ch10-e1 refuses when without_skill and with_skill are identical. Why is that a failure rather than a strong result?
They prove the skill changed nothing. Stability of an output you did not influence is not evidence about your file.
Correct. A skill is justified by the difference it makes; no difference means delete it or sharpen it.
It compares them fine. The refusal is a judgement about the evidence, not a limitation.
Q4: A task has the same five steps every time, in the same order. It is built as a three-node agent with a planner. What is the cost?
The output is correct until the day one hop fails. You added failure modes to buy a decision that was never in doubt.
Correct. When the steps are known in advance, a fixed chain is the design: fewer failure modes, no spend on deciding, a predictable trace.
The dependency is the cheapest part. The hops, the spend, and the unpredictable trace are the rest.
Q5: Which reverses_it passes ch10-e2, and why is the rule worth having?
No number. Two people can hold this belief and disagree about whether it has happened, forever.
A number with no unit. 2000 what? Nothing can be compared against it.
Correct. A number and a unit means somebody can check on a Tuesday and get one answer.
Q6: Why does the record require two options_considered rather than one?
Useful, but the check is not about a fallback plan.
Correct. A record that never mentions anything you did not do is defending the only thing you tried.
Most have several. Two is the minimum the check can insist on, not the true number.