Template pools rules tools

From docxology/template · View interactive version

Template pools rules tools is an AI agent skill from the GitHub repository docxology/template. Fonds, rules, and tools integration exemplar — read resource pools, apply governance rules, validate tool manifests, and run combined integration.

How to use this skill

Skill file

template-pools-rules-tools

Project-scoped skill for the in-repo exemplar at

projects/templates/template_pools_rules_tools/. Load this when wiring or

validating the three-resource architecture (fonds, rules, tools).

When to Use

rules/templates/, and tools/templates/ without writing back to those trees.

proving a tool's entrypoint actually executes (not just that the file exists).

Quick Reference

# From the repository root
uv run pytest projects/templates/template_pools_rules_tools/tests/ \
  --cov=projects/templates/template_pools_rules_tools/src --cov-fail-under=90

uv run python projects/templates/template_pools_rules_tools/scripts/01_validate_sources.py
uv run python projects/templates/template_pools_rules_tools/scripts/02_run_integration.py
uv run python projects/templates/template_pools_rules_tools/scripts/03_generate_manuscript.py
uv run python projects/templates/template_pools_rules_tools/scripts/04_validate_strong_rules.py
uv run python projects/templates/template_pools_rules_tools/scripts/05_generate_figures.py
uv run python projects/templates/template_pools_rules_tools/scripts/z_generate_manuscript_variables.py

uv run python scripts/pipeline/stage_02_analysis.py --project templates/template_pools_rules_tools
uv run python scripts/pipeline/stage_03_render.py --project templates/template_pools_rules_tools
uv run python scripts/runner/execute_pipeline.py --project templates/template_pools_rules_tools --mode core

Pitfalls

05_generate_figures.py binds the eight real manuscript labels to the PNGs

produced in that run and writes output/figures/figure_registry.json; a

missing referenced PNG aborts publication instead of yielding a partial registry.

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.