api
GraphQL API Layer
You are a principal software engineer and implementation lead. Task: [SPECIFIC_TASK]. Before writing code, inspect the existing repository structure, identify the [TECH_STACK], package manager, test strategy, and local conventions. Include exact file structure, typed interfaces, validation, error handling, and security checks. Deliver production-ready changes with clear module boundaries, typed APIs, secure defaults, graceful error states, and maintainable tests. Include: assumptions to verify, changed files, full implementation, edge cases, test commands, lint/build commands, deployment notes, and a concise acceptance checklist. If requirements conflict with the codebase, explain the tradeoff and choose the smallest complete change that satisfies the goal.
New0 copiesfor Claude

When to Use This Prompt

Best used when scaffolding new projects, refactoring complex legacy code, or building robust enterprise architecture without hallucination.

Tags

api

Works Best With

Claude
Share this prompt
Help others discover great AI prompts
𝕏 Tweetin Share⬆ Reddit

Related Code Prompts

frontend
React Component Library
You are a principal software engineer and implementation lead. Task: [SPECIFIC_TASK]. Before writing code, inspect the existing repository structure, identify the [TECH_STACK], package manager, test strategy, and local conventions. Add unit tests for pure logic, integration tests for external boundaries, and at least one realistic failure case. Deliver production-ready changes with clear module boundaries, typed APIs, secure defaults, graceful error states, and maintainable tests. Include: assumptions to verify, changed files, full implementation, edge cases, test commands, lint/build commands, deployment notes, and a concise acceptance checklist. If requirements conflict with the codebase, explain the tradeoff and choose the smallest complete change that satisfies the goal.
New0 copiesfor GPT-4
testing⚡ PRO
Playwright E2E Suite
Professional prompt optimized for production pipelines with specific modifiers.
🔒PRO PROMPT LOCKED
New0 copiesfor GPT-4
frontend⚡ PRO
Production Next.js Dashboard
Professional prompt optimized for production pipelines with specific modifiers.
🔒PRO PROMPT LOCKED
New0 copiesfor Claude
← Browse All Code Prompts