52 lines
1.9 KiB
Markdown
52 lines
1.9 KiB
Markdown
# AI Agent Instructions
|
|
|
|
## Start Here
|
|
|
|
Read, in order:
|
|
|
|
1. `README.md`
|
|
2. `AUTHOR.md`
|
|
3. `repository.json`
|
|
4. `skills.md`
|
|
5. 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 `AUTHOR.md`, `repository.json`, `CITATION.cff`, and `LICENSE` attribution aligned.
|
|
- 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/<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:
|
|
|
|
```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 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.
|