Skip to content

Add Unit SDK docs sync automation prompt#75

Closed
avesk wants to merge 1 commit into
masterfrom
docs/sdk-docs-sync-automation-prompt
Closed

Add Unit SDK docs sync automation prompt#75
avesk wants to merge 1 commit into
masterfrom
docs/sdk-docs-sync-automation-prompt

Conversation

@avesk
Copy link
Copy Markdown
Collaborator

@avesk avesk commented May 14, 2026

Summary

Adds .cursor/prompts/unit-sdk-docs-sync-automation.md: the tightened automation prompt from the audit (audit_sdk_sync_automation plan).

This gives recurring docs-sync automation:

  • Prerequisites (sdk-guide + python-sdk rule), idempotency (gh pr list), upstream git log snippet for PR body
  • Accurate DTO guidance (@staticmethod from_json_api, self.attributes camelCase vs snake_case kwargs, codecs vs nested sub-objects only)
  • Additive-only policy with a Manual review needed section for renames/removals/type flips
  • Cap of 5 resources per run; one PR per automated run with one commit per resource; draft PR + Mirror notes
  • Import verification (DtoDecoder / mappings)

Note

Graphite gt submit failed here with the repo not in Graphite synced repos (Edit your synced repos at https://app.graphite.com/settings/synced-repos). Import this repository there, then stacks/PR workflows from Graphite apply. The PR was opened via gh pr create.

Made with Cursor

@avesk avesk closed this May 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant