2.3 KiB
2.3 KiB
AI Agent Instructions
Start Here
Read, in order:
README.mdAUTHOR.mdrepository-variables.jsonrepository.jsoncontent-index.jsonwhen retrieving an individual documentskills.md- 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, andLICENSEattribution aligned. - Treat verified values in
repository-variables.jsonas defaults for repository-structure work. Ask only about missing, conflicting, or explicitly unverified values. - Treat
UPDATES.mdas 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/<task-id>/ 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:
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.jsonwhen the manifest contract changes. - Update
schemas/content-index.schema.jsonwhen the document-index contract changes. - Update
schemas/repository-variables.schema.jsonwhen 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.