tdd — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited tdd (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.
*HARD GATE — tdd-process (from ruby-core-skills)***
undefined method 'full_name').write-tests.bundle exec rspec spec/path/to/spec.rb.If test does not pass, fix minimal changes and re-verify.
Return to Phase 1 for next behavior or proceed to Phase 4.
bundle exec rubocop && bundle exec brakeman && bundle exec rspec.Abbreviated walkthrough for adding a full_name method to a User model. For the full end-to-end example, see assets/example.md.
Step 1 — Write the failing spec (spec/models/user_spec.rb):
RSpec.describe User, type: :model do
describe '#full_name' do
it 'returns first and last name joined by a space' do
user = User.new(first_name: 'Jane', last_name: 'Doe')
expect(user.full_name).to eq('Jane Doe')
end
end
endRun: bundle exec rspec spec/models/user_spec.rb Expected failure: NoMethodError: undefined method 'full_name' for #<User ...> ✅
Step 2 — Propose & confirm
Proposal: Adddef full_name = "#{first_name} #{last_name}"toapp/models/user.rb. Proceed?
Step 3 — Minimal implementation (app/models/user.rb):
def full_name
"#{first_name} #{last_name}"
endRun: bundle exec rspec spec/models/user_spec.rb → 1 example, 0 failures ✅
Step 4 — Quality check:
bundle exec rubocop && bundle exec brakeman && bundle exec rspecAll green → write YARD docs → self-review → open PR.
When completing a TDD cycle, produce a report following the template in assets/tdd-report-template.md. At minimum the report must include:
| Predecessor | This Persona | Successor |
|---|---|---|
| load-context | tdd | code-review |
| define-domain-language | tdd | quality |
| None (standalone) | tdd | PR submission |
Use `plan-tests` alone if you only need to decide which test to write next.
Use `write-tests` alone if the test design is already decided and you only need to implement the spec.
Test fails for the wrong reason (syntax/config error):
SyntaxError, NameError, LoadError indicate test problems, not missing features.NoMethodError).Implementation makes test pass but breaks other tests:
bundle exec rspec to identify regressions.Quality gate fails (RuboCop/Brakeman):
bundle exec rubocop -a for auto-correctable offenses; fix remaining ones manually.~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.