Opinionated cookiecutter template for Cellular Semantics agentic-workflow repositories.
This repo hosts the source template that generates new agentic workflow projects.
It codifies the CLAUDE.md rules (TDD-first, strict linting, dotenv usage) and
bundles runtime dependencies like cellsem_llm_client, deep-research-client, and
pydantic-ai so every generated project is ready for LLM orchestration out of the box.
cookiecutter.jsonprompts for project metadata (project_name,project_slug, etc.).- Template directory
{{cookiecutter.project_slug}}/with:- Pyproject configured for uv, Ruff, MyPy, pytest (unit default) and coverage.
- Source layout:
agents/,graphs/(Pydantic + pydantic-ai),schemas/(JSON schemas),services/, andutils/. - Docs scaffold, scripts, git hooks, GitHub Actions workflow, and CLAUDE-style README.
- Guardrail tests (
tests/unit/test_template_structure.py) that ensure the template stays complete.
- Python 3.11+ (matching the template default).
cookiecutterinstalled (pipx install cookiecutterrecommended).uvfor dependency management in generated repos.
cookiecutter gh:Cellular-Semantics/CellSemAgenticWorkflow
# answer prompts for project name, slug, description, etc.
# then jump into the new directory
cd <your-project-slug>
# install dependencies via uv
uv sync --dev
# configure git hooks and run tests
git config core.hooksPath .githooks
uv run pytest -m unitThe generated README explains how to add API keys to .env, run integration tests locally,
and leverage the provided git hooks + CI workflow.
- Follow
CLAUDE.md(write/modify tests first). - Run the test suite:
pytest -m unit. - Commit changes that keep
tests/unit/test_template_structure.pygreen.
When you add new files to the template, also update the structure test so regressions are caught automatically.
- Update the template content and tests.
- Optionally tag a release (e.g.,
git tag v0.x.y && git push --tags). - Consumers can reference a specific tag via
cookiecutter gh:Cellular-Semantics/CellSemAgenticWorkflow --checkout v0.x.y.
If you notice missing pieces or want additional scaffolding (extra workflows, hook scripts, docs), open an issue or PR. Keep contributions aligned with the repo rules (TDD, real integration testing, dotenv).