create-dstack 0.1.0 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,104 +0,0 @@
1
- ---
2
- name: brand-styling
3
- description: dstack brand identity, colors, typography, and visual styling guidelines. Use when creating UI components, pages, or any visual elements.
4
- disable-model-invocation: true
5
- ---
6
-
7
- # dstack branding
8
-
9
- ## Overview
10
-
11
- To access dstack's official brand identity and style resources, use this skill.
12
-
13
- Keywords: branding, corporate identity, visual identity, styling, brand colors, typography, dstack brand, visual formatting, visual design, dstack
14
-
15
- ## Brand Guidelines
16
-
17
- ### Colors
18
-
19
- Main Colors:
20
-
21
- Teal:
22
- #0da5a1 - Primary brand color, calls to action, active states
23
-
24
- Background:
25
- #f7f7f4 - Page background (warm off-white, not pure white)
26
-
27
- Foreground:
28
- #26251e - Primary text and dark elements
29
-
30
- Card:
31
- #f2f1ed - Card surfaces and elevated containers
32
-
33
- Muted:
34
- #6e6c5e - Secondary text and subdued labels
35
-
36
- Border:
37
- #d5d4cd - Borders, dividers, and separators
38
-
39
- Accent Colors:
40
-
41
- Teal Gradient Start:
42
- #0da5a1 - Brand gradient start (287deg angle)
43
-
44
- Teal Gradient End:
45
- #00d4cf - Brand gradient end (lighter teal)
46
-
47
- Semantic Colors:
48
-
49
- Success:
50
- #25935f - Success states and positive indicators
51
-
52
- Warning:
53
- #ec9c13 - Warning states and caution indicators
54
-
55
- Error:
56
- #dc2828 - Error states and destructive actions
57
-
58
- Card Hierarchy (light to dark):
59
-
60
- #f2f1ed - Card (base surface)
61
- #f0efeb - Card-01 (slightly elevated)
62
- #ebeae5 - Card-02 (mid elevation)
63
- #e6e5e0 - Card-03 (high elevation)
64
- #e1e0db - Card-04 (highest elevation)
65
-
66
- ### Typography
67
-
68
- Display/Brand: Manrope (with system sans-serif fallback)
69
- Body Text: Inter (with system sans-serif fallback)
70
- Data/Labels: System monospace (SF Mono, Menlo, Consolas)
71
-
72
- ## Features
73
-
74
- ### Smart Font Application
75
-
76
- - Applies Manrope to brand and display text (logo, hero sections, loading screens, onboarding)
77
- - Applies Inter at light weight to all body text
78
- - Applies monospace to data labels, statistics, tabular numbers, status badges, and micro-labels
79
- - Manrope should use tight letter-spacing for brand moments
80
- - Standard UI text (form labels, table cells, body copy) stays on Inter
81
-
82
- ### Text Styling
83
-
84
- - Headings and brand moments: Manrope, tight tracking
85
- - Body text: Inter, light weight
86
- - Data and metrics: Monospace, small size (10-11px), uppercase, wide tracking
87
- - Tabular numbers always use monospace for alignment
88
- - Smart color selection based on surface — darker text on light surfaces, lighter text on dark
89
- - Preserves text hierarchy and formatting
90
-
91
- ### Color Application
92
-
93
- - Warm neutral palette throughout — cream and off-white tones, never stark white
94
- - Brand teal used for primary actions, focus rings, and interactive highlights
95
- - Brand gradient reserved for premium or highlight elements — use sparingly
96
- - Card hierarchy provides layered depth through progressively darker warm neutrals
97
- - Semantic colors (success, warning, error) only for their intended status meaning
98
-
99
- ### Shape and Accent Colors
100
-
101
- - Non-text elements use the brand teal or card hierarchy colors
102
- - Brand gradient cycles from #0da5a1 to #00d4cf at a 287deg angle
103
- - Maintains visual interest while staying on-brand
104
- - No emojis anywhere — not in UI, copy, or documentation
@@ -1,138 +0,0 @@
1
- ---
2
- name: create-pr
3
- description: Turn current workspace changes into a published GitHub pull request by creating or reusing a branch, committing the changes, pushing the branch, and opening a PR with gh.
4
- ---
5
-
6
- ## 1. Trigger this skill
7
-
8
- - Use when the user asks to run end-to-end PR publishing for current local changes.
9
- - Use when the user asks for branch creation + commit + push + PR in one command.
10
-
11
- ## 2. Required tooling
12
-
13
- - `git` and `gh` are available and authenticated.
14
- - `scripts/create-pr.sh` exists at repo root.
15
- - Git remote `origin` is configured.
16
-
17
- ## 3. Inputs you can pass
18
-
19
- - `TARGET_BRANCH`: desired branch name.
20
- - `COMMIT_MESSAGE`: commit message used for the commit.
21
- - `PR_TITLE`: PR title shown in GitHub.
22
- - `PR_BODY_FILE`: optional markdown file path for PR body.
23
- - `BASE_BRANCH`: PR base branch (default `main`).
24
- - `GIT_REMOTE`: git remote name (default `origin`).
25
-
26
- ## 4. Process
27
-
28
- Run the workflow via script:
29
-
30
- ```bash
31
- TARGET_BRANCH=<branch-name> \
32
- COMMIT_MESSAGE="<message>" \
33
- PR_TITLE="<PR title>" \
34
- BASE_BRANCH=<base branch> \
35
- scripts/create-pr.sh
36
- ```
37
-
38
- Workflow order:
39
-
40
- - Create or checkout `TARGET_BRANCH`.
41
- - Add all local changes and create one commit with `COMMIT_MESSAGE`.
42
- - Push branch with upstream tracking to `GIT_REMOTE`.
43
- - Open a PR from `TARGET_BRANCH` to `BASE_BRANCH`.
44
- - Print PR URL on success.
45
-
46
- ## 5. Safety and failure behavior
47
-
48
- - Abort with clear error when no changes are present.
49
- - Abort when required commands are unavailable.
50
- - If PR creation fails after push, return a message with the pushed remote branch and stop cleanly.
51
-
52
- ## 6. PR description guidelines
53
-
54
- # Pull Request Guide
55
-
56
- This document describes how we write PRs for this project. The goal is for a reviewer — or anyone reading the PR months later — to understand what problem existed, what decision was made, and why, without having to read the code.
57
-
58
- ---
59
-
60
- ## Structure
61
-
62
- Every non-trivial PR should follow this structure:
63
-
64
- ### 1. Summary
65
-
66
- One short paragraph stating what this PR does and why it matters. No bullet lists here — write in prose.
67
-
68
- ### 2. Before vs After
69
-
70
- For architectural or flow changes, show the old and new as ASCII diagrams or code blocks. Label the problems with the old approach explicitly. The diagram should make the improvement self-evident.
71
-
72
- ```
73
- # Example
74
- Before:
75
- raw snapshot (~50K tokens)
76
- └─ agent A → agent B → agent C (sequential)
77
-
78
- After:
79
- formatted input (~1.5K tokens)
80
- ├─ agent A
81
- ├─ agent B (parallel)
82
- └─ agent C
83
- ```
84
-
85
- ### 3. Key Improvements
86
-
87
- Bullet list of the specific wins. Be concrete — use numbers.
88
-
89
- - "~97% token reduction" not "significant token reduction"
90
- - "MAE dropped from 3.5 to 2.1" not "improved accuracy"
91
- - "removed one sequential LLM hop" not "made it faster"
92
-
93
- ### 4. Deep-dive Sections
94
-
95
- For anything non-obvious — evaluation methodology, format design, data shape changes, model selection — give it its own titled section. Reviewers who want detail can read it; others can skip.
96
-
97
- ### 5. New Data Shape
98
-
99
- Whenever the output schema of a service or database record changes, show the new shape as a TypeScript snippet or JSON example.
100
-
101
- ### 6. Open TODOs
102
-
103
- Explicitly list what is **not** in this PR but should be done. Bold the item name, one sentence of context. This prevents follow-up questions and captures intent before it gets lost.
104
-
105
- - **Item name** — why it matters and what needs to happen
106
-
107
- ### 7. Test Plan
108
-
109
- Checkboxes with specific commands and specific things to verify. Not "test it works" but:
110
-
111
- - [ ] Run `doppler run -- npx tsx scripts/foo.ts` — verify output X
112
- - [ ] Process a new profile end-to-end — confirm data shape matches Y
113
- - [ ] Retry a partially-failed job — confirm only failed steps re-run
114
-
115
- ---
116
-
117
- ## Tone and Style
118
-
119
- - No emojis
120
- - No tool attribution footers (e.g. "Generated with X")
121
- - Write in plain declarative sentences: "Personality runs in parallel" not "We made personality run in parallel"
122
- - Use exact numbers where available
123
- - For model or approach comparisons, use a table
124
- - Don't hedge: say what happened
125
-
126
- ## Title Format
127
-
128
- Use [Conventional Commits](https://www.conventionalcommits.org/). Use title case for PR titles (capitalize principal words; lowercase short conjunctions like `and`, `or`, `for` unless they start the title). Preserve identifiers as they appear in code (`Cluster.AgentId`, API names, etc.).
129
-
130
- Keep titles under 72 characters. Use the description/body for details, not the title.
131
-
132
- ---
133
-
134
- ## PR Size
135
-
136
- - Prefer one focused PR over several small ones for tightly coupled changes
137
- - If a PR touches both a refactor and a new feature, split them unless they are inseparable
138
- - Infrastructure changes (schema, DB migrations) should be their own PR
@@ -1,45 +0,0 @@
1
- ---
2
- name: frontend-design
3
- description: Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
4
- license: Complete terms in LICENSE.txt
5
- ---
6
-
7
- This skill guides creation of distinctive, production-grade frontend interfaces that avoid generic "AI slop" aesthetics. Implement real working code with exceptional attention to aesthetic details and creative choices.
8
-
9
- The user provides frontend requirements: a component, page, application, or interface to build. They may include context about the purpose, audience, or technical constraints.
10
-
11
- ## Design Thinking
12
-
13
- Before coding, understand the context and commit to a BOLD aesthetic direction:
14
-
15
- - **Purpose**: What problem does this interface solve? Who uses it?
16
- - **Tone**: Pick an extreme: brutally minimal, maximalist chaos, retro-futuristic, organic/natural, luxury/refined, playful/toy-like, editorial/magazine, brutalist/raw, art deco/geometric, soft/pastel, industrial/utilitarian, etc. There are so many flavors to choose from. Use these for inspiration but design one that is true to the aesthetic direction.
17
- - **Constraints**: Technical requirements (framework, performance, accessibility).
18
- - **Differentiation**: What makes this UNFORGETTABLE? What's the one thing someone will remember?
19
-
20
- **CRITICAL**: Choose a clear conceptual direction and execute it with precision. Bold maximalism and refined minimalism both work - the key is intentionality, not intensity.
21
-
22
- Then implement working code (HTML/CSS/JS, React, Vue, etc.) that is:
23
-
24
- - Production-grade and functional
25
- - Visually striking and memorable
26
- - Cohesive with a clear aesthetic point-of-view
27
- - Meticulously refined in every detail
28
-
29
- ## Frontend Aesthetics Guidelines
30
-
31
- Focus on:
32
-
33
- - **Typography**: Choose fonts that are beautiful, unique, and interesting. Avoid generic fonts like Arial and Inter; opt instead for distinctive choices that elevate the frontend's aesthetics; unexpected, characterful font choices. Pair a distinctive display font with a refined body font.
34
- - **Color & Theme**: Commit to a cohesive aesthetic. Use CSS variables for consistency. Dominant colors with sharp accents outperform timid, evenly-distributed palettes.
35
- - **Motion**: Use animations for effects and micro-interactions. Prioritize CSS-only solutions for HTML. Use Motion library for React when available. Focus on high-impact moments: one well-orchestrated page load with staggered reveals (animation-delay) creates more delight than scattered micro-interactions. Use scroll-triggering and hover states that surprise.
36
- - **Spatial Composition**: Unexpected layouts. Asymmetry. Overlap. Diagonal flow. Grid-breaking elements. Generous negative space OR controlled density.
37
- - **Backgrounds & Visual Details**: Create atmosphere and depth rather than defaulting to solid colors. Add contextual effects and textures that match the overall aesthetic. Apply creative forms like gradient meshes, noise textures, geometric patterns, layered transparencies, dramatic shadows, decorative borders, custom cursors, and grain overlays.
38
-
39
- NEVER use generic AI-generated aesthetics like overused font families (Inter, Roboto, Arial, system fonts), cliched color schemes (particularly purple gradients on white backgrounds), predictable layouts and component patterns, and cookie-cutter design that lacks context-specific character.
40
-
41
- Interpret creatively and make unexpected choices that feel genuinely designed for the context. No design should be the same. Vary between light and dark themes, different fonts, different aesthetics. NEVER converge on common choices (Space Grotesk, for example) across generations.
42
-
43
- **IMPORTANT**: Match implementation complexity to the aesthetic vision. Maximalist designs need elaborate code with extensive animations and effects. Minimalist or refined designs need restraint, precision, and careful attention to spacing, typography, and subtle details. Elegance comes from executing the vision well.
44
-
45
- Remember: You is capable of extraordinary creative work. Don't hold back, show what can truly be created when thinking outside the box and committing fully to a distinctive vision.
@@ -1,122 +0,0 @@
1
- ---
2
- name: make-interfaces-feel-better
3
- description: Design engineering principles for making interfaces feel polished. Use when building UI components, reviewing frontend code, implementing animations, hover states, shadows, borders, typography, micro-interactions, enter/exit animations, or any visual detail work. Triggers on UI polish, design details, "make it feel better", "feels off", stagger animations, border radius, optical alignment, font smoothing, tabular numbers, image outlines, box shadows.
4
- ---
5
-
6
- # Details that make interfaces feel better
7
-
8
- Great interfaces rarely come from a single thing. It's usually a collection of small details that compound into a great experience. Apply these principles when building or reviewing UI code.
9
-
10
- ## Quick Reference
11
-
12
- | Category | When to Use |
13
- | ----------------------------- | --------------------------------------------------------------------------------- |
14
- | [Typography](typography.md) | Text wrapping, font smoothing, tabular numbers |
15
- | [Surfaces](surfaces.md) | Border radius, optical alignment, shadows, image outlines, hit areas |
16
- | [Animations](animations.md) | Interruptible animations, enter/exit transitions, icon animations, scale on press |
17
- | [Performance](performance.md) | Transition specificity, `will-change` usage |
18
-
19
- ## Core Principles
20
-
21
- ### 1. Concentric Border Radius
22
-
23
- Outer radius = inner radius + padding. Mismatched radii on nested elements is the most common thing that makes interfaces feel off.
24
-
25
- ### 2. Optical Over Geometric Alignment
26
-
27
- When geometric centering looks off, align optically. Buttons with icons, play triangles, and asymmetric icons all need manual adjustment.
28
-
29
- ### 3. Shadows Over Borders
30
-
31
- Layer multiple transparent `box-shadow` values for natural depth. Shadows adapt to any background; solid borders don't.
32
-
33
- ### 4. Interruptible Animations
34
-
35
- Use CSS transitions for interactive state changes — they can be interrupted mid-animation. Reserve keyframes for staged sequences that run once.
36
-
37
- ### 5. Split and Stagger Enter Animations
38
-
39
- Don't animate a single container. Break content into semantic chunks and stagger each with ~100ms delay.
40
-
41
- ### 6. Subtle Exit Animations
42
-
43
- Use a small fixed `translateY` instead of full height. Exits should be softer than enters.
44
-
45
- ### 7. Contextual Icon Animations
46
-
47
- Animate icons with `opacity`, `scale`, and `blur` instead of toggling visibility. Use exactly these values: scale from `0.25` to `1`, opacity from `0` to `1`, blur from `4px` to `0px`. If the project has `motion` or `framer-motion` in `package.json`, use `transition: { type: "spring", duration: 0.3, bounce: 0 }` — bounce must always be `0`. If no motion library is installed, keep both icons in the DOM (one absolute-positioned) and cross-fade with CSS transitions using `cubic-bezier(0.2, 0, 0, 1)` — this gives both enter and exit animations without any dependency.
48
-
49
- ### 8. Font Smoothing
50
-
51
- Apply `-webkit-font-smoothing: antialiased` to the root layout on macOS for crisper text.
52
-
53
- ### 9. Tabular Numbers
54
-
55
- Use `font-variant-numeric: tabular-nums` for any dynamically updating numbers to prevent layout shift.
56
-
57
- ### 10. Text Wrapping
58
-
59
- Use `text-wrap: balance` on headings. Use `text-wrap: pretty` for body text to avoid orphans.
60
-
61
- ### 11. Image Outlines
62
-
63
- Add a subtle `1px` outline with low opacity to images for consistent depth.
64
-
65
- ### 12. Scale on Press
66
-
67
- A subtle `scale(0.96)` on click gives buttons tactile feedback. Always use `0.96`. Never use a value smaller than `0.95` — anything below feels exaggerated. Add a `static` prop to disable it when motion would be distracting.
68
-
69
- ### 13. Skip Animation on Page Load
70
-
71
- Use `initial={false}` on `AnimatePresence` to prevent enter animations on first render. Verify it doesn't break intentional entrance animations.
72
-
73
- ### 14. Never Use `transition: all`
74
-
75
- Always specify exact properties: `transition-property: scale, opacity`. Tailwind's `transition-transform` covers `transform, translate, scale, rotate`.
76
-
77
- ### 15. Use `will-change` Sparingly
78
-
79
- Only for `transform`, `opacity`, `filter` — properties the GPU can composite. Never use `will-change: all`. Only add when you notice first-frame stutter.
80
-
81
- ### 16. Minimum Hit Area
82
-
83
- Interactive elements need at least 40×40px hit area. Extend with a pseudo-element if the visible element is smaller. Never let hit areas of two elements overlap.
84
-
85
- ## Common Mistakes
86
-
87
- | Mistake | Fix |
88
- | -------------------------------------- | ------------------------------------------------- |
89
- | Same border radius on parent and child | Calculate `outerRadius = innerRadius + padding` |
90
- | Icons look off-center | Adjust optically with padding or fix SVG directly |
91
- | Hard borders between sections | Use layered `box-shadow` with transparency |
92
- | Jarring enter/exit animations | Split, stagger, and keep exits subtle |
93
- | Numbers cause layout shift | Apply `tabular-nums` |
94
- | Heavy text on macOS | Apply `antialiased` to root |
95
- | Animation plays on page load | Add `initial={false}` to `AnimatePresence` |
96
- | `transition: all` on elements | Specify exact properties |
97
- | First-frame animation stutter | Add `will-change: transform` (sparingly) |
98
- | Tiny hit areas on small controls | Extend with pseudo-element to 40×40px |
99
-
100
- ## Review Checklist
101
-
102
- - [ ] Nested rounded elements use concentric border radius
103
- - [ ] Icons are optically centered, not just geometrically
104
- - [ ] Shadows used instead of borders where appropriate
105
- - [ ] Enter animations are split and staggered
106
- - [ ] Exit animations are subtle
107
- - [ ] Dynamic numbers use tabular-nums
108
- - [ ] Font smoothing is applied
109
- - [ ] Headings use text-wrap: balance
110
- - [ ] Images have subtle outlines
111
- - [ ] Buttons use scale on press where appropriate
112
- - [ ] AnimatePresence uses `initial={false}` for default-state elements
113
- - [ ] No `transition: all` — only specific properties
114
- - [ ] `will-change` only on transform/opacity/filter, never `all`
115
- - [ ] Interactive elements have at least 40×40px hit area
116
-
117
- ## Reference Files
118
-
119
- - [typography.md](typography.md) — Text wrapping, font smoothing, tabular numbers
120
- - [surfaces.md](surfaces.md) — Border radius, optical alignment, shadows, image outlines
121
- - [animations.md](animations.md) — Interruptible animations, enter/exit transitions, icon animations, scale on press
122
- - [performance.md](performance.md) — Transition specificity, `will-change` usage