Sample 06 / Repo scope
shop-site-review
Skills aren't only for business users. This one lives in a repo and reviews pull requests.
Where it lives
shop-storefront/
.github/skills/
shop-site-review/
SKILL.md
Committed to the repo, so everyone who clones it gets the same review standards. That's the repo scope argument in one sentence.
The file
---
name: shop-site-review
description: Review changes to the shop storefront for accessibility and content standards before merge. Use when reviewing a pull request, a component, a page template, or product copy for the online store.
license: MIT
---
# Shop site review
## When to use this
Someone is changing the storefront and wants a review, or a PR needs
checking before merge. Applies to templates, components, and product copy.
Do not use this for backend or inventory sync code. This skill only
covers what a customer sees.
## Steps
1. Read the diff. Identify every user-facing change.
2. Run the accessibility checks below on each one.
3. Run the content checks below on each one.
4. Report findings grouped by file, most severe first.
## Accessibility checks
- Every image has meaningful alt text. Decorative images have `alt=""`.
A record sleeve is never decorative. Its alt text is the artist and
title.
- Text contrast meets 4.5:1 against its actual background, not the
background you assume.
- Every interactive element is reachable by keyboard and has a visible
focus state.
- Form inputs have associated labels. Placeholder text is not a label.
- Heading levels do not skip.
## Content checks
- Condition grades use the Goldmine abbreviations, never plain English.
"VG+", not "very good plus", and never "good condition."
- Prices show as $XX with no cents.
- Product copy discloses condition faults. A listing that omits a seam
split is a returns problem, not a copy problem.
- No placeholder text. No lorem, no "TODO", no "Product description".
## Output format
For each finding:
`path/to/file.html:LINE` - **[a11y or content]** - what is wrong, and the fix.
If nothing is wrong, say so in one line. Do not invent findings.
## Rules
- Report the fix, not just the problem.
- Do not comment on code style. That is what the linter is for.
- If the diff is over 400 lines, say so and ask which files matter most
rather than skimming all of them.
What makes this work
It carries a license field
The only sample here that does. license is a GitHub Copilot frontmatter field and it's ignored elsewhere, which is fine. If you might publish a skill, put a license on it.
It has no allowed-tools field, on purpose
This skill reads a diff and reports findings. It doesn't need shell access, so it doesn't ask for it. Pre-approving bash when you don't need it is a security decision made for no reason.
The checks are specific to this shop
Generic accessibility advice is what a linter is for. What earns this skill its place is the four lines nobody else's review would catch:
- A record sleeve image is never decorative, its alt text is artist and title
- Condition grades use Goldmine abbreviations, never plain English
- Prices show as $XX with no cents
- A listing that omits a seam split is a returns problem
That's institutional knowledge about an online record store. No off-the-shelf tool has it.
It stays in its lane
Do not comment on code style. That is what the linter is for.
Without that line the skill will review formatting, and then people stop reading its output, and then the skill is worthless. Knowing what not to do is half of a good review skill.
It handles the too-big case
If the diff is over 400 lines, say so and ask which files matter most rather than skimming all of them.
A 900-line diff produces either a shallow review or a very long one. Neither is useful. Asking is the right answer and it has to be written down, because the default behavior is to try anyway.
The output format is a grep-able line
path/to/file.html:LINE - **[a11y or content]** - what is wrong, and the fix.
Structured enough to scan, specific enough to act on, and it includes the fix rather than just the complaint.