Skip to content

feat(suggest): add API technology detection — GraphQL, gRPC, tRPC, OpenAPI#309

Merged
yacosta738 merged 1 commit intomainfrom
feature/dallay-242-api-technology-detection
Apr 3, 2026
Merged

feat(suggest): add API technology detection — GraphQL, gRPC, tRPC, OpenAPI#309
yacosta738 merged 1 commit intomainfrom
feature/dallay-242-api-technology-detection

Conversation

@yacosta738
Copy link
Copy Markdown
Contributor

Add 4 new technologies to skill suggestion catalog:

  • GraphQL: packages, config_files, file_extensions detection
  • gRPC: packages, file_extensions (.proto) detection
  • tRPC: packages detection
  • OpenAPI: config_files, packages detection

Add 4 corresponding skill entries (2 dallay-owned, 2 external).

Closes #301

@linear
Copy link
Copy Markdown

linear bot commented Apr 3, 2026

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Apr 3, 2026

Warning

Rate limit exceeded

@yacosta738 has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 23 minutes and 36 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 23 minutes and 36 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: c195e942-fada-4fc4-90a1-caa3006ee816

📥 Commits

Reviewing files that changed from the base of the PR and between 74ea405 and 389ed06.

📒 Files selected for processing (1)
  • src/skills/catalog.v1.toml
📝 Walkthrough

Walkthrough

This change extends the skills catalog with four new API technology definitions—GraphQL, gRPC, tRPC, and OpenAPI—each paired with associated skills and detection heuristics using packages, config files, and file extensions to identify these technologies in projects.

Changes

Cohort / File(s) Summary
API Technologies Catalog Entries
src/skills/catalog.v1.toml
Added four new skills (graphql-schema, grpc-api, trpc-type-safety, openapi-to-application-code) and corresponding technology definitions with detection heuristics via packages, config files, and file extensions.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

Poem

🐰 Hop hop, new APIs we detect with glee!
GraphQL, gRPC, tRPC in harmony,
OpenAPI too, in the catalog neat,
Technology skills, making detection complete!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately and concisely describes the main change—adding API technology detection for four specific technologies (GraphQL, gRPC, tRPC, OpenAPI) to the skill catalog.
Description check ✅ Passed The description is directly related to the changeset, listing the four technologies added, their detection methods, and the number of corresponding skill entries.
Linked Issues check ✅ Passed The pull request implements all requirements from issue #301: adds four technologies (GraphQL, gRPC, tRPC, OpenAPI) with correct detection methods (packages, config_files, file_extensions) and corresponding skill entries.
Out of Scope Changes check ✅ Passed All changes are scoped to adding the four requested API technologies and their corresponding skills to the catalog, with no unrelated modifications detected.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/dallay-242-api-technology-detection

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@sentry
Copy link
Copy Markdown

sentry bot commented Apr 3, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@src/skills/catalog.v1.toml`:
- Around line 1636-1639: In the [technologies.detect] block update the
config_files heuristics to avoid false positives by removing the overly generic
"codegen.ts" and "codegen.yml" entries and replacing them with more specific
GraphQL-targeted filenames (e.g., "codegen.graphql.ts" and "codegen.graphql.yml"
or "codegen-graphql.ts" / "codegen-graphql.yml") so that the config_files array
under the technologies.detect section only matches GraphQL-specific codegen
files.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: e26040a3-a69a-4df0-b5bf-da984fc212f5

📥 Commits

Reviewing files that changed from the base of the PR and between 2ccca0b and 74ea405.

📒 Files selected for processing (1)
  • src/skills/catalog.v1.toml

Comment on lines +1636 to +1639
[technologies.detect]
packages = ["graphql", "@apollo/client", "@apollo/server", "urql", "graphql-yoga", "@graphql-tools/schema"]
config_files = [".graphqlrc", ".graphqlrc.json", ".graphqlrc.yaml", ".graphqlrc.yml", "codegen.ts", "codegen.yml"]
file_extensions = [".graphql", ".gql"]
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟠 Major

Narrow GraphQL config-file heuristics to avoid false positives.

On Line 1638, codegen.ts / codegen.yml are too generic for existence-only matching and can incorrectly classify non-GraphQL repos as GraphQL.

Suggested fix
 [technologies.detect]
 packages = ["graphql", "@apollo/client", "@apollo/server", "urql", "graphql-yoga", "@graphql-tools/schema"]
-config_files = [".graphqlrc", ".graphqlrc.json", ".graphqlrc.yaml", ".graphqlrc.yml", "codegen.ts", "codegen.yml"]
+config_files = [".graphqlrc", ".graphqlrc.json", ".graphqlrc.yaml", ".graphqlrc.yml"]
 file_extensions = [".graphql", ".gql"]
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
[technologies.detect]
packages = ["graphql", "@apollo/client", "@apollo/server", "urql", "graphql-yoga", "@graphql-tools/schema"]
config_files = [".graphqlrc", ".graphqlrc.json", ".graphqlrc.yaml", ".graphqlrc.yml", "codegen.ts", "codegen.yml"]
file_extensions = [".graphql", ".gql"]
[technologies.detect]
packages = ["graphql", "@apollo/client", "@apollo/server", "urql", "graphql-yoga", "@graphql-tools/schema"]
config_files = [".graphqlrc", ".graphqlrc.json", ".graphqlrc.yaml", ".graphqlrc.yml"]
file_extensions = [".graphql", ".gql"]
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@src/skills/catalog.v1.toml` around lines 1636 - 1639, In the
[technologies.detect] block update the config_files heuristics to avoid false
positives by removing the overly generic "codegen.ts" and "codegen.yml" entries
and replacing them with more specific GraphQL-targeted filenames (e.g.,
"codegen.graphql.ts" and "codegen.graphql.yml" or "codegen-graphql.ts" /
"codegen-graphql.yml") so that the config_files array under the
technologies.detect section only matches GraphQL-specific codegen files.

…enAPI

Add 4 new technologies to skill suggestion catalog:
- GraphQL: packages, config_files, file_extensions detection
- gRPC: packages, file_extensions (.proto) detection
- tRPC: packages detection
- OpenAPI: config_files, packages detection

Add 4 corresponding skill entries (2 dallay-owned, 2 external).

Closes #301
@yacosta738 yacosta738 force-pushed the feature/dallay-242-api-technology-detection branch from 74ea405 to 389ed06 Compare April 3, 2026 17:52
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Apr 3, 2026

@yacosta738 yacosta738 merged commit 7bae96b into main Apr 3, 2026
25 of 26 checks passed
@yacosta738 yacosta738 deleted the feature/dallay-242-api-technology-detection branch April 3, 2026 18:40
@dallay-bot dallay-bot bot mentioned this pull request Apr 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(suggest): add API technology detection — GraphQL, gRPC, tRPC, OpenAPI

1 participant