Level 2Lesson 16⏱️ 75 min

Build Your Claude Knowledge Base

Create persistent AI assistants with system prompts, uploaded documents, and custom behaviors

TeacherManagerDeveloperAnalystBusinessDoctorLawyer

What Are Claude Projects?

Claude Projects are persistent AI workspaces where you can set up a specialized assistant that remembers your context, preferences, and reference materials across conversations. Think of it this way: a regular chat is like a sticky note—useful in the moment but forgotten after. A Project is like training a dedicated assistant who has a filing cabinet full of your documents, a clear understanding of your role and goals, and standing instructions on how to help you best.

In a Project, two things persist permanently:

  • System Prompt: Your permanent instructions to the AI—your role, context, what you want it to always do, what to never do, and your preferred output format.
  • Uploaded Documents: PDFs, text files, images, and other reference materials (style guides, SOPs, templates, past work) that the AI can access and cite in every conversation.

What does not persist: your actual conversation history is separate. Each new chat in the Project starts fresh conversation history, but the AI has the system prompt and docs ready to go.

ℹ️
Availability Note: Projects are available on Claude Pro and Team plans. Free users can still use system prompts in individual conversations—they just won't persist automatically. Learn more: What are Projects

Writing a Powerful System Prompt

The system prompt is the heart of your Project. A great one has five components:

  1. Role Definition: Clearly state who you are and what you do. "You are a marketing manager focused on B2B SaaS content."
  2. Context About the User's Work: Give the AI background on your situation, team, audience, or goals. "Our target audience is technical founders, and we write in a conversational but authoritative tone."
  3. What the AI Should Always Do: Set standing behaviors. "Always cite sources from our brand guide. Start responses with a one-sentence summary."
  4. What It Should Never Do: Be explicit about boundaries. "Never make up statistics. Never recommend a tool we don't use."
  5. Output Format Preferences: Specify how you want results structured. "Format responses as: Summary | Detailed Explanation | Next Steps."

Here are three complete, detailed system prompt examples you can adapt:

Example 1: Marketing Manager's Content Assistant

System Prompt
You are a content strategist supporting a B2B SaaS marketing manager. Your role is to draft, edit, and optimize content for our target audience: technical founders and engineering leaders aged 28-45. CONTEXT: We sell a project management tool for engineering teams. Our brand is direct, honest, and jargon-free. We avoid hype and focus on real use cases. Our audience is skeptical of marketing—they want substance over polish. ALWAYS: - Start every response with a one-sentence summary of the content direction - Reference our brand guide style when revising copy - Include 1–2 real usage examples from our customer base (make these realistic, not made-up) - Flag any claims that need fact-checking or customer validation - Suggest a call-to-action for each piece of content NEVER: - Use superlatives like "revolutionary," "game-changing," or "industry-leading" without evidence - Recommend using tools or platforms we don't actively use - Write in a tone that feels "salesy"—err on the side of understated OUTPUT FORMAT: Draft | Revision Suggestions | SEO Notes | Next Steps

Example 2: Doctor's Clinical Notes Assistant

System Prompt
You are a clinical assistant supporting a busy physician in an outpatient practice. Your role is to help draft, structure, and review clinical documentation quickly without compromising accuracy or completeness. CONTEXT: You support a family medicine doctor in a 20-patient-per-day practice. Our notes must be compliant with EHR standards, insurance coding requirements, and local healthcare regulations. Efficiency matters—every minute saved helps us see more patients. ALWAYS: - Use standard medical terminology and abbreviations (SOAP format, ICD-10 concepts) - Include relevant differential diagnoses based on presenting symptoms - Flag any information that requires physician review or decision-making before finalizing - Format notes so they're scannable by insurance reviewers - Suggest appropriate coding suggestions (but note that physician must verify) NEVER: - Make diagnostic conclusions—only organize information for physician review - Include speculative information without flagging it as such - Miss documenting patient education or follow-up instructions - Include protected health information (PHI) outside the secure EHR OUTPUT FORMAT: HPI | ROS | Exam Findings | Assessment & Plan | Coding Suggestions | Compliance Notes

Example 3: Developer's Code Review Assistant

System Prompt
You are a senior engineer assisting with code review for a JavaScript/TypeScript Node.js backend. Your role is to spot issues, suggest improvements, and explain trade-offs. CONTEXT: We're building a real-time API serving 10M+ requests per day. Our codebase uses TypeScript, Jest for testing, and PostgreSQL. We prioritize readability, performance, and maintainability. Code quality is non-negotiable because tech debt directly impacts delivery speed. ALWAYS: - Flag performance concerns (N+1 queries, unnecessary loops, memory usage) - Point out missing error handling or edge cases - Reference our coding standards document when suggesting style changes - Explain the "why" behind suggestions, not just the "what" - Rate each issue by severity: Critical | High | Medium | Low NEVER: - Approve code without checking for null/undefined handling - Suggest a refactor without explaining the concrete benefit - Miss type safety issues in TypeScript code - Ignore security concerns (SQL injection, XSS, auth leaks) OUTPUT FORMAT: Summary | Critical Issues | Medium Issues | Nice-to-Haves | Questions for Author

Uploading Your Knowledge Documents

Your uploaded documents become the reference library for your Project. The AI can read, cite, and apply them in every conversation. Choose wisely:

Good Uploads:

  • Style Guides & Brand Guidelines: "Write in an active voice. Use 'you' not 'we'. Avoid jargon."
  • Standard Operating Procedures (SOPs): Step-by-step processes your team follows (hiring, customer onboarding, content review).
  • Templates & Examples: Past email campaigns, proposal templates, report formats that show your preferred structure.
  • Product Documentation: Your product features, API specs, user personas—anything the AI should know about your offering.
  • Glossaries & Abbreviations: Industry terms, company-specific acronyms, and how you define key concepts.
  • Past Good Work: High-quality examples of what you've produced (successful proposals, blog posts, code samples).

Bad Uploads (Don't Do These):

  • Confidential PII: Employee records, customer lists, social security numbers, health data.
  • Huge PDFs (50+ pages): The AI can handle them, but they slow down responses. Better to upload key excerpts.
  • Irrelevant Documents: If the doc doesn't help the AI assist you better, leave it out.
  • Secret Credentials: API keys, passwords, database connection strings.

When referencing uploaded docs in your prompts, be explicit: "Based on our style guide, review this email copy..." or "Use the structure from the proposal template we uploaded..."

⚠️
Privacy & Compliance Alert: Never upload documents containing personal data, patient records, financial information, or confidential business secrets unless your organization has formally approved cloud storage for that data. Check with your security or compliance team first.

Project Templates for Common Roles

Here are five pre-built mini-Project setups you can copy and customize for your role. Each includes a system prompt snippet and suggested documents to upload.

My Email Assistant

System Prompt: You help draft, edit, and respond to emails. You match the sender's tone and style. You're concise but warm. You flag when a tone might come across as too harsh or unclear.

Suggested Documents: Email templates you like, examples of your best emails, tone guide, email signature.

My Research Assistant

System Prompt: You synthesize research into clear summaries. You cite sources. You highlight key findings and the questions that remain unanswered. You flag weak evidence.

Suggested Documents: Past research reports, your citation style preference, industry glossaries.

My Report Writer

System Prompt: You write executive reports with data-driven insights. You structure reports with: Summary → Key Findings → Implications → Recommendations. You avoid jargon.

Suggested Documents: Report templates, past reports (as examples), data guidelines, brand colors/formatting.

My Meeting Prep Assistant

System Prompt: You prepare me for meetings by creating agendas, talking points, and likely questions. You ask clarifying questions about attendees and goals.

Suggested Documents: Meeting notes from past meetings, organization chart, key stakeholder profiles.

My Code Helper

System Prompt: You help debug, refactor, and explain code. You prioritize performance and readability. You ask questions before suggesting major changes.

Suggested Documents: Project README, coding standards guide, architecture docs.

🖥️HANDS-ON EXERCISE30 min

Build Your First Project

Create a Claude Project tailored to your role and upload reference documents.

  1. Go to claude.ai and click "Create New Project"
  2. Write your system prompt using the template below. Spend 2–3 minutes getting it right—this is the core of your Project.
  3. Upload 1–2 relevant documents (a style guide, template, or past example)
  4. Test it with the three test prompts below. Try to find the gaps in your setup.
  5. Refine your system prompt based on what you learned. A second iteration is normal—and valuable.

System Prompt Starter Template

Copy and customize this
You are a {YOUR ROLE} helping with {YOUR MAIN TASK}. CONTEXT: {Describe your work situation, audience, goals, constraints. 2–3 sentences.} ALWAYS: - {Standing instruction 1} - {Standing instruction 2} - {Standing instruction 3} NEVER: - {Boundary 1} - {Boundary 2} OUTPUT FORMAT: {How should responses be structured?}

Test Prompt Sequence

Run these three prompts to test your setup
Test 1 (Easy): "Help me with [simple task in your domain]" Test 2 (With constraints): "Help me with [task], but make sure it [incorporates something from your uploaded docs]" Test 3 (Real work): [Paste a real request from your actual work]
Quick Reference
System Prompt

Your standing instructions to the AI. Includes role, context, dos, don'ts, and format preferences. This is the most important part of a Project.

Uploaded Documents

Reference materials (guides, templates, examples, specs) that persist in your Project. The AI reads and cites these in every conversation.

Persistent vs. Ephemeral

System prompt and docs persist. Conversation history does not. Each new chat in a Project starts fresh.

Best Practice: Specific Examples

Rather than "write in our style," upload actual examples of good work. Show, don't tell.

Iterating Your Prompt

Your first system prompt won't be perfect. Test it, refine it, repeat. Even small tweaks can improve results.

Privacy First

Never upload PII, credentials, or sensitive data without organization approval. Check with your security team.