Index of every page on this site: llms.txt
All skills
boshu2 avatar

/test

@596942d
by Boboshu2/agentops460 stars
44
Run it yourself

Write or assess tests that prove behavior and would fail without the fix. Use when: writing tests, TDD, or asked whether a green test is enough.

Use this Skill: https://skilld.dev/gh/boshu2/agentops/test

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencessubject-performance.md

≈1.5k tokens on demand. Your agent reads this file only when SKILL.md points to it.

Subject performance

Use this reference when the caller selects measurement of software performance, including a suspected regression. Measure the subject on a named workload; results do not establish that a skill, prompt or model caused a better outcome. Those comparisons belong to Skill Eval.

Select the comparison

Name a representative workload, its input size and shape, expected output and the metric that answers the caller's question. State the unit and direction of benefit: for example, completion time in milliseconds, successful records per second or peak resident memory in bytes. Distinguish elapsed time from CPU time and allocated memory from resident memory. Use existing repository measurement tools rather than building a benchmark framework for a single comparison.

Identify the exact baseline and candidate source/build, toolchain and build options, plus the input digest or exact generator identity and seed. A revision name alone does not identify an uncommitted build. Keep setup costs inside or outside the measured interval consistently and explain which work it includes.

Compare under equivalent relevant conditions: hardware, runtime, resource limits, concurrent load, dependencies and cold or warmed state. State the cache and initialization treatment instead of mixing first-use cost with steady use. If conditions cannot be matched, disclose the confounder and limit the claim. An unrelated historical number is not automatically a comparable baseline.

Observe variability

Use repeated samples when scheduling, caching, network or other variability can change the conclusion. Select the amount of observation for that variability, the decision and real remaining bounds; no fixed sample count fits every task. Keep comparable measurement treatment for baseline and candidate, and account for drift or order effects when they matter. State sample counts and preserve errors or unsuccessful work rather than timing only favorable completions.

Report the actual distribution or variability relevant to the metric, such as individual timings and a range for a small sample, or a supported summary and spread for a larger one. A lone timing is a single observation. Name the aggregation method; do not invent percentiles, precision or confidence the data cannot support. A timer result does not imply profiling was performed.

Compare the useful effect with measured noise and the caller's accepted budget or practical need. Report an unclear difference as inconclusive. There is no universal percentage that separates improvement from noise for every workload. Equal performance is no improvement. Without a baseline, report absolute values and comparison unavailable; a missing or zero baseline permits no percentage improvement claim. Keep absolute differences and metric direction explicit.

When improving product performance is authorized

When the caller authorizes optimization and the useful change is uncertain, start with the cheapest available measurement that separates the suspected cost by stage, call or query. Unavailable measurement limits attribution; it is not evidence that visually complicated code is the bottleneck. Keep this work within the actual authorized workload, resources and remaining bounds.

Before an experiment, state the predicted metric effect or its uncertainty. Change one relevant factor when causal attribution matters; compare with the identified baseline under equivalent conditions and the correctness guards below. Retain a candidate as an improvement only when its useful effect is supported beyond the observed noise. An inconclusive result is not a win. When several retained changes accumulate, report the overall gain from one comparison of the original baseline with the final candidate on the same workload. Gains measured one change at a time do not add up, because changes overlap or interfere; a change measured alone has not shown its contribution in combination.

After an unsuccessful experiment, remove only its own changes when safe and within authority; preserve other edits and useful evidence. A legitimate caller-authorized rollback remains available. Do not reset a shared checkout or undo unrelated work merely to recover a baseline. Stop at the accepted target, no supported next experiment, an observed plateau or the real bound, whichever comes first; a new hypothesis does not renew that bound. Implement owns authorized source edits; no retry controller or new allowance is created.

Guard the promised behavior

Check accepted outputs, ordering, errors and side effects as applicable before calling a candidate faster. A candidate that skips records, weakens validation or produces the wrong result fails the requested behavior despite a lower time. Use existing correctness checks or a credible reference; baseline agreement alone is insufficient when the baseline has a known defect.

Example: measure an authorized change to a catalog export on the same selected catalog. Check the exported rows and their order, then compare build identities, elapsed samples and relevant memory use. A shorter export that omits entries is a failed candidate. A small timing decrease within observed variation supports no clear gain; a missing baseline supports only an absolute measurement.

Measurement authority covers the selected workload and its necessary safe checks. It grants no automatic optimization, system tuning, commits or delivery transition. If a repair is already authorized, Implement owns the source change and remeasurement stays on the original workload and correctness guards.

Return workload, identities, environment, metric/unit, measured samples or summary, variability, correctness results and limits in the existing handoff. Persist a profile or timing output only for a requested destination or declared consumer. Add no report tree, gate or mandatory measurement phase.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 warning10d4 checks · Risk SAFE
  • Gen Agent Trust Hub10d

    The skill is designed for testing and quality assurance tasks. It is generally safe but carries a low risk of indirect prompt injection because it processes external source code and test files while having the authority to modify the local file system.

  • Socket10d

    No alerts

  • Snyk10d

    Risk: MEDIUM · 1 issue

  • ZeroLeaks7mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at 596942d. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub last week.

Activeupdated 2 weeks ago
practices
[
  "tdd",
  "property-based-testing",
  "bdd-gherkin"
]
hexagonal_role
supporting
consumes
[
  "standards",
  "repo-context"
]
Other metadata
produces
[
  "test-evidence"
]
context_rel
[]
skill_api_version
1
user-invocable
true
metadata
{
  "capabilities": [
    "test"
  ],
  "effects": [
    "write_test_files",
    "write_test_evidence",
    "modify_source_files"
  ],
  "canonical_status": "canonical",
  "disposition": "keep_specialist",
  "tier": "execution",
  "dependencies": []
}
output_contract
behavioral tests and reproducible check facts; coverage results when requested

README badge

README badge for boshu2/agentops/test