Back to directory
TheSmuks avatar
TheSmuks / ai-project-template

ai-project-template

Universal starter template for AI/LLM projects. Optimized for Oh My Pi (OMP) with cross-agent compatibility (AGENTS.md, Cursor, Codex, etc.).

5

Stars

1

Forks

0

Watchers

MIT

License

ai-project-template

Opinionated starter template for AI-assisted development projects. Ships with agent-aware project structure, ready-made CI workflows, code quality thresholds, and documentation templates — everything you need to scaffold a well-behaved codebase that AI coding agents can navigate effectively.

Changelog License: MIT Template Use this template

Use this template Read the Docs

About

AI coding agents (OMP, Codex, Cursor, Aider, and others) excel at implementation but struggle with project-level context — conventions, structure, and intent. This template bridges that gap by baking best practices directly into the project skeleton. Ships with AGENTS.md, pre-configured CI, code quality thresholds, and documentation templates, so agents can contribute effectively from day one.

Features

Agent-aware project structure — Standardized layout with AGENTS.md, SKILL.md patterns, and agent skills integration. AI coding agents can navigate and contribute effectively from day one. Ready-made CI workflows — Opinionated GitHub Actions pipelines for linting, type-checking, testing, commit linting, changelog enforcement, and file size policy — no configuration required.
Code quality thresholds — Module size guidelines, function length limits, nesting depth rules, and module export counts built into project documentation. Quality gates enforced by CI. Two adoption paths — Designed for both greenfield projects (via SETUP_GUIDE.md) and existing repositories (via ADOPTING.md). Incrementally adopt only what you need.
Devcontainer configuration — Pre-configured .devcontainer/ with everything in place for VS Code Dev Containers or GitHub Codespaces. Documentation templatesCHANGELOG.md, CONTRIBUTING.md, AGENTS.md, ARCHITECTURE.md, and docs/agent-files-guide.md included and pre-formatted.
Conventional commit enforcement — CI rejects commits that don't follow Conventional Commits. Branch naming follows Conventional Branch. Tiger Style principles — Built-in engineering guidelines for high-reliability systems: assertions, bounded operations, zero tech debt.

Getting Started

Using an AI coding agent? Paste this into your session:

Set up this project from the ai-project-template. Read SETUP_GUIDE.md and follow the interactive setup.
New Project Existing Project
Start fresh with a fully configured project. Follow SETUP_GUIDE.md to customize metadata, install dependencies, and configure your first CI run. Integrate incrementally into an existing repository. Follow ADOPTING.md to merge conventions and CI workflows without breaking your current workflow.
Setup Guide Adoption Guide

What's Included

Full file listing
File / Directory Purpose
AGENTS.md Project-level context for AI coding agents — tells agents how to behave in this repo
SETUP_GUIDE.md Step-by-step setup instructions for new projects (greenfield)
ADOPTING.md Incremental adoption guide for existing repositories
CONTRIBUTING.md Development guidelines and commit conventions
CHANGELOG.md Version history following Keep a Changelog
.github/workflows/ci.yml Main CI pipeline: lint, typecheck, test
.github/workflows/commit-lint.yml Enforces Conventional Commits on all PR commits
.github/workflows/changelog-check.yml Ensures CHANGELOG.md is updated in every PR
.github/workflows/blob-size-policy.yml Rejects oversized files (configurable thresholds)
ARCHITECTURE.md Architecture-as-code specification template
docs/agent-files-guide.md Practical guide for writing AGENTS.md, ARCHITECTURE.md, and SKILL.md
docs/ci.md CI/CD workflow documentation
.devcontainer/ DevContainer configuration for VS Code / Codespaces
.omp/skills/template-guide/ Template conventions skill for AI agents — navigate, audit, upgrade
.omp/skills/merge-to-main/ PR lifecycle skill — create PR, monitor CI, fix failures, merge when green
.omp/skills/cut-release/ Release cut skill — bump versions, update changelog, create GitHub release
.template-version Current template version tag
LICENSE MIT license

Documentation

Contributing

See CONTRIBUTING.md for development guidelines, commit conventions, and branch naming.

License

MIT License. See LICENSE.

Releases

What's Changed Added

New skill: llm-wiki — A skill for maintaining a layered LLM Wiki knowledge base with raw sources, wiki pages, and a schema layer. Supports ingest, query, and lint operations.

Fi...

[0.7.0] — 2026-05-05 Added

-- Pre-commit hooks for conventional commit enforcement -- Branch naming convention enforcement on PRs -- Added one-liner trigger, Step 0 context detection, Step 6 post-set...

What's Changed Fixed

ci.yml — Removed broken markdown-links job (subshell pipe bug caused it to always exit 0 regardless of link check results). Link checking is now handled exclusively by the audit...

What's Changed Added

.omp/rules/no-placeholders.md — TTSR rule to catch HTML comment placeholders .omp/rules/changelog-required.md — Scope rule for CHANGELOG.md updates .omp/rules/conventional-commit...

What's Changed Added

cut-release skill (.omp/skills/cut-release/SKILL.md) — automated release workflow: determine version, update version manifest, validate, commit, create PR, merge, publish GitHub...

Contributors

1 contributors by commits. Profile dekhne ke liye kisi bhi developer par click karein.