Skip to content

docs: update Claude docs from PR review analysis#360

Merged
ninja-shreyash merged 5 commits intomainfrom
claude-docs-update/2026-04-08
Apr 14, 2026
Merged

docs: update Claude docs from PR review analysis#360
ninja-shreyash merged 5 commits intomainfrom
claude-docs-update/2026-04-08

Conversation

@claude
Copy link
Copy Markdown
Contributor

@claude claude bot commented Apr 8, 2026

Summary

Weekly analysis of PR comments (2026-04-06 -> 2026-04-13).
Analyzed 9 PRs with ~120 comments. Found 4 actionable insights across 2 runs.

Changes

agent_docs/conventions.md

  • Barrel files must use export * from, not export type * fromexport type silently drops runtime values (enums, class constructors).
    Source: PR Add Feedback service [PLT-92499] #184 (previous run)

  • Data Fabric exception to transform pipeline — Do NOT apply pascalToCamelCaseKeys() or field-rename transforms to DF entity record fields. User-defined column names must be returned exactly as the API sends them — casing is part of the schema contract.
    Source: PR Remove camelCase conversion in DF methods [PLT-99360] #327@maninder-uipath raised concern about transforming DF fields; team removed transforms entirely to avoid breaking field-name contracts with DF consumers.

  • Include output/attachment indicator fields in response types — When an entity response can reference a file/attachment, include the key field (e.g., outputFile on Job) in Raw{Entity}GetResponse so callers know to call the output method.
    Source: PR feat(jobs): onboard getOutput method [PLT-100430] #320@swati354 noted that without outputFile in JobGetResponse, users with empty outputArguments would have no signal that file output was available.

agent_docs/rules.md

No changes

  • CLAUDE.md — no relevant insights
  • Agents.md — no relevant insights
  • agent_docs/architecture.md — no relevant insights

PRs Analyzed

PR Title Comments
#291 feat(docs): update docs with coded app deployment ~40 (all docs formatting/content, not SDK patterns)
#361 feat(ci): inline code review comments + scope docs skill to merged PRs 1 (GitHub security bot)
#359 1.3.0 0
#357 fix: claude-docs-update workflow auth failure 0
#351 feat: add enhance-claude-docs skill and weekly workflow 2
#320 feat(jobs): onboard getOutput method ~25
#346 fix(integration): retry download after upload to handle API delay 0
#339 feat: add codeowners 0
#327 Remove camelCase conversion in DF methods 3

…04-08)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@claude claude bot added the claude-docs-update Automated Claude docs enhancement label Apr 8, 2026
@claude claude bot requested a review from ninja-shreyash April 8, 2026 07:36
@claude claude bot added the claude-docs-update Automated Claude docs enhancement label Apr 8, 2026
@claude claude bot requested a review from a team April 8, 2026 07:36
…04-13)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Doc files should be self-contained guidance, not a changelog. Removes
(Source: PR #N) and @Reviewer references from the new rules/conventions
introduced in this PR. Provenance stays in the PR description.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Comment thread agent_docs/conventions.md Outdated
Comment thread agent_docs/rules.md Outdated
Comment thread agent_docs/rules.md Outdated
@Sarath1018
Copy link
Copy Markdown
Contributor

It took the suggestions from Open PRs as well. Did we not change the logic to consider only merged PRs after security team raised concern

Copy link
Copy Markdown
Contributor

@Sarath1018 Sarath1018 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor comments rest LGTM

Comment thread agent_docs/rules.md Outdated
Co-authored-by: Shreyash <ninja-shreyash@users.noreply.github.com>
@ninja-shreyash
Copy link
Copy Markdown
Contributor

It took the suggestions from Open PRs as well. Did we not change the logic to consider only merged PRs after security team raised concern

This is because we raised this PR before the security concern. After that the workflow is already updated so this is not an issue.

Move all coding anti-patterns (NEVER rules) from rules.md into
conventions.md as inline annotations next to their related conventions.
rules.md now only contains testing, documentation, and quality guidelines.

- Add inline NEVERs to conventions.md only where they add non-obvious
  value (specific traps, unique why) — not mere inversions
- Remove entire NEVER Do section from rules.md, rename to Testing & Quality
- Fold unique test/docs NEVERs into their respective sections in rules.md
- Update enhance-claude-docs skill to route anti-patterns to conventions.md
- Move output/attachment indicator to Service model section per review feedback
- Incorporate PR #360 new insights in correct locations

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@sonarqubecloud
Copy link
Copy Markdown

Comment thread agent_docs/conventions.md
@claude
Copy link
Copy Markdown
Contributor Author

claude bot commented Apr 14, 2026

Review summary

One new finding this run:

agent_docs/conventions.md line 235 — The restructuring dropped a NEVER rule from the old rules.md Endpoints section: "NEVER bypass base service classes — never directly instantiate HTTP clients; use this.get(), this.post() from BaseService." This was an explicit capture of a real PR rejection. The positive pattern description at line 18 exists, but the anti-pattern NEVER was lost. Suggest adding it to the new Code hygiene section.

@ninja-shreyash ninja-shreyash merged commit 83b95fb into main Apr 14, 2026
20 checks passed
@ninja-shreyash ninja-shreyash deleted the claude-docs-update/2026-04-08 branch April 14, 2026 12:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

claude-docs-update Automated Claude docs enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants