Repository navigation
docs: Shorten Debugging with agents, give agents the __DC__ steps - #4447
Conversation
The site section now shows what to ask your agent and what it needs. The .md/llms version instead tells agents how to read __DC__, with the recent-actions and errors snippets, and where the full devtools-debugging reference is. check:browser-snippets fails if those copies drift. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GdtHs1YHGyHL3LtFQtD1W7
The Debugging page's agent steps and the devtools-debugging reference now import the same recent-actions and errors partials, so the drift check is gone. Trimmed the agent prose to the steps and one pointer. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GdtHs1YHGyHL3LtFQtD1W7
|
Docs preview: https://docs-site-pr-4447-data-client.vercel.app Built from 94e098a merged into |
The Debugging page's agent steps now also import the response-for-a-key snippet, say to await with CDP like the reference does, and note the Todo placeholders. The rule, README and checker header say partials hold some snippets. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GdtHs1YHGyHL3LtFQtD1W7
|
|
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GdtHs1YHGyHL3LtFQtD1W7
…n't work with Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GdtHs1YHGyHL3LtFQtD1W7
…tion Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GdtHs1YHGyHL3LtFQtD1W7
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GdtHs1YHGyHL3LtFQtD1W7
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GdtHs1YHGyHL3LtFQtD1W7
…page The page's markdown (.md, llms.txt) now embeds docs/core/_agents/devtools-debugging.md in <AgentOnly>, so agents reading it get what the skill reference gives, plus one line on the browser extension to tell the user about. Manual debugging is site-only. remarkFramework strips <AgentOnly> on the site before the table of contents is built, so it can hold headings and partials. Links to _agents pages in page markdown go to the skill's generated copy on GitHub. The issue prompt now checks for duplicates, follows the bug template, redacts app data and asks first. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GdtHs1YHGyHL3LtFQtD1W7
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GdtHs1YHGyHL3LtFQtD1W7
…mark flag keepAgentOnly Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GdtHs1YHGyHL3LtFQtD1W7
Requested by Nathaniel · project thread
Motivation
"Debugging with agents" on the Debugging page explained internals to humans, and agents reading the page's
.md/llms version got the same human prose plus the manual Redux DevTools walkthrough, instead of the debugging guide the skill gives them.Solution
<SiteOnly>): leads with whatglobalThis.__DC__gives agents, one example prompt, the browser tools it needs, and an issue link plus a prompt that has the agent draft the bug report (searches for duplicates, follows the bug template, leaves out app data, shows the draft first). Manual debugging is site-only.<AgentOnly>, in.mdand llms.txt): the wholedocs/core/_agents/devtools-debugging.mdguide (the same source as the skill'sdevtools-debuggingreference), plus one line telling the agent to point the user to the browser extension if they want to inspect manually.remarkFrameworkremoves<AgentOnly>on the site before the table of contents is built, so agent-only content can hold headings and partials._agentspages (browser setup guides) go to the skill's generated copy on GitHub (agentReferenceUrl), since those pages aren't published.The
#debugging-with-agentsanchor is unchanged.🤖 Generated with Claude Code
https://claude.ai/code/session_01GdtHs1YHGyHL3LtFQtD1W7
Note
Low Risk
Documentation and static-site markdown generation only; no runtime app or API behavior changes.
Overview
Splits the Debugging page so humans and agents get different content: site readers see a shorter Debugging with agents section (
__DC__, example prompts, required browser tools, issue/report prompts) while Manual debugging stays site-only; agent-facing.md/llms.txtoutput keeps the fulldevtools-debuggingguide via<AgentOnly>plus a line pointing users to the Redux DevTools section on the site.Pipeline changes:
remarkFrameworknow drops<AgentOnly>when building the Docusaurus site (default) but preserves it whendocsToMarkdownruns withkeepAgentOnly: true, so agent-only blocks can include headings and_agents/partials without polluting the site TOC.llms-pluginresolves links to unpublished/_agents/routes to the matching skill reference on GitHub (agentReferenceUrl). Contributor rules in.claude/.cursorskills-sync docs are updated to match.Reviewed by Cursor Bugbot for commit 94e098a. Bugbot is set up for automated code reviews on this repo. Configure here.