Skip to content

Commit a3e39b8

Browse files
authored
docs(links): update docs-writer skill and fix broken link (#21314)
1 parent f7a413f commit a3e39b8

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

.gemini/skills/docs-writer/SKILL.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,8 @@ documentation.
118118
reflects existing code.
119119
- **Structure:** Apply "Structure (New Docs)" rules (BLUF, headings, etc.) when
120120
adding new sections to existing pages.
121+
- **Headers**: If you change a header, you must check for links that lead to
122+
that header and update them.
121123
- **Tone:** Ensure the tone is active and engaging. Use "you" and contractions.
122124
- **Clarity:** Correct awkward wording, spelling, and grammar. Rephrase
123125
sentences to make them easier for users to understand.
@@ -133,7 +135,8 @@ and that all links are functional.
133135
technical behavior.
134136
2. **Self-review:** Re-read changes for formatting, correctness, and flow.
135137
3. **Link check:** Verify all new and existing links leading to or from modified
136-
pages.
138+
pages. If you changed a header, ensure that any links that lead to it are
139+
updated.
137140
4. **Format:** Once all changes are complete, ask to execute `npm run format`
138141
to ensure consistent formatting across the project. If the user confirms,
139142
execute the command.

docs/cli/plan-mode.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ those files are not automatically deleted and must be managed manually.
369369
[model routing]: /docs/cli/telemetry.md#model-routing
370370
[preferred external editor]: /docs/reference/configuration.md#general
371371
[session retention]: /docs/cli/session-management.md#session-retention
372-
[extensions]: /docs/extensions/index.md
372+
[extensions]: /docs/extensions/
373373
[Conductor]: https://github.com/gemini-cli-extensions/conductor
374374
[open an issue]: https://github.com/google-gemini/gemini-cli/issues
375375
[Agent Skills]: /docs/cli/skills.md

0 commit comments

Comments
 (0)