Skip to content

Results for “ai”

252 prompts

You are a tech lead planning an upgrade. Current and target versions: [e.g. React 17 → 19, Python 3.8 → 3.12, Laravel 9 → 11] Codebase size and test coverage: [details] Key dependencies: [list] Create: breaking changes to check (verify against official upgrade guides), dependency compatibility plan, step-by-step upgra…

Claude
Coding & Development

Framework upgrade migration plan

Plan a safe upgrade between major versions of a framework or language.

0

You are a Vue 3 developer. Component: [purpose] Props and events: [list] State and behaviour: [details] Styling: [Tailwind / scoped CSS] Write a single-file component using <script setup> and TypeScript, with accessible markup, loading/empty states, emitted events, and a usage example plus a Vitest test.

Claude
Coding & Development

Vue component

Create a reusable Vue 3 component with the Composition API, props, events and accessibility.

0

You are a front-end developer who cares about motion design. Elements to animate: [buttons, cards, modal, loader, list items] Style: [subtle, playful, premium] Write CSS (and minimal JS if needed) for each animation using transforms and opacity for performance, sensible durations and easing, and a prefers-reduced-moti…

Claude
Coding & Development

CSS animations and micro-interactions

Add smooth, accessible animations to buttons, cards, loaders and page elements.

0

You are a performance engineer. Platform: [browser app, Node.js, Python, mobile] Symptoms: [memory grows over time, crashes after X hours] Suspicious code: ``` [paste] ``` Explain common leak causes for this platform, how to profile and capture heap snapshots step by step, what to look for, likely culprits in my code,…

Claude
Coding & Development

Investigate a memory leak

Find and fix memory leaks in web apps, Node.js services or mobile apps.

0

You are a software architect and teacher. Problem I'm facing: [e.g. many if/else branches for payment types, objects hard to test] Code: ``` [paste] ``` Suggest 1–2 design patterns that fit (and one that doesn't, with why), explain them simply, show my code refactored with the pattern, and discuss trade-offs. Avoid ov…

Claude
Coding & Development

Design patterns applied to your code

Learn which design pattern fits your problem and see it applied to your code.

0

You are a Node.js backend engineer focused on security. Requirements: [user fields, roles, routes] Database: [details] Write an Express app with: password hashing (bcrypt/argon2), login returning a short-lived access token plus refresh token handling, auth middleware, role checks, input validation, rate limiting on lo…

Claude
Coding & Development

Express API with JWT authentication

Build a secure Node.js/Express API with sign-up, login, protected routes and token handling.

0

You are an identity and security engineer. App type: [web, SPA, mobile] Providers: [Google, Microsoft, GitHub] Stack: [details] Explain the right flow (e.g. authorization code with PKCE), step by step, with a sequence diagram in Mermaid, how to handle state and nonce, token storage, account linking, logout, and common…

Claude
Coding & Development

Design an OAuth login flow

Plan a 'Sign in with Google/Microsoft/GitHub' flow securely, with the right OAuth/OIDC settings.

0

You are a database performance expert. Database: [PostgreSQL / MySQL / SQL Server] Query: ```sql [paste] ``` Table sizes and existing indexes: [details] EXPLAIN output (if available): [paste] Explain why it's slow, suggest indexes (with trade-offs), rewrite the query if helpful, and estimate the improvement. Mention h…

Claude
Coding & Development

Optimise a slow SQL query

Speed up a slow query with index suggestions, rewrites and an explanation of the query plan.

0

You are a test automation engineer. App: [URL/type] Critical user journeys: [e.g. sign up, log in, checkout, create item] Test environment details: [test accounts set up via seed data] Write Playwright tests in [TypeScript/Python] using resilient selectors (roles, labels, test IDs), page objects, test data setup, and…

Claude
Coding & Development

End-to-end tests with Playwright

Write reliable browser tests for your most important user journeys.

0

You are a senior engineer onboarding me to a codebase. Project description: [what it does] Folder structure: [paste tree] Key files (paste the most important ones): [paste] Explain: the overall architecture, how a typical request/action flows through the code, the role of each main folder, important patterns and conve…

Claude
Coding & Development

Understand an unfamiliar codebase

Get oriented in a new repository: architecture, key files, data flow and where to start.

0

You are a product manager. Product and goal for the quarter: [details] Feature ideas: [list with any data] Score each with RICE (explain your estimates and assumptions), rank them, flag dependencies, and propose a quarterly roadmap (now / next / later). Note where we need more data before committing.

Claude
Business & Productivity

Product roadmap prioritisation with RICE

Score and rank feature ideas by reach, impact, confidence and effort.

0

You are an engineering/operations manager writing a blameless post-mortem. Incident: [what happened] Impact: [customers, duration, cost] Timeline notes: [paste] What fixed it: [details] Write: summary, impact, timeline, root cause analysis (5 whys), what went well, what went wrong, action items with owners and dates,…

Claude
Business & Productivity

Incident post-mortem

Write a blameless incident review with timeline, root cause and preventive actions.

0