GET /api/users/:id

GET /api/users/:id GET /api/users/:id【免费下载链接】claude-howtoA visual, example-driven guide to Claude Code — from basic concepts to advanced agents, with copy-paste templates that bring immediate value.项目地址: https://gitcode.com/GitHub_Trending/cl/claude-howtoRetrieves a user by their unique identifier.ParametersNameTypeRequiredDescriptionidstringYesThe users unique identifierResponse{ id: abc123, name: John Doe, email: johnexample.com }ErrorsCodeDescription404User not found401UnauthorizedExamplecurl -X GET https://api.example.com/api/users/abc123 \ -H Authorization: Bearer token可以对照验证它是否满足五条标准语言平实清晰性、含可复制 curl示例、参数/响应/错误全覆盖全面性、表格与代码块排版统一结构性、响应与 curl 指向同一资源模型准确性。code-reviewer、documentation-writer 所在目录与 [07-plugins/documentation/templates/](https://link.gitcode.com/i/fa394015b09cd6c7e60019795037fc09) 中的 [api-endpoint.md](https://link.gitcode.com/i/9039e871ddac1fa971669d866dfd7c92) 模板相互印证前者是「标准示范」后者是「可填空的脚手架」组合使用即可批量生产风格统一的接口文档。 ## 八、把 documentation-writer 用起来安装与委派 ### 8.1 安装到自己的项目 [04-subagents/README.md](https://link.gitcode.com/i/c279947d991c1599144a3246d97aef39) 给出两种推荐路径任选其一 **方式一直接让 Claude 代劳。** 在会话中要求「创建一个专注文档撰写的子代理」主会话会自动生成 .claude/agents/name.md再手调即可。 **方式二复制文件。** 把仓库中的定义复制到项目级或用户级目录 bash # 项目级当前项目可用 mkdir -p .claude/agents cp 04-subagents/documentation-writer.md .claude/agents/ # 用户级所有项目可用 mkdir -p ~/.claude/agents cp 04-subagents/documentation-writer.md ~/.claude/agents/ 注意本项目仓库只读此处的复制动作应在**你自己的目标项目**中执行。子代理的加载优先级依次为 CLI 定义--agents 项目级 .claude/agents/ 用户级 ~/.claude/agents/ 插件 agents同名时高优先级生效。 ### 8.2 触发它干活 在会话中显式点名即可完成委派例如 text 用 documentation-writer 子代理为 src/api 下的接口生成一份 API 文档 让 documentation-writer 检查我们 README 的示例是否与真实代码一致【免费下载链接】claude-howtoA visual, example-driven guide to Claude Code — from basic concepts to advanced agents, with copy-paste templates that bring immediate value.项目地址: https://gitcode.com/GitHub_Trending/cl/claude-howto创作声明:本文部分内容由AI辅助生成(AIGC),仅供参考