This template defines a platform-neutral standard for repositories that should be easy for humans and AI agents to discover, understand, validate, and reuse.
Every repository should be understandable and usable as a standalone project, regardless of where it is hosted or how someone discovers it.
The repository should provide:
* A clear human-readable explanation.
* Machine-readable repository metadata.
* Instructions for using or adapting the resource.
* Licensing and reuse guidance.
* Contribution and security guidance where applicable.
* Version and change history.
* Clear entry points for humans and AI agents.
* Stable structure that can be validated and indexed automatically.
The template is intentionally broader than a traditional software repository because AI-ready repositories may contain:
└── host-config/ # use .github/, .gitea/, or the host's equivalent
├── ISSUE_TEMPLATE/
│ ├── bug-report.md
│ ├── feature-request.md
│ └── resource-submission.md
│
└── PULL_REQUEST_TEMPLATE.md
```
Not every repository must actively use every folder. Empty folders may be omitted until required, or retained with a `.gitkeep` file and a short `README.md` explaining their intended use.
The following root files should normally exist in every public repository:
The remaining files are conditionally required based on repository type.
---
# Root Files
## `README.md`
### Purpose
The primary human and AI entry point for the repository.
The README should let a visitor understand:
* What the repository contains.
* What problem it solves.
* Who it is for.
* Why it is useful.
* How to use it.
* What inputs are required.
* What outputs are produced.
* How to adapt it.
* Where the important files are.
* What limitations or risks exist.
* What license governs reuse.
AI agents should be instructed to read this file before retrieving deeper repository content.
### Format
Markdown.
### Recommended Structure
```markdown
# Repository Title
One- or two-sentence description of the repository.
## What This Is
Explain the resource in plain language.
## Problem It Solves
Describe the friction, need, or opportunity addressed.
## Who It Is For
List intended users, organizations, or industry segments.
## What It Helps You Do
Describe the primary capabilities or outcomes.
## Repository Contents
Summarize the major folders and files.
## How To Use It
Provide the normal starting workflow.
## Inputs Required
List required information, files, systems, credentials, or decisions.
## Expected Outputs
Explain what the user should receive or create.
## Example Use Cases
Provide practical examples.
## How To Adapt It
Explain what may be customized and what should remain stable.
## AI Usage Guidance
Explain how an AI agent should inspect and use the repository.
## Limitations
Identify what the resource does not do.
## Security And Privacy
Explain relevant data, credential, privacy, or operational risks.
## Version
State the current release or point to `VERSION`.
## License
Summarize reuse terms and link to `LICENSE`.
## Contributing
Link to `CONTRIBUTING.md`.
## Related Resources
Link to relevant websites, documentation, graphs, repositories, or skills.
```
### Notes
The opening section should contain useful descriptive text rather than slogans alone. Repository descriptions, headings, keywords, and use cases improve both human comprehension and AI retrieval.
Do not assume that users understand Git, the hosting platform, AI skills, agents, or the broader repository architecture.
---
## `AUTHOR.md`
### Purpose
Provides the canonical human-readable identity and attribution record for the repository.
It should state:
* Author or authors.
* Publisher.
* Maintainer.
* Preferred attribution.
* Canonical repository URL.
* Instructions for replacing attribution in derived repositories.
### Notes
Confirm these values with the user at the beginning of repository creation or restructuring. If an existing `AUTHOR.md` is present, present its values for confirmation rather than silently inheriting them.
"instructions":"Read the README first. Retrieve only the files required to complete the user's task."
}
}
```
### Recommended Controlled Values
For `repository_status`:
```text
draft
active
deprecated
archived
superseded
```
For `maturity`:
```text
concept
experimental
prototype
beta
stable
production
```
For `visibility`:
```text
public
restricted
private
```
For `resource_types`:
```text
agent
application
case-study
dataset
demo-project
documentation
framework
guide
playbook
prompt-library
research
schema
script
skill
software
template
workflow
```
### Notes
The `repository_id` should remain stable even if the human-facing title changes.
Recommended format:
```text
organization-repository-name
```
Example:
```text
example-organization-repository-name
```
Do not change IDs casually after publication because other catalogs, relationships, and AI indexes may reference them.
---
## `LICENSE`
### Purpose
Defines the legal terms under which the repository may be copied, reused, adapted, redistributed, or incorporated into other work.
### Format
Plain text or Markdown, depending on the license.
### Recommended Default
For public documentation, skills, templates, playbooks, and educational resources:
```text
Creative Commons Attribution 4.0 International
```
For software code, a software-specific license may be more appropriate, such as:
```text
Apache License 2.0
MIT License
```
A repository containing both software and documentation may require separate licensing statements.
Example:
```text
Code in this repository is licensed under the Apache License 2.0.
Documentation, templates, skills, and written materials are licensed under
Creative Commons Attribution 4.0 International unless otherwise noted.
```
### Notes
The license in `repository.json`, `CITATION.cff`, README, and `LICENSE` must be consistent.
Do not assume one license is appropriate for every artifact type.
---
## `CHANGELOG.md`
### Purpose
Records meaningful changes to the repository over time.
It helps humans and AI systems understand:
* What changed.
* When it changed.
* Whether instructions or outputs may have changed.
* Whether a version introduced breaking changes.
* Whether a resource was deprecated or replaced.
### Format
Markdown.
### Recommended Structure
```markdown
# Changelog
All notable changes to this repository are documented here.
## [Unreleased]
### Added
### Changed
### Fixed
### Removed
### Security
## [0.1.0] - YYYY-MM-DD
### Added
- Initial public version.
```
### Notes
Use newest entries first.
Do not list every typo correction unless it changes interpretation or use. Focus on meaningful changes.
---
## `UPDATES.md`
### Purpose
Captures notes, discoveries, pending decisions, and proposed improvements that may be applied to the repository in a future revision.
`UPDATES.md` is not:
* Approval to implement an item.
* A release commitment.
* A replacement for `CHANGELOG.md`.
* A substitute for a scoped task plan when one is required.
### Recommended Structure
```markdown
# Future Repository Updates
## Pending Decisions
## Proposed Improvements
## Discoveries And Notes
## Completed Or Superseded
```
### Notes
When an update is implemented, validate the change, update `VERSION` when appropriate, record the released result in `CHANGELOG.md`, and remove or mark the note completed.
AI agents should treat this file as planning context only unless the user explicitly asks to act on a listed item.
---
## `VERSION`
### Purpose
Provides a single deterministic source for the repository’s current version.
Scripts and catalog builders can read this file without parsing Markdown or JSON.
### Format
Plain text containing one semantic version:
```text
0.1.0
```
No additional commentary should be included.
### Notes
The version should match:
*`repository.json`
*`CITATION.cff`
* The latest stable release in `CHANGELOG.md`
* Any hosting-platform release or Git tag
Recommended semantic versioning:
```text
MAJOR.MINOR.PATCH
```
Example:
```text
1.4.2
```
---
## `CONTRIBUTING.md`
### Purpose
Explains how other people may suggest changes, submit resources, report problems, or contribute improvements.
### Format
Markdown.
### Recommended Structure
```markdown
# Contributing
## Who May Contribute
## Types Of Contributions
## Before You Submit
## Contribution Workflow
## Repository Standards
## Documentation Requirements
## Anonymization Requirements
## Intellectual Property And Licensing
## Review Process
## Code Of Conduct
## Questions
```
### Notes
This file should explain the repository's contribution model, including the expectation that submitted business workflows may need to be:
* Cleaned.
* Generalized.
* Anonymized.
* Documented.
* Licensed for public reuse.
Do not require technical Git knowledge from all contributors. Provide a nontechnical submission route where appropriate.
---
## `SECURITY.md`
### Purpose
Explains how to report vulnerabilities, exposed credentials, unsafe instructions, privacy problems, or other security concerns.
### Format
Markdown.
### Recommended Structure
```markdown
# Security Policy
## Supported Versions
## Reporting A Vulnerability
## Do Not Post Sensitive Information Publicly
## Credentials And Secrets
## Data Privacy
## AI-Specific Security Considerations
## Response Process
```
### Notes
Include this file when the repository contains:
* Code
* Scripts
* APIs
* Agents
* Automations
* Authentication
* User data
* External integrations
* Deployment instructions
* System administration guidance
At minimum, state clearly:
```text
Never commit passwords, tokens, API keys, private keys, personal data, or production credentials to this repository.
```
---
## `CITATION.cff`
### Purpose
Provides machine-readable citation and attribution metadata.
This is useful for:
* Research resources.
* Frameworks.
* Public datasets.
* Skills.
* Templates.
* Educational materials.
* Repositories that may be referenced in reports, articles, academic work, or derivative projects.
### Format
Citation File Format YAML.
### Recommended Structure
```yaml
cff-version:1.2.0
message:"If you use this resource, please cite it as described below."
Contains public data files used by or produced for the repository.
Examples:
```text
data/sample-input.json
data/public-reference-list.csv
data/example-records.json
```
### Notes
Do not use this directory for:
* Production databases.
* Private customer data.
* Credentials.
* Personal identity documents.
* Large untracked binary files.
* Runtime state.
* Logs.
The `data/README.md` should describe:
* Data source.
* Data ownership.
* Date collected.
* License.
* Known limitations.
* Update frequency.
* Field definitions.
---
## `receipts/`
### Purpose
Contains sanitized records showing how a workflow, agent, script, or process was executed.
A receipt may document:
* Inputs used.
* Skill version.
* Script version.
* Model or tool used.
* Execution date.
* Validation results.
* Output location.
* Human approval.
* Known limitations.
### Notes
Receipts should support reproducibility and auditability without exposing private information.
Possible format:
```json
{
"receipt_id":"example-2026-001",
"executed_at":"YYYY-MM-DDTHH:MM:SSZ",
"skill_id":"example-skill",
"skill_version":"0.1.0",
"inputs":[],
"outputs":[],
"validation":{
"passed":true,
"checks":[]
},
"human_approved":true
}
```
Sensitive execution logs should remain outside the public repository.
---
## `tasks/`
### Purpose
Contains bounded planning and execution records for repository work. AI agents should place proposed repository-structure plans here before making approved structural changes.
Each task folder should use a stable, descriptive identifier and may contain:
```text
tasks/task-id/
├── repository-structure-plan.md
├── implementation-receipt.md
└── validation-results.md
```
### Notes
Do not treat a task plan as approval. Record the approval state and the exact approved scope in the plan. Keep task records only when they are useful to maintainers, and remove or exclude transient, sensitive, or machine-local content.
---
## `tests/`
### Purpose
Contains tests for code, schemas, workflows, or generated artifacts.
Tests may verify:
* JSON validity.
* Required files.
* Broken links.
* Schema compliance.
* Stable identifiers.
* Matching versions.
* Script outputs.
* Presence of prohibited secrets.
* Expected folder structure.
### Notes
Even a documentation-oriented repository may benefit from lightweight validation tests.
Example checks:
```text
README.md exists
repository.json parses
repository.json passes schema validation
VERSION matches repository.json
LICENSE exists
No obvious credentials are present
All listed entrypoint files exist
All internal links resolve
```
---
## `assets/`
### Purpose
Contains images, diagrams, downloadable media, and other supporting assets.
Suggested structure:
```text
assets/
├── images/
├── diagrams/
├── screenshots/
└── downloads/
```
### Notes
Use descriptive file names and document the source and usage rights.
Good:
```text
ai-ready-repository-workflow.svg
example-data-flow.png
```
Avoid:
```text
image1.png
screenshot-final-final2.png
```
Add alt text wherever assets are embedded in Markdown.
---
# Git Hosting Platform Files
## Issue templates
### Purpose
Provides structured forms for repository issues and submissions. Use the directory and filenames supported by the selected Git hosting platform, such as `.github/ISSUE_TEMPLATE/` or `.gitea/ISSUE_TEMPLATE/`.
Recommended templates:
```text
bug-report.md
feature-request.md
documentation-correction.md
resource-submission.md
security-concern.md
```
Do not use a public issue template for confidential vulnerability reporting. `SECURITY.md` should provide a private reporting route.
### Example `bug-report.md`
```markdown
---
name:Bug Report
about:Report a reproducible problem
title:"[BUG] "
labels:bug
---
## What Happened
## What You Expected
## Steps To Reproduce
## Repository Version
## Relevant Files
## Additional Context
```
---
## Pull request template
### Purpose
Provides a checklist for proposed repository changes. Store it at the location supported by the selected Git hosting platform.
### Recommended Structure
```markdown
# Change Summary
Describe the change and why it is needed.
## Type Of Change
- [ ] Documentation
- [ ] Skill
- [ ] Template
- [ ] Script
- [ ] Schema
- [ ] Bug fix
- [ ] New feature
- [ ] Breaking change
## Validation
- [ ] README remains accurate.
- [ ]`repository.json` remains valid.
- [ ]`VERSION` was updated if required.
- [ ]`CHANGELOG.md` was updated.
- [ ] Links were checked.
- [ ] No credentials or private information were added.
- [ ] Examples are anonymized or synthetic.
- [ ] Relevant tests passed.
## Human Review Required
Describe any decisions that require explicit approval.
```
---
# Optional Files
## `CODE_OF_CONDUCT.md`
Add when the repository expects outside community participation.
Purpose:
* Establish acceptable behavior.
* Explain reporting mechanisms.
* Set expectations for respectful collaboration.
This may eventually be maintained once at the organization level and referenced by individual repositories.
---
## `GOVERNANCE.md`
Add when a repository has multiple maintainers, formal decision rights, community voting, or a long-lived standards process.
Possible sections:
```text
Maintainers
Decision authority
Change approval
Versioning
Dispute resolution
Deprecation
Succession
```
---
## `ROADMAP.md`
Add when the repository has a meaningful planned development path.
Use broad milestones rather than promises with unsupported dates.
---
## `ARCHITECTURE.md`
This may live at the root for a complex software repository or under `docs/architecture.md` for most repositories.
It should explain:
* Components.
* Boundaries.
* Data flows.
* Dependencies.
* Trust boundaries.
* Deployment model.
* Design decisions.
* Known tradeoffs.
---
## `requirements.txt`, `pyproject.toml`, `package.json`, or equivalent
Add only when the repository contains executable software.
Dependencies should be explicit and version-controlled.
---
## `.env.example`
Add when users must configure environment variables.
It should contain placeholder values only:
```text
API_URL=https://example.com
API_KEY=replace-with-your-key
```
Never place real secrets in `.env.example`.
Add `.env` to `.gitignore`.
---
## `.gitignore`
Add when the repository generates local files, runtime environments, secrets, build output, or editor metadata.
Possible entries:
```text
.env
.venv/
__pycache__/
*.pyc
node_modules/
dist/
build/
logs/
temp/
.DS_Store
Thumbs.db
```
---
# Minimum Repository Profiles
Not every repository needs the complete structure on day one. The template can support several repository profiles.
Folders not relevant to the repository can later be removed, but beginning with the same structure will make repository creation, AI navigation, validation, and catalog generation consistent.
The governing rule is:
> Every repository should explain itself to a human, describe itself to a machine, identify its authoritative files, state how it may be reused, and provide a predictable path from discovery to implementation.