Skills Getting started Skills GitLab Hub

write-tech-pr-description-docs

Writes a documentation merge request description that records what was documented, what was deliberately not documented, and why. Use when opening or updating a docs merge request after a feature merge.

Synopsis

User-invoked. Name this skill when you want the agent to apply it. disable-model-invocation is true.

Source file: skills/write-tech-pr-description-docs/SKILL.md.

Front matter

name
write-tech-pr-description-docs
description
Writes a documentation merge request description that records what was documented, what was deliberately not documented, and why. Use when opening or updating a docs merge request after a feature merge.
disable-model-invocation
true

Full contents

---
name: write-tech-pr-description-docs
description: Writes a documentation merge request description that records what was documented, what was deliberately not documented, and why. Use when opening or updating a docs merge request after a feature merge.
disable-model-invocation: true
---

# Write a documentation merge request description

Read [write-tech-core](../write-tech-core/SKILL.md) first.

A docs description answers three questions for the reviewer: what pages
changed, what you decided not to document, and how the claims were checked.
The second question is the one readers miss. A merge that documents nothing is
a decision, and it needs its reason written down.

## Template

```markdown
Documents <feature> after !<source>.
or
Documentation follow-up for !<source>.

## What was documented
## What was not documented
## Verified
```

## What was documented

One bullet per page or section that changed, linked, with the behaviour it now
explains. Group by reader need, not by file.

```markdown
- [Maintenance checks](docs/maintenance-checks.md) now names
  `kit:refresh-webhooks` in the schedule table and explains what a red run
  means.
- [Relay operations](relay/README.md) lists the three log lines a merge writes
  and which one an operator should count.
```

## What was not documented

Name what a reader might expect and what you decided to leave out, with the
reason. Each of these is a real decision:

- Already covered elsewhere — link the page that covers it.
- No behaviour a user can see — say which behaviour was checked.
- Out of the docs MR's scope — name the follow-up, if one exists.
- Could not verify — say which fact is missing and who can supply it.

If you surveyed the docs and found nothing to change, say that, and say what
you read to decide it. A docs MR that changes no page still carries this
reason.

## Verified

How each claim was checked: the source file and revision, the command that
demonstrated the behaviour, the deployed page that was opened. Docs claims are
evidence too; do not repeat a value from the brief without checking it.

## Rules

- Never narrate the code change; the source merge request does that.
- Never list files without saying what the reader gains from the page.
- Never say a page was updated when the claim came from another document.
- Whenever you name a file, link it with a blob URL on the branch.
- No empty sections: delete a heading that would carry nothing.

## Example

```markdown
Documentation follow-up for !125 (webhook sweep group lookup).

## What was documented

- [Maintenance checks](docs/maintenance-checks.md) gains `kit:refresh-webhooks`
  as the fifth scheduled check, and a section on the two-step group lookup that
  replaced the call returning 500.
- The schedule gate now names `KIT_RUN_WEBHOOK_REFRESH`, because it is a
  different variable from `KIT_RUN_MAINTENANCE`.

## What was not documented

- The delete path of `remove-archived-projects.ts`: no user-visible behaviour
  changed and the script has no page.
- The retry policy: still unexplained in the design, so documenting it would
  record a guess.

## Verified

`scripts/reconcile-project-hooks.ts` and `templates/gitlab-ci/agentic.yml` at
`f2e9277`: the resolve-then-page order, the exclusion list, `allow_failure:
false`, and the summary format strings.
```