Files
repo-template-OPEN/docs/implementation.md
T
2026-07-24 15:14:23 -06:00

3.4 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

  1. Choose a clear lowercase kebab-case repository name.
  2. Create human and AI entry points.
  3. Create repository-variables.json using templates/repository-variables.json.template.
  4. Create repository.json using templates/repository.json.template.
  5. Select and create profile-required documentation and folders.
  6. Add a verified license, version, and change record.
  7. Add host-specific contribution templates.
  8. Validate the repository.

Existing Repository Workflow

  1. Inspect all files, Git status, agent instructions, host configuration, manifests, tests, and documentation.
  2. Identify authoritative existing content and conventions.
  3. Classify each proposed file action as create, preserve, modify, move, deprecate, or leave absent.
  4. Use the skill's normal plan and approval gate unless the user explicitly authorizes immediate implementation.
  5. Merge useful content rather than replacing it mechanically.
  6. Reinspect for concurrent changes before writing.
  7. 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, read repository-variables.json when present. Treat its verified values as defaults, then confirm only absent, conflicting, or explicitly unverified values:

  • author or authors;
  • publisher;
  • maintainer;
  • canonical repository URL;
  • intended license.

Record stable verified values in repository-variables.json and the canonical human-readable identity in AUTHOR.md. Keep both files aligned with repository.json, CITATION.cff, and LICENSE. 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_at when 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:

  1. confirm scope and authority;
  2. make and validate the change;
  3. update the version if required;
  4. record the released result in CHANGELOG.md;
  5. 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.