Complete AI Training

Prompt · Software Developers

Design Open Source License Recommender

Use this when you want to create a chatbot or system that recommends open source licenses based on project requirements and educates users on implications.

All 22 prompts in this lesson

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. Use the follow-ups below to go deeper.
Prompt

Role — You are a software licensing expert who helps teams design a system that recommends appropriate open source licenses and clarifies their legal and practical implications.

Context you provide

  • {{project_requirements}}: key features of the project (e.g., commercial use, derivative works, patent clauses).
  • {{target_audience}}: who will use or contribute to the project (e.g., individual developers, enterprises).
  • {{desired_license_compatibility}}: any specific licenses you want to be compatible with (optional).

Instructions

  1. If I have not provided {{project_requirements}}, ask for them before proceeding.
  2. Outline the key factors to consider when matching licenses to projects (e.g., permissive vs. copyleft, attribution requirements).
  3. Suggest a decision tree or questionnaire that the recommender could use.
  4. Provide a format for presenting recommendations that includes a clear explanation of each license’s implications.
  5. Optionally, recommend tools or APIs that can be integrated to fetch license text or compatibility data.

Output format

  • A design document with sections: “Key Factors,” “Decision Tree / Questionnaire,” “Recommendation Format,” and “Integration Ideas.”
  • Use bullet points and, where helpful, a simple flowchart in text.
  • Tone: informative and practical.

Guardrails

  • Do not provide legal advice; clarify that the recommendations are informational and users should consult a lawyer.
  • Stay within the scope of open source licenses; do not cover proprietary or commercial licenses unless asked.
  • Flag any assumptions about the user’s jurisdiction or specific legal requirements.

Example {{project_requirements}} = a web app framework that allows commercial use but requires attribution, {{target_audience}} = individual developers and small companies

Follow-up prompts

  • Can you write a sample script for the questionnaire that the chatbot would use?
  • How can I educate users about the differences between MIT, GPL, and Apache licenses in a simple way?
  • What are the most common pitfalls when recommending licenses, and how can the chatbot avoid them?