Template sia

From docxology/template · View interactive version

Template sia is an AI agent skill from the GitHub repository docxology/template. SIA (Self-Improvement Agent) harness exemplar — Meta/Target/Feedback loops, public/private splits, fixture replay, fail-closed validation.

How to use this skill

Skill file

template-sia

Project-scoped skill for the in-repo exemplar at

projects/templates/template_sia/. Load this when working inside the project.

When to Use

or regenerating outputs.

no-mocks testing) still hold after changes.

Quick Reference

# From the repository root
uv run pytest projects/templates/template_sia/tests --cov=projects/templates/template_sia/src --cov-fail-under=90
uv run python scripts/pipeline/stage_02_analysis.py --project templates/template_sia
uv run python scripts/pipeline/stage_03_render.py --project templates/template_sia
uv run python scripts/pipeline/stage_04_validate.py --project templates/template_sia
uv run python scripts/pipeline/stage_05_copy.py --project templates/template_sia

Pitfalls

infrastructure/, not in scripts/. src/template_sia/loop/loop.py owns the project adapter;

scripts/run_sia_loop.py only parses flags and presents result paths.

computation.

source and config.

as working directory unless the child AGENTS.md states otherwise.

Cross-refs

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.