بنقرة واحدة
guide-authoring
Create or revise docs guides under src/content/docs/guides with runnable MDX examples.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Create or revise docs guides under src/content/docs/guides with runnable MDX examples.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Verify UI changes in microlink/www by driving the Gatsby dev server with agent-browser.
Create or improve competitor alternative pages under src/pages/alternative/.
Scaffold a customer story page under src/pages/use-cases/ from the CustomerStory module.
Create or improve use-case landing pages under src/pages/use-cases/ from the UseCaseStory module.
Generate concise, user-facing changelog entries for Microlink by inspecting git commits across relevant repositories.
Make designs responsive across screen sizes, devices, and platforms.
| name | guide-authoring |
| description | Create or revise docs guides under src/content/docs/guides with runnable MDX examples. |
Create guides like the current screenshot guide: practical, workflow-first, easy to scan, and strictly aligned with the API docs.
src/content/docs/guides.When asked to create or revise a guide, read:
src/content/docs/guides/index.mdsrc/content/docs/guides/screenshot/*.md as the house-style baseline.src/content/docs/api/parameters/** pages for the utility.authentication, cache, endpoint, error-codes, rate-limitembed, filter, filename, force, headers, meta, proxy, retry, staleTtl, timeout, ttlsrc/content/docs/guides/common/:
caching.md — shared caching patterns (ttl, staleTtl, force)private-pages.md — shared auth patterns (headers, x-api-header-*, endpoint, proxy)troubleshooting.md — shared debug patterns (timeouts, blocked sites, error codes, debug headers)production-patterns.md — best practices for production integrationssrc/components/patterns/Aside/constants.js if the guide set changes.The screenshot guide is the current benchmark for tone, depth, and cross-linking. Match its quality, not necessarily its exact file count.
index.md is a quickstart and hub, not a thin landing page.MultiCodeEditorInteractive examples. If metadata is not the point, add meta: false.microlink.io, github.com/microlinkhq, or other durable targets. Avoid deprecated third-party services (e.g., source.unsplash.com is deprecated).## Next step.## See also section at the bottom of the index.md linking to related guides that solve adjacent problems.ProBadge only when the authoritative parameter page has isPro: true or the user explicitly confirms the plan gating.Caching, private pages, and troubleshooting contain patterns that are identical across all workflows. To avoid duplication and maintenance drift:
src/content/docs/guides/common/. They contain the universal advice: how ttl/staleTtl/force work, how headers/x-api-header-*/proxy work, and how to read debug headers.meta: false for screenshot-only requests") and link to the shared pattern page for the universal parts.common/.The pattern is:
Start with the smallest useful set. Do not copy the screenshot page list blindly.
| Page | Use when | Typical content |
|---|---|---|
index.md | Always | Quickstart, response model, canonical syntax, key decision points, roadmap, "See also" |
customizing-output.md | The utility has output-specific options | Output modes, formatting, visual differences, asset customization |
browser-settings.md | Headless browser rendering changes the result | Device, viewport, color scheme, media type, JavaScript, rendering settings |
page-interaction.md | Browser actions affect success | waitUntil, waitForSelector, click, scroll, styles, scripts, function, adblock |
embedding.md | Users need to consume assets in markup or choose a delivery mode | JSON vs direct asset response, embed, response shaping, filenames |
caching-and-performance.md | Freshness, cost, and speed matter | Guide-specific speedups only, then link to common/caching |
private-pages.md | Auth, sessions, forwarded headers, or endpoint choice matter | Guide-specific examples only, then link to common/private-pages |
troubleshooting.md | Failure modes are common or multi-causal | Guide-specific issues only, then link to common/troubleshooting |
Rename pages when the utility needs different language (e.g., the markdown guide uses choosing-scope.md instead of defining-rules.md), but keep the workflow-first grouping.
Audit the utility surface.
Design the information architecture.
Write the hub page.
Write subguides.
common/.Update shared navigation.
src/content/docs/guides/index.md (including the "Which guide do I need?" table).src/components/patterns/Aside/constants.js.Cross-check before finishing.
Common imports:
import { Link } from 'components/elements/Link'
import { Figcaption } from 'components/markdown/Figcaption'
import { MultiCodeEditorInteractive } from 'components/markdown/MultiCodeEditorInteractive'
import ProBadge from 'components/patterns/ProBadge/ProBadge'
Link for internal docs links.Figcaption to explain the takeaway of the example, not restate the code.common/. Link instead.index.md works as both quickstart and hub.index.md has a "See also" section linking to related guides.common/ for shared patterns.src/content/docs/guides/index.md is updated (including "Which guide do I need?" table).src/components/patterns/Aside/constants.js is updated if needed.## Next step.For copyable outlines, see references/templates.md.