From kanso
Use when the user wants a task done well rather than fast. Rewrites the user's rough request into a sharp prompt using kanso-prompting rules, asks targeted questions only when load-bearing detail is missing, then executes the rewritten task inline with kanso-principles loaded so any code produced follows the anti-dilution rules.
How this skill is triggered — by the user, by Claude, or both
Slash command
/kanso:kanso-task [the thing you want done, in plain language][the thing you want done, in plain language]This skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
The user types `/kanso-task <rough request>`. This skill turns that rough request into a sharp prompt, then executes the task in the same chat with both `kanso-prompting` and `kanso-principles` standing as context. The output should be measurably better than what the user would have got from typing the same words into the chat directly.
The user types /kanso-task <rough request>. This skill turns that rough request into a sharp prompt, then executes the task in the same chat with both kanso-prompting and kanso-principles standing as context. The output should be measurably better than what the user would have got from typing the same words into the chat directly.
Three phases:
kanso-prompting rules to produce a sharp version of the prompt. Show it to the user. Wait for approval.kanso-principles.This skill runs in the calling chat. Never dispatch the rewrite, the approval gate, or the execution via the Agent or Task tool. Never spawn a subagent. The user has to be able to see the rewritten prompt before it runs, intervene during execution, and inspect the result without switching windows. A subagent dispatch defeats the entire workflow.
Before rewriting, check the request for load-bearing detail. The four things that materially change the output:
improve the auth flow is missing this; improve src/auth/session.ts is not.If the request already supplies enough of these to write a sharp prompt, skip Phase A. If one or two are missing, ask only for those. Maximum three questions, each one short and answerable in a sentence.
Never ask cosmetic questions. Never ask "would you like me to also…" — that's scope creep dressed as helpfulness. The clarifying phase exists to remove ambiguity, not to negotiate scope.
If after one round of clarification the request is still unworkable, surface that plainly rather than rewriting a vague prompt into a vague-but-prettier prompt.
Apply kanso-prompting to produce the sharp version. The rewrite should reliably:
Audit, Refactor, Write, Implement, Explain. Name what the model should produce.src/auth/session.ts.Stop after the report and do not edit files or Apply the fix and run the existing tests.CRITICAL, no ALL CAPS, no "please carefully think step by step". Modern Claude doesn't need it and it now degrades output.The rewritten prompt earns its length the same way code does. Don't pad. A two-line rewrite is fine if two lines is enough.
Always end Phase B with this block and stop:
Original:
<one-line echo of what the user typed>
Rewritten:
<the sharp version, as it would be sent>
Proceed?
y — execute the rewritten prompt inline, with kanso-principles loaded
edit — amend the rewritten prompt
send-original — execute the original instead (rare; only when the rewrite drifted)
n — stop, leave the rewrite in the transcript
If the user approves, move to Phase C. If they pick edit, take the amended prompt and re-emit the gate. If they pick send-original, use the original.
Run the prompt in the current chat. During execution:
kanso-principles is standing context. Any code written, modified, or reviewed follows the anti-dilution taxonomy. Deletion over addition, no defensive theatre, no filler variables, no tautological comments. The principles override default verbosity.kanso-prompting is standing context for any meta prompts produced during execution (e.g. asking a subagent for research — though this skill itself does not dispatch subagents)./kanso-refactor rules govern. If it produces commits, /kanso-commit rules govern. If it ends with a PR, /kanso-pr rules govern. Don't reimplement those — invoke them or let them auto-load.implementation-notes.md file (see below) for any non-trivial execution.When execution finishes, report what changed. One short summary block. No marketing. If a notes file was written, point at it.
No matter how sharp the rewritten prompt is, ambiguities and unknown-unknowns surface during execution. The model has to make small judgment calls — a naming choice, a library version, a structural decision, a deviation from what the spec implied. Stopping to ask about each one breaks momentum; making them silently leaves the user blind.
During Phase C, maintain a running implementation-notes.md file in the working directory. This is the model's sanctioned way to make a call without interrupting, while keeping the user fully in the loop after the fact. The file is reviewable at the end and converts cleanly into a PR description or a commit body.
Append (don't overwrite) a timestamped section per /kanso-task run:
## 2026-05-25 14:32 — <one-line task description>
### Decisions made outside the spec
- <choice, with the reasoning in one sentence>
### Things changed from what the prompt implied
- <deviation and why it was needed>
### Tradeoffs taken
- <what was given up, what was gained>
### Anything else you should know
- <surprises, follow-ups worth doing, things you may want to revisit>
Rules:
Notes: implementation-notes.md (3 decisions, 1 tradeoff) so the user sees there's something to read.The file lives alongside the user's repo; it's their artefact, not a hidden one. They can keep it, paste it into a PR, delete it after review, or .gitignore it. The skill doesn't manage its lifecycle beyond writing to it.
kanso-prompting warns against (CRITICAL, ALL CAPS, anti-laziness scaffolds).kanso-principles or kanso-prompting during execution. Those are reference docs, not work targets.kanso-principles is the whole point of routing through this skill rather than typing the prompt directly.Provides a checklist for code reviews covering functionality, security, performance, maintainability, tests, and quality. Use for pull requests, audits, team standards, and developer training.
npx claudepluginhub blakecyze/kanso --plugin kanso