test-create — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited test-create (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Generate comprehensive test cases for code.
Use this skill to draft focused tests that cover behavior, edge cases, and failures without coupling the tests to implementation details.
| Category | Examples |
|---|---|
| ✅ Happy Path | Normal inputs, standard cases |
| 🔸 Edge Cases | Empty, boundary, min/max |
| ❌ Error Cases | Invalid inputs, failures |
import pytest
class TestFunction:
def test_valid_input_returns_expected(self):
assert function("valid") == "expected"
def test_empty_input_returns_empty(self):
assert function("") == ""
def test_invalid_raises_error(self):
with pytest.raises(ValueError):
function(None)describe('function', () => {
it('returns expected for valid input', () => {
expect(fn('valid')).toBe('expected');
});
it('handles empty input', () => {
expect(fn('')).toBe('');
});
it('throws for invalid', () => {
expect(() => fn(null)).toThrow();
});
});test_[what]_[condition]_[expected]
test_login_valid_credentials_returns_token
test_login_wrong_password_raises_error| Type | Target |
|---|---|
| Business logic | 80%+ |
| Utilities | 90%+ |
| UI | 60%+ |
Follow the primary workflow, commands, and decision points documented in the sections below.
Use the examples and snippets already present in this document whenever they apply to the task.
Use any linked scripts, assets, reference files, and companion resources mentioned in this document.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.