determinism

Use when verifying outcomes with code instead of LLM judgment, versioning prompts with hashes, or ensuring reproducible agent behavior. Load for any critical verification. Scripts return boolean exit codes, not subjective assessments. Prompts use semantic versioning with SHA256 validation.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "determinism" with this command: npx skills add ingpoc/skills/ingpoc-skills-determinism

Determinism

Reproducible outcomes through code verification and prompt versioning.

Core Principle

"Claude can run scripts without loading either the script or the PDF into context. And because code is deterministic, this workflow is consistent and repeatable." - Anthropic Engineering

Instructions

  1. Replace LLM judgment with script verification
  2. Version prompts with semantic versioning
  3. Hash-validate critical prompts: scripts/validate-prompt.sh
  4. Use exit codes (0 = pass, 1 = fail), not text

LLM Judgment vs Code Verification

TaskLLM (Bad)Code (Good)
Tests passed?"The tests appear to pass"pytest; echo $? → 0 or 1
Valid JSON?"This looks like valid JSON"python -c "json.load(f)"
Server running?"The server should be up"curl -s localhost/health

References

FileLoad When
references/code-verification.mdWriting verification scripts
references/prompt-versioning.mdVersioning/hashing prompts

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

async-programming-skill

No summary provided by upstream source.

Repository SourceNeeds Review
General

browser-testing

No summary provided by upstream source.

Repository SourceNeeds Review
General

postgresql-skill

No summary provided by upstream source.

Repository SourceNeeds Review