Documentation writer for README, AGENTS.md, CONTRIBUTING.md, and per-crate docs. Writes accurate, comprehensive documentation for both human and AI agent audiences.
NOTE: Startup and cleanup are handled by worker-base. This skill defines the WORK PROCEDURE.
Features that create or update documentation files (.md files). This includes README.md, AGENTS.md (root and per-crate), CONTRIBUTING.md, and any other markdown documentation.
None.
cargo test -p <crate> to understand test patternscargo check --workspace (ensure no compile errors introduced){
"salientSummary": "Created per-crate AGENTS.md for swell-llm covering responsibility (LLM backends), public API (AnthropicBackend, OpenAIBackend, ModelRouter, MockLlm), testing guide (cargo test -p swell-llm, uses MockLlm), patterns (reqwest HTTP, serde for API types), and integration points (swell-core::LlmBackend trait, swell-orchestrator agents).",
"whatWasImplemented": "Created crates/swell-llm/AGENTS.md with 5 required sections: responsibility, public API surface listing all exported types, testing guide with example commands, patterns (HTTP client, streaming, error handling), and integration points with swell-core and swell-orchestrator.",
"whatWasLeftUndone": "",
"verification": {
"commandsRun": [
{ "command": "cargo check --workspace", "exitCode": 0, "observation": "All crates compile" },
{ "command": "ls crates/swell-llm/AGENTS.md", "exitCode": 0, "observation": "File exists, 2.1KB" }
],
"interactiveChecks": []
},
"tests": { "added": [] },
"discoveredIssues": []
}