Skip to content

docs: overhaul documentation structure and add design documents - #291

Merged
devkanro merged 3 commits into
mainfrom
brainstorm/docs-internals
Mar 9, 2026
Merged

devkanro merged 3 commits into
mainfrom
brainstorm/docs-internals

Conversation

@devkanro

@devkanro devkanro commented Mar 9, 2026

Copy link
Copy Markdown
Owner

Summary

Complete documentation overhaul: restructure by reader journey, add 8 why-first design documents, refresh README.

Changes

Documentation Structure

  • docs/README.md — New documentation navigation page
  • docs/overview.md — Plugin introduction and key concepts (newcomer entry point)
  • docs/getting-started.md + docs/contributing.md — Split from development.md
  • docs/architecture.md — Simplified to high-level layer overview with links to design docs

Design Documents (docs/design/)

8 new why-first documents explaining design intent and rationale:

  • psi-and-mixin.md — Why mixin pattern for PSI, feature interfaces
  • symbol-resolution.md — Why two-phase resolve, scope hierarchy, root providers
  • stub-indexing.md — Why stubs, index design tradeoffs, external data system
  • annotation-system.md — Why per-version annotators, validation philosophy
  • code-completion.md — Why provider-per-context, insert handler design
  • compiler-system.md — Why in-process compiler, plugin architecture
  • prototext.md — Why separate language, schema linking design
  • editions.md — Why feature-set model, migration from syntax versions

README

  • Visual refresh with feature highlights, screenshots, quick start
  • Added Copilot workflow section

Workflow Updates

  • Consolidated .copilot/ files into .github/ (brainstorm.md, docmap.md, knowledge.md)
  • Updated ship skill with PR creation as final step
  • Added branch creation to brainstorm workflow
  • Added .intellijPlatform to .gitignore

devkanro and others added 3 commits March 9, 2026 23:59
Migrate skills from .copilot/skills/ to .github/skills/ (SKILL.md agent spec).
Move brainstorm.md, docmap.md, instructions to .github/.
Add branch creation step to brainstorm workflow.
Update all internal references.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Reorganize docs by reader journey (overview → architecture → design/):
- Add docs/overview.md: plugin introduction and key concepts
- Add docs/getting-started.md + docs/contributing.md (split from development.md)
- Simplify architecture.md to high-level layer overview with links to design docs
- Add docs/README.md as documentation navigation page

Add 8 why-first design documents under docs/design/:
- psi-and-mixin.md: mixin pattern rationale, feature interfaces
- symbol-resolution.md: two-phase resolve, scope hierarchy, root providers
- stub-indexing.md: stub design tradeoffs, index types, external data
- annotation-system.md: per-version annotators, validation philosophy
- code-completion.md: provider-per-context model, insert handlers
- compiler-system.md: in-process compiler rationale, plugin architecture
- prototext.md: separate language design, schema linking
- editions.md: feature-set model, migration from syntax versions

Overhaul README.md: visual layout, feature highlights, Copilot workflow section.
Add .intellijPlatform to .gitignore.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Mark brainstorm/docs-internals as Completed.
Update ship skill: final step is now PR creation (or push if PR exists).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@devkanro
devkanro merged commit 4b96c74 into main Mar 9, 2026
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant