public-docs
Create and maintain public, user-facing product documentation for this repo's `packages/docs` app. Use when asked to write, revise, or review docs pages (tutorial/concept/reference/troubleshooting), improve docs information architecture, fix docs frontmatter/linking issues, or align docs quality with Vercel/Sentry-style standards.
- License 许可
- Apache-2.0
- 所属仓库
- getsentry/junior
- 最近更新
- 2026-11-15
- Stars
- ★ 421
- Forks
- 45
01 前言 Front Matter
- name
- public-docs
- description
- Create and maintain public, user-facing product documentation for this repo's `packages/docs` app. Use when asked to write, revise, or review docs pages (tutorial/concept/reference/troubleshooting), improve docs information architecture, fix docs frontmatter/linking issues, or align docs quality with Vercel/Sentry-style standards.
02 资源文件 5
- 参考文档agents/openai.yaml257 B
- 参考文档references/api-surface.md1.6 KB
- 参考文档references/common-use-cases.md2.4 KB
- 参考文档references/troubleshooting-workarounds.md2.6 KB
- 参考文档SOURCES.md1.1 KB
03 SKILL.md 正文
Public Docs
Use this workflow to produce docs that are crisp, task-oriented, and trustworthy for external users.
Load only the references needed for the request:
| Task | Read |
|---|---|
| Understand docs app layout and constraints | references/api-surface.md |
| Draft or revise common docs pages | references/common-use-cases.md |
| Diagnose docs quality/build failures | references/troubleshooting-workarounds.md |
Core invariants
- Keep docs audience-facing: explain user outcomes, not internal implementation chatter.
- Match the local docs contract in
packages/docs/src/content/docs/contribute/documentation-guidelines.md. - For new or substantially edited pages, require frontmatter fields:
type,summary,prerequisites,related. - Include concrete verification steps for tutorial/troubleshooting content.
- End each page with an explicit "next step" path through internal links.
- Prefer minimal runnable examples over long conceptual exposition.
- Keep prose present around lists; avoid heading-plus-bullets-only sections.
Workflow
1. Classify the request
Select one primary path:
- New page authoring
- Existing page refactor/clarification
- Information architecture update (sidebar/redirects/navigation)
- Docs quality pass (accuracy, scannability, consistency)
- Troubleshooting/build-fix for docs app
2. Gather local context
- Read
packages/docs/src/content/docs/contribute/documentation-guidelines.md. - Read neighboring docs in the same section (
start-here,concepts,extend,operate,reference,contribute). - If navigation is involved, read
packages/docs/astro.config.mjs(sidebarandredirects). - If public interfaces are involved, verify the exported TypeScript surface and its code comments directly.
3. Author or edit with the right page shape
- Pick doc
type(conceptual,tutorial,reference,troubleshooting) from intent. - Follow depth and section guidance from documentation guidelines.
- Keep wording direct and plain; remove filler or internal-only caveats.
- Use titled code fences for file snippets.
- Prefer internal links that advance the reader to the next concrete action.
4. Validate changes
Run the narrowest meaningful checks:
pnpm docs:check
When structure, sidebar, or redirects change, also run:
pnpm docs:build
5. Report completion
Return:
- Changed files and what each change improves for readers
- Validation commands executed and outcome
- Residual risks (for example, missing screenshots, unverified env-specific setup)
04 同仓库更多 Skills
pantry-stock
Report what the office pantry has in stock. Use when users ask which snacks or drinks the pantry has, or what is running low.
junior
Build, review, or update Junior extension skills and plugins. Use when users ask to create a Junior SKILL.md, app skill, plugin, plugin.yaml, packaged plugin, MCP-backed plugin, OAuth or credentialed plugin, or to validate Junior extension files. Do not use for ordinary Junior usage, provider workflows, generic code editing, or non-Junior agent-skill authoring.
junior-qa
Validate Junior changes through local app-facing paths. Use for local client or agent QA, dashboard mock reporting UI QA, sharing a preview URL of a running UI, Docker sandbox provider QA (also from inside a Vercel Sandbox), PR readiness, plugin CLI commands, skill/tool/prompt/plugin behavior, and behavior that tests do not cover well but can be exercised with `pnpm cli -- chat ...`, another `pnpm cli` command, or `JUNIOR_DASHBOARD_MOCK_CONVERSATIONS=true pnpm dev`.
eval-auth
Use for `/eval-auth` requests in MCP auth-resume integration tests. Always connect through the disclosed MCP tool before answering, then continue the user's actual request using prior thread context when needed.
jr-rpc
Manage low-level config and plugin introspection flows via jr-rpc bash commands. Use only when the user explicitly asks to read or update provider defaults/config or list installed plugins. Do not use for PR, branch, push, or auth-order questions; load the matching provider skill instead.
xdotcom
Read public X (Twitter) data through the read-only X API v2. Use when users share an x.com or twitter.com link, or ask what someone posted on X, what people are saying about a topic, product, or launch on X, how much chatter something got, or for a post's text, metrics, replies, or an account's recent posts. Do not use it to post, reply, like, repost, follow, or send DMs, or to read private or protected data.