Update Kolibri docs for the new Resource layer
❌ This issue is not open for contribution. Visit Contributing guidelines to learn about the contributing process and how to find suitable issues.
Overview
Update the Kolibri developer docs to reflect the new resource layer: the new methods, the request primitive, the reactive composables, and the guidance on how to add API calls. Remove references to the old methods and patterns.
Complexity: Medium Target branch: develop
Context
The developer docs describe the current resource layer — defining a Resource and using the old methods and the Model/Collection concepts. After the refactor, that guidance is inaccurate.
The Change
Update the Kolibri developer docs to describe the new resource layer — the new methods, the request primitive, the reactive composables, and how to add API calls — and remove references to the old methods, the Model/Collection classes, and the cache-management helpers.
Also check the packages/kolibri-sandbox README, whose sandbox messaging references Model/Collection data types, and update it if it depends on any of the removed pieces.
Out of Scope
- Code changes to the resource layer itself (covered by the earlier issues).
Acceptance Criteria
- [ ] Kolibri developer docs describe the new resource layer (new methods,
request, composables, how to add API calls). - [ ] Docs no longer reference the old methods, Model/Collection classes, or cache-management helpers.
- [ ]
packages/kolibri-sandboxREADME reviewed, and updated if it relies on removed pieces (or confirmed unaffected).
AI usage
I used Claude Code to help draft this issue from the resource-layer refactor plan. I reviewed and edited it and confirmed the scope myself.
Plan: Make the developer docs describe the post-refactor resource layer — request, the async methods, the reactive composables, and how to add an API call — and delete every reference to Model/Collection, the old methods, and the cache helpers.
- [ ] Canonical resource-layer page
- [ ] Point the data-flow narrative at the new page
- [ ] URL how-to — current examples, no dead sections
- [ ] Composables page — stop teaching a hand-rolled fetch
- [ ] Sandbox README and the repo-wide sweep
- [ ] Self-review the produced docs
@rtibblesbot's comments are generated by an LLM, and should be evaluated accordingly
How was this generated?
- Implemented code following the pre-approved plan using test-driven development (red-green-refactor)
- Ran the project's full test suite and linter before committing
- For UI changes: captured live screenshots to verify rendering
- For backend changes: verified with example API/CLI output