This repository is a drop-in starter for any project that wants to use AI assistants (Claude, OpenAI / ChatGPT, Gemini, Local models) in a consistent, safe and reproducible way. It ships with:
- Shared documentation (
/docs
) to give assistants and humans a single source of truth - Per-assistant configuration and prompts (
/ai/assistants/*
) - Reusable prompts, playbooks, tools and evals (
/ai/*
) - Example CI automations for headless assistant tasks (
/.github/workflows
) - Minimal dev tooling (
/scripts
,/docker
) and language-agnostic defaults
You can safely delete language sections you don't need (e.g.,
pyproject.toml
,package.json
) after scaffolding.
-
Clone the template
git clone <your-fork-url> my-project cd my-project
-
Set environment variables
Copy.env.example
to.env
and fill secrets:cp .env.example .env
-
Pick your language/tooling
- Node/TypeScript: edit
package.json
, runnpm i
(orpnpm i
), thennpm run dev
- Python: edit
pyproject.toml
, create venv and runpip install -e .[dev]
- Node/TypeScript: edit
-
Wire up assistants
- Update
ai/CLAUDE.md
(repo hints) and.claude/settings.json
- Adjust
ai/assistants/*/model.config.json
andsystem.md
- If using MCP, edit
.mcp.json
- Update
-
Run the basic sanity checks
./ai/tools/format.sh ./ai/tools/typecheck.sh ./ai/tools/run-tests.sh
-
Enable CI
In GitHub, ensure Actions are enabled. The preconfigured workflows will run tests and (optionally) headless assistant triage.
docs/
— Project and technical documentation intended for humans and AIai/
— Assistant configurations, prompts, tools, evals and policies.claude/
— Claude Code settings and project slash-commands.mcp.json
— Model Context Protocol servers/clients shared across the repo.github/workflows/
— CI pipelines with examples for AI-assisted tasksdocker/
— Optional local dev container and servicesscripts/
— Human-oriented scripts (bootstrap, pre-commit hooks, repo map)
- Claude Code automatically loads
ai/CLAUDE.md
,docs/*
and repo maps to build context. - Slash commands in
.claude/commands
andai/assistants/claude/commands
let you run repeatable workflows (e.g.,/project:review-pr
). - Headless automations (see
ai/assistants/claude/headless/
and.github/workflows/
) can triage issues or perform subjective linting on PRs. - LLM-agnostic prompts in
ai/PROMPTS
unify behavior across providers.
- Docs are canonical. If code contradicts
docs/
, open an issue. - Small PRs, with tests. Every change should include tests when possible.
- Security-first. Never commit secrets; follow
docs/06-security-and-privacy.md
. - Conventional Commits and trunk-based branching are encouraged.
- Rename project in
README.md
,package.json
,pyproject.toml
- Decide on language/tooling and remove unused manifests
- Set CI secrets and environment variables
- Update
docs/00-project-spec.md
with your scope and KPIs - Review
ai/policies/*
to match your organization's rules