Skip to main content

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, version v22.22.2
  • NVM Node: ~/.nvm/versions/node/v22.22.1/bin/node
  • Mintlify: /opt/homebrew/bin/mintlify, version 4.2.446
  • lpd doctor passes when /opt/homebrew/bin is added to PATH
Do not report required tools as unavailable until checking version managers, repo wrappers, setup docs, and common install paths.

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:
Counts above are verified against live snippet files. The earlier per-page reference at 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-verify unless explicitly authorized by a human override policy.
  • Do not edit .allowlist casually; human commits require the allowlist-edit=true trailer.
  • Do not delete tracked files without the governed deletion approval path.
  • Do not use port 3000 for direct Mintlify preview or port 3333 via lpd dev in agent sessions.
  • Do not switch branches in the existing worktree.

Tooling Gaps

  • docs-guide/tooling/lpd-cli.mdx
  • docs-guide/tooling/lpd-mdx-preview.mdx
  • docs-guide/contributing/contributing.mdx
  • docs-guide/contributing/local-preview.mdx
  • docs-guide/contributing/git-hooks.mdx
  • .githooks/README.md
Last modified on June 2, 2026