Skip to content

Add docgen-fixup skill - #208

Open
ernestognw wants to merge 2 commits into
mainfrom
add-docgen-fixup-skill
Open

Add docgen-fixup skill#208
ernestognw wants to merge 2 commits into
mainfrom
add-docgen-fixup-skill

Conversation

@ernestognw

Copy link
Copy Markdown
Member

Summary

  • Adds a skill under skills/docgen-fixup/ that catalogs the known regression patterns the docgen pipeline introduces on each auto-generated API docs PR (the ones opened by .github/workflows/generate-api-docs-*.yml), detects them on a specific PR, and applies direct MDX patches — while also flagging NatSpec / .adoc mistakes that should be fixed upstream in the source contracts repo.
  • Design principle carried over from the PR [CI] Update API docs for OpenZeppelin/openzeppelin-contracts v5.7.0-rc.0 #206 discussion: keep the transformer minimal, catalog regressions here, let upstream fixes propagate through the next regen. New regression patterns get appended to references/patterns.md as they emerge.
  • Seven patterns cataloged from PR [CI] Update API docs for OpenZeppelin/openzeppelin-contracts v5.7.0-rc.0 #206: broken code blocks, {Type} xref leaks, cross-contract method mis-linking, dangling struct/enum/UDVT anchors, trailing === in headings, orphaned [TIP]==== blocks, and broken external → internal URL rewrites. Each entry has symptom / detection / root cause / upstream fix / MDX patch / example.

Files

  • skills/docgen-fixup/SKILL.md — trigger, inputs, workflow overview.
  • skills/docgen-fixup/process.md — step-by-step workflow.
  • skills/docgen-fixup/references/patterns.md — the pattern catalog. Living document.
  • skills/docgen-fixup/references/report-template.md — final-report shape.

Test plan

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@ernestognw
ernestognw requested a review from stevep0z as a code owner July 15, 2026 20:23
@netlify

netlify Bot commented Jul 15, 2026

Copy link
Copy Markdown

Deploy Preview for openzeppelin-docs-v2 ready!

Name Link
🔨 Latest commit 1eadfd8
🔍 Latest deploy log https://app.netlify.com/projects/openzeppelin-docs-v2/deploys/6a57ef35aacc53000834ee22
😎 Deploy Preview https://deploy-preview-208--openzeppelin-docs-v2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

… pattern

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant