بنقرة واحدة
use-docs
Read and author Fumadocs for @wadiou/tanstack-i18n. Use when editing MDX, meta.json, or the docs app.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Read and author Fumadocs for @wadiou/tanstack-i18n. Use when editing MDX, meta.json, or the docs app.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Instructions and guidelines for creating or adding new integration examples in the monorepo.
Instructions and guidelines on how package versioning, changelog generation, and NPM releases are managed using semantic-release in the tanstack-i18n monorepo.
Write scoped Conventional Commits and run git commit in this repo. Use when the user asks to commit, amend, or draft a message.
Create and structure feature plans in the local documentation sandbox. Use when asked to plan a feature or create an implementation route.
Standardize coordination between agent sessions by creating and maintaining handoff documents in tmp/handoffs/
| name | use-docs |
| description | Read and author Fumadocs for @wadiou/tanstack-i18n. Use when editing MDX, meta.json, or the docs app. |
apps/docs-dev is a sandbox for local documentation. apps/docs + the structure sections below are where authoring conventions live. For feature planning, refer to the plan skill.
| App | Purpose | Run |
|---|---|---|
apps/docs | Deployable public docs (stub until release) | pnpm docs:dev → :5173 |
apps/docs-dev | Local dev — sandbox / WIP (gitignored tmp/) | pnpm --dir apps/docs-dev run dev → :5175 |
Package code in packages/tanstack-i18n is the source of truth for behavior and APIs.
DO NOT invent Nextra layout (apps/docs/app/, _meta.js). DO NOT duplicate monorepo-only patterns (NestJS, Better Auth, full-stack app guides).
DO NOT grep, cite, or summarize files under apps/docs-dev/content/tmp/ unless the user explicitly asks about a specific tmp file.
packages/tanstack-i18n first; use deployable docs in apps/docs/content/ when present.apps/docs/content/ + use-commit with docs(docs): ….apps/docs-dev (gitignored tmp/; dev server only). (See the plan skill for feature planning).packages/tanstack-i18n over local tmp MDX.meta.json / MDX rules below for apps/docs only.pnpm --dir apps/docs-dev run dev; do not hard-code tmp slug lists.apps/docs| Piece | Location |
|---|---|
| Content | apps/docs/content/ |
| Source config | apps/docs/source.config.ts |
| Loader | apps/docs/src/lib/source.ts |
| Page shell / MDX | src/routes/$.tsx, src/components/mdx.tsx |
pnpm docs:dev # http://localhost:5173
pnpm docs:preview # build + preview on 5174
pnpm build # turbo build — includes apps/docs, not docs-dev
meta.json rulespages entry must exist as index.mdx, {slug}.mdx, or a subfolder with content."index" in pages when the folder has index.mdx — duplicates the sidebar hub."icon" (Lucide PascalCase) on the folder’s own meta.json.pages arrays in the same change.For multi-page sections (integrations/, migration/, etc.):
{section}/index.mdx — served at /integrations.pages lists only child slugs — never "index". The folder parent is the landing; index content is not a duplicate sidebar child.title repeats the folder title in meta.json.For get-started (and similar early onboarding with no child routes):
get-started.mdx at content/ root, listed in root meta.json pages.icon in page frontmatter (Lucide PascalCase, e.g. Rocket) — same as folder meta.json icons.get-started/index.mdx + "pages": []) — Fumadocs still renders a collapsible folder with a chevron.| Rule | Detail |
|---|---|
| Code first | Read packages/tanstack-i18n/src/ + README before writing |
| No empty public pages | No Callout-only stubs in apps/docs |
| Integrations stay in Integrations | Get started may mention BYO messages and name use-intl as the primary example — no wiring recipe there |
| Surface API only | Outcomes and config; no pipeline internals |
| MDX safety | `{-$locale}` in inline code only — never bare {-$locale} |
| Enhance over copy-paste | README is source material; use Steps, tables, cross-links |
Card, Cards, Callout, Tabs, Tab, Steps, Step, Mermaid
Hub grids: <Card title="…" href="…" icon="LucideName" />
meta.json.{slug}.mdx or folder index.mdx + frontmatter title / description."pages".apps/docs-devLocal sandbox and WIP preview only. Not built or deployed. See the plan skill for instructions on creating plans.
pnpm --dir apps/docs-dev run dev # http://localhost:5175