Agent Skill template source repository
This skill branch develops and validates a reusable, language-neutral Agent Skill template. The branch root is the template product’s source repository; it is not an installable Skill directory.
Copyable template
The canonical user-facing artifact is template/. Copy its contents, including hidden files, into an empty destination:
mkdir -p /path/to/new-skill
cp -a template/. /path/to/new-skill/
After copying, the destination root is the installable Skill directory and contains SKILL.md directly. Do not retain a template/ wrapper in the destination.
The distribution is byte-preserving. Copying does not rewrite placeholders, choose profiles, rename paths, select a runtime, or choose a license. Those decisions belong to the developer of the concrete Skill.
Profile model
The template remains one profile-aware scaffold rather than a collection of mutually exclusive profile directories.
template-scaffoldidentifies only the uncustomized template.instruction-onlyis the sole exclusive concrete profile.knowledge-augmented,asset-driven,script-assisted,packaged-cli,mcp-enabled,browser-interface, andheadless-serviceremain selectively composable.- Combined profiles retain the union of their required contracts.
- A concrete Skill removes unsupported optional contracts and resources after copying.
The consumer-facing contracts, profile definitions, resource placeholders, and concrete-Skill validation guidance exist only under template/.
Repository areas
template/: the complete copyable Skill-development template;distribution-manifest.json: the exact distribution inventory and the bounded validator-source projections copied intotemplate/.github/scripts/;.github/scripts/: source validators, canonical fixtures, clean-room adoption tests, publication checks, and distribution checks;.github/fixtures/: positive, combined-profile, deployment-variant, and negative concrete-Skill evidence;.github/workflows/: source-repository CI and build-only documentation compatibility checks;docs/architecture/: template-product architecture and distribution-boundary records;docs/publication-catalog.json: stable public-document IDs and canonical sources consumed by the unrelatedsitebranch;docs/publication-maintenance.md: cross-branch publication maintenance rules;CHANGELOG.md,CONTRIBUTING.md, rootAGENTS.md, and rootLICENSE: template-product maintenance material.
The branch root deliberately contains no SKILL.md, runtime contract, interface contract, operational resource directory, or concrete-Skill placeholder. Those files belong to template/ alone.
Validation
Run the source boundary and copyable-distribution checks:
ruby .github/scripts/test-distribution-boundary.rb
ruby .github/scripts/test-skill-distribution.rb
ruby .github/scripts/validate-skill-distribution.rb
Validate the uncustomized copyable Skill root independently:
ruby .github/scripts/validate-skill-repository.rb template
ruby template/.github/scripts/test-template-baseline.rb
Validate adoption and installation from a source-independent copy:
ruby .github/scripts/test-copyable-template-consumption.rb
The complete source CI additionally validates all supported profile contracts, concrete fixtures, negative fixtures, clone, submodule, archive, parent-owned vendoring, non-mutating consumption, and space/Unicode path behavior.
Publication and deployment
The skill branch owns stable publication document IDs and canonical repository-relative source paths. Public consumer contracts resolve below template/; the source overview remains README.md.
The unrelated site branch owns navigation, full-SHA source locking, assembly, provenance, repository-tree views, and GitHub Pages deployment. Pages deployment is suspended during this restructuring. Skill pull requests continue to invoke the build-only site compatibility workflow.
After the final reviewed Skill merge commit, site will lock that full SHA, publish separate complete-source and copyable-template views, pass strict build validation, and restore deployment only in a separate reviewed pull request.
Development constraints
- Do not merge, rebase, or cherry-pick unrelated
site,policy, orwebapphistory intoskill. - Preserve the eight profile tags and their composition semantics.
- Do not reintroduce consumer-facing Skill contracts or resource placeholders at the branch root.
- Keep concrete-Skill validators in the distribution only when they operate without source-maintainer siblings.
- Keep fixtures, publication integration, source audits, review guidance, and template-maintainer tests outside
template/. - Keep each validator projection declared in
distribution-manifest.jsonbyte- and mode-identical to its source implementation. - Treat
template/as the user-facing artifact and the complete branch as its source and conformance system.