# AI Agent Instructions ## Start Here Read, in order: 1. `README.md` 2. `AUTHOR.md` 3. `repository-variables.json` 4. `repository.json` 5. `content-index.json` when retrieving an individual document 6. `skills.md` 7. The relevant skill or documentation for the task ## Repository Purpose This repository defines and validates a platform-neutral structure for human- and AI-findable repositories. Keep guidance generic unless a file is explicitly scoped to a Git host or runtime. ## Operating Rules - Preserve accurate existing content and stable identifiers. - Use the smallest repository profile that fits the target. - Do not invent maintainers, publication URLs, licenses, security contacts, provenance, or credentials. - Keep `repository-variables.json`, `AUTHOR.md`, `repository.json`, `CITATION.cff`, and `LICENSE` attribution aligned. - Treat verified values in `repository-variables.json` as defaults for repository-structure work. Ask only about missing, conflicting, or explicitly unverified values. - Treat `UPDATES.md` as proposed future work, not authorization. - Record completed versioned changes in `CHANGELOG.md`. - Keep `VERSION`, `repository.json`, `CITATION.cff`, and release notes aligned. - Use synthetic or anonymized examples. - Do not commit generated caches, secrets, private data, or transient task material. ## Applying The Skill Use `skills/structure-ai-ready-repository/SKILL.md`. Its normal workflow requires a plan in `tasks//` and explicit approval before structural changes. Skip that gate only when the user explicitly authorizes immediate implementation and higher-priority safety and permission rules allow it. ## Validation Run: ```text python scripts/validate_repository.py . python -m unittest discover -s tests -p "test_*.py" ``` Also validate any modified skill with the available Codex skill validator. ## File-Specific Guidance - Update `schemas/repository.schema.json` when the manifest contract changes. - Update `schemas/content-index.schema.json` when the document-index contract changes. - Update `schemas/repository-variables.schema.json` when the reusable variables contract changes. - Update both the skill reference and root documentation when the repository standard changes. - Update validator tests when requirements change. - Keep Git-host files under the correct host-specific directory.