-
Notifications
You must be signed in to change notification settings - Fork 281
Examples 2.0 #215
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Examples 2.0 #215
Changes from all commits
Commits
Show all changes
44 commits
Select commit
Hold shift + click to select a range
74c0958
initial testing
tadaspetra 8adc86f
Prompt updates
tadaspetra 4eafc8d
Update to pnpm and create initial projects
tadaspetra e19d18b
nextjs example
tadaspetra 25e6fbd
remove perl from the generation flow
tadaspetra 3942c5c
Updated nextjs project
tadaspetra 4eaa88b
Revert "Updated nextjs project"
tadaspetra 888a7ea
template and minimal prompt
tadaspetra fbae2a7
minimal template
tadaspetra 0633f8f
working example
tadaspetra 9e5d2f0
prompt with design
tadaspetra e78afdf
Run a setup script
tadaspetra 0556189
update prompt to ensure skill use, and default sonnet
tadaspetra 6183c35
remove unnecessary check in script
tadaspetra 6138d71
Update minimal folders to behave the same
tadaspetra 4c019d8
update locations
tadaspetra ae0238f
update to pnpm
tadaspetra c1539ff
Skip setup if example already exists
tadaspetra c3b6e07
Update weird prompt spacing
tadaspetra eb8d81f
python minimal examples
tadaspetra aa85847
global gitignore
tadaspetra 8d33399
Simpler CLI output
tadaspetra 1ae54bc
Update generate command
tadaspetra 1e2e87e
Better README
tadaspetra a9c69d1
Remove logging
tadaspetra 8971bd8
Remove precommit & update CI
tadaspetra 23467c4
delete lock files
tadaspetra 7f299a2
Update gitignore to not push lock files
tadaspetra a2287b7
prettier
tadaspetra 3422f0f
Fixed Ruff things
tadaspetra eda0110
simplify prompts some more
tadaspetra 9ad25d6
Moved template to root folder
tadaspetra f03c945
preload skills into context, not optimal due to context bloat
tadaspetra 5e55264
Update Node
tadaspetra d6a984e
Update folders to "quickstart"
tadaspetra 2a7c2ff
Update prompt to be action based
tadaspetra 8e702ef
set versions for python template
tadaspetra b634937
Update .github/workflows/lint.yml
tadaspetra f9d75ff
dynamic dependencies
tadaspetra 177a428
Merge branch 'examples-2' of https://github.com/elevenlabs/elevenlabs…
tadaspetra c539802
updated example versions
tadaspetra 0a80f75
Name and private and prettier dependency in main
tadaspetra 119768b
Allow main package-lock.json
tadaspetra 1b7b529
Prettier
tadaspetra File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| name: Lint | ||
| on: [pull_request] | ||
| jobs: | ||
| ruff: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: astral-sh/ruff-action@v3 | ||
|
|
||
| prettier: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: 24 | ||
| - run: npm ci | ||
| - run: npx prettier . --check |
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| # Design Guidelines | ||
|
|
||
| Follow these conventions when building example UIs. | ||
|
|
||
| ## Layout | ||
|
|
||
| - Use a single centered column (`max-w-2xl`, `mx-auto`, `px-6`) | ||
| - Keep the layout flat — avoid nested cards, panels, or bordered containers | ||
| - Use spacing (`mt-*`, `space-y-*`) and typography to separate sections, not boxes | ||
| - One control area, one content area — keep everything else unboxed | ||
|
|
||
| ## Styling | ||
|
|
||
| - Neutral color palette for text and borders (`text-neutral-900`, `text-neutral-500`, `border-neutral-200`) | ||
| - White background (`bg-white`) | ||
| - No decorative styles: no gradients, heavy shadows, oversized rounded cards, ornamental icons | ||
| - Buttons: `rounded-md`, `px-4 py-2`, `text-sm font-medium` | ||
| - Small muted text for labels and status: `text-xs text-neutral-400` | ||
|
|
||
| ## Components | ||
|
|
||
| - Prefer preloaded components from `components/ui/` when available | ||
| - Avoid adding custom UI components unless strictly required | ||
| - Render interactive components (waveforms, visualizations) inline without extra wrapper containers | ||
|
|
||
| ## Principles | ||
|
|
||
| - Prioritize correctness and reliability over styling | ||
| - Keep it minimal and utilitarian | ||
| - Compact spacing, neutral colors, no decorative hero/nav elements |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 5 additions & 5 deletions
10
...levenLabs Mac Helper app/ElevenLabsTTS/Assets.xcassets/AccentColor.colorset/Contents.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,11 +1,11 @@ | ||
| { | ||
| "colors" : [ | ||
| "colors": [ | ||
| { | ||
| "idiom" : "universal" | ||
| "idiom": "universal" | ||
| } | ||
| ], | ||
| "info" : { | ||
| "author" : "xcode", | ||
| "version" : 1 | ||
| "info": { | ||
| "author": "xcode", | ||
| "version": 1 | ||
| } | ||
| } |
88 changes: 44 additions & 44 deletions
88
.../ElevenLabs Mac Helper app/ElevenLabsTTS/Assets.xcassets/AppIcon.appiconset/Contents.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,68 +1,68 @@ | ||
| { | ||
| "images" : [ | ||
| "images": [ | ||
| { | ||
| "filename" : "elevenlogo-4.png", | ||
| "idiom" : "mac", | ||
| "scale" : "1x", | ||
| "size" : "16x16" | ||
| "filename": "elevenlogo-4.png", | ||
| "idiom": "mac", | ||
| "scale": "1x", | ||
| "size": "16x16" | ||
| }, | ||
| { | ||
| "filename" : "elevenlogo16@2x.png", | ||
| "idiom" : "mac", | ||
| "scale" : "2x", | ||
| "size" : "16x16" | ||
| "filename": "elevenlogo16@2x.png", | ||
| "idiom": "mac", | ||
| "scale": "2x", | ||
| "size": "16x16" | ||
| }, | ||
| { | ||
| "filename" : "elevenlogo-3.png", | ||
| "idiom" : "mac", | ||
| "scale" : "1x", | ||
| "size" : "32x32" | ||
| "filename": "elevenlogo-3.png", | ||
| "idiom": "mac", | ||
| "scale": "1x", | ||
| "size": "32x32" | ||
| }, | ||
| { | ||
| "filename" : "elevenlogo32@2x.png", | ||
| "idiom" : "mac", | ||
| "scale" : "2x", | ||
| "size" : "32x32" | ||
| "filename": "elevenlogo32@2x.png", | ||
| "idiom": "mac", | ||
| "scale": "2x", | ||
| "size": "32x32" | ||
| }, | ||
| { | ||
| "filename" : "elevenlogo.png", | ||
| "idiom" : "mac", | ||
| "scale" : "1x", | ||
| "size" : "128x128" | ||
| "filename": "elevenlogo.png", | ||
| "idiom": "mac", | ||
| "scale": "1x", | ||
| "size": "128x128" | ||
| }, | ||
| { | ||
| "filename" : "elevenlogo128@2x.png", | ||
| "idiom" : "mac", | ||
| "scale" : "2x", | ||
| "size" : "128x128" | ||
| "filename": "elevenlogo128@2x.png", | ||
| "idiom": "mac", | ||
| "scale": "2x", | ||
| "size": "128x128" | ||
| }, | ||
| { | ||
| "filename" : "elevenlogo-1.png", | ||
| "idiom" : "mac", | ||
| "scale" : "1x", | ||
| "size" : "256x256" | ||
| "filename": "elevenlogo-1.png", | ||
| "idiom": "mac", | ||
| "scale": "1x", | ||
| "size": "256x256" | ||
| }, | ||
| { | ||
| "filename" : "elevenlogo256@2x.png", | ||
| "idiom" : "mac", | ||
| "scale" : "2x", | ||
| "size" : "256x256" | ||
| "filename": "elevenlogo256@2x.png", | ||
| "idiom": "mac", | ||
| "scale": "2x", | ||
| "size": "256x256" | ||
| }, | ||
| { | ||
| "filename" : "elevenlogo-2.png", | ||
| "idiom" : "mac", | ||
| "scale" : "1x", | ||
| "size" : "512x512" | ||
| "filename": "elevenlogo-2.png", | ||
| "idiom": "mac", | ||
| "scale": "1x", | ||
| "size": "512x512" | ||
| }, | ||
| { | ||
| "filename" : "elevenlogo512@2x.png", | ||
| "idiom" : "mac", | ||
| "scale" : "2x", | ||
| "size" : "512x512" | ||
| "filename": "elevenlogo512@2x.png", | ||
| "idiom": "mac", | ||
| "scale": "2x", | ||
| "size": "512x512" | ||
| } | ||
| ], | ||
| "info" : { | ||
| "author" : "xcode", | ||
| "version" : 1 | ||
| "info": { | ||
| "author": "xcode", | ||
| "version": 1 | ||
| } | ||
| } |
6 changes: 3 additions & 3 deletions
6
examples/ElevenLabs Mac Helper app/ElevenLabsTTS/Assets.xcassets/Contents.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| { | ||
| "info" : { | ||
| "author" : "xcode", | ||
| "version" : 1 | ||
| "info": { | ||
| "author": "xcode", | ||
| "version": 1 | ||
| } | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.