Skip to content

Maintenance Conventions

YarCraSy edited this page Jul 8, 2026 · 2 revisions

Previous page: Overview

Conventions

Markdown documentation

  • Concise technical content.
  • No unnecessary visual styling.
  • Each folder has a README.md.
  • Root README.md is the entry point.
  • Prefer short lists and concrete paths.
  • Use npm run docs:wiki:export when publishing these docs to GitHub Wiki.
  • Wiki navigation is generated as _Sidebar.md and _Footer.md.

Code

  • Keep aliases consistent with tsconfig.json.
  • Use src/adapters contracts for shared messages.
  • Avoid duplicated strings for public ids.
  • Do not store secrets outside SecretStorage.
  • Do not reintroduce Ollama.
  • Source folders use camelCase.
  • Source implementation files use PascalCase.
  • Keep ecosystem-required exceptions unchanged: index.ts barrels, Astro route files such as index.astro and [slug].astro, package/config files, generated output, and GitHub Wiki page names.

New features

Before implementing:

  1. identify the responsible layer.
  2. update contracts if it crosses webview/backend.
  3. document settings if they are public.
  4. add manual verification if it affects UX.
  5. run compile, lint, and build.

Next page: Migration Status

Clone this wiki locally