Writes requirements that restate accepted ADRs and overlapping guides in current words as a snapshot at a recorded revision, or refreshes an existing snapshot after substantial refactoring or new ADRs. ADRs stay the binding, append-only history, and the repository's CONTEXT.md and ADR workflow are updated to route through the snapshot. Any superseded guides archived for review are recommended for deletion once merged, since git keeps the history. Use when asked to consolidate design records into current requirements, bring requirements, specs or current contracts up to date with ADRs written since, reconcile requirements with a refactored codebase, or make conflicting design documents consistent across topics. Not for a routine wording fix, summarizing one ADR, or implementation work.
Read, study, and answer questions about long books and papers without loading the whole text into one context window, keeping page-anchored notes as a reusable workspace. Use whenever the user asks to read, study, summarize, analyze, review, or answer questions about a long book, textbook, PDF, EPUB, thesis, dissertation, survey paper, or any document of roughly 50+ pages, in any language (Vietnamese "đọc sách", "tóm tắt sách", "phân tích luận án"). Also use when a {slug}-notes/ workspace from a previous session sits next to a source file and the user asks a follow-up question about that book. Not for short documents (under ~30 pages) that fit in context; read those directly. For a fast, ranked briefing of a whole book rather than close study, use distill-book.
Distill an EPUB, PDF, or other long-form book into a fast, source-grounded briefing and an optional self-contained interactive HTML reader that conveys the highest-value 80% of its ideas. Use when a user wants to understand a whole book quickly, get a book summary with citations, jump from a summary back to the original text, identify the most valuable chapters, extract arguments and evidence, decide whether the original is worth reading, or turn a book into an actionable 30-second, 3-minute, and 10-minute report. Not for chapter-by-chapter study with page-anchored notes kept across sessions; use deep-reader for that.
Design, diagnose, and optimize software using user-facing performance budgets, systems analysis, representative measurement, hardware-aware algorithms, bounded allocation, numerical contracts, and SIMD. Use for slow code, latency, throughput, CPU or memory pressure, queues, capacity, performance reviews, new-system design, and regression prevention. Includes Rust and C++ guidance.
Deprecated alias for adr-snapshot, kept for one release after the rename. Use only when requirements-rewrite is invoked by name; adr-snapshot activates for every other request.
This skill should be used when the user asks to "add benchmarks", "set up criterion", "add a benchmark gate to CI", "track performance regressions", "add github-action-benchmark", "add benchmark floors", "publish a benchmark series to gh-pages", "count allocations in tests", "why is the benchmark job green but empty", "make the bench job faster", "my benchmarks are noisy in CI", "cargo bench in GitHub Actions", "criterion benchmarks", "benchmark regression", "performance gate", or is deciding whether a benchmark number proves a performance claim. Covers criterion harness setup, a github-action-benchmark regression gate with committed floors, allocation-count series, and measurement discipline.