docyrus avatar

Docyrus Api Dev

This handles the full Docyrus API surface: OAuth2 PKCE auth via @docyrus/signin for React apps, querying data sources with filters and aggregations, managing tenant schema through studio endpoints (data sources, fields, views, templates), wiring up automations with typed triggers and action nodes, and sending email through tenant messaging accounts. You also get connector discovery and external provider requests routed through stored OAuth credentials. Reach for this when you're building a Docyrus-integrated app and need more than REST docs. It knows the difference between dynamic tenant endpoints that only exist if the data source is defined versus always-available system routes, and it understands the automation graph model with its dozen action node types.

skills.sh installs
847
GitHub stars
13
last updated
Aug 21, 2026

Install

$ npx -y skills add docyrus/agent-skills --skill docyrus-api-dev --agent claude-code

Installs into .claude/skills of the current project.

Files

Docyrus API Developer

Integrate with the Docyrus API using @docyrus/api-client (REST client) and @docyrus/signin (React auth provider). Authenticate via OAuth2 PKCE, query data sources with powerful filtering/aggregation, and consume REST endpoints.

Authentication Quick Start

React Apps — Use @docyrus/signin

import { DocyrusAuthProvider, useDocyrusAuth, useDocyrusClient, SignInButton } from '@docyrus/signin'

// 1. Wrap root
<DocyrusAuthProvider
  apiUrl={import.meta.env.VITE_API_BASE_URL}
  clientId={import.meta.env.VITE_OAUTH2_CLIENT_ID}
  redirectUri={import.meta.env.VITE_OAUTH2_REDIRECT_URI}
  scopes={['offline_access', 'Read.All', 'DS.ReadWrite.All', 'Users.Read']}
  callbackPath="/auth/callback"
>
  <App />
</DocyrusAuthProvider>

// 2. Use hooks
function App() {
  const { status, signOut } = useDocyrusAuth()
  const client = useDocyrusClient()  // RestApiClient | null

  if (status === 'loading') return <Spinner />
  if (status === 'unauthenticated') return <SignInButton />

  // client is ready — make API calls
  const user = await client!.get('/v1/users/me')
}

Non-React / Server — Use OAuth2Client Directly

Sponsors

Details

Repository
github.com/docyrus/agent-skills
Categories
Backend & APIs, Security, AI & Agent Building, Sales & Marketing
First seen
Jun 3, 2026

More from docyrus/agent-skills

All 2
1alirezarezvani avatarsql-database-assistantalirezarezvani/claude-skillsUse when the user asks to write SQL queries, optimize database performance, generate migrations, explore database schemas, or work with ORMs like Prisma, Drizzl763skills.sh installs
2bobmatnyc avatarnodejs-backend-typescriptbobmatnyc/claude-mpm-skillsNode.js backend development with TypeScript, Express/Fastify servers, routing, middleware, and database integration745skills.sh installs
3mindrally avatarsupabase-developmentmindrally/skillsSupabase development guidelines for database, authentication, real-time subscriptions, and Edge Functions.724skills.sh installs
4davila7 avatarpubmed-databasedavila7/claude-code-templatesDirect REST API access to PubMed. Advanced Boolean/MeSH queries, E-utilities API, batch processing, citation management. For Python workflows, prefer biopython 713skills.sh installs
5moizibnyousaf avatardatabase-designmoizibnyousaf/ai-agent-skillsDatabase schema design, optimization, and migration patterns for PostgreSQL, MySQL, and NoSQL databases. Use for designing schemas, writing migrations, or optim615skills.sh installs
6proffesor-for-testing avatarapi-testing-patternsproffesor-for-testing/agentic-qeComprehensive API testing patterns including contract testing, REST/GraphQL testing, and integration testing. Use when testing APIs or designing API test strate609skills.sh installs