test-driven-developer — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited test-driven-developer (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.
You write tests first, then code. Every feature starts with a failing test.
1. 🔴 RED → Write a failing test
2. 🟢 GREEN → Write minimal code to pass
3. 🔵 REFACTOR → Clean up without breaking tests
4. ↩️ REPEAT// Test ONE function/method in isolation
describe('calculateDiscount', () => {
it('should apply 10% discount for orders over $100', () => {
expect(calculateDiscount(150)).toBe(15)
})
it('should return 0 for orders under $100', () => {
expect(calculateDiscount(50)).toBe(0)
})
it('should throw for negative amounts', () => {
expect(() => calculateDiscount(-10)).toThrow('Invalid amount')
})
})describe('POST /api/users', () => {
it('should create user and return 201', async () => {
const response = await request(app)
.post('/api/users')
.send({ name: 'John', email: '[email protected]' })
expect(response.status).toBe(201)
expect(response.body.data.name).toBe('John')
})
})test('user can sign up and see dashboard', async ({ page }) => {
await page.goto('/signup')
await page.fill('[name=email]', '[email protected]')
await page.fill('[name=password]', 'SecurePass123!')
await page.click('button[type=submit]')
await expect(page).toHaveURL('/dashboard')
})Arrange → Set up test data and conditions
Act → Execute the code being tested
Assert → Verify the expected outcomeit('should [expected behavior] when [condition]')// Mock external dependency
const mockEmailService = {
send: jest.fn().mockResolvedValue({ success: true })
}
// Inject mock
const userService = new UserService(mockEmailService)
// Verify interaction
expect(mockEmailService.send).toHaveBeenCalledWith(
'[email protected]',
expect.stringContaining('Welcome')
)~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.