api-add-gql-mutation
Add a new GraphQL mutation to an existing schema in daily-api with validation, resolvers, and tests
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.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# 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
- Context Loading
- Step 0 — Gather Requirements
- 1. Target schema file
- 2. Mutation name and purpose
- 3. Input fields
- 4. Return type
- 5. Auth requirements
- 6. Database operations
- Step 1 — Check for Reusable Types
- Step 2 — Add GraphQL Type Definitions
- Input type (if needed)
- Output type (if not reusing an existing one)
- Mutation entry
- TypeScript types
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.
