ワンクリックで
dillylang-rank
Scores and orders artifacts by criteria. Binding required. Trigger= /dillylang-rank CRITERIA
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Scores and orders artifacts by criteria. Binding required. Trigger= /dillylang-rank CRITERIA
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Compress natural language memory files (CLAUDE.md, todos, preferences) into caveman format to save input tokens. Preserves all technical substance, code, URLs, and structure. Compressed version overwrites the original file. Trigger: /compress-file FILEPATH or "compress <file>"
Maps problem structure to other domains, importing mechanism not metaphor. Trigger= /dillylang-analogize PROBLEM
Promotes exploratory prose into canonical docs through a conservative 5-stage gate — extract, route, judge, rank, synthesize. Model C recipe with operator-confirmed routing. Trigger= /dillylang-canonize PROSE
Decomposes a problem into axioms, derivations, and assumptions. Trigger= /dillylang-decompose PROBLEM
Judges an artifact against an explicit criterion. Trigger= /dillylang-evaluate CRITERION ARTIFACT
Applies Munger / Jacobi inversion on a problem statement. Trigger= /dillylang-invert PROBLEM
| name | dillylang-rank |
| description | Scores and orders artifacts by criteria. Binding required. Trigger= /dillylang-rank CRITERIA |
| argument-hint | 'criterion [, criterion_1, ...]' [--absolute] [--top-k N] |
rank[[THIS is_grounded_by: urn:unique_reference:dillylang::spec-primer]]
Score and order artifacts by named criteria. The ranking statement is required — ranking without criteria is undefined.
Rank is a selector, not a generator. Its output is a permutation of input IDs with scores, not new content.
Required: A ranking statement — one criterion or comma-separated list.
/dillylang-rank 'security impact'/dillylang-rank 'security impact, effort, reversibility'Flags:
| Flag | Default | Effect |
|---|---|---|
--relative | yes | Scores are high | medium | low per criterion. Allows ties. |
--absolute | no | Strict ordinal (1st, 2nd, 3rd). Forces total ordering, no ties. |
--top-k N | omitted | Mark top N items in output. Full ranking always shown. |
Artifacts to rank come from context: preceding conversation, prior
operator output, or @file references. If fewer than 2 artifacts are
present, emit a diagnostic — do not produce a degenerate single-item
ranking.
map(evaluate, artifacts).
If every artifact scores identically on a criterion, that criterion
contributed nothing to the ordering — say so.Calibration examples:
Rejected (flat): "A: medium, B: medium, C: medium. Rationale: all three artifacts address the problem adequately." (No ordering information. Uniform scores with vague rationale is the most common rank failure — it looks scored but carries no signal.)
Rejected (confabulated): "Ranking: B, A, C. B scores high on impact because it is the strongest option." (Ordering stated before scores. "Strongest option" is a restatement of the ranking, not evidence for it. Rationale was generated to justify a pre-decided order.)
Accepted: "Scores — Impact: A=high (proposes audit trail that catches drift at source), B=medium (detects drift but post-hoc), C=low (no drift mechanism). Effort: A=high (requires schema migration), B=low (config change only), C=low (no change). Ordering: B, A, C. B ranks first: medium impact at low effort dominates A's high impact at high effort. C ranks last: low on both axes."
Assign each input artifact a short label and one-line identifier. Use only these labels in all subsequent output.
| Label | Identifier |
|---|---|
| [A] | (first line, title, or brief identifier) |
| [B] | ... |
Restate each criterion as a concrete question before scoring.
| Criterion | Operationalized as |
|---|---|
| (user's criterion) | (falsifiable question the scores will answer) |
Mode: relative
| Artifact | Criterion 1 | Criterion 2 | ... |
|---|---|---|---|
| [A] | high / medium / low | ... | |
| [B] | ... |
For --absolute mode, replace high/medium/low with ordinal ranks
(1st, 2nd, ...) per criterion.
Each cell must include a parenthetical evidence pointer.
Two input modes determine evidence standards:
The ordering, derived from the score matrix above.
Each entry must include:
When --top-k N is specified, mark the top N entries.
Per-criterion observations. Required when:
--relative mode, more than 2 artifacts share the same score on a
criterion (bucket collision — the score discriminates poorly at this
granularity; note that --absolute mode would force separation)Each entry must include:
n is sequential starting from 1 in each section.
After generating the ranking, check two things:
1. Score variance. For each criterion, do the scores discriminate? If all artifacts received the same score on a criterion, that criterion did no work. If every criterion is flat, the ranking is a non-ranking — strengthen the scores or state that the artifacts are genuinely indistinguishable on these criteria.
2. Score-order consistency. Does the ordering follow from the score matrix? Read the scores and derive the ordering independently. If your derived ordering disagrees with the stated ranking, the rationale was confabulated — the ordering was decided before the scores. Fix the ordering to match the scores, or fix the scores to match genuine judgment.