Commit Graph

4 Commits

Author SHA1 Message Date
Daniel Avila 1ae011f168 improve: enhance api-architect agent with idempotency, OAuth 2.1, and RFC 9457 guidance (#789)
* improve: enhance api-architect agent based on automated review

- Add idempotency-key guidance (Idempotency-Key header) for retry/backoff on non-idempotent methods
- Update auth guidance from OAuth 2.0 to OAuth 2.1 (PKCE S256, Client Credentials, no Implicit/ROPC)
- Resolve REST/GraphQL/gRPC scope inconsistency (gRPC recommendations hand off to api-designer)
- Adopt RFC 9457 Problem Details as the REST error contract
- Reference standard rate-limit headers (RateLimit, RateLimit-Policy, Retry-After) in resilience/security guidance
- Add cursor/offset pagination guidance for GET-all
- Add OpenTelemetry tracing guidance for the resilience layer
- Add Deliverables, Bash Usage Constraint, and Integration with Other Agents sections (mirroring api-designer.md conventions)
- Scope Bash tool access to output validation (redocly lint, graphql-inspector validate)

Automated review cycle | Co-Authored-By: Claude Code <noreply@anthropic.com>

* fix: address PR review findings in api-architect

- Add PATCH to the REST methods intake list — the new idempotency
  default already referenced POST/PATCH but PATCH wasn't selectable
- Fix rate-limit header mismatch: client-side backoff now parses the
  RateLimit header's reset parameter instead of a nonexistent
  RateLimit-Reset header, matching what the security checklist tells
  servers to emit

Addresses review-bot findings on PR #789.

* fix: correct RateLimit header parameter name to t

draft-ietf-httpapi-ratelimit-headers-11 uses the t parameter
(effective window in seconds) on the RateLimit header, not a
"reset" parameter. Addresses greptile-apps follow-up finding on
PR #789.

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-08-08 10:06:38 -04:00
Daniel Avila d9e3036e66 improve: enhance api-architect with GraphQL, security, and scoped tooling (#561)
- 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>
2026-05-03 17:10:21 -04:00
Daniel Avila e42e8ba19c fix: remove shorthand model names causing 404 API errors (#453)
Remove `model: sonnet/haiku/opus` from 396 component files. The Anthropic
API requires full model IDs (e.g., claude-sonnet-4-6), so shorthand names
cause 404 errors. Removing the field lets Claude Code use the user's
configured default model instead.

Fixes #99

https://claude.ai/code/session_01Hqx78XZNbdfh38YGZn4g4T

Co-authored-by: Claude <noreply@anthropic.com>
2026-03-25 20:19:17 -04:00
Daniel Avila 9c73bb2532 feat: Add 135 agents and 7 skills from awesome-copilot repository (#263)
Imported and converted components from github.com/github/awesome-copilot:
- 135 agents covering various domains (security, devops, web development, etc.)
- 7 skills converted to commands (GitHub issues, NuGet, Azure, testing, etc.)

New agent categories:
- Programming languages experts (C#, Python, Rust, TypeScript, etc.)
- Azure and cloud infrastructure specialists
- Web development experts (React, Next.js, accessibility)
- Security and DevOps specialists
- Data and AI specialists

New command categories:
- Azure (AppInsights, role selector)
- Database (Snowflake)
- Design (web design reviewer)
- Project management (GitHub issues, NuGet manager)
- Testing (webapp testing)

All components converted from awesome-copilot format to claude-code-templates format with appropriate frontmatter and categorization.

Co-authored-by: Claude <noreply@anthropic.com>
2026-01-17 21:07:01 -05:00