docs: drop the Quickstart block from all 25 pages

aihero.dev renders an install widget above every skill page. Each page
then repeated the same commands in its body, and the two copies had
drifted: the widget uses the current `npx skills@latest ...` wording
while the hand-written blocks mostly carried the older bare `npx skills
...`. Pages showed the right command and a stale one together.

Delete the block from all 25 pages and record the rule in
.agents/writing-docs.md: install wording belongs to the site, not the
page. The template no longer carries a Quickstart, and
.agents/install-block.md notes that docs pages are not one of its
consumers.
This commit is contained in:
Matt Pocock
2026-08-05 11:22:19 +01:00
parent c64fa7ecf6
commit 3314257466
28 changed files with 16 additions and 265 deletions
+2 -2
View File
@@ -36,7 +36,7 @@ Pick the skills you want, and which coding agents to install them on. **The inst
</canonical-block> </canonical-block>
…and the single-skill form on a `docs/` page, where the page already names one skill: …and the single-skill form wherever one skill is named on its own. Note that **`docs/` pages are not a consumer of this block**: ai-hero renders the install widget above the body, so a page that writes the commands out duplicates it. See [writing-docs.md](./writing-docs.md).
<canonical-block name="skills-sh-one-skill"> <canonical-block name="skills-sh-one-skill">
@@ -50,7 +50,7 @@ npx skills@latest update <name>
</canonical-block> </canonical-block>
`skills@latest` is the pinned spelling in all three. The Quickstart template in [writing-docs.md](./writing-docs.md), and the 24 pages under `docs/`, still carry the older bare `npx skills …`; the docs pass brings them into line. `skills@latest` is the pinned spelling in all three. The pages under `docs/` used to carry their own copy of these commands; those blocks are now deleted rather than corrected, because the site renders the install commands itself.
## The two routes are exclusive ## The two routes are exclusive
+3 -13
View File
@@ -12,22 +12,12 @@ There is no H1 — the published page takes its title from the slug.
## Page structure ## Page structure
Fill the template below. The **fixed frame** (Quickstart block, source link, `## What it does`, `## When to reach for it`, `## Where it fits`) appears on every page. The **adaptable middle**`## Prerequisites` and the free-form substance sections — carries only what this particular skill earns; delete the rest. Fill the template below. The **fixed frame** (source link, `## What it does`, `## When to reach for it`, `## Where it fits`) appears on every page. The **adaptable middle**`## Prerequisites` and the free-form substance sections — carries only what this particular skill earns; delete the rest.
Install commands are not written per page. Copy them verbatim from [the canonical install block](./install-block.md) — it is the single source for how anyone installs these skills, and a page that words it differently is a page that tells a second story. The Quickstart block in the template below is the older wording and does not yet match; the docs pass replaces it from the canonical block. **A page carries no install commands.** The ai-hero page template renders the install widget itself — a copy button, the single-skill command, the whole-set command, and the update line — above the body. A page that also writes them out shows the reader the same command twice, and the two copies drift: the hand-written pair on every page went stale against the widget beside it. Install wording is a property of the site, not of the page. If it needs changing, change it in ai-hero; the canonical wording lives in [the install block](./install-block.md).
<page-template> <page-template>
Quickstart:
```bash
npx skills add mattpocock/skills --skill=<name>
```
```bash
npx skills update <name>
```
[Source](https://github.com/mattpocock/skills/tree/main/skills/<bucket>/<name>) [Source](https://github.com/mattpocock/skills/tree/main/skills/<bucket>/<name>)
## What it does ## What it does
@@ -74,7 +64,7 @@ Always present. Situate the skill in the system in a sentence or two:
## Done when ## Done when
- The page exists at `docs/<bucket>/<name>.md`, and no stale page survives a rename or bucket move. - The page exists at `docs/<bucket>/<name>.md`, and no stale page survives a rename or bucket move.
- The Quickstart block and source link name the correct bucket and skill; the update line names the skill. - The source link names the correct bucket and skill, and the page writes no install command of its own.
- `## What it does` states the defining constraint, as plain prose rather than a labelled aside. - `## What it does` states the defining constraint, as plain prose rather than a labelled aside.
- `## When to reach for it` states invocation mode and the trigger boundary. - `## When to reach for it` states invocation mode and the trigger boundary.
- `## Where it fits` names the role and links to `ask-matt`. - `## Where it fits` names the role and links to `ask-matt`.
+11
View File
@@ -0,0 +1,11 @@
---
"mattpocock-skills": patch
---
Drop the hand-written Quickstart block from all 25 docs pages.
aihero.dev already renders an install widget above every skill page — a copy button, the single-skill command, the whole-set command, and the update line. Each page then wrote the same two commands out again immediately below it. The reader saw the install command twice.
The two copies had also drifted apart. The widget renders the current `npx skills@latest …` wording; the hand-written blocks still carried the older bare `npx skills …`, so most pages showed the correct command and a stale one, one after the other.
Deleting the block removes those stale copies and leaves the site's own. `.agents/writing-docs.md` now states the rule directly — install wording is a property of the site, not of the page — and its template no longer carries a Quickstart to copy.
-10
View File
@@ -1,13 +1,3 @@
Quickstart:
```bash
npx skills add mattpocock/skills --skill=ask-matt
```
```bash
npx skills update ask-matt
```
[Source](https://github.com/mattpocock/skills/tree/main/skills/engineering/ask-matt) [Source](https://github.com/mattpocock/skills/tree/main/skills/engineering/ask-matt)
## What it does ## What it does
-10
View File
@@ -1,13 +1,3 @@
Quickstart:
```bash
npx skills add mattpocock/skills --skill=code-review
```
```bash
npx skills update code-review
```
[Source](https://github.com/mattpocock/skills/tree/main/skills/engineering/code-review) [Source](https://github.com/mattpocock/skills/tree/main/skills/engineering/code-review)
## What it does ## What it does
-10
View File
@@ -1,13 +1,3 @@
Quickstart:
```bash
npx skills add mattpocock/skills --skill=codebase-design
```
```bash
npx skills update codebase-design
```
[Source](https://github.com/mattpocock/skills/tree/main/skills/engineering/codebase-design) [Source](https://github.com/mattpocock/skills/tree/main/skills/engineering/codebase-design)
## What it does ## What it does
-10
View File
@@ -1,13 +1,3 @@
Quickstart:
```bash
npx skills add mattpocock/skills --skill=diagnosing-bugs
```
```bash
npx skills update diagnosing-bugs
```
[Source](https://github.com/mattpocock/skills/tree/main/skills/engineering/diagnosing-bugs) [Source](https://github.com/mattpocock/skills/tree/main/skills/engineering/diagnosing-bugs)
## What it does ## What it does
-10
View File
@@ -1,13 +1,3 @@
Quickstart:
```bash
npx skills add mattpocock/skills --skill=domain-modeling
```
```bash
npx skills update domain-modeling
```
[Source](https://github.com/mattpocock/skills/tree/main/skills/engineering/domain-modeling) [Source](https://github.com/mattpocock/skills/tree/main/skills/engineering/domain-modeling)
## What it does ## What it does
-10
View File
@@ -1,13 +1,3 @@
Quickstart:
```bash
npx skills add mattpocock/skills --skill=grill-with-docs
```
```bash
npx skills update grill-with-docs
```
[Source](https://github.com/mattpocock/skills/tree/main/skills/engineering/grill-with-docs) [Source](https://github.com/mattpocock/skills/tree/main/skills/engineering/grill-with-docs)
## What it does ## What it does
-10
View File
@@ -1,13 +1,3 @@
Quickstart:
```bash
npx skills add mattpocock/skills --skill=implement
```
```bash
npx skills update implement
```
[Source](https://github.com/mattpocock/skills/tree/main/skills/engineering/implement) [Source](https://github.com/mattpocock/skills/tree/main/skills/engineering/implement)
## What it does ## What it does
@@ -1,13 +1,3 @@
Quickstart:
```bash
npx skills add mattpocock/skills --skill=improve-codebase-architecture
```
```bash
npx skills update improve-codebase-architecture
```
[Source](https://github.com/mattpocock/skills/tree/main/skills/engineering/improve-codebase-architecture) [Source](https://github.com/mattpocock/skills/tree/main/skills/engineering/improve-codebase-architecture)
## What it does ## What it does
-10
View File
@@ -1,13 +1,3 @@
Quickstart:
```bash
npx skills add mattpocock/skills --skill=prototype
```
```bash
npx skills update prototype
```
[Source](https://github.com/mattpocock/skills/tree/main/skills/engineering/prototype) [Source](https://github.com/mattpocock/skills/tree/main/skills/engineering/prototype)
## What it does ## What it does
-10
View File
@@ -1,13 +1,3 @@
Quickstart:
```bash
npx skills add mattpocock/skills --skill=research
```
```bash
npx skills update research
```
[Source](https://github.com/mattpocock/skills/tree/main/skills/engineering/research) [Source](https://github.com/mattpocock/skills/tree/main/skills/engineering/research)
## What it does ## What it does
@@ -1,13 +1,3 @@
Quickstart:
```bash
npx skills add mattpocock/skills --skill=resolving-merge-conflicts
```
```bash
npx skills update resolving-merge-conflicts
```
[Source](https://github.com/mattpocock/skills/tree/main/skills/engineering/resolving-merge-conflicts) [Source](https://github.com/mattpocock/skills/tree/main/skills/engineering/resolving-merge-conflicts)
## What it does ## What it does
@@ -1,13 +1,3 @@
Quickstart:
```bash
npx skills add mattpocock/skills --skill=setup-matt-pocock-skills
```
```bash
npx skills update setup-matt-pocock-skills
```
[Source](https://github.com/mattpocock/skills/tree/main/skills/engineering/setup-matt-pocock-skills) [Source](https://github.com/mattpocock/skills/tree/main/skills/engineering/setup-matt-pocock-skills)
## What it does ## What it does
-10
View File
@@ -1,13 +1,3 @@
Quickstart:
```bash
npx skills add mattpocock/skills --skill=tdd
```
```bash
npx skills update tdd
```
[Source](https://github.com/mattpocock/skills/tree/main/skills/engineering/tdd) [Source](https://github.com/mattpocock/skills/tree/main/skills/engineering/tdd)
## What it does ## What it does
-10
View File
@@ -1,13 +1,3 @@
Quickstart:
```bash
npx skills add mattpocock/skills --skill=to-spec
```
```bash
npx skills update to-spec
```
[Source](https://github.com/mattpocock/skills/tree/main/skills/engineering/to-spec) [Source](https://github.com/mattpocock/skills/tree/main/skills/engineering/to-spec)
## What it does ## What it does
-10
View File
@@ -1,13 +1,3 @@
Quickstart:
```bash
npx skills add mattpocock/skills --skill=to-tickets
```
```bash
npx skills update to-tickets
```
[Source](https://github.com/mattpocock/skills/tree/main/skills/engineering/to-tickets) [Source](https://github.com/mattpocock/skills/tree/main/skills/engineering/to-tickets)
## What it does ## What it does
-10
View File
@@ -1,13 +1,3 @@
Quickstart:
```bash
npx skills add mattpocock/skills --skill=triage
```
```bash
npx skills update triage
```
[Source](https://github.com/mattpocock/skills/tree/main/skills/engineering/triage) [Source](https://github.com/mattpocock/skills/tree/main/skills/engineering/triage)
## What it does ## What it does
-10
View File
@@ -1,13 +1,3 @@
Quickstart:
```bash
npx skills add mattpocock/skills --skill=wayfinder
```
```bash
npx skills update wayfinder
```
[Source](https://github.com/mattpocock/skills/tree/main/skills/engineering/wayfinder) [Source](https://github.com/mattpocock/skills/tree/main/skills/engineering/wayfinder)
## What it does ## What it does
-10
View File
@@ -1,13 +1,3 @@
Quickstart:
```bash
npx skills add mattpocock/skills --skill=wizard
```
```bash
npx skills update wizard
```
[Source](https://github.com/mattpocock/skills/tree/main/skills/engineering/wizard) [Source](https://github.com/mattpocock/skills/tree/main/skills/engineering/wizard)
## What it does ## What it does
-10
View File
@@ -1,13 +1,3 @@
Quickstart:
```bash
npx skills add mattpocock/skills --skill=grill-me
```
```bash
npx skills update grill-me
```
[Source](https://github.com/mattpocock/skills/tree/main/skills/productivity/grill-me) [Source](https://github.com/mattpocock/skills/tree/main/skills/productivity/grill-me)
## What it does ## What it does
-10
View File
@@ -1,13 +1,3 @@
Quickstart:
```bash
npx skills add mattpocock/skills --skill=grilling
```
```bash
npx skills update grilling
```
[Source](https://github.com/mattpocock/skills/tree/main/skills/productivity/grilling) [Source](https://github.com/mattpocock/skills/tree/main/skills/productivity/grilling)
## What it does ## What it does
-10
View File
@@ -1,13 +1,3 @@
Quickstart:
```bash
npx skills add mattpocock/skills --skill=handoff
```
```bash
npx skills update handoff
```
[Source](https://github.com/mattpocock/skills/tree/main/skills/productivity/handoff) [Source](https://github.com/mattpocock/skills/tree/main/skills/productivity/handoff)
## What it does ## What it does
-10
View File
@@ -1,13 +1,3 @@
Quickstart:
```bash
npx skills add mattpocock/skills --skill=teach
```
```bash
npx skills update teach
```
[Source](https://github.com/mattpocock/skills/tree/main/skills/productivity/teach) [Source](https://github.com/mattpocock/skills/tree/main/skills/productivity/teach)
## What it does ## What it does
-10
View File
@@ -1,13 +1,3 @@
Quickstart:
```bash
npx skills add mattpocock/skills --skill=to-questionnaire
```
```bash
npx skills update to-questionnaire
```
[Source](https://github.com/mattpocock/skills/tree/main/skills/productivity/to-questionnaire) [Source](https://github.com/mattpocock/skills/tree/main/skills/productivity/to-questionnaire)
## What it does ## What it does
-10
View File
@@ -1,13 +1,3 @@
Quickstart:
```bash
npx skills@latest add mattpocock/skills --skill=wait-what
```
```bash
npx skills@latest update wait-what
```
[Source](https://github.com/mattpocock/skills/tree/main/skills/productivity/wait-what) [Source](https://github.com/mattpocock/skills/tree/main/skills/productivity/wait-what)
## What it does ## What it does
-10
View File
@@ -1,13 +1,3 @@
Quickstart:
```bash
npx skills add mattpocock/skills --skill=writing-for-agents
```
```bash
npx skills update writing-for-agents
```
[Source](https://github.com/mattpocock/skills/tree/main/skills/productivity/writing-for-agents) [Source](https://github.com/mattpocock/skills/tree/main/skills/productivity/writing-for-agents)
## What it does ## What it does