diff --git a/.agents/skills/deslopify/SKILL.md b/.agents/skills/deslopify/SKILL.md index b2fc81ef..a13c8200 100644 --- a/.agents/skills/deslopify/SKILL.md +++ b/.agents/skills/deslopify/SKILL.md @@ -9,7 +9,7 @@ description: Run a read-only simplification survey of Logforth crates, pipelines Default to a read-only survey for simplification requests (including "look for another round") without modifying the working tree or creating report files. Inspect the latest upstream `main` commit (fetching when remote access is available) or the caller-specified target, reading the target tree via git without switching branches when it differs from the current checkout, and record the exact inspected short SHA. Check recent merges, relevant open PRs, and any review decisions the user supplied before reviving a proposal. Look beyond the last round's crates when the evidence points elsewhere. -Step back from the incremental commit history that produced the code and read the workspace as a whole against `DESIGN.md` and `AGENTS.md`. Incremental changes often leave behind patchwork states, defensive glue, or premature helpers that only look awkward from a global view. Aim for a cleaner mental model and less accidental complexity: both targeted cleanups and deeper API or boundary redesigns are in scope when they remove real friction or reveal a stronger underlying invariant. Unify code around shared contracts rather than superficial likeness, trace each candidate through real callers and `tests-integration`, and skip purely cosmetic churn. +Step back from the incremental commit history that produced the code and read the workspace as a whole against `DESIGN.md` and `AGENTS.md`. Incremental changes often leave behind patchwork states, defensive glue, or premature helpers that only look awkward from a global view. Aim for a cleaner mental model and less accidental complexity, matching what "simpler" means to each file's role: core dispatch, formatting, and appender paths favor tight pipeline invariants and lean synchronous execution, while `tests-integration`, doctests, `examples`, and `xtask` favor self-evident oracle clarity and direct setup a reader can trust at a glance. Both targeted cleanups and deeper API or boundary redesigns are in scope when they remove real friction or reveal a stronger underlying invariant. Unify code around shared contracts rather than superficial likeness, trace each candidate through real callers and `tests-integration`, and skip purely cosmetic churn. Useful starting lenses (not an exhaustive checklist): @@ -18,7 +18,7 @@ Useful starting lenses (not an exhaustive checklist): - Read public APIs from the caller's perspective across `logforth-core`, peripheral `0.x` crates, and the `logforth` facade, checking constructor and builder consistency, feature-flag orthogonality, structured error context, and SemVer impact. - In `tests-integration` and doctests, verify that fixtures stay minimal and each test guards a realistic observable regression rather than mirroring literals, obvious control flow, static type/derive guarantees, or non-contract `Debug` wording. -Open the report in the conversation with the inspected short SHA, scope, and any round-specific focus or constraints. Rank the worthwhile findings, separating straightforward internal simplifications from broader design or public API proposals. For each, give the current code and call sites, concrete maintenance or runtime cost, proposed simplification or redesign, any public API or behavior impact, and the behavior or test that distinguishes a correct change. Cite exact file paths, line ranges, symbols, and relevant PRs or commits. Surface suspected correctness bugs separately and label what has been verified. An empty or short list is a valid result. End the survey after reporting it. +Open the report in the conversation with the inspected short SHA, scope, and any round-specific focus or constraints. Rank the worthwhile findings, separating straightforward internal simplifications from broader design or public API proposals. For each, give the current code and call sites, why the change helps given that code's role (pipeline invariants and hot-path cost in library crates, or immediate clarity in tests, examples, and tooling), proposed simplification or redesign, any public API or behavior impact, and the behavior or test that distinguishes a correct change. Cite exact file paths, line ranges, symbols, and relevant PRs or commits. Surface suspected correctness bugs separately and label what has been verified. An empty or short list is a valid result. End the survey after reporting it. ## Implement selected findings