improve: enhance api-architect with GraphQL, security, and scoped tooling#561
Merged
Conversation
…ling - Rewrote description with 3 trigger examples using <example>/<commentary> tags - Expanded scope to cover full GraphQL architecture: SDL-first vs code-first, resolver pattern, DataLoader for N+1 prevention, federation, persisted queries, query depth/complexity limiting, and production introspection disabling - Removed erroneous "Code Interpreter" reference; replaced with Write/Edit tool instruction - Added mandatory Security Checklist section covering TLS, auth schemes, rate limiting, OWASP API Security Top 10, and GraphQL-specific controls - Removed Bash from tools (Read, Grep, Glob, Edit, Write only); added permissionMode: acceptEdits - Added API versioning and lifecycle guidance (URL/header/query-param for REST, @deprecated directive lifecycle for GraphQL) - Added model: sonnet and color: blue frontmatter fields Automated review cycle | Co-Authored-By: Claude Code <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
👋 Thanks for contributing, @davila7!This PR touches What happens next
While you wait
This is an automated message. No action is required from you right now — a maintainer will review soon. |
Contributor
|
| Metric | Count |
|---|---|
| Total Components | 763 |
| ✅ Passed | 359 |
| ❌ Failed | 404 |
| 1005 |
❌ Failed Components (Top 5)
| Component | Errors | Warnings | Score |
|---|---|---|---|
vercel-edge-function |
3 | 4 | 81/100 |
prompt-engineer |
2 | 0 | 90/100 |
neon-expert |
2 | 2 | 88/100 |
agent-overview |
2 | 1 | 89/100 |
unused-code-cleaner |
2 | 1 | 89/100 |
...and 399 more failed component(s)
📊 View Full Report for detailed error messages and all components
davila7
added a commit
that referenced
this pull request
May 3, 2026
Reflects merged improvements to cli-tool/components/agents/api-graphql/api-architect.md. Automated by pr-verification cycle | Co-Authored-By: Claude Code <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Automated Component Improvement
Changes
<example>/<commentary>blocks covering GraphQL schema design, resilient REST client generation, and API-style selection — matching the pattern used bysecurity-auditorandfullstack-developer.WriteorEdittool for file output.Bashfrom tools; list is nowRead, Grep, Glob, Edit, Write. AddedpermissionMode: acceptEdits.@deprecateddirective lifecycle rule.model: sonnetandcolor: blue.Research Summary
The original component had a narrow REST-only scope despite living in the
api-graphqlcategory, a vague description that provided no delegation signal, an erroneous "Code Interpreter" reference, and no security guidance. The improvements expand the scope to match the category, make the agent delegatable through concrete examples, and enforce security as a first-class concern.Validation
Automated review cycle by Component Improvement Loop
Summary by cubic
Enhanced the
api-architectcomponent with full GraphQL guidance, a mandatory security checklist, API versioning rules, and scoped tooling to produce safer, more robust API designs and code.cli-tool/components/); modifiedagents/api-graphql/api-architect.md. No new components; catalog (docs/components.json) regen not needed. No new environment variables or secrets.Read,Grep,Glob,Edit,Write; addedpermissionMode: acceptEdits; replaced “Code Interpreter” reference with Write/Edit usage; clarified “say 'generate' before code” rule.@deprecateddirective), plus new frontmatter fieldsmodel: sonnetandcolor: blue.Written for commit ca3296b. Summary will update on new commits.