Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

81 pages for comments.

Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.

Comments Claude Documentation · title claude-science/comments content-moderation Claude Developer Platform · in the page about-claude/use-case-guides/content-moderation …> ```python Python client = anthropic.Anthropic() allowed_user_comments = [ "This movie was great, I really enjoyed it. The main actor really killed it!", "I hate Mondays.", "… define-tools Claude Developer Platform · in the page agents-and-tools/tool-use/define-tools …/Tip> ### Model responses with tools When using tools, Claude often comments on what it's doing or responds naturally to the user before calling tools. For example, given the prompt "What's the wea… text-editor-tool Claude Developer Platform · in the page agents-and-tools/tool-use/text-editor-tool …edits. * **Documentation generation:** Ask Claude to add docstrings, comments, or README files to your code base. * **Test creation:** Have Claude create unit tests for your code based on its analysi… Compliance API Claude Developer Platform · in the page api/compliance …h the artifact and is not part of this record. - `"claude_artifact_comments_viewed"` An artifact's comments were viewed. - `"claude_artifact_created"` An artifact was created. - `"c… Activities Claude Developer Platform · in the page api/compliance/activities …h the artifact and is not part of this record. - `"claude_artifact_comments_viewed"` An artifact's comments were viewed. - `"claude_artifact_created"` An artifact was created. - `"c… Query compliance activities Claude Developer Platform · in the page api/compliance/activities/list …h the artifact and is not part of this record. - `"claude_artifact_comments_viewed"` An artifact's comments were viewed. - `"claude_artifact_created"` An artifact was created. - `"c… effort Claude Developer Platform · in the page build-with-claude/effort …ovide detailed summaries of changes * Include more comprehensive code comments ## Effort with thinking The `thinking` parameter controls whether Claude thinks in [thinking blocks](https://platform.c… claude-prompting-best-practices Claude Developer Platform · in the page build-with-claude/prompt-engineering/claude-prompting-best-practices …t need extra configurability. - Documentation: Don't add docstrings, comments, or type annotations to code you didn't change. Only add comments where the logic isn't self-evident. - Defensive coding… prompting-claude-fable-5 Claude Developer Platform · in the page build-with-claude/prompt-engineering/prompting-claude-fable-5 …s at length, producing heavily structured PR descriptions, or writing comments that narrate what the next line does. A short brevity instruction is as effective as listing each pattern: ```text wrap… cmek Claude Developer Platform · in the page manage-claude/cmek …ot store sensitive personal data in profile `metadata`. * Ratings and comments about the Claude Console that members send with its **Feedback** option. No setting turns these off; members send them on… WARNING: This operation PERMANENTLY deletes the chat, all of its messages, Claude Developer Platform · in the page manage-claude/compliance-content-data …ZIP archive with one Word (.docx) file for each tab that holds text. Comments, uploaded files, and edit history aren't included. Downloading Claude Docs through the Compliance API is in beta. ## Ret… Rewind file changes with checkpointing Claude Code CLI · in the page agent-sdk/file-checkpointing …hen resumes the session later to rewind files. The example's numbered comments match the steps that follow. ```python Python theme={null} import asyncio from claude_agent_sdk import ( ClaudeSDKCl… Stream responses in real-time Claude Code CLI · in the page agent-sdk/streaming-output …False async for message in query( prompt="Find all TODO comments in the codebase", options=options ): if isinstance(message, StreamEvent): event = message.event… Get structured output from agents Claude Code CLI · in the page agent-sdk/structured-outputs …d outputs work with multi-step tool use. The agent needs to find TODO comments in the codebase, then look up git blame information for each one. It autonomously decides which tools to use (Grep to sea… Orchestrate teams of Claude Code sessions Claude Code CLI · in the page agent-teams …heme={null} I'm designing a CLI tool that helps developers track TODO comments across their codebase. Spawn three teammates to explore this from different angles: one on UX, one on technical architect… Manage multiple agents with agent view Claude Code CLI · in the page agent-view …fferently depending on the command Claude runs: * When Claude edits, comments on, closes, or marks a pull request ready with `gh`, Claude Code links the pull request that the command's own output nam… Share session output as artifacts Claude Code CLI · in the page artifacts …n/tools-reference.md#webfetch-tool-behavior) still apply. ## Collect comments on an artifact When you share an artifact within your organization, the people you share it with can leave comments on t… Best practices for Claude Code Claude Code CLI · in the page best-practices …how to use it for creating issues, opening pull requests, and reading comments. Without `gh`, Claude can still use the GitHub API, but unauthenticated requests often hit rate limits. Claude is also e… Claude Code changelog Claude Code CLI · in the page changelog …channel * \[Code Review] Fixed Code Review ignoring `@claude review` comments from people with write access whose GitHub organization membership is private; their comments now start a review * \[Code… Use Claude Code in the cloud Claude Code CLI · in the page claude-code-on-the-web …emoved, like `+42 -18`. Select it to open the diff view, leave inline comments on specific lines, and send them to Claude with your next message. The diff view compares the session's changes against… Explore the .claude directory Claude Code CLI · in the page claude-directory …onment files and a secrets config into every worktree Claude creates. Comments start with # and blank lines are ignored, same as .gitignore.', example: `# Local environment .env .env.local #… Let Claude coordinate ongoing work with Projects Claude Code CLI · in the page claude-projects …other cloud sessions. It pushes fixes when CI fails, addresses review comments, and replies in the thread when checks pass and the pull request is ready for you. When a thread has pushed a branch or… Configure cloud environments Claude Code CLI · in the page cloud-environments …hat let Claude read issues, list pull requests, fetch diffs, and post comments without any setup. These tools authenticate through the [GitHub proxy](#github-proxy) using whichever method you configur… Code Review Claude Code CLI · in the page code-review …eview analyzes your GitHub pull requests and posts findings as inline comments on the lines of code where it found issues. A fleet of specialized agents examine the code changes in the context of your… Code Review costs and usage Claude Code CLI · in the page code-review-costs …| Code Review spend so far this month | | Feedback | Count of review comments that were auto-resolved because a developer addressed the issue | | Repository breakdown | Per-repo counts of PRs reviewe… Customize Code Review Claude Code CLI · in the page code-review-customize …y committing instructions to it. This is how you cut nit volume, stop comments on generated files, or add a rule your team cares about. Put them in one of two files: * **`CLAUDE.md`**: [project instr… Review locally with /code-review Claude Code CLI · in the page code-review-local …* `--comment`: posts the findings on a GitHub pull request as inline comments, or on a [GitLab merge request](#post-findings-to-a-gitlab-merge-request) as a single note **2. Keep working** The revi… Read and request reviews on a pull request Claude Code CLI · in the page code-review-pull-requests …pull requests in those repositories and posts its findings as inline comments, a summary in the review body, and a check run named **Claude Code Review**. A review never approves or blocks your pull… Set up Code Review Claude Code CLI · in the page code-review-setup …ion), it takes that organization row's setting instead. ### Turn tip comments on or off A tip comment is a short comment Claude posts on a pull request when no review starts, saying why and what to… Troubleshoot Code Review Claude Code CLI · in the page code-review-troubleshooting …see them on the diff, see [Find issues that aren't showing as inline comments](#find-issues-that-aren’t-showing-as-inline-comments) | | **Code review skipped — no new changes** | An automatic review… Commands Claude Code CLI · in the page commands …current branch's PR and pushes fixes when CI fails or reviewers leave comments. Detects the open PR from your checked-out branch with `gh pr view`; to watch a different PR, check out its branch first.… Common workflows Claude Code CLI · in the page common-workflows …code** ```text wrap theme={null} find functions without proper JSDoc comments in the auth module ``` **2. Generate documentation** ```text wrap theme={null} add JSDoc comments to the undocumented f… Desktop application Claude Code CLI · in the page desktop …pe your feedback and press **Enter** to add the comment. After adding comments to multiple lines, submit all comments at once: * **macOS**: press **Cmd+Enter** * **Windows**: press **Ctrl+Enter** Cl… Get started with the desktop app Claude Code CLI · in the page desktop-quickstart …ations file by file, and comment on specific lines. Claude reads your comments and revises. To have Claude review the changes itself, enter [`/code-review`](/docs/en/desktop#review-your-code) in the p… Environment variables Claude Code CLI · in the page env-vars …| | `CLAUDE_CODE_ARTIFACT_COMMENTS` | Set to `0` to stop Claude reading and replying to [comments on an artifact](/docs/en/artifacts… Claude Code GitHub Actions Claude Code CLI · in the page github-actions …y of the repository to work in * `if`: keeps runners from starting on comments that don't mention `@claude`. The Claude Code GitHub Action also checks the trigger phrase itself before responding Once… Use Claude Code GitHub Actions with cloud providers Claude Code CLI · in the page github-actions-cloud-providers …ub identity** The Claude Code GitHub Action pushes commits and posts comments through a GitHub identity. The [quick setup](/docs/en/github-actions.md#quick-setup) installs the official Claude GitHub… Claude Code with GitHub Enterprise Server Claude Code CLI · in the page github-enterprise-server …| | Pull requests | Read and write | Creating PRs and posting review comments | | Issues | Read and write | Responding to issue mentions | | Checks | Read and write | Posting Code Review check runs |… Claude Code GitLab CI/CD Claude Code CLI · in the page gitlab-ci-cd …Claude Code can: * Create and update MRs from issue descriptions or comments * Analyze performance regressions and propose optimizations * Implement features directly in a branch, then open an MR *… Automate actions with hooks Claude Code CLI · in the page hooks-guide …n to force a reload. * Verify your JSON is valid: trailing commas and comments aren't allowed * Confirm the settings file is in the correct location: `.claude/settings.json` for project hooks, `~/.cla… Interactive mode Claude Code CLI · in the page interactive-mode …off [artifact auto-replies](/docs/en/artifacts.md#let-claude-reply-to-comments-on-its-own) for the rest of it. Press twice within 3 seconds to confirm. You can press it while a background subagent's p… Customize keyboard shortcuts Claude Code CLI · in the page keybindings …off [artifact auto-replies](/docs/en/artifacts.md#let-claude-reply-to-comments-on-its-own) for the rest of it. Press the shortcut twice within 3 seconds to confirm. You can press it while a background… How Claude remembers your project Claude Code CLI · in the page memory …epos and large repos](/docs/en/large-codebases.md). Block-level HTML comments (`<!-- maintainer notes -->`) in CLAUDE.md files are stripped before the content is injected into Claude's context. Use t… Claude Code on mobile Claude Code CLI · in the page mobile …e-on-the-web.md#auto-fix-pull-requests) and fix CI failures or review comments as they arrive. To connect GitHub and set up your environment, follow the [cloud quickstart](/docs/en/web-quickstart.md),… Enterprise network configuration Claude Code CLI · in the page network-config …ucture can reach your GHES host to clone repositories and post review comments. Sessions in a [self-hosted environment](/docs/en/self-hosted-environments-deploy.md#configure-git) reach your GHES host… Output styles Claude Code CLI · in the page output-styles …labeled `Insight`. The explanations aren't written into your files as comments. An `Insight` block carries two or three points about your codebase or the code Claude wrote, such as this one after add… Choose a permission mode Claude Code CLI · in the page permission-modes …details for that recipient. PR and issue bodies, commit messages, and comments count as this kind of outbound content when the repository is outside the trust boundary or public, including your organi… Prompt library Claude Code CLI · in the page prompt-library …ent', roles: ['docs'], prompt: 'find {scope} without {format} comments and add them, matching the style already used in the file', slots: { scope: 'the public functions in src/auth/'… Automate work with scheduled tasks Claude Code CLI · in the page routines …duled task applies your team's own review checklist and leaves inline comments for security, performance, and style issues. It also adds a summary comment so human reviewers can focus on design instea…
Feedback