6.3 KiB
AI-Ready Repository Template
A platform-neutral repository standard and reusable AI skill for creating repositories that humans and AI agents can discover, understand, validate, and reuse.
What This Is
This repository contains:
- a practical repository structure standard;
- a reusable skill that plans and builds the structure in new or existing repositories;
- machine-readable metadata and schema;
- templates, examples, validation scripts, and tests;
- contribution, security, versioning, and future-update guidance.
The standard supports documentation, AI skill/workflow, software/automation, and dataset repositories. It is intentionally modular: use the smallest profile that accurately represents the project.
Problem It Solves
Repositories often make sense to their original author but leave future maintainers and AI agents guessing about purpose, authoritative files, setup, inputs, outputs, validation, licensing, and safe operating boundaries. This template makes those expectations explicit and machine-findable.
Who It Is For
- People starting a new repository.
- Maintainers correcting an inconsistent existing repository.
- Teams publishing reusable prompts, skills, agents, workflows, templates, data, or software.
- AI agents that need predictable entry points and approval boundaries.
What It Helps You Do
- Select an appropriate repository profile.
- Inventory and preserve useful existing content.
- Propose exact file actions before restructuring a live repository.
- Create human and AI entry points.
- Add machine-readable metadata.
- Validate required paths, versions, links, and entrypoints.
- Record future changes in
UPDATES.mdwithout confusing them with released changes.
Repository Contents
| Path | Purpose |
|---|---|
repository.json |
Authoritative machine-readable repository manifest. |
AUTHOR.md |
Canonical author, publisher, maintainer, and attribution guidance. |
AGENTS.md |
Instructions for AI agents working in this repository. |
skills.md |
Index of reusable skills. |
skills/structure-ai-ready-repository/ |
Skill that assesses, plans, builds, and validates repository structure. |
docs/ |
Architecture, implementation guidance, and glossary. |
templates/ |
Reusable repository metadata and update-note templates. |
examples/ |
Synthetic examples showing completed artifacts. |
schemas/ |
JSON Schema for repository.json. |
scripts/ |
Deterministic repository validation. |
tests/ |
Automated validation tests. |
UPDATES.md |
Notes and proposed changes to consider in future repository revisions. |
CHANGELOG.md |
Versioned record of changes already released. |
How To Use It
With an AI agent
- Give the agent access to
skills/structure-ai-ready-repository/SKILL.md. - Ask it to apply
$structure-ai-ready-repositoryto a new or existing repository. - By default, review the generated
tasks/<task-id>/repository-structure-plan.md. - Amend or explicitly approve the current plan revision.
- Let the skill implement and validate only the approved actions.
The plan gate may be bypassed only when the user explicitly directs the agent to implement immediately and the platform's safety and permission rules allow it.
Manually
- Read
docs/implementation.md. - Confirm author, publisher, maintainer, canonical URL, and license.
- Create
AUTHOR.md. - Choose the smallest applicable repository profile.
- Copy and adapt the relevant files.
- Replace all visible placeholders with verified project facts.
- Run:
python scripts/validate_repository.py .
python -m unittest discover -s tests -p "test_*.py"
Repository Profiles
| Profile | Best for |
|---|---|
| Documentation/guide | Written standards, guides, playbooks, and research. |
| Skill/workflow | AI skills, prompts, agents, workflows, and reusable templates. |
| Software/automation | Executable applications, services, scripts, and automations. |
| Dataset | Versioned public or controlled datasets with provenance and schemas. |
This repository implements the skill/workflow profile.
Inputs Required
Applying the template requires:
- the target repository path;
- verified author, publisher, and maintainer identity;
- the repository's purpose and intended users;
- known publication, license, maintainer, and canonical URL details;
- existing files and conventions that must be preserved;
- the desired repository profile or enough context to infer one.
Expected Outputs
- a reviewed repository structure;
- clear human and AI entry points;
- accurate
repository.jsonmetadata; - profile-appropriate documentation and indexes;
- validation results and, when the normal plan flow is used, task receipts.
AI Usage Guidance
Read files in this order:
README.mdAUTHOR.mdrepository.jsonAGENTS.mdskills.mdskills/structure-ai-ready-repository/SKILL.md- Only the references, templates, scripts, or examples required for the current task
Treat UPDATES.md as unapproved future work unless a user explicitly asks to implement an item. Treat CHANGELOG.md as the record of completed versioned changes.
How To Adapt It
Keep the core entry-point and metadata concepts stable, but tailor profiles, directories, host configuration, tests, and documentation to the repository's real purpose. Do not create unused folders merely to resemble the example tree.
Limitations
- This template does not choose a license, maintainer, security contact, or publication URL for you.
- Structural validation cannot prove that documentation is accurate or complete.
- Git-host configuration varies by platform.
- The included skill does not create commits, remotes, releases, or hosting settings unless separately requested.
Security And Privacy
Never add credentials, private keys, access tokens, customer information, regulated data, private logs, or production databases. Use placeholders in examples and external secret management for live systems. See SECURITY.md.
Version
Current version: 0.1.0. See VERSION, CHANGELOG.md, and UPDATES.md.
Author And Publisher
Eddie Soehnel. See AUTHOR.md for canonical attribution and adaptation guidance.
License
Licensed under the MIT License. See LICENSE.
Contributing
See CONTRIBUTING.md.
Canonical Repository
https://projects.eddiesoehnel.com/adminprojects/repo-template