Brali Agent Skill · reviewed · usable

Use AI to Scaffold Code, Then Make Tests Decide

Use AI to produce a first implementation for a bounded coding task, then inspect the diff, run tests, add missing edge cases, and reject code you cannot explain. A controlled experiment found faster completion on one coding task; it did not establish universal software quality gains.

AgentSkills.ioreviewedusableWork Systems
Open SKILL.mdCanonical recordVerification JSONAll Agent Skills

Portable instruction

What the agent should do

Define the behavior and constraints first. Ask AI for a small implementation. Read the diff, run the existing test suite, add tests for edge cases and failure paths, and inspect security or data-handling implications. Keep only code you can explain and maintain.

Check-in

Did AI shorten implementation time without increasing code I do not understand, test, or want to own?

Install

One portable file, host-specific location.

Inspect SKILL.md first. The evidence state and skill mode are part of the contract.

Install for normal use.

Claude Code

Drop into a skill folder

Personal: ~/.claude/skills/ai-code-scaffold-test-loop/SKILL.md
Project: .claude/skills/ai-code-scaffold-test-loop/SKILL.md

Claude Agent Skills docs

Hermes Agent

Install directly from this URL

hermes skills install https://brali-lifeos.github.io/skill-packs/ai-code-scaffold-test-loop/SKILL.md

Hermes skills docs

OpenClaw

Place in a discovered skill root

Workspace: <workspace>/skills/ai-code-scaffold-test-loop/SKILL.md
Global: ~/.openclaw/skills/ai-code-scaffold-test-loop/SKILL.md

OpenClaw skills docs

Brali verification

Coverage and trust state are checked together.

Canonical ID: brali:ai-code-scaffold-test-loop
Evidence state: reviewed
Skill mode: usable
Recommendation eligible: yes
SHA-256: 5cbb1c9193cccbee495bed3b6b78d80d3601134a5312870339c2e6646cae7f91

Brali CI verified. This means identity, state, mode, provenance and file integrity matched the generated corpus. It is not third-party vendor endorsement.

Why every hack gets a skill

Brali keeps a one-to-one machine surface: one hack record, one stable skill identity. Trust state determines what the skill is allowed to do.

License

Original Brali knowledge is available for non-commercial reuse under CC BY-NC-SA 4.0. Keep attribution, canonical record link, evidence state and skill mode.