3.1 KiB
Implementation Guide
Choose A Profile
Select the smallest profile that accurately represents the repository:
- Documentation/guide: written standards, guides, playbooks, or research.
- Skill/workflow: AI skills, prompts, agents, workflows, or templates.
- Software/automation: executable code, services, applications, or operations.
- Dataset: versioned data with provenance, field definitions, and schemas.
Add profile-specific files only when they support real content or validation.
New Repository Workflow
- Choose a clear lowercase kebab-case repository name.
- Create human and AI entry points.
- Create
repository.jsonusingtemplates/repository.json.template. - Select and create profile-required documentation and folders.
- Add a verified license, version, and change record.
- Add host-specific contribution templates.
- Validate the repository.
Existing Repository Workflow
- Inspect all files, Git status, agent instructions, host configuration, manifests, tests, and documentation.
- Identify authoritative existing content and conventions.
- Classify each proposed file action as create, preserve, modify, move, deprecate, or leave absent.
- Use the skill's normal plan and approval gate unless the user explicitly authorizes immediate implementation.
- Merge useful content rather than replacing it mechanically.
- Reinspect for concurrent changes before writing.
- Validate and report deviations.
Required Entry Points
Every implementation should answer:
- Where should a human start?
- Where should an AI agent start?
- Which file is the authoritative machine-readable manifest?
- What should be retrieved next for the current task?
Declare these answers in repository.json.
Identity And Publication
At the beginning of a repository build, confirm:
- author or authors;
- publisher;
- maintainer;
- canonical repository URL;
- intended license.
Record the verified values in AUTHOR.md and keep repository.json, CITATION.cff, and LICENSE aligned. When adapting an existing template, never inherit its author automatically.
Metadata Rules
- Use stable IDs.
- Use verified URLs.
- Keep optional unknown values null or omit them when allowed.
- Keep version values aligned.
- Keep host topics and manifest topics aligned.
- Update
updated_atwhen metadata meaningfully changes.
UPDATES.md Workflow
Use UPDATES.md for unapproved future notes, discoveries, and proposed improvements. Do not present its contents as committed roadmap work.
When implementing an item:
- confirm scope and authority;
- make and validate the change;
- update the version if required;
- record the released result in
CHANGELOG.md; - remove or mark the update item completed.
Validation
For this repository:
python scripts/validate_repository.py .
python -m unittest discover -s tests -p "test_*.py"
For another repository using the bundled skill audit:
python skills/structure-ai-ready-repository/scripts/audit_repository.py <repository> --profile <profile>
Structural validation should be supplemented with project-native tests and human review of accuracy.