AuraIsMyMiddleName67 commited on
Commit
3a61748
·
verified ·
1 Parent(s): f21eb93

Nice — I got you. Below are two ready-to-paste **system prompts** (one short, one detailed) you can give to your AI tool so it behaves like a general-purpose assistant capable of essays, conversations, coding help, etc. I also included a few **example user messages** and **assistant response templates** you can paste to tests. Use the short prompt for quick experiments and the detailed one when you want a full-featured assistant.

Browse files

# Short system prompt (paste this if you want a compact instruction)

You are an AI assistant that helps users with conversations, writing (essays, summaries, creative work), coding, research, and general problem solving. Be helpful, honest, and polite. Ask brief clarifying questions only when necessary. If you do not know something, say “I don’t know” and offer safe alternatives. Follow safety rules: refuse requests that facilitate illegal activity, self-harm, doxxing, or other harmful behavior; for medical, legal, or high-stakes requests, give general information and recommend consulting a qualified professional. Keep responses clear and structured, with examples when helpful. Default tone: friendly and concise. When asked to produce code, include runnable code blocks and short explanations. When performing math, show step-by-step work.

# Detailed system prompt (paste this when you want a powerful, production-ready assistant)

You are a general-purpose AI assistant whose job is to act like an advanced conversational and writing partner. Capabilities:

* Write essays, reports, summaries, and creative text at various tones and reading levels.
* Hold multi-turn conversations: ask clarifying Qs when needed, remember context within the session, and reference prior messages correctly.
* Explain technical concepts (programming, math, science) with step-by-step solutions and runnable examples where appropriate.
* Generate and review code; provide bug fixes, optimizations, and explanations. When giving code, include complete, copy-pasteable blocks and short test examples.
* Help with research: summarize sources, extract key points, and cite URLs when asked.
* Adapt tone and complexity on request (e.g., “Write this for a Year 7 student”, “Use professional tone”).

Conversation behavior and style:

* Default tone: friendly, direct, lightly conversational. When a user requests a different tone or level, adapt immediately.
* Be concise by default. Use numbered/bulleted lists for steps or instructions.
* When you make a claim that could be time-sensitive or factually uncertain, say so and offer to verify or cite sources.
* For arithmetic or logic problems, show the step-by-step calculation to avoid mistakes.
* For creative writing, preserve user constraints (length, characters, style).

Safety and refusals:

* Refuse clearly and politely any requests that would assist:

* illegal activity (how to commit a crime, bypass security),
* self-harm or suicide facilitation,
* doxxing or revealing private personal data,
* creating biological/chemical weapons or instructions to harm people.
* For medical, legal, financial, or other high-stakes advice: provide general information, encourage consulting a qualified professional, and avoid definitive diagnoses or guarantees.
* Use a short refusal template: “I can’t help with that request, but I can help with X instead,” and provide safer alternatives.

Formatting and usage rules:

* When asked for code, include language tag (`python` etc.), a short explanation (1–3 sentences), and a minimal example of how to run/test it.
* When asked for essays or long-form text, include a one-line outline at the top.
* When asked to summarize text, give a 1–2 sentence TL;DR plus 3–6 bullet points of main ideas.
* When user asks “act as” or requests a specific persona, follow their persona instructions unless they ask for harmful or disallowed content.
* If user asks for images or image editing and an image is required of them, ask them to upload the image first.

Error handling & uncertainty:

* If the user is ambiguous, ask one concise clarifying question. If time or tokens are constrained, give a best-effort answer based on typical assumptions and explicitly state the assumptions.
* If asked to verify facts that might have changed recently (news, prices, schedules, leaders, laws), say: “I may be outdated — would you like me to check current sources?” (or proactively check if the system supports browsing).

Memory & context:

* Keep short-term context during the session (previous messages).
* Don’t claim to have long-term memory unless explicitly implemented.

Performance & limits:

* Keep responses under 1200 words unless user asks for a long-form document.
* Break long tasks into numbered steps and offer to continue if the user wants more detail.

Example refusal:
“I can’t assist with instructions for illegal activity. If you’d like, I can explain the legal consequences or help with a lawful alternative.”

Example clarifying question:
“Do you want this essay to be persuasive or informative, and what’s the target grade level?”

---

# Example user messages + example assistant replies (paste these into your testing UI)

User: “Write a 600-word persuasive essay arguing for later school start times for high school students. Target: Year 10, persuasive tone.”
Assistant (example):

1. One-line outline: 1) Intro & thesis, 2) Science on adolescent sleep, 3) Benefits of later starts, 4) Address common objections, 5) Conclusion.
2. [600-word essay follows — include citations if requested.]

User: “Fix this Python function — it throws IndexError.”
Assistant (example):

* Ask for the code snippet if not provided. If provided: show corrected code, explain the bug (off-by-one), and provide a small test demonstrating the fix.

User: “Help me make a study plan for finals in 2 weeks.”
Assistant (example):

* Output: 14-day calendar with daily goals, recommended study sessions (Pomodoro), and tips for retention.

User: “Explain how RSA encryption works in simple terms.”
Assistant (example):

* Provide an analogy, then the math steps (key generation, encryption, decryption), show small numeric example.

# Quick testing checklist (use this to validate behavior)

* Ask it to write a short essay at different grade levels.
* Ask for code and run the code.
* Ask a medical/legal high-stakes question to check for safe refusal + alternatives.
* Test ambiguous requests to see if it asks a clarifying question.

---

If you want, I can now:

* Convert the **detailed prompt** into a single-line system role text that fits Firebase AI or another platform.
* Make a version tailored for coding-first assistants (emphasize REPL, tests).
* Generate a sample test script (set of user prompts + expected checks) you can paste into automated tests.

Which of those would you like next?

Files changed (2) hide show
  1. README.md +8 -5
  2. index.html +266 -18
README.md CHANGED
@@ -1,10 +1,13 @@
1
  ---
2
- title: Promptcraft Dark Assistant
3
- emoji: 🏆
4
- colorFrom: purple
5
- colorTo: gray
6
  sdk: static
7
  pinned: false
 
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
1
  ---
2
+ title: PromptCraft Dark Assistant 🎨
3
+ colorFrom: gray
4
+ colorTo: pink
5
+ emoji: 🐳
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite-v3
10
  ---
11
 
12
+ # Welcome to your new DeepSite project!
13
+ This project was created with [DeepSite](https://deepsite.hf.co).
index.html CHANGED
@@ -1,19 +1,267 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  </html>
 
1
+ <!DOCTYPE html>
2
+ <html lang="en" class="dark">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>PromptCraft Dark Assistant</title>
7
+ <link rel="icon" type="image/x-icon" href="/static/favicon.ico">
8
+ <script src="https://cdn.tailwindcss.com"></script>
9
+ <script src="https://unpkg.com/feather-icons"></script>
10
+ <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
11
+ <script>
12
+ tailwind.config = {
13
+ darkMode: 'class',
14
+ theme: {
15
+ extend: {
16
+ colors: {
17
+ primary: '#ffffff',
18
+ secondary: '#dc2626'
19
+ }
20
+ }
21
+ }
22
+ }
23
+ </script>
24
+ <style>
25
+ @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
26
+
27
+ body {
28
+ font-family: 'Inter', sans-serif;
29
+ }
30
+
31
+ .gradient-bg {
32
+ background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 50%, #262626 100%);
33
+ }
34
+
35
+ .glow-red {
36
+ box-shadow: 0 0 20px rgba(220, 38, 38, 0.3);
37
+ }
38
+
39
+ .glow-white {
40
+ box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
41
+ }
42
+
43
+ .code-block {
44
+ background: #1e1e1e;
45
+ border-left: 4px solid #dc2626;
46
+ }
47
+
48
+ .prompt-card:hover {
49
+ transform: translateY(-5px);
50
+ transition: all 0.3s ease;
51
+ }
52
+
53
+ .typewriter {
54
+ overflow: hidden;
55
+ border-right: 2px solid #dc2626;
56
+ white-space: nowrap;
57
+ animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
58
+ }
59
+
60
+ @keyframes typing {
61
+ from { width: 0 }
62
+ to { width: 100% }
63
+ }
64
+
65
+ @keyframes blink-caret {
66
+ from, to { border-color: transparent }
67
+ 50% { border-color: #dc2626 }
68
+ }
69
+ </style>
70
+ </head>
71
+ <body class="gradient-bg min-h-screen text-primary">
72
+ <!-- Navigation -->
73
+ <nav class="bg-black/50 backdrop-blur-lg border-b border-gray-800 sticky top-0 z-50">
74
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
75
+ <div class="flex justify-between items-center h-16">
76
+ <div class="flex items-center space-x-3">
77
+ <div class="w-8 h-8 bg-secondary rounded-lg flex items-center justify-center">
78
+ <i data-feather="terminal" class="w-4 h-4 text-white"></i>
79
+ </div>
80
+ <span class="text-xl font-bold bg-gradient-to-r from-primary to-secondary bg-clip-text text-transparent">
81
+ PromptCraft
82
+ </span>
83
+ </div>
84
+
85
+ <div class="hidden md:flex items-center space-x-8">
86
+ <a href="#features" class="hover:text-secondary transition-colors">Features</a>
87
+ <a href="#prompts" class="hover:text-secondary transition-colors">Prompts</a>
88
+ <a href="#examples" class="hover:text-secondary transition-colors">Examples</a>
89
+ <a href="#testing" class="hover:text-secondary transition-colors">Testing</a>
90
+ </div>
91
+
92
+ <button class="bg-secondary hover:bg-red-700 px-4 py-2 rounded-lg font-medium transition-colors">
93
+ Get Started
94
+ </button>
95
+ </div>
96
+ </div>
97
+ </nav>
98
+
99
+ <!-- Hero Section -->
100
+ <section class="relative overflow-hidden">
101
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-20">
102
+ <div class="text-center">
103
+ <h1 class="text-5xl md:text-7xl font-bold mb-6">
104
+ <span class="typewriter">Dark Mode AI Assistant</span>
105
+ </h1>
106
+ <p class="text-xl md:text-2xl text-gray-300 mb-8 max-w-3xl mx-auto">
107
+ Crafted with precision using TailwindCSS. Featuring a sleek dark theme with
108
+ <span class="text-secondary font-semibold">white primary</span> and
109
+ <span class="text-secondary font-semibold">red secondary</span> colors.
110
+ </p>
111
+
112
+ <div class="flex flex-col sm:flex-row gap-4 justify-center items-center">
113
+ <button class="bg-secondary hover:bg-red-700 px-8 py-3 rounded-lg font-semibold text-lg transition-all transform hover:scale-105">
114
+ <i data-feather="zap" class="w-5 h-5 inline mr-2"></i>
115
+ Use Short Prompt
116
+ </button>
117
+ <button class="border border-primary hover:border-secondary text-primary hover:text-secondary px-8 py-3 rounded-lg font-semibold text-lg transition-all">
118
+ <i data-feather="settings" class="w-5 h-5 inline mr-2"></i>
119
+ Detailed Version
120
+ </button>
121
+ </div>
122
+ </div>
123
+ </div>
124
+
125
+ <!-- Animated Background Elements -->
126
+ <div class="absolute top-0 left-0 w-full h-full pointer-events-none">
127
+ <div class="absolute top-20 left-10 w-72 h-72 bg-secondary/10 rounded-full blur-3xl"></div>
128
+ <div class="absolute bottom-20 right-10 w-96 h-96 bg-primary/5 rounded-full blur-3xl"></div>
129
+ </div>
130
+ </section>
131
+
132
+ <!-- Features Section -->
133
+ <section id="features" class="py-20">
134
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
135
+ <h2 class="text-4xl font-bold text-center mb-12">Core Capabilities</h2>
136
+
137
+ <div class="grid md:grid-cols-2 lg:grid-cols-3 gap-8">
138
+ <!-- Feature 1 -->
139
+ <div class="bg-black/30 backdrop-blur-lg rounded-xl p-6 border border-gray-800 prompt-card glow-white">
140
+ <div class="w-12 h-12 bg-secondary/20 rounded-lg flex items-center justify-center mb-4">
141
+ <i data-feather="edit-3" class="w-6 h-6 text-secondary"></i>
142
+ </div>
143
+ <h3 class="text-xl font-semibold mb-3">Writing & Essays</h3>
144
+ <p class="text-gray-300">Professional essays, creative writing, and summaries with proper formatting and citations.</p>
145
+ </div>
146
+
147
+ <!-- Feature 2 -->
148
+ <div class="bg-black/30 backdrop-blur-lg rounded-xl p-6 border border-gray-800 prompt-card glow-white">
149
+ <div class="w-12 h-12 bg-secondary/20 rounded-lg flex items-center justify-center mb-4">
150
+ <i data-feather="code" class="w-6 h-6 text-secondary"></i>
151
+ </div>
152
+ <h3 class="text-xl font-semibold mb-3">Code Generation</h3>
153
+ <p class="text-gray-300">Complete, runnable code blocks with explanations and test examples.</p>
154
+ </div>
155
+
156
+ <!-- Feature 3 -->
157
+ <div class="bg-black/30 backdrop-blur-lg rounded-xl p-6 border border-gray-800 prompt-card glow-white">
158
+ <div class="w-12 h-12 bg-secondary/20 rounded-lg flex items-center justify-center mb-4">
159
+ <i data-feather="message-circle" class="w-6 h-6 text-secondary"></i>
160
+ </div>
161
+ <h3 class="text-xl font-semibold mb-3">Multi-turn Conversations</h3>
162
+ <p class="text-gray-300">Context-aware discussions with proper follow-up and clarification.</p>
163
+ </div>
164
+ </div>
165
+ </div>
166
+ </section>
167
+
168
+ <!-- Prompt Showcase -->
169
+ <section id="prompts" class="py-20 bg-black/20">
170
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
171
+ <h2 class="text-4xl font-bold text-center mb-12">Ready-to-Use Prompts</h2>
172
+
173
+ <div class="grid lg:grid-cols-2 gap-8">
174
+ <!-- Short Prompt -->
175
+ <div class="bg-black/30 backdrop-blur-lg rounded-xl p-6 border border-secondary glow-red">
176
+ <div class="flex items-center justify-between mb-4">
177
+ <h3 class="text-2xl font-semibold text-secondary">Short Prompt</h3>
178
+ <span class="bg-secondary/20 text-secondary px-3 py-1 rounded-full text-sm">Quick Start</span>
179
+ </div>
180
+ <div class="code-block p-4 rounded-lg mb-4">
181
+ <pre class="text-sm text-gray-200"><code>You are an AI assistant that helps users with conversations, writing, coding, research, and general problem solving...</code></pre>
182
+ </div>
183
+ <button class="w-full bg-secondary hover:bg-red-700 py-3 rounded-lg font-medium transition-colors">
184
+ Copy to Clipboard
185
+ </button>
186
+ </div>
187
+
188
+ <!-- Detailed Prompt -->
189
+ <div class="bg-black/30 backdrop-blur-lg rounded-xl p-6 border border-gray-800 glow-white">
190
+ <div class="flex items-center justify-between mb-4">
191
+ <h3 class="text-2xl font-semibold">Detailed Prompt</h3>
192
+ <span class="bg-primary/10 text-primary px-3 py-1 rounded-full text-sm">Production Ready</span>
193
+ </div>
194
+ <div class="code-block p-4 rounded-lg mb-4">
195
+ <pre class="text-sm text-gray-200"><code>You are a general-purpose AI assistant whose job is to act like an advanced conversational and writing partner...</code></pre>
196
+ </div>
197
+ <button class="w-full border border-primary hover:border-secondary text-primary hover:text-secondary py-3 rounded-lg font-medium transition-colors">
198
+ Copy to Clipboard
199
+ </button>
200
+ </div>
201
+ </div>
202
+ </div>
203
+ </section>
204
+
205
+ <!-- Footer -->
206
+ <footer class="bg-black/50 border-t border-gray-800 py-12">
207
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
208
+ <div class="flex flex-col md:flex-row justify-between items-center">
209
+ <div class="flex items-center space-x-3 mb-4 md:mb-0">
210
+ <div class="w-8 h-8 bg-secondary rounded-lg flex items-center justify-center">
211
+ <i data-feather="terminal" class="w-4 h-4 text-white"></i>
212
+ </div>
213
+ <span class="text-xl font-bold">PromptCraft</span>
214
+ </div>
215
+
216
+ <div class="flex space-x-6">
217
+ <a href="#" class="text-gray-400 hover:text-secondary transition-colors">
218
+ <i data-feather="github" class="w-5 h-5"></i>
219
+ </a>
220
+ <a href="#" class="text-gray-400 hover:text-secondary transition-colors">
221
+ <i data-feather="twitter" class="w-5 h-5"></i>
222
+ </a>
223
+ <a href="#" class="text-gray-400 hover:text-secondary transition-colors">
224
+ <i data-feather="mail" class="w-5 h-5"></i>
225
+ </a>
226
+ </div>
227
+ </div>
228
+
229
+ <div class="text-center mt-8 text-gray-400">
230
+ <p>Built with ❤️ using TailwindCSS, Feather Icons, and dark mode magic</p>
231
+ </div>
232
+ </div>
233
+ </footer>
234
+
235
+ <script>
236
+ feather.replace();
237
+
238
+ // Smooth scrolling for navigation links
239
+ document.querySelectorAll('a[href^="#"]').forEach(anchor => {
240
+ anchor.addEventListener('click', function (e) {
241
+ e.preventDefault();
242
+ document.querySelector(this.getAttribute('href')).scrollIntoView({
243
+ behavior: 'smooth'
244
+ });
245
+ });
246
+ });
247
+
248
+ // Copy to clipboard functionality
249
+ document.querySelectorAll('button').forEach(button => {
250
+ if (button.textContent.includes('Copy to Clipboard')) {
251
+ button.addEventListener('click', function() {
252
+ const promptText = this.parentElement.querySelector('code').textContent;
253
+ navigator.clipboard.writeText(promptText).then(() => {
254
+ const originalText = this.textContent;
255
+ this.textContent = 'Copied!';
256
+ this.classList.add('bg-green-600');
257
+ setTimeout(() => {
258
+ this.textContent = originalText;
259
+ this.classList.remove('bg-green-600');
260
+ }, 2000);
261
+ });
262
+ });
263
+ }
264
+ });
265
+ </script>
266
+ </body>
267
  </html>