Skip to content

Commit 7bff328

Browse files
committed
Add personalized prose to each template example
1 parent c5cac3c commit 7bff328

6 files changed

Lines changed: 32 additions & 0 deletions

File tree

docs/template/examples/claude-code.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ Run Claude Code in a sandbox to execute AI-generated code safely.
77

88
## Define the template
99

10+
Install Claude Code globally with the necessary tools.
11+
1012
<CodeGroup>
1113

1214
```typescript JavaScript & TypeScript
@@ -36,6 +38,8 @@ template = (
3638

3739
## Build the template
3840

41+
Build and publish the template.
42+
3943
<CodeGroup>
4044

4145
```typescript JavaScript & TypeScript
@@ -66,6 +70,8 @@ Template.build(claudeCodeTemplate, 'claude-code',
6670

6771
## Use the template
6872

73+
Start a sandbox with your API key and run prompts.
74+
6975
<CodeGroup>
7076

7177
```typescript JavaScript & TypeScript

docs/template/examples/desktop.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ Ubuntu Desktop with XFCE, accessible via noVNC on port 6080.
77

88
## Define the template
99

10+
Install XFCE desktop environment with noVNC for browser-based access.
11+
1012
<CodeGroup>
1113

1214
```typescript JavaScript & TypeScript expandable
@@ -147,6 +149,8 @@ sleep 2
147149

148150
## Build the template
149151

152+
Build and publish the template.
153+
150154
<CodeGroup>
151155

152156
```typescript JavaScript & TypeScript
@@ -177,6 +181,8 @@ Template.build(desktopTemplate, 'desktop',
177181

178182
## Use the template
179183

184+
Start a sandbox and open the desktop in your browser.
185+
180186
<CodeGroup>
181187

182188
```typescript JavaScript & TypeScript

docs/template/examples/docker.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ template = (
3535

3636
## Build the template
3737

38+
Build and publish the template.
39+
3840
<CodeGroup>
3941
```typescript JavaScript & TypeScript
4042
// build.ts

docs/template/examples/expo.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ Expo app with the dev server running on port 8081.
77

88
## Define the template
99

10+
Create an Expo project that starts the dev server automatically.
11+
1012
<CodeGroup>
1113
```typescript JavaScript & TypeScript
1214
// template.ts
@@ -39,6 +41,8 @@ template = (
3941

4042
## Build the template
4143

44+
Build and publish the template.
45+
4246
<CodeGroup>
4347
```typescript JavaScript & TypeScript
4448
// build.ts
@@ -67,6 +71,8 @@ Template.build(expoTemplate, 'expo-app',
6771

6872
## Use the template
6973

74+
Start a sandbox and get the URL where your Expo app is running.
75+
7076
<CodeGroup>
7177
```typescript JavaScript & TypeScript
7278
// sandbox.ts

docs/template/examples/nextjs-bun.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ Next.js app with Tailwind and shadcn UI using Bun. The dev server starts automat
77

88
## Define the template
99

10+
Create the Next.js project with Bun and all shadcn components.
11+
1012
<CodeGroup>
1113
```typescript JavaScript & TypeScript
1214
// template.ts
@@ -47,6 +49,8 @@ template = (
4749

4850
## Build the template
4951

52+
Build and publish the template.
53+
5054
<CodeGroup>
5155
```typescript JavaScript & TypeScript
5256
// build.ts
@@ -75,6 +79,8 @@ Template.build(nextjsTemplate, 'nextjs-app-bun',
7579

7680
## Use the template
7781

82+
Start a sandbox and get the URL where your app is running.
83+
7884
<CodeGroup>
7985
```typescript JavaScript & TypeScript
8086
// sandbox.ts

docs/template/examples/nextjs.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ Next.js app with Tailwind and shadcn UI. The dev server starts automatically on
77

88
## Define the template
99

10+
Create the Next.js project with Tailwind and all shadcn components pre-installed.
11+
1012
<CodeGroup>
1113
```typescript JavaScript & TypeScript
1214
// template.ts
@@ -49,6 +51,8 @@ template = (
4951

5052
## Build the template
5153

54+
Build and publish the template.
55+
5256
<CodeGroup>
5357
```typescript JavaScript & TypeScript
5458
// build.ts
@@ -77,6 +81,8 @@ Template.build(nextjsTemplate, 'nextjs-app',
7781

7882
## Use the template
7983

84+
Start a sandbox and get the URL where your app is running.
85+
8086
<CodeGroup>
8187
```typescript JavaScript & TypeScript
8288
// sandbox.ts

0 commit comments

Comments
 (0)