Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions docs/snippets/agent-setup-prompt.mdx
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
Copy this prompt into your AI coding assistant from your app's directory:

<div className="setup-prompt">
<p className="setup-prompt-label">
<Icon icon="sparkles" size={14} color="#A8FF53" /> Fastest way to start
</p>

```text
Bootstrap a Trigger.dev project: trigger.dev/SKILL.md
```

</div>

Your agent guides you through login, choosing or creating an organization and project, and running your first task locally. You authorize login yourself, and the agent asks when a choice is ambiguous.

[Read the full setup instructions](https://trigger.dev/SKILL.md) before running.
45 changes: 45 additions & 0 deletions docs/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,48 @@ button ~ .absolute.peer-hover\:opacity-100 {
--shiki-token-punctuation: #878c99;
--shiki-token-link: #826dff;
}

/* Setup prompt on the quick start and introduction pages */
.setup-prompt {
border: 1.5px solid #a8ff53;
border-radius: 16px;
padding: 14px 16px;
margin: 1.25rem 0;
}

.setup-prompt .setup-prompt-label {
display: flex;
align-items: center;
gap: 6px;
margin: 0;
font-size: 0.8rem;
font-weight: 500;
color: #a8ff53;
}

.setup-prompt .code-block {
margin-top: 10px;
margin-bottom: 0;
}

/* Wrap the prompt on narrow screens. The floated spacer keeps the first line
clear of the copy and Ask Assistant buttons; later lines use the full width. */
.setup-prompt .code-block .whitespace-pre,
.setup-prompt pre,
.setup-prompt code {
white-space: pre-wrap !important;
}

.setup-prompt code {
--code-padding-right: 0px !important;
width: auto !important;
min-width: 0 !important;
overflow-wrap: anywhere;
}

.setup-prompt code::before {
content: "";
float: right;
width: 64px;
height: 20px;
}
Loading