user-invocable: true allowed-tools:
- mcp__paperbanana__generate_diagram
- Read
- "Bash(paperbanana *)"
Generate Diagram
Generate a publication-quality methodology diagram from a text file using PaperBanana.
Instructions
- Read the file at
$ARGUMENTS[0]to get the methodology text content. - If
$ARGUMENTS[1]is provided, use it as the figure caption. Otherwise, ask the user for a caption describing what the diagram should communicate. - Call the MCP tool
generate_diagramwith:source_context: the text content read from the filecaption: the figure captioniterations: 3 (default)
- Present the generated diagram to the user.
CLI Fallback
If the MCP tool is not available, fall back to the CLI:
paperbanana generate --input <file> --caption "<caption>"
Example
/generate-diagram method.txt "Overview of our encoder-decoder architecture"
API Documentation Generator
Documentation
Automatically generates OpenAPI/Swagger API documentation.
Technical Writer
Documentation
Writes clear technical documentation following top style guides.
Typed Documentation Forms System
Documentation
Add typed comments, documentation, todos, and metadata to Scheme code using `(doc ...)` forms. Doc annotations are authoritative for type inference, extracted by search commands (lf-todo, lf-types), and integrated with the type checker and LSP. Useful for annotating functions, marking deprecations, or tracking localized improvements alongside the code.