Skip to content

chore(ls): add skill for reviewing apidom-ls changes against spec#5183

Open
robert-hebel-sb wants to merge 4 commits into
mainfrom
chore/add-review-ls-changes-skill
Open

chore(ls): add skill for reviewing apidom-ls changes against spec#5183
robert-hebel-sb wants to merge 4 commits into
mainfrom
chore/add-review-ls-changes-skill

Conversation

@robert-hebel-sb

Copy link
Copy Markdown
Contributor

Summary

  • Adds .claude/skills/review-ls-changes/SKILL.md — a new Claude Code skill invoked via /review-ls-changes
  • Updates .claude/skills/SKILL-SUMMARY.md with an entry for the new skill

The skill performs structured spec-compliance reviews of apidom-ls configuration for any specification namespace. It checks:

  • Lint rules (required-field rules match spec Yes/No designations; allowed-fields lists are complete)
  • Documentation values (required/optional labels, field descriptions)
  • Documentation URL anchors (anchor format correct per spec site)
  • Element config coverage (all namespace elements registered in config.ts)

The skill was developed from the A2A 1.0 implementation review (PROVCON-5343) and encodes the lessons learned:

  • curl+Python HTMLParser fallback when WebFetch truncates long spec pages
  • Deprecated flow detection (ImplicitOAuthFlow / PasswordOAuthFlow have no spec field tables)
  • Systematic scopes--required.ts gap pattern across OAuth flows
  • Anchor format rules per spec site (/specification/ uses numbered anchors; /definitions/ uses kebab-case)
  • Structured report template requiring spec citations for every finding

Test plan

  • Invoke /review-ls-changes in a Claude Code session and confirm it prompts for spec URL, config dir, and namespace package
  • Verify the curl+Python extraction snippet works against https://a2a-protocol.org/latest/specification/
  • Run a review against packages/apidom-ls/src/config/a2a/ and confirm report structure matches the template

🤖 Generated with Claude Code

robert-hebel-sb and others added 4 commits June 9, 2026 15:33
Adds a Claude Code skill that automates spec-compliance review of
apidom-ls configuration for any specification namespace. The skill
encodes lessons from the A2A 1.0 review (PROVCON-5343): curl+Python
fallback for long spec pages, deprecated-flow detection, systematic
scopes gap checks, anchor format rules per spec site, and a structured
report template with spec citations for every finding.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Add coverage for type lint rules, completion file checks, discriminated
union subtype registration, deprecated object detection, and
enum/value-constraint rules — all gaps identified from the A2A 1.0
review comments.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…lessons

Remove all A2A-specific references (examples, section headings, Key Lessons
attribution) and generalize to apply to any spec namespace. Add improvements
derived from PR #5110 review: new-field coverage when extending a parent
version, version-scoped allowed-fields completeness, and array-of-objects
linter function pattern.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
… skill

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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