Agent skill · Backend & API

api-add-gql-mutation

Add a new GraphQL mutation to an existing schema in daily-api with validation, resolvers, and tests

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill api-add-gql-mutation --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 12 KB
Bundled scripts: none
Path: skills/api/api-add-gql-mutation/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Add a New GraphQL Mutation You are adding a new mutation to an **existing** GraphQL schema file in daily-api. Follow this skill step by step. ## Context Loading Before writing any code, read these files for code style rules and conventions: 1. `AGENTS.md` (project root) — code style, architecture, best practices 2. `src/graphorm/AGENTS.md` — GraphORM is read-only; mutations use TypeORM repositories These are the source of truth for all code style decisions. Do not deviate from them. ## Step 0 — Gather Requirements Before writing any code, ask the user the following questions **in this order**: ### 1. Target schema file > **Which existing `src/schema/<domain>.ts` file should receive this mutation?** Existing schema files for reference: `achievements`, `actions`, `alerts`, `autocompletes`, `bookmarks`, `campaigns`, `comments`, `common`, `compatibility`, `contentPreference`, `devcards`, `feedback`, `feeds`, `gear`, `integrations`, `keywords`, `leaderboard`, `njord`, `notifications`, `opportunity`, `organizations`, `paddle`, `personalAccessTokens`, `posts`, `profile`, `prompts`, `search`, `settings`, `sourceRequests`, `sourceStack`, `sources`, `submissions`, `tags`, `trace`, `urlShor

What's inside
Steps it walks through
  1. Context Loading
  2. Step 0 — Gather Requirements
  3. 1. Target schema file
  4. 2. Mutation name and purpose
  5. 3. Input fields
  6. 4. Return type
  7. 5. Auth requirements
  8. 6. Database operations
  9. Step 1 — Check for Reusable Types
  10. Step 2 — Add GraphQL Type Definitions
  11. Input type (if needed)
  12. Output type (if not reusing an existing one)
  13. Mutation entry
  14. TypeScript types
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
What does the api-add-gql-mutation skill do?

Add a new GraphQL mutation to an existing schema in daily-api with validation, resolvers, and tests

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill api-add-gql-mutation --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going