Skip to content

Add defcell, generate-stubs, and LLM implementation guide#30

Merged
yogthos merged 1 commit intomainfrom
feature/llm-ergonomics
Mar 9, 2026
Merged

Add defcell, generate-stubs, and LLM implementation guide#30
yogthos merged 1 commit intomainfrom
feature/llm-ergonomics

Conversation

@yogthos
Copy link
Copy Markdown
Member

@yogthos yogthos commented Mar 9, 2026

  • cell/defcell: registers cells with no ID duplication. Accepts optional schema map with :doc, :requires, :async? lifted to spec.
  • dev/generate-stubs: generates defcell stub code from a workflow definition. Cells with schemas get pre-filled schemas, unregistered cells get TODO handlers.
  • docs/llm-guide.md: concise ~150-line reference for LLM context windows. Covers cell definition, workflow patterns, development workflow, and common mistakes identified in benchmark analysis.
  • Updated quick-reference.md, cookbook.md, and site creating-cells.md to use defcell as the recommended registration pattern.

- cell/defcell: registers cells with no ID duplication. Accepts
  optional schema map with :doc, :requires, :async? lifted to spec.
- dev/generate-stubs: generates defcell stub code from a workflow
  definition. Cells with schemas get pre-filled schemas, unregistered
  cells get TODO handlers.
- docs/llm-guide.md: concise ~150-line reference for LLM context
  windows. Covers cell definition, workflow patterns, development
  workflow, and common mistakes identified in benchmark analysis.
- Updated quick-reference.md, cookbook.md, and site creating-cells.md
  to use defcell as the recommended registration pattern.
@yogthos yogthos merged commit 5295321 into main Mar 9, 2026
1 check 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