context-templates

$npx mdskill add github/replica/context-templates

This directory is the only editable template library. It is copied with the starter beside `.agents/skills/`. Do not duplicate templates inside individual skills or infer approved context from templates themselves.

SKILL.md

.github/skills/context-templatesView on GitHub ↗
---
name: context-templates
description: "Shared context template library for setup-skills. Read when discovering context documents or their ownership. This library supplies research inputs, not active product context or a separate authoring workflow."
---

# Shared context templates

This directory is the only editable template library. It is copied with the
starter beside `.agents/skills/`. Do not duplicate templates inside individual
skills or infer approved context from templates themselves.

## Documents and research sources

Plain setup selects every document below once. For a named consumer, read its
required-context declaration, including any linked reference that owns that
declaration, and select its required and conditional documents once. Do not
maintain a second consumer dependency map here. Users can also name documents
directly. This entrypoint is not itself a context document.

| Document | Source groups |
| --- | --- |
| [DESIGN-SYSTEM.md](./DESIGN-SYSTEM.md) | `design-system` |
| [PRODUCT-DESIGN.md](./PRODUCT-DESIGN.md) | `product` |
| [REPOSITORY.md](./REPOSITORY.md) | `repository` |
| [SEED-DATA.md](./SEED-DATA.md) | `product`, `repository` |
| [RESPONSIVE-DESIGN.md](./RESPONSIVE-DESIGN.md) | `product` |
| [ACCESSIBILITY.md](./ACCESSIBILITY.md) | `product`, `repository` |
| [BROWSER-VALIDATION.md](./BROWSER-VALIDATION.md) | `repository` |

Source groups identify research ownership. `design-system` and `product` select
the six shared intake questions in setup-skills' `references/source-workflow.md`.
The `repository` group selects automatic, bounded, read-only research of the
current consumer checkout under that workflow, not a source/permission question.
Repository-only selection needs no intake answers. Missing repository answers or
file registrations do not block this local scope. Other groups' research is not
automatically authorized by a file being local.
Collect each applicable question once across selected documents. Preserve all
restrictions and explicit skips, including legacy repository opt-outs, and honor
content exclusions. Volunteered docs add leads, not a new required question.
Bounded proposals live in [PRODUCT-DESIGN.md](./PRODUCT-DESIGN.md) and apply only
where permitted, never as researched product policy.
An empty source registry does not disable automatic local research. Excluded,
missing or inaccessible evidence must produce specific limitations, not fictional
facts or replacement research against a skip.

## Optional owner topics

Keep all seven root identities. Authors may keep a document whole or move
task-specific detail into directly linked owner topics when supported tasks can
skip genuinely irrelevant detail. Choose boundaries by task applicability and
cohesion: keep a decision's requirements, conditions, exceptions, examples and
citations together. Keep short, cohesive guidance whole when splitting would
only add navigation. Check evidenced consumer constraints, such as incoming
anchors or a parser that requires a particular structure, before moving content;
do not assume one consumer's constraints apply to others.
Observed oversized or truncated reads can motivate review, but file size,
consistency with other owners or a fixed topic count does not justify a split.
Splitting alone does not establish faster discovery or better task outcomes.
Preserve correct existing text and its authority and historical qualifications;
relocation is not permission to rewrite policy or claim fresh verification.
Do not physically split every template or add new owners, intake or authors.
Roots retain authority, common rules, universal obligations, known gaps and
direct links to every topic with concrete applicability conditions. New topics
use the owner's exclusive `topics/<DOCUMENT-STEM>/` directory within active
context; existing linked paths need preservation and explicit inventory.

Each trigger covers normal successful work and readiness as well as relevant
failure/recovery work. For example, supported component selection, opening and
checking an ordinary preview, and adding valid fixtures must select their
applicable details before a failure occurs. Avoid read-all lists and topic chains.
Each topic keeps complete usable rules, examples, conditions, exceptions and
citations. Shared-owner links transfer ownership, not duplicate policy.

Apply setup's complete-set authoring, preservation and approval contract to
roots and topics together. Library templates are research prompts, not approved
consumer guidance or permission to activate extra files.

## Location

Setup reads this library from `.agents/context-templates/` in the current
prototype repository. It does not fetch or install another copy. Context
documents become active only after separate explicit approval.

More from github/replica

SkillDescription
accessibility-auditAudits actual components and routes against applicable WCAG 2.2 A/AA criteria using consumer-owned design-system evidence and repository tools. Use when asked for an accessibility audit, a11y check, keyboard or focus review, contrast check, or screen-reader verification.
add-seed-dataCreates or updates believable deterministic raw fixture scenarios without breaking an existing prototype. Use when asked to add or change fixtures, seed data, sample data, scenarios, or cross-record relationships. Not for UI redesign, live-data infrastructure, or unrelated commands.
agent-browserUse for explicit agent-browser CLI checks or a named browser capability neither the Copilot canvas nor configured Playwright MCP can supply. Ordinary rendered checks and browser selection belong to browser-canvas-validation.
browser-canvas-validationUse the Copilot browser canvas first for rendered route checks, interaction tests, screenshots and visual, responsive or accessibility evidence. Use configured isolated Playwright MCP only when the canvas is unavailable for a required check.
component-design-system-reviewReviews existing UI components for design-system consistency, states, responsiveness and accessibility using consumer-owned context. Use when asked to review component quality, check design-system adherence or audit component consistency.
create-prototypeBuilds new UI prototypes and makes targeted changes to existing prototypes using consumer-owned context. Use when asked to build a prototype, mock up a UI, or add, change, refine or recreate part of an existing prototype. Do not use for unrelated tasks, routine commands, Git lifecycle actions, acknowledgements or infrastructure work.
developer-handoffWrites a lightweight Markdown concept handoff from existing decisions and evidence. Use when explicitly asked for a developer handoff, to transfer a prototype or concept to another team, or to prepare a brief for implementation. Not for ordinary prototype completion, building, reviewing or publishing.
product-designGuides product-design decisions using the consuming repository's design-system, product, and repository context. Use when designing UI, choosing layout or navigation, handling states and forms, messaging, disclosure, onboarding, visualization, copy, delete, filter, or search interactions. Triggers on 'design guidance', 'how to design', 'UI pattern', 'product design', 'scenario pattern', 'confirmation dialog', 'delete flow', 'copy to clipboard', 'filter', and 'search'.
prototype-controlsCreate and wire Replica prototype controls. Use when asked to add or change dropdowns, sliders, input fields, toggles or action buttons that configure variants, scenarios, visible UI, app state or data sources, even without canvas terminology. Covers declarations, typed bindings, defaults, conditions, resets and actions. Product UI form fields and filters alone belong to create-prototype.
replica-publish-prototypePublishes a Replica prototype through its existing workflow and Hub Build. Use for prototype canvas publishing requests that include verified target JSON and a publishing mode.