Evaluating Agent Skill Quality: Design Blind Spots and a Better Review Path

    Agent skills are shifting from long prompts into loadable, composable capability units. This article explains how progressive disclosure works, why assertion tests miss routing, context, portability, and boundary failures, and how to review design quality, verify portability, and iterate without turning skills into prompt piles.

    Skills are moving from one long prompt into capability units that can be loaded independently and composed at runtime. A skill directory usually contains metadata, instruction text, and reference material, scripts, and templates that are read only when needed. That change moves context engineering from “write a smarter prompt” to “load more sparingly”: the name and description enter the candidate set first so the runtime can judge relevance; instructions enter context only after the skill is selected; references, scripts, and templates are fetched only when the task actually needs them. The logic is simple. Every token consumes a limited window. Extra background crowds out conversation history, tool results, and other skills, and the result is off-target answers, missed calls, or constraints forgotten mid-task.

    At the same time, industry practice is converging on tighter constraints for agent actions: each action has a single responsibility, and inputs and outputs follow an explicit schema instead of leaving wide discretion to the model in the moment. Both lines point to the same consensus. A skill is a unit of encapsulated capability, not a pile of prompts. A good skill should have a single responsibility, clear boundaries, and be composable and portable. Conventional assertion tests often cannot measure those qualities.

    What progressive disclosure solves

    Splitting a skill into metadata, instructions, and resources separates “when something should be known” from “how much should be known.”

    The metadata layer keeps only the name and a short description for routing. It must answer two questions: when this kind of request should match the skill, and when it clearly should not. A description that is too broad pulls in nearby tasks. One that is too narrow silently skips the cases that should use it. Routing errors happen before the skill body is loaded. No amount of precision in the later instructions can repair that.

    The instruction layer is the operating contract after activation: goal, input preconditions, step order, prohibitions, completion criteria, and how to tell the user when something fails. It should not repeat general knowledge the model already has, and it should not treat one repository’s directory layout, private script paths, or personal habits as hidden assumptions.

    The resource layer holds material that is large, infrequently used, or tightly tied to a specific task—domain vocabularies, checklists, example templates, and scripts that can be run repeatedly. On-demand loading keeps occasional detail out of the resident context. If resources reference one another without an entry point, the model may still read too many files at once, and progressive disclosure exists in name only.

    Structural blind spots in assertion tests

    A common skill-development loop is to write cases, compare results with the skill enabled and disabled, track pass rate and token use, then revise instructions from failed assertions. That is necessary for functional verification. It also assumes something that is not true outside the test: the skill was selected correctly, and the runtime matches the author’s local environment.

    Four situations then appear in which tests are all green and the design is still wrong.

    First, routing bias. The description is the main basis for deciding whether to activate a skill at runtime. Standard cases often name the skill directly or strongly hint that it should be used, so false triggers and missed triggers never appear. In production, user wording is shorter and vaguer, and neighboring skills have highly similar descriptions. Routing fails there.

    Second, wasted context. Instructions that repeat knowledge the model has already internalized, long background, or duplicate examples can still yield the useful constraints, so assertions keep passing. That redundancy is almost invisible in a single demo. In multi-turn conversations with several skills present, it becomes a real cost: history is truncated, key constraints are pushed out of the window, and later steps drift.

    Third, low portability. Core logic is tied to the author’s own directories, environment variables, internal toolchain, or a fixed call order. It runs perfectly in the local repository. In another workspace, without a file, or with different tool permissions, the skill fails silently or returns an empty result that looks reasonable. Regression only in the original environment will not find that coupling.

    Fourth, fuzzy boundaries. The skill does not state what it does not handle, and it overlaps other skills in the same library. When input is out of scope, it does not explain the downgrade; it covers the gap with a generic answer. If assertions only check that there is output and that it contains keywords, this silent failure is recorded as success.

    Passing tests shows that known scenarios run as expected. It does not show that the skill design is correct. Those are not the same question.

    Design quality needs its own review

    Functional tests answer “did it do the thing correctly.” Design review answers “should it be done this way, and can someone else reuse the boundary.” Fix the review as four items. Each needs observable evidence, not a subjective impression.

    Single responsibility. State the skill’s only outcome in one sentence—for example, “turn an interface change into an executable compatibility checklist”—not “help with all kinds of engineering problems.” If one sentence contains two peer deliverables, split the skill, or demote one of them to an optional resource. After the split, skills connect through explicit inputs and outputs, not through a large branch inside one instruction that covers every role.

    Judgable boundaries. State applicable inputs, inapplicable inputs, and the handoff rule when skills overlap. For example, a skill may handle only changes that already have a specification and may not write a specification from scratch. When a request involves both code changes and document sync, it declares that it produces only the document diff and leaves code changes to another skill. Validate boundaries with counterexamples: inputs that should be refused, handed off, or answered with an explicit lack of capability. Check that the model says so clearly instead of degrading in silence.

    Routable descriptions. Keep the description to the information routing needs: the task type that trigger words map to, typical objects, and exclusion conditions. Avoid slogan-like adjectives. For review, prepare three groups of requests: should match, should be excluded, and easy to confuse with a neighboring skill. Observe selection without naming the skill. Record the triggering utterance for both false matches and misses, and write that back into the description—not only into the instruction body.

    Auditable context. Estimate resident size for instructions and resources separately. Delete passages the model obviously already knows. Move long examples, lists, and background into on-demand resources, and state in the instructions when to read which one. Compare before and after: pass rate on the same tasks should not fall, while token use and constraint retention across turns should improve. If pass rate falls, what was removed was not redundancy but a hidden necessary constraint. Write that constraint as an explicit rule, not as a long background section.

    Portability needs a change of environment

    Portability is not “copy the directory and it works.” It means the skill still runs after the implicit context in the author’s head is removed. At least three migration checks are worth doing.

    Environment migration: rerun core cases without the original repository’s private scripts, in a different working directory, and with read-only permissions. On failure, the skill should explain the gap in terms a user can understand—what kind of input or permission is missing—rather than keep generating a result that looks complete.

    Tool migration: if the skill depends on retrieval, execution, or external data, instructions should describe the intended capability and the failure strategy, not a call sequence that works only locally. After switching to an equivalent tool set, the steps should still complete. That shows the skill encapsulates a capability, not the trace of one call.

    People migration: have someone who did not write the skill read only the metadata, instructions, and resource entry points, then complete one standard task and one refusal task without asking the author. Where they get stuck is tacit knowledge the documents never stated. Add it to the instructions, or remove the dependency.

    A repeatable iteration order

    Do not treat “optimize the skill” as endlessly appending prompts. A steadier order is: set the boundary first, then revise the description, then compress the instructions, and only then add resources and assertions.

    Write a skill card first: the single outcome, what applies, what does not, inputs, outputs, how failure is reported, and the relationship to other skills. A skill card is easier to review than a long instruction, and it makes overlap visible.

    Then write the description and run a routing trial on requests that do not name the skill. Until the description is stable, do not polish the body with a large assertion suite. Otherwise you will optimize behavior under the wrong route until it merely looks usable.

    Then compress the instructions. Every sentence that remains should map to a rule that can fail—format, prohibition, completion condition, or escalation condition. Background that maps to no rule moves into a resource or is deleted.

    Finally add tests, but cover the design blind spots, not only the happy path. At a minimum: routing samples that should match and should be excluded, boundary-refusal samples, missing-file or no-permission samples, handoff samples when a neighboring skill is also present, and samples in which key constraints are still followed after multiple turns. When comparing enabled and disabled runs, look not only at whether the result is correct, but also at whether the run drifts less, consumes less context, and explains failure earlier.

    A sketch of the structure can stay restrained:

    1. name: change-impact-check
    2. description: >
    3. Given an existing interface specification, produce a compatibility-impact
    4. and verification checklist.
    5. Does not write an interface specification from scratch and does not
    6. modify application code directly.

    The instruction body should keep only preconditions, steps, output fields, refusal conditions, and the resource entry points to read when needed. Scripts and long templates belong in resources, with explicit trigger conditions, so activation does not load everything every time.

    Governance as a team practice

    Once a skill library grows, local optima for one skill become global interference. Maintain a boundary table for the library: one row per skill, with the trigger description, the out-of-scope range, and neighboring skills. A new skill must be checked against that table first, and it must state the gap it fills rather than covering older skills with a wider description.

    The review cadence can stay light. Functional regression is automated by cases. Design review walks the four-item checklist by hand when the description, boundary, or resource entry points change. Token use, false-trigger rate, and pass rate on refusal samples work as trend indicators. Do not chase a single absolute number; task length and model differences both move the reading. The point of the metrics is to catch regressions: a wider description raising false triggers on the same case set, or instructions growing back and dropping constraints in the later half of multi-turn tasks.

    For teams using an agent platform, skill quality shows up as system reliability, not as a single successful demo. The platform side typically provides the session window, tool calls, logs, and permission boundaries. The skill side should work with those constraints: keep resident information to routing and the operating contract, leave occasional detail in on-demand resources, and turn environment differences into explicit failure instead of implicit guesswork. Skills can then be reused across projects and people, rather than working only in the author’s environment.

    Assertion tests still matter. They protect known behavior from being broken. Design review covers what they cannot: whether the skill is selected at the right time, whether it carries only the context the task needs, whether it remains honestly usable in another environment, and whether its responsibilities are distinct from other skills. Keep those two kinds of verification separate, and a skill can move from “a prompt that passes cases” to a composable, portable capability unit with controllable cost.