Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

specular-lite

БесплатноЗапускает вложенные скриптыНе проверен

Find bugs in concurrent or distributed code using TLA+ modeling, model checking, and code-level reproduction. Use for a focused investigation with one coding…

specular-orgот specular-org★ 732 звезды на GitHub

Об этом скилле

Specular Lite

Investigate the user's code, model its behavior, check properties, attempt code-level reproduction, and deliver an evidence-backed report. This is a long task conducted by the current agent.

Start with the user

First ask which repository or code they want investigated and what problems they care about. Reflect any details already supplied in the question. Wait for their answer before investigating. A broad answer such as "concurrency bugs in this repository" is sufficient: scan the code, choose a coherent focus, explain the choice, and proceed without another approval round.

Prepare

Resolve this skill's installed directory as SKILL_DIR; it is not the target repository. Run:

python3 "$SKILL_DIR/scripts/prepare.py"

The helper unpacks the bundled Specular references and output reader, reuses Java 21+ when available, and downloads missing tools into the user's cache. It prints JSON with the guides directory and tool paths. No Specular installation, agent adapter, MCP registration, Maven, or Python packages are needed. Python 3.10+ is the bootstrap prerequisite; if unavailable, help prepare it using the user's existing environment tooling. Explain a failed prerequisite concretely rather than presenting an unexecuted check as a result.

Create a fresh investigation directory under the target's .specular-lite/, keeping models, logs, reproduction tests, and report.md together. Record the source revision and local changes relevant to the investigation. Preserve the user's existing work; use a separate source copy/worktree for reproduction changes when necessary. Keep brief progress notes so the same agent can continue after context compaction.

Rules for using the shared skills

Read the bundled guides as methodology, in the sequence below. guides is the directory returned by preparation; paths such as code_analysis/guide.md are relative to it. Relative links inside a guide resolve from that guide's directory. Read relevant supporting references as needed, not the entire bundle up front.

These Lite rules govern the workflow when a shared guide describes the standard pipeline:

  • Use one agent throughout. Perform referenced subagent/Task work yourself, sequentially; do not launch other agents or Specular's pipeline/confirmation dispatchers. The only exception is delegated reproduction, when the user names a reproduction command.
  • Skip trace-validation instrumentation, execution-trace collection, harness generation, Trace.tla/Trace.cfg, and instrumentation specifications. Do not invoke validation-workflow or tla-trace-workflow. TLC counterexample traces remain essential evidence and are different from implementation traces.
  • Use the scripts below and the host's file/shell tools instead of MCP tools, specular commands, background-run wrappers, or agent-specific launchers. VAV is optional if already available; do not install the full CFA/Maven stack as a prerequisite for Lite.
  • Continue autonomously after the opening answer. Do not wait for the user between phases or stop at the first model counterexample. Investigate and reproduce candidates before completing the report.
  • There is no default task deadline or fixed repair-round limit. The shared guides' fixed timeouts, giant simulation counts, and machine-sized resource examples are not Lite defaults. Choose finite model configurations and finite simulation campaigns appropriate to the question; record their bounds and coverage. Investigate hangs and resource failures without treating them as successful checks or confirmed bugs.
  • Repair inaccurate models, fault assumptions, or properties in this same session, then recheck. Preserve valid requirements and source correspondence; never weaken a property merely to make TLC pass. No repair-request queue, CI baseline, persistent-finding registry, telemetry service, or external tracker is required. Use the local evidence and report to record dispositions.
  • Do not repair the target implementation. Test fixtures and scheduling controls for reproduction must preserve the behavior under investigation. Keep unresolved candidates, including environmental limitations, clearly separate from reproduced bugs. Suggestions in a report are allowed; applying a fix requires the user's later request.

Investigation

  1. Analyze the code. Read code_analysis/guide.md, then the references relevant to the target's distributed/concurrent/BFT category. Follow the user's scope, inspect relevant history and known reports, and write modeling-brief.md with mechanisms, source locations, proposed properties, assumptions, and exclusions. Apply the guide's investigative methods to this scope; repository-wide issue quotas are not prerequisites.
  2. Build the model. Read spec_generation/guide.md, especially references/base-spec-methodology.md, mc-spec-pattern.md, and brief-coverage-checklist.md. Produce the base and model-checking modu
Полный SKILL.md на GitHub

Установить specular-lite в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

assets/shared.zipreferences/scripts.mdscripts/prepare.pyscripts/read_tlc.pyscripts/tlc.py

FAQ

Что делает скилл specular-lite?

Find bugs in concurrent or distributed code using TLA+ modeling, model checking, and code-level reproduction. Use for a focused investigation with one coding agent, without trace validation or the full Specular pipeline.

Как установить скилл specular-lite?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл specular-lite запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить specular-lite с