ln-21-system-design-ba…
Defines measurable architecture drivers and constraints before system design; edits architecture docs only.
Compares tools or implementations through controlled benchmarks and independent correctness checks.
$ npx -y skills add levnikolaevich/claude-code-skills --skill ln-45-benchmark-comparator --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/ln-45-benchmark-comparatorContext preview
The summary Claude sees to decide when to auto-load this skill.
Compares tools or implementations through controlled benchmarks and independent correctness checks.
name: ln-45-benchmark-comparator description: "Compares tools or implementations through controlled benchmarks and independent correctness checks."
**Goal:** Compare alternatives under controlled, reproducible conditions. Correctness comes before speed, and measured data must remain separate from estimates, setup cost, and interpretation.
**Execution contract:** The checklist defines completion. Track each item internally as `PENDING`, `PROVEN` with evidence, `CLEARED` with evidence its condition is absent, or `UNPROVEN` with a gap; reading, delegation, or tool failure is not proof. Reconcile after each section. Before returning, resolve all `PENDING`, count only `PROVEN` and `CLEARED`, and apply verdict and approval rules to every gap. Preserve intent, scope, and existing authorization. Continue authorized work; ask only for consequential unresolved choices or required external approval. Scale depth to material risk without skipping checks. Preserve dependency and safety order; otherwise choose an appropriate verification method. Accept equivalent user or repository evidence; no other skill, named artifact, or complete lifecycle is required. Preserve source requirement and decision IDs. Bind reused evidence to relevant source versions, dirty changes, configuration, and environment; invalidate only affected claims. On continuation, reconcile task, authorization, current state, and unresolved evidence. For long work, return a compact continuation record or update an already authorized artifact; read-only skills do not persist it. Distinguish artifact readiness, verified behavior, and external-action authority. Prepare authorized work before required approval. If blocked by an instruction, cite its exact source and unresolved boundary; do not invent approval gates from caution.
| Need | Preferred tool | Use it when | Fallback | |---|---|---|---| | Canonical workload and oracle | Repository fixtures, tests, expected diffs, schemas, or independently specified outcomes | Defining what success means before either candidate runs | Create the smallest deterministic fixture that represents the decision | | Isolation | Clean Git worktrees, temporary directories, controlled environment, fixed seeds, and resettable caches | Preventing one candidate or run from contaminating another | Sequential clean-room setup with verified cleanup | | Execution | The same shell runner and wrapper for every candidate | Capturing commands, exit status, stdout, stderr, timing, and artifacts consistently | Manual execution with an explicit reproducibility limitation | | Activation proof | Logs, traces, command records, process metadata, or candidate-specific artifacts | Verifying the intended alternative actually ran and did not fall back | Treat the run as invalid when activation cannot be proven | | Correctness grading | Tests, output parser, diff, schema validation, or independent oracle | Every scenario before cost comparison | Manual blind grading against written expectations | | Performance and cost | Monotonic timer, resource metrics, token or usage telemetry, tool-call logs, and failure counts | Metrics are observable through the same method for all candidates | Label derived or estimated values and keep them out of measured aggregates | | External semantics | Official documentation and specifications | Candidate configuration or claimed behavior needs current verification | Primary-source web research; otherwise mark the claim `UNVERIFIED` |
Do not tune the scenario after observing a preferred candidate, mix measurements from different workloads, or present internal estimates as externally measured facts. Benchmarking may create temporary worktrees and artifacts but must not change the source baseline or unapproved external state.
Give your AI agent a clear finish line. You ask for a fix and get a new abstraction. A review lists generic advice. The agent says “done,” but you still have to work out what it checked.
Repo: levnikolaevich/claude-code-skills
Defines measurable architecture drivers and constraints before system design; edits architecture docs only.
Documents current architecture from implementation evidence; does not propose a target or audit fitness.
Designs target system boundaries, contracts and tradeoffs from requirements; does not plan tasks or implement.
Records one architecture decision with alternatives, consequences and status; does not design the whole system.
Creates evidence-backed current or target architecture diagrams; not UI design.
Plans architecture migrations with compatibility, data safety, rollout and recovery; does not execute them.