|
1 | | -# Contributing |
| 1 | + |
2 | 2 |
|
3 | | -## General requirements |
| 3 | +# Contributing to the ServiceNow's GenAI Prompt Library 🎉 |
4 | 4 |
|
5 | | -- Pull requests should be **only** to add or modify files inside the `Prompts` folder. |
6 | | -- The filename **must** be a description of what the prompt does. |
7 | | -- Filenames should not have special characters that are not allowed on normal file systems (eg. do not put ! in the file name). |
8 | | -- No low-effort submissions. |
9 | | - - example of low-effort: "Generate discussion topics about ServiceNow" |
10 | | - - example of good-effort: including an example of what you are looking for, giving context of what this will be used for, giving a goal with the prompt, adding what kind of audience would be benefitting from this, etc. |
| 5 | +Thank you for your interest in contributing to the Prompt Library! We appreciate your help in making this resource better for everyone. 🙌 |
11 | 6 |
|
12 | | -## Recommendations |
| 7 | +## How to Contribute |
13 | 8 |
|
14 | | -Need some guidance? The RISEN framework helps structure tasks for generative AI into actionable steps: |
| 9 | +### 1. Think of a Prompt 💭 |
15 | 10 |
|
16 | | -- **R** — Role: Define the AI's role. (e.g., "Act as an agile coach.") |
17 | | -- **I** — Instructions: Provide clear instructions. (e.g., "Write a guide on crafting a good agile development story.") |
18 | | -- **S** — Steps: Outline specific steps. (e.g., "Start with a user persona, describe the user's goal, list the tasks to achieve the goal, and define the acceptance criteria.") |
19 | | -- **E** — End goal: State the goal and audience. (e.g., "Help team members understand how to write clear and effective agile stories.") |
20 | | -- **N** — Narrowing: Add constraints. (e.g., "Max 800 words, avoid technical jargon, use practical examples.") |
| 11 | +Consider a prompt you frequently use in your day-to-day work as a ServiceNow professional. This could include: |
| 12 | + |
| 13 | +- Prompts that help write emails ✉️. |
| 14 | +- Prompts for generating specific code snippets 💻. |
| 15 | +- Prompts that assist in creating documentation 📚. |
| 16 | +- Prompts tailored for using providers like ChatGPT with your ServiceNow experience. |
| 17 | + |
| 18 | +For inspiration, you can view the top-voted prompts in the library [here](https://communityresources.service-now.com/ai?id=library&display=10&sort=true). |
| 19 | + |
| 20 | +### 2. Submit a Prompt 📥 |
| 21 | + |
| 22 | +To submit your prompt, follow these steps: |
| 23 | + |
| 24 | +#### Creating a New File |
| 25 | + |
| 26 | +1. **Fork the Repository:** Click the "Fork" button at the top right of this page to create your own copy of the repository. |
| 27 | +2. **Create a New Branch:** In your forked repository, create a new branch for your prompt submission. |
| 28 | +3. **Add a New File:** Navigate to the `Prompts` folder in your branch and create a new file. Make sure to follow the guidelines outlined below to ensure your submission is acceptable. |
| 29 | +  |
| 30 | +4. **Submit a Pull Request:** Once your prompt is ready, submit a pull request to the main repository. One of our moderators will review your submission. |
| 31 | + |
| 32 | +<br /> |
| 33 | + |
| 34 | +## Guidelines for Submission 📝 |
| 35 | + |
| 36 | +- Ensure that your prompt is clear and concise. |
| 37 | +- Include any necessary context or examples to help others understand its use. |
| 38 | +- Follow the naming conventions and formatting as specified in the repository. |
| 39 | + |
| 40 | +<hr /> |
| 41 | + |
| 42 | +### See Your Prompt Live 🌟 |
| 43 | + |
| 44 | +Once your submission is accepted, it will immediately appear in the Prompt Library, which can be viewed at [Prompt Library](https://devlink.sn/PromptLibrary). |
| 45 | + |
| 46 | + |
| 47 | + |
| 48 | +Any logged-in user will be able to comment on and vote for your submission, helping to highlight valuable prompts. 👍 |
| 49 | + |
| 50 | +### Thank you for contributing to the Prompt Library! We look forward to seeing your creative prompts. 🚀 |
0 commit comments