en un clic
update-documentation
How to add or update documentation pages
Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.
Menu
How to add or update documentation pages
Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.
Basé sur la classification professionnelle SOC
| name | update-documentation |
| description | How to add or update documentation pages |
When the user asks you to modify the documentation, carefully determine whether you are Adding a New Document or Updating an Existing Document, and follow the corresponding steps to ensure the Docusaurus site structure remains intact.
[!IMPORTANT] When generating or updating documentation, do not use icons or emojis (emotes) in the text content. Keep the text professional and clean.
(e.g., adding a new OpenFeature provider, a new SDK, or a tutorial)
Create the Markdown File
.md or .mdx file in the appropriate subdirectory within docs/ or changelog/.title and slug correctly defined.---
title: Swift (iOS)
slug: /open-feature/swift
---
Update the Sidebar (sidebars.js)
sidebars.js in the project root.docs, changelog) and the appropriate label/category (e.g., Client & Mobile, Server & Edge, or OpenFeature Providers).docs/ folder, omitting the file extension) to the items array.'open-feature/swift/index'Update Index and Landing Pages
docs/bucketeer-docs.mdx: If it's a new SDK or Provider, add an HTML anchor element pointing to the new slug (e.g., <a href="/open-feature/swift">...</a>) in the appropriate flex/grid list. Ensure you include the correct brand icon.docs/sdk/index.mdx: For Bucketeer SDKs, update the features checkmark table. For OpenFeature SDKs, update the HTML link list at the bottom.docs/open-feature/overview.mdx: If it's an OpenFeature provider, append it to the internal document list.Verify the Build Locally
npm run build(e.g., modifying an existing SDK guide, adding a new parameter to the API reference, or fixing a typo)
Locate the Document
grep_search or find_by_name to locate the target .md or .mdx file within the docs/ or changelog/ directories.view_file to read the existing content and understand its structure.Make the Edit Safely
## Setup Context to ## Initialize Context), you MUST use grep_search to find and update any other documentation pages that link to that specific anchor (#setup-context). Docusaurus will fail the build if an anchor link is broken.Verify the Build Locally
npm run build