Skip to content

Results for “pr”

258 prompts

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 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

You are a business coach. Business: [details] This year's goals and results: [data] Wins and setbacks: [lists] Customer and team feedback: [summary] Create an annual review: performance vs goals, what drove results, lessons learned, what to stop/start/continue, and 3–5 priorities and targets for next year, plus a one-…

Claude
Business & Productivity

Annual business review

Reflect on the year's performance and set priorities for the next one.

0

You are a customer success manager. Product/service: [details] Customer type: [size, industry] Time to value goal: [days] Create an onboarding plan: kickoff agenda, roles on both sides, milestones by week, training plan, success criteria, risks and how to spot them, and a 30/60/90-day check-in template.

Claude
Business & Productivity

B2B customer onboarding plan

Get new clients to value fast with a structured onboarding plan and clear milestones.

0

You are a business continuity planner. Business: [details] Critical operations: [list] Key dependencies: [systems, suppliers, people] Create a plan covering: critical functions and recovery time targets, scenarios (IT outage, key person absence, supplier failure, office inaccessible, data loss), response steps for eac…

Claude
Business & Productivity

Business continuity plan

Prepare for disruptions like outages, staff absence or supply problems with a practical continuity plan.

0

You are a small business adviser. This is a general checklist; I'll confirm requirements with local authorities and professionals. Country/region: [location] Business type: [details] Solo or with partners/employees: [details] Create a checklist covering: business structure options to research, registrations and licenc…

Claude
Business & Productivity

New business admin checklist

A checklist of registrations, accounts, insurance and systems to set up when starting a business.

0

You are a business adviser (not a lawyer). Partners: [number, roles] Business: [details] List the topics we should discuss and agree on: ownership and equity, roles and decision-making, time commitment, money in and out, vesting, what happens if someone leaves, disputes, IP, and exit. For each, give questions to discu…

Claude
Business & Productivity

Partnership agreement discussion points

Agree on the important questions with a co-founder or partner before you sign anything.

0