Contributor Tools
Contributor tools should make the correct workflow the easiest workflow: setup, preview, validate, repair, and move pages through repo-backed commands rather than private maintainer knowledge.Primary Tools
lpd Workflows
Environment Notes
The non-interactive Codex shell used for this audit did not include/opt/homebrew/bin on PATH, so node, npm, and mintlify were initially hidden. Discovery found:
- Homebrew Node:
/opt/homebrew/bin/node, versionv22.22.2 - NVM Node:
~/.nvm/versions/node/v22.22.1/bin/node - Mintlify:
/opt/homebrew/bin/mintlify, version4.2.446 lpd doctorpasses when/opt/homebrew/binis added toPATH
Editor Tooling
VS Code Snippets
Workspace snippets in.vscode/*.code-snippets are available to any contributor opening this repo. Five files cover the full authoring surface; all component-driven snippets are generator-emitted from docs-guide/config/component-registry.json via operations/scripts/generators/components/library/generate-ui-templates.js.
JSX tag snippets accept both bare names (
Card) and opening-tag prefixes (<Card), so they expand cleanly when typed after an angle bracket. The frontmatter snippet auto-fills today’s date for lastVerified and offers dropdowns for audience, pageType, status, and purpose aligned to the canonical enums.
Regenerate after registry changes:
docs-guide/tooling/dev-tools.mdx is retired and redirects here.
Contributor Safety Rules
- Install hooks before substantial work:
bash .githooks/install.sh. - Do not use
--no-verifyunless explicitly authorized by a human override policy. - Do not edit
.allowlistcasually; human commits require theallowlist-edit=truetrailer. - Do not delete tracked files without the governed deletion approval path.
- Do not use port
3000for direct Mintlify preview or port3333vialpd devin agent sessions. - Do not switch branches in the existing worktree.
Tooling Gaps
Related
docs-guide/tooling/lpd-cli.mdxdocs-guide/tooling/lpd-mdx-preview.mdxdocs-guide/contributing/contributing.mdxdocs-guide/contributing/local-preview.mdxdocs-guide/contributing/git-hooks.mdx.githooks/README.md