بنقرة واحدة
template-guide
Navigate template conventions, audit compliance, and guide upgrades for ai-project-template repos
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Navigate template conventions, audit compliance, and guide upgrades for ai-project-template repos
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
| name | template-guide |
| description | Navigate template conventions, audit compliance, and guide upgrades for ai-project-template repos |
| category | project-management |
| tags | ["template","conventions","compliance","upgrade"] |
| version | 1.0.0 |
| template-version | 0.6.0 |
A skill for navigating ai-project-template conventions, auditing compliance, and guiding upgrades.
Invoke this skill when:
ai-project-template| File | Purpose | Key sections |
|---|---|---|
AGENTS.md | Project-level context for AI coding agents | Project Overview, Build & Run, Code Style, CI/CD, Agent Behavior |
README.md | Human-facing project documentation | Features, Quick Start, What's Included, Documentation |
CONTRIBUTING.md | Development guidelines | Commits, Branches, Changelog, Code Review |
CHANGELOG.md | Version history (Keep a Changelog format) | [Unreleased], [0.x.0] headers with Added/Changed/Fixed/Removed |
ARCHITECTURE.md | System design documentation | Components, data flow, dependencies |
UPGRADING.md | Re-sync guide for template upgrades | Version check, diff, merge, verify |
ADOPTING.md | First-time adoption guide for existing repos | Pre-flight audit, incremental adoption phases |
SETUP_GUIDE.md | Greenfield setup instructions | Required info, setup checklist, quality gates |
| File | Purpose | Trigger |
|---|---|---|
.github/workflows/ci.yml | Lint, typecheck, test | push + PR to main |
.github/workflows/commit-lint.yml | Enforces Conventional Commits | PR + push |
.github/workflows/changelog-check.yml | Requires CHANGELOG.md updates | PR only |
.github/workflows/blob-size-policy.yml | Rejects oversized files | PR only |
docs/ci.md | CI architecture guide | Reference |
| File/Directory | Purpose |
|---|---|
.omp/agents/ | Agent definitions (code-reviewer, adr-writer, changelog-updater) |
.omp/skills/ | Agent skills (e.g., template-guide) |
.omp/settings.json | OMP configuration |
.omp/rules/ | Agent rules |
.omp/hooks/ | Pre/post hooks |
.omp/tools/ | Agent tools |
| File | Purpose |
|---|---|
.architecture.yml | Code quality thresholds (max file lines, function lines, exports, nesting) |
.editorconfig | Editor settings |
docs/agent-files-guide.md | Guide for writing AGENTS.md, ARCHITECTURE.md, SKILL.md |
Run .omp/skills/template-guide/scripts/audit.sh to check all items, or verify manually:
AGENTS.md — exists and has no <!-- --> placeholdersREADME.md — exists and describes the project (not generic template text)CHANGELOG.md — exists and has [Unreleased] sectionCONTRIBUTING.md — existsARCHITECTURE.md — exists (root or in docs/).github/workflows/commit-lint.yml — present.github/workflows/changelog-check.yml — present.github/workflows/blob-size-policy.yml — present.template-version — exists and matches a known releaseCHANGELOG.md — entries match actual changes in git historyAGENTS.md — no HTML comment placeholders remainingAGENTS.md — Code Style section references existing patterns (not just template defaults)AGENTS.md — Module size guidelines have concrete values (not <!-- e.g. --> placeholders)[links](./CHANGELOG.md) in .md files resolve to actual files[Foo](./ADOPTING.md)) work within the repo$ .omp/skills/template-guide/scripts/audit.sh
Checking AGENTS.md for placeholders... PASS: no placeholders found
Checking required files... PASS: all required files present
Checking CI workflows... PASS: all workflow files present
Checking .template-version... PASS: version matches known release (0.5.0)
Checking markdown internal links... PASS: all links resolve
$ .omp/skills/template-guide/scripts/audit.sh
Checking AGENTS.md for placeholders... FAIL: 3 placeholders remaining at lines 10, 14, 47
Checking .template-version... PASS: version matches known release (0.5.0)
Checking markdown internal links... FAIL: docs/ci.md links to missing ./docs/nonexistent.md
Run the audit after any significant change to confirm the project remains compliant.
When a user wants to update their project to a newer template version:
.template-version in the project and compare against TheSmuks/ai-project-template's latest versionaudit.sh after merging to confirm complianceFor the full upgrade guide, see UPGRADING.md.
# Run the full compliance audit
.omp/skills/template-guide/scripts/audit.sh
# Run from any directory in the repo
cd /path/to/project
/path/to/.omp/skills/template-guide/scripts/audit.sh
# Expected output: pass/fail per check with line numbers for failures
The script checks:
.template-version exists and matches a known release.md files)When working in a project scaffolded from this template:
AGENTS.md first — it defines the conventions, commands, and project structurelsp references or grep)commit-lint, changelog-check, blob-size-policymain