@ia-ccun/code-agent-cli 0.0.3 → 0.0.4-8.beta.1

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.
Files changed (189) hide show
  1. package/README.md +92 -11
  2. package/bin/cli.js +212 -59
  3. package/config/agent/APPEND_SYSTEM.md +46 -5
  4. package/config/agent/bin/fd +0 -0
  5. package/config/agent/bin/rg +0 -0
  6. package/config/agent/dangerous-patterns.json +106 -0
  7. package/config/agent/extensions/aicode-tips.ts +191 -0
  8. package/config/agent/extensions/bash-check.ts +227 -0
  9. package/config/agent/extensions/context-monitor.ts +275 -0
  10. package/config/agent/extensions/context.ts +1 -0
  11. package/config/agent/extensions/custom-footer.ts +33 -2
  12. package/config/agent/extensions/custom.ts +24 -91
  13. package/config/agent/extensions/error-monitor.ts +142 -0
  14. package/config/agent/extensions/msg-debug.ts +185 -0
  15. package/config/agent/extensions/review.ts +4 -0
  16. package/config/agent/extensions/working-msg.ts +39 -20
  17. package/config/agent/mcp.json +4 -0
  18. package/config/agent/models.json +16 -43
  19. package/config/agent/prompts/code-simplifier.md +51 -0
  20. package/config/agent/prompts/feat.md +2 -2
  21. package/config/agent/prompts/git-commit.md +9 -15
  22. package/config/agent/prompts/init-project.md +2 -1
  23. package/config/agent/prompts/workflow.md +3 -2
  24. package/config/agent/settings.json +17 -5
  25. package/config/agent/skills/brainstorming/SKILL.md +167 -0
  26. package/config/agent/skills/brainstorming/scripts/frame-template.html +214 -0
  27. package/config/agent/skills/brainstorming/scripts/helper.js +88 -0
  28. package/config/agent/skills/brainstorming/scripts/server.cjs +338 -0
  29. package/config/agent/skills/brainstorming/scripts/start-server.sh +153 -0
  30. package/config/agent/skills/brainstorming/scripts/stop-server.sh +55 -0
  31. package/config/agent/skills/brainstorming/spec-document-reviewer-prompt.md +49 -0
  32. package/config/agent/skills/brainstorming/visual-companion.md +286 -0
  33. package/config/agent/skills/code-review/SKILL.md +4 -2
  34. package/config/agent/skills/commit/SKILL.md +10 -5
  35. package/config/agent/skills/csv-data-summarizer/SKILL.md +2 -1
  36. package/config/agent/skills/design-md/README.md +34 -0
  37. package/config/agent/skills/design-md/SKILL.md +172 -0
  38. package/config/agent/skills/design-md/examples/DESIGN.md +154 -0
  39. package/config/agent/skills/dispatching-parallel-agents/SKILL.md +185 -0
  40. package/config/agent/skills/executing-plans/SKILL.md +73 -0
  41. package/config/agent/skills/find-skills/SKILL.md +5 -1
  42. package/config/agent/skills/finishing-a-development-branch/SKILL.md +204 -0
  43. package/config/agent/skills/fireworks-tech-graph/LICENSE +21 -0
  44. package/config/agent/skills/fireworks-tech-graph/README.md +528 -0
  45. package/config/agent/skills/fireworks-tech-graph/README.zh.md +499 -0
  46. package/config/agent/skills/fireworks-tech-graph/SKILL.md +537 -0
  47. package/config/agent/skills/fireworks-tech-graph/agentloop-core.svg +101 -0
  48. package/config/agent/skills/fireworks-tech-graph/agents/openai.yaml +4 -0
  49. package/config/agent/skills/fireworks-tech-graph/assets/samples/sample-style1-flat.png +0 -0
  50. package/config/agent/skills/fireworks-tech-graph/assets/samples/sample-style2-dark.png +0 -0
  51. package/config/agent/skills/fireworks-tech-graph/assets/samples/sample-style3-blueprint.png +0 -0
  52. package/config/agent/skills/fireworks-tech-graph/assets/samples/sample-style4-notion.png +0 -0
  53. package/config/agent/skills/fireworks-tech-graph/assets/samples/sample-style5-glass.png +0 -0
  54. package/config/agent/skills/fireworks-tech-graph/assets/samples/sample-style6-claude.png +0 -0
  55. package/config/agent/skills/fireworks-tech-graph/assets/samples/sample-style7-openai.png +0 -0
  56. package/config/agent/skills/fireworks-tech-graph/fixtures/agent-memory-types-style4.json +181 -0
  57. package/config/agent/skills/fireworks-tech-graph/fixtures/api-flow-style7.json +40 -0
  58. package/config/agent/skills/fireworks-tech-graph/fixtures/mem0-style1.json +297 -0
  59. package/config/agent/skills/fireworks-tech-graph/fixtures/microservices-style3.json +64 -0
  60. package/config/agent/skills/fireworks-tech-graph/fixtures/multi-agent-style5.json +45 -0
  61. package/config/agent/skills/fireworks-tech-graph/fixtures/system-architecture-style6.json +48 -0
  62. package/config/agent/skills/fireworks-tech-graph/fixtures/tool-call-style2.json +182 -0
  63. package/config/agent/skills/fireworks-tech-graph/package.json +42 -0
  64. package/config/agent/skills/fireworks-tech-graph/references/icons.md +406 -0
  65. package/config/agent/skills/fireworks-tech-graph/references/style-1-flat-icon.md +108 -0
  66. package/config/agent/skills/fireworks-tech-graph/references/style-2-dark-terminal.md +107 -0
  67. package/config/agent/skills/fireworks-tech-graph/references/style-3-blueprint.md +113 -0
  68. package/config/agent/skills/fireworks-tech-graph/references/style-4-notion-clean.md +94 -0
  69. package/config/agent/skills/fireworks-tech-graph/references/style-5-glassmorphism.md +125 -0
  70. package/config/agent/skills/fireworks-tech-graph/references/style-6-claude-official.md +209 -0
  71. package/config/agent/skills/fireworks-tech-graph/references/style-7-openai.md +215 -0
  72. package/config/agent/skills/fireworks-tech-graph/references/style-diagram-matrix.md +135 -0
  73. package/config/agent/skills/fireworks-tech-graph/references/svg-layout-best-practices.md +100 -0
  74. package/config/agent/skills/fireworks-tech-graph/scripts/README.md +244 -0
  75. package/config/agent/skills/fireworks-tech-graph/scripts/generate-diagram.sh +157 -0
  76. package/config/agent/skills/fireworks-tech-graph/scripts/generate-from-template.py +1556 -0
  77. package/config/agent/skills/fireworks-tech-graph/scripts/test-all-styles.sh +135 -0
  78. package/config/agent/skills/fireworks-tech-graph/scripts/validate-svg.sh +292 -0
  79. package/config/agent/skills/fireworks-tech-graph/templates/agent-architecture.svg +28 -0
  80. package/config/agent/skills/fireworks-tech-graph/templates/architecture.svg +23 -0
  81. package/config/agent/skills/fireworks-tech-graph/templates/comparison-matrix.svg +14 -0
  82. package/config/agent/skills/fireworks-tech-graph/templates/data-flow.svg +28 -0
  83. package/config/agent/skills/fireworks-tech-graph/templates/er-diagram.svg +21 -0
  84. package/config/agent/skills/fireworks-tech-graph/templates/flowchart.svg +21 -0
  85. package/config/agent/skills/fireworks-tech-graph/templates/sequence.svg +20 -0
  86. package/config/agent/skills/fireworks-tech-graph/templates/state-machine.svg +20 -0
  87. package/config/agent/skills/fireworks-tech-graph/templates/timeline.svg +19 -0
  88. package/config/agent/skills/fireworks-tech-graph/templates/use-case.svg +21 -0
  89. package/config/agent/skills/frontend-design/SKILL.md +4 -1
  90. package/config/agent/skills/hello/SKILL.md +5 -2
  91. package/config/agent/skills/impeccable/adapt/SKILL.md +204 -0
  92. package/config/agent/skills/impeccable/animate/SKILL.md +177 -0
  93. package/config/agent/skills/impeccable/arrange/SKILL.md +127 -0
  94. package/config/agent/skills/impeccable/audit/SKILL.md +128 -0
  95. package/config/agent/skills/impeccable/bolder/SKILL.md +119 -0
  96. package/config/agent/skills/impeccable/clarify/SKILL.md +185 -0
  97. package/config/agent/skills/impeccable/colorize/SKILL.md +145 -0
  98. package/config/agent/skills/impeccable/critique/SKILL.md +122 -0
  99. package/config/agent/skills/impeccable/delight/SKILL.md +306 -0
  100. package/config/agent/skills/impeccable/distill/SKILL.md +124 -0
  101. package/config/agent/skills/impeccable/extract/SKILL.md +94 -0
  102. package/config/agent/skills/impeccable/frontend-design/reference/color-and-contrast.md +132 -0
  103. package/config/agent/skills/impeccable/frontend-design/reference/interaction-design.md +123 -0
  104. package/config/agent/skills/impeccable/frontend-design/reference/motion-design.md +99 -0
  105. package/config/agent/skills/impeccable/frontend-design/reference/responsive-design.md +114 -0
  106. package/config/agent/skills/impeccable/frontend-design/reference/spatial-design.md +100 -0
  107. package/config/agent/skills/impeccable/frontend-design/reference/typography.md +133 -0
  108. package/config/agent/skills/impeccable/frontend-design/reference/ux-writing.md +107 -0
  109. package/config/agent/skills/impeccable/harden/SKILL.md +357 -0
  110. package/config/agent/skills/impeccable/normalize/SKILL.md +73 -0
  111. package/config/agent/skills/impeccable/onboard/SKILL.md +248 -0
  112. package/config/agent/skills/impeccable/optimize/SKILL.md +268 -0
  113. package/config/agent/skills/impeccable/overdrive/SKILL.md +144 -0
  114. package/config/agent/skills/impeccable/polish/SKILL.md +205 -0
  115. package/config/agent/skills/impeccable/quieter/SKILL.md +105 -0
  116. package/config/agent/skills/impeccable/teach-impeccable/SKILL.md +71 -0
  117. package/config/agent/skills/impeccable/typeset/SKILL.md +118 -0
  118. package/config/agent/skills/librarian/SKILL.md +5 -1
  119. package/config/agent/skills/markdown-to-html/SKILL.md +5 -2
  120. package/config/agent/skills/owasp-security/SKILL.md +539 -0
  121. package/config/agent/skills/pr/SKILL.md +5 -2
  122. package/config/agent/skills/receiving-code-review/SKILL.md +216 -0
  123. package/config/agent/skills/refactor/SKILL.md +5 -2
  124. package/config/agent/skills/requesting-code-review/SKILL.md +108 -0
  125. package/config/agent/skills/requesting-code-review/code-reviewer.md +146 -0
  126. package/config/agent/skills/session-learning/SKILL.md +185 -0
  127. package/config/agent/skills/skill-creator/SKILL.md +339 -213
  128. package/config/agent/skills/skill-creator/agents/analyzer.md +274 -0
  129. package/config/agent/skills/skill-creator/agents/comparator.md +202 -0
  130. package/config/agent/skills/skill-creator/agents/grader.md +223 -0
  131. package/config/agent/skills/skill-creator/assets/eval_review.html +146 -0
  132. package/config/agent/skills/skill-creator/eval-viewer/generate_review.py +471 -0
  133. package/config/agent/skills/skill-creator/eval-viewer/viewer.html +1325 -0
  134. package/config/agent/skills/skill-creator/references/schemas.md +430 -0
  135. package/config/agent/skills/skill-creator/scripts/__init__.py +0 -0
  136. package/config/agent/skills/skill-creator/scripts/aggregate_benchmark.py +401 -0
  137. package/config/agent/skills/skill-creator/scripts/generate_report.py +326 -0
  138. package/config/agent/skills/skill-creator/scripts/improve_description.py +248 -0
  139. package/config/agent/skills/skill-creator/scripts/package_skill.py +33 -7
  140. package/config/agent/skills/skill-creator/scripts/quick_validate.py +11 -3
  141. package/config/agent/skills/skill-creator/scripts/run_eval.py +310 -0
  142. package/config/agent/skills/skill-creator/scripts/run_loop.py +332 -0
  143. package/config/agent/skills/skill-creator/scripts/utils.py +47 -0
  144. package/config/agent/skills/subagent-driven-development/SKILL.md +280 -0
  145. package/config/agent/skills/subagent-driven-development/code-quality-reviewer-prompt.md +26 -0
  146. package/config/agent/skills/subagent-driven-development/implementer-prompt.md +113 -0
  147. package/config/agent/skills/subagent-driven-development/spec-reviewer-prompt.md +61 -0
  148. package/config/agent/skills/systematic-debugging/CREATION-LOG.md +119 -0
  149. package/config/agent/skills/systematic-debugging/SKILL.md +300 -0
  150. package/config/agent/skills/systematic-debugging/condition-based-waiting-example.ts +158 -0
  151. package/config/agent/skills/systematic-debugging/condition-based-waiting.md +115 -0
  152. package/config/agent/skills/systematic-debugging/defense-in-depth.md +122 -0
  153. package/config/agent/skills/systematic-debugging/find-polluter.sh +63 -0
  154. package/config/agent/skills/systematic-debugging/root-cause-tracing.md +169 -0
  155. package/config/agent/skills/systematic-debugging/test-academic.md +14 -0
  156. package/config/agent/skills/systematic-debugging/test-pressure-1.md +58 -0
  157. package/config/agent/skills/systematic-debugging/test-pressure-2.md +68 -0
  158. package/config/agent/skills/systematic-debugging/test-pressure-3.md +69 -0
  159. package/config/agent/skills/test-driven-development/SKILL.md +375 -0
  160. package/config/agent/skills/test-driven-development/testing-anti-patterns.md +299 -0
  161. package/config/agent/skills/ui-ux-pro-max/SKILL.md +4 -1
  162. package/config/agent/skills/unit-test/SKILL.md +4 -2
  163. package/config/agent/skills/using-git-worktrees/SKILL.md +222 -0
  164. package/config/agent/skills/using-superpowers/SKILL.md +118 -0
  165. package/config/agent/skills/using-superpowers/references/codex-tools.md +25 -0
  166. package/config/agent/skills/using-superpowers/references/gemini-tools.md +33 -0
  167. package/config/agent/skills/verification-before-completion/SKILL.md +142 -0
  168. package/config/agent/skills/writing-plans/SKILL.md +148 -0
  169. package/config/agent/skills/writing-plans/plan-document-reviewer-prompt.md +49 -0
  170. package/config/agent/skills/writing-skills/SKILL.md +669 -0
  171. package/config/agent/skills/writing-skills/anthropic-best-practices.md +1150 -0
  172. package/config/agent/skills/writing-skills/examples/CLAUDE_MD_TESTING.md +189 -0
  173. package/config/agent/skills/writing-skills/graphviz-conventions.dot +172 -0
  174. package/config/agent/skills/writing-skills/persuasion-principles.md +187 -0
  175. package/config/agent/skills/writing-skills/render-graphs.js +168 -0
  176. package/config/agent/skills/writing-skills/testing-skills-with-subagents.md +384 -0
  177. package/config.json +23 -2
  178. package/dist/banner.js +3 -3
  179. package/dist/banner.js.map +1 -1
  180. package/package.json +21 -16
  181. package/scripts/banner.txt +4 -3
  182. package/scripts/postinstall.js +203 -11
  183. package/config/agent/prompts/git-rollback.md +0 -91
  184. package/config/agent/prompts/git-worktree.md +0 -277
  185. package/config/agent/prompts/help.md +0 -10
  186. package/config/agent/skills/github/SKILL.md +0 -47
  187. package/config/agent/skills/skill-creator/references/output-patterns.md +0 -82
  188. package/config/agent/skills/skill-creator/references/workflows.md +0 -28
  189. package/config/agent/skills/skill-creator/scripts/init_skill.py +0 -303
@@ -0,0 +1,154 @@
1
+ # Design System: Furniture Collections List
2
+ **Project ID:** 13534454087919359824
3
+
4
+ ## 1. Visual Theme & Atmosphere
5
+
6
+ The Furniture Collections List embodies a **sophisticated, minimalist sanctuary** that marries the pristine simplicity of Scandinavian design with the refined visual language of luxury editorial presentation. The interface feels **spacious and tranquil**, prioritizing breathing room and visual clarity above all else. The design philosophy is gallery-like and photography-first, allowing each furniture piece to command attention as an individual art object.
7
+
8
+ The overall mood is **airy yet grounded**, creating an aspirational aesthetic that remains approachable and welcoming. The interface feels **utilitarian in its restraint** but elegant in its execution, with every element serving a clear purpose while maintaining visual sophistication. The atmosphere evokes the serene ambiance of a high-end furniture showroom where customers can browse thoughtfully without visual overwhelm.
9
+
10
+ **Key Characteristics:**
11
+ - Expansive whitespace creating generous breathing room between elements
12
+ - Clean, architectural grid system with structured content blocks
13
+ - Photography-first presentation with minimal UI interference
14
+ - Whisper-soft visual hierarchy that guides without shouting
15
+ - Refined, understated interactive elements
16
+ - Professional yet inviting editorial tone
17
+
18
+ ## 2. Color Palette & Roles
19
+
20
+ ### Primary Foundation
21
+ - **Warm Barely-There Cream** (#FCFAFA) – Primary background color. Creates an almost imperceptible warmth that feels more inviting than pure white, serving as the serene canvas for the entire experience.
22
+ - **Crisp Very Light Gray** (#F5F5F5) – Secondary surface color used for card backgrounds and content areas. Provides subtle visual separation while maintaining the airy, ethereal quality.
23
+
24
+ ### Accent & Interactive
25
+ - **Deep Muted Teal-Navy** (#294056) – The sole vibrant accent in the palette. Used exclusively for primary call-to-action buttons (e.g., "Shop Now", "View all products"), active navigation links, selected filter states, and subtle interaction highlights. This sophisticated anchor color creates visual focus points without disrupting the serene neutral foundation.
26
+
27
+ ### Typography & Text Hierarchy
28
+ - **Charcoal Near-Black** (#2C2C2C) – Primary text color for headlines and product names. Provides strong readable contrast while being softer and more refined than pure black.
29
+ - **Soft Warm Gray** (#6B6B6B) – Secondary text used for body copy, product descriptions, and supporting metadata. Creates clear typographic hierarchy without harsh contrast.
30
+ - **Ultra-Soft Silver Gray** (#E0E0E0) – Tertiary color for borders, dividers, and subtle structural elements. Creates separation so gentle it's almost imperceptible.
31
+
32
+ ### Functional States (Reserved for system feedback)
33
+ - **Success Moss** (#10B981) – Stock availability, confirmation states, positive indicators
34
+ - **Alert Terracotta** (#EF4444) – Low stock warnings, error states, critical alerts
35
+ - **Informational Slate** (#64748B) – Neutral system messages, informational callouts
36
+
37
+ ## 3. Typography Rules
38
+
39
+ **Primary Font Family:** Manrope
40
+ **Character:** Modern, geometric sans-serif with gentle humanist warmth. Slightly rounded letterforms that feel contemporary yet approachable.
41
+
42
+ ### Hierarchy & Weights
43
+ - **Display Headlines (H1):** Semi-bold weight (600), generous letter-spacing (0.02em for elegance), 2.75-3.5rem size. Used sparingly for hero sections and major page titles.
44
+ - **Section Headers (H2):** Semi-bold weight (600), subtle letter-spacing (0.01em), 2-2.5rem size. Establishes clear content zones and featured collections.
45
+ - **Subsection Headers (H3):** Medium weight (500), normal letter-spacing, 1.5-1.75rem size. Product names and category labels.
46
+ - **Body Text:** Regular weight (400), relaxed line-height (1.7), 1rem size. Descriptions and supporting content prioritize comfortable readability.
47
+ - **Small Text/Meta:** Regular weight (400), slightly tighter line-height (1.5), 0.875rem size. Prices, availability, and metadata remain legible but visually recessive.
48
+ - **CTA Buttons:** Medium weight (500), subtle letter-spacing (0.01em), 1rem size. Balanced presence without visual aggression.
49
+
50
+ ### Spacing Principles
51
+ - Headers use slightly expanded letter-spacing for refined elegance
52
+ - Body text maintains generous line-height (1.7) for effortless reading
53
+ - Consistent vertical rhythm with 2-3rem between related text blocks
54
+ - Large margins (4-6rem) between major sections to reinforce spaciousness
55
+
56
+ ## 4. Component Stylings
57
+
58
+ ### Buttons
59
+ - **Shape:** Subtly rounded corners (8px/0.5rem radius) – approachable and modern without appearing playful or childish
60
+ - **Primary CTA:** Deep Muted Teal-Navy (#294056) background with pure white text, comfortable padding (0.875rem vertical, 2rem horizontal)
61
+ - **Hover State:** Subtle darkening to deeper navy, smooth 250ms ease-in-out transition
62
+ - **Focus State:** Soft outer glow in the primary color for keyboard navigation accessibility
63
+ - **Secondary CTA (if needed):** Outlined style with Deep Muted Teal-Navy border, transparent background, hover fills with whisper-soft teal tint
64
+
65
+ ### Cards & Product Containers
66
+ - **Corner Style:** Gently rounded corners (12px/0.75rem radius) creating soft, refined edges
67
+ - **Background:** Alternates between Warm Barely-There Cream and Crisp Very Light Gray based on layering needs
68
+ - **Shadow Strategy:** Flat by default. On hover, whisper-soft diffused shadow appears (`0 2px 8px rgba(0,0,0,0.06)`) creating subtle depth
69
+ - **Border:** Optional hairline border (1px) in Ultra-Soft Silver Gray for delicate definition when shadows aren't present
70
+ - **Internal Padding:** Generous 2-2.5rem creating comfortable breathing room for content
71
+ - **Image Treatment:** Full-bleed at the top of cards, square or 4:3 ratio, seamless edge-to-edge presentation
72
+
73
+ ### Navigation
74
+ - **Style:** Clean horizontal layout with generous spacing (2-3rem) between menu items
75
+ - **Typography:** Medium weight (500), subtle uppercase, expanded letter-spacing (0.06em) for refined sophistication
76
+ - **Default State:** Charcoal Near-Black text
77
+ - **Active/Hover State:** Smooth 200ms color transition to Deep Muted Teal-Navy
78
+ - **Active Indicator:** Thin underline (2px) in Deep Muted Teal-Navy appearing below current section
79
+ - **Mobile:** Converts to elegant hamburger menu with sliding drawer
80
+
81
+ ### Inputs & Forms
82
+ - **Stroke Style:** Refined 1px border in Soft Warm Gray
83
+ - **Background:** Warm Barely-There Cream with transition to Crisp Very Light Gray on focus
84
+ - **Corner Style:** Matching button roundness (8px/0.5rem) for visual consistency
85
+ - **Focus State:** Border color shifts to Deep Muted Teal-Navy with subtle outer glow
86
+ - **Padding:** Comfortable 0.875rem vertical, 1.25rem horizontal for touch-friendly targets
87
+ - **Placeholder Text:** Ultra-Soft Silver Gray, elegant and unobtrusive
88
+
89
+ ### Product Cards (Specific Pattern)
90
+ - **Image Area:** Square (1:1) or landscape (4:3) ratio filling card width completely
91
+ - **Content Stack:** Product name (H3), brief descriptor, material/finish, price
92
+ - **Price Display:** Emphasized with semi-bold weight (600) in Charcoal Near-Black
93
+ - **Hover Behavior:** Gentle lift effect (translateY -4px) combined with enhanced shadow
94
+ - **Spacing:** Consistent 1.5rem internal padding below image
95
+
96
+ ## 5. Layout Principles
97
+
98
+ ### Grid & Structure
99
+ - **Max Content Width:** 1440px for optimal readability and visual balance on large displays
100
+ - **Grid System:** Responsive 12-column grid with fluid gutters (24px mobile, 32px desktop)
101
+ - **Product Grid:** 4 columns on large desktop, 3 on desktop, 2 on tablet, 1 on mobile
102
+ - **Breakpoints:**
103
+ - Mobile: <768px
104
+ - Tablet: 768-1024px
105
+ - Desktop: 1024-1440px
106
+ - Large Desktop: >1440px
107
+
108
+ ### Whitespace Strategy (Critical to the Design)
109
+ - **Base Unit:** 8px for micro-spacing, 16px for component spacing
110
+ - **Vertical Rhythm:** Consistent 2rem (32px) base unit between related elements
111
+ - **Section Margins:** Generous 5-8rem (80-128px) between major sections creating dramatic breathing room
112
+ - **Edge Padding:** 1.5rem (24px) mobile, 3rem (48px) tablet/desktop for comfortable framing
113
+ - **Hero Sections:** Extra-generous top/bottom padding (8-12rem) for impactful presentation
114
+
115
+ ### Alignment & Visual Balance
116
+ - **Text Alignment:** Left-aligned for body and navigation (optimal readability), centered for hero headlines and featured content
117
+ - **Image to Text Ratio:** Heavily weighted toward imagery (70-30 split) reinforcing photography-first philosophy
118
+ - **Asymmetric Balance:** Large hero images offset by compact, refined text blocks
119
+ - **Visual Weight Distribution:** Strategic use of whitespace to draw eyes to hero products and primary CTAs
120
+ - **Reading Flow:** Clear top-to-bottom, left-to-right pattern with intentional focal points
121
+
122
+ ### Responsive Behavior & Touch
123
+ - **Mobile-First Foundation:** Core experience designed and perfected for smallest screens first
124
+ - **Progressive Enhancement:** Additional columns, imagery, and details added gracefully at larger breakpoints
125
+ - **Touch Targets:** Minimum 44x44px for all interactive elements (WCAG AAA compliant)
126
+ - **Image Optimization:** Responsive images with appropriate resolutions for each breakpoint, lazy-loading for performance
127
+ - **Collapsing Strategy:** Navigation collapses to hamburger, grid reduces columns, padding scales proportionally
128
+
129
+ ## 6. Design System Notes for Stitch Generation
130
+
131
+ When creating new screens for this project using Stitch, reference these specific instructions:
132
+
133
+ ### Language to Use
134
+ - **Atmosphere:** "Sophisticated minimalist sanctuary with gallery-like spaciousness"
135
+ - **Button Shapes:** "Subtly rounded corners" (not "rounded-md" or "8px")
136
+ - **Shadows:** "Whisper-soft diffused shadows on hover" (not "shadow-sm")
137
+ - **Spacing:** "Generous breathing room" and "expansive whitespace"
138
+
139
+ ### Color References
140
+ Always use the descriptive names with hex codes:
141
+ - Primary CTA: "Deep Muted Teal-Navy (#294056)"
142
+ - Backgrounds: "Warm Barely-There Cream (#FCFAFA)" or "Crisp Very Light Gray (#F5F5F5)"
143
+ - Text: "Charcoal Near-Black (#2C2C2C)" or "Soft Warm Gray (#6B6B6B)"
144
+
145
+ ### Component Prompts
146
+ - "Create a product card with gently rounded corners, full-bleed square product image, and whisper-soft shadow on hover"
147
+ - "Design a primary call-to-action button in Deep Muted Teal-Navy (#294056) with subtle rounded corners and comfortable padding"
148
+ - "Add a navigation bar with generous spacing between items, using medium-weight Manrope with subtle uppercase and expanded letter-spacing"
149
+
150
+ ### Incremental Iteration
151
+ When refining existing screens:
152
+ 1. Focus on ONE component at a time (e.g., "Update the product grid cards")
153
+ 2. Be specific about what to change (e.g., "Increase the internal padding of product cards from 1.5rem to 2rem")
154
+ 3. Reference this design system language consistently
@@ -0,0 +1,185 @@
1
+ ---
2
+ name: dispatching-parallel-agents
3
+ description: "Dispatch multiple independent tasks in parallel without shared state. Use when facing parallel tasks, handling multiple independent jobs, or executing concurrent operations."
4
+ metadata:
5
+ version: "1.0.0"
6
+ author: "xujianjiang"
7
+ ---
8
+
9
+ # Dispatching Parallel Agents
10
+
11
+ ## Overview
12
+
13
+ You delegate tasks to specialized agents with isolated context. By precisely crafting their instructions and context, you ensure they stay focused and succeed at their task. They should never inherit your session's context or history — you construct exactly what they need. This also preserves your own context for coordination work.
14
+
15
+ When you have multiple unrelated failures (different test files, different subsystems, different bugs), investigating them sequentially wastes time. Each investigation is independent and can happen in parallel.
16
+
17
+ **Core principle:** Dispatch one agent per independent problem domain. Let them work concurrently.
18
+
19
+ ## When to Use
20
+
21
+ ```dot
22
+ digraph when_to_use {
23
+ "Multiple failures?" [shape=diamond];
24
+ "Are they independent?" [shape=diamond];
25
+ "Single agent investigates all" [shape=box];
26
+ "One agent per problem domain" [shape=box];
27
+ "Can they work in parallel?" [shape=diamond];
28
+ "Sequential agents" [shape=box];
29
+ "Parallel dispatch" [shape=box];
30
+
31
+ "Multiple failures?" -> "Are they independent?" [label="yes"];
32
+ "Are they independent?" -> "Single agent investigates all" [label="no - related"];
33
+ "Are they independent?" -> "Can they work in parallel?" [label="yes"];
34
+ "Can they work in parallel?" -> "Parallel dispatch" [label="yes"];
35
+ "Can they work in parallel?" -> "Sequential agents" [label="no - shared state"];
36
+ }
37
+ ```
38
+
39
+ **Use when:**
40
+ - 3+ test files failing with different root causes
41
+ - Multiple subsystems broken independently
42
+ - Each problem can be understood without context from others
43
+ - No shared state between investigations
44
+
45
+ **Don't use when:**
46
+ - Failures are related (fix one might fix others)
47
+ - Need to understand full system state
48
+ - Agents would interfere with each other
49
+
50
+ ## The Pattern
51
+
52
+ ### 1. Identify Independent Domains
53
+
54
+ Group failures by what's broken:
55
+ - File A tests: Tool approval flow
56
+ - File B tests: Batch completion behavior
57
+ - File C tests: Abort functionality
58
+
59
+ Each domain is independent - fixing tool approval doesn't affect abort tests.
60
+
61
+ ### 2. Create Focused Agent Tasks
62
+
63
+ Each agent gets:
64
+ - **Specific scope:** One test file or subsystem
65
+ - **Clear goal:** Make these tests pass
66
+ - **Constraints:** Don't change other code
67
+ - **Expected output:** Summary of what you found and fixed
68
+
69
+ ### 3. Dispatch in Parallel
70
+
71
+ ```typescript
72
+ // In Claude Code / AI environment
73
+ Task("Fix agent-tool-abort.test.ts failures")
74
+ Task("Fix batch-completion-behavior.test.ts failures")
75
+ Task("Fix tool-approval-race-conditions.test.ts failures")
76
+ // All three run concurrently
77
+ ```
78
+
79
+ ### 4. Review and Integrate
80
+
81
+ When agents return:
82
+ - Read each summary
83
+ - Verify fixes don't conflict
84
+ - Run full test suite
85
+ - Integrate all changes
86
+
87
+ ## Agent Prompt Structure
88
+
89
+ Good agent prompts are:
90
+ 1. **Focused** - One clear problem domain
91
+ 2. **Self-contained** - All context needed to understand the problem
92
+ 3. **Specific about output** - What should the agent return?
93
+
94
+ ```markdown
95
+ Fix the 3 failing tests in src/agents/agent-tool-abort.test.ts:
96
+
97
+ 1. "should abort tool with partial output capture" - expects 'interrupted at' in message
98
+ 2. "should handle mixed completed and aborted tools" - fast tool aborted instead of completed
99
+ 3. "should properly track pendingToolCount" - expects 3 results but gets 0
100
+
101
+ These are timing/race condition issues. Your task:
102
+
103
+ 1. Read the test file and understand what each test verifies
104
+ 2. Identify root cause - timing issues or actual bugs?
105
+ 3. Fix by:
106
+ - Replacing arbitrary timeouts with event-based waiting
107
+ - Fixing bugs in abort implementation if found
108
+ - Adjusting test expectations if testing changed behavior
109
+
110
+ Do NOT just increase timeouts - find the real issue.
111
+
112
+ Return: Summary of what you found and what you fixed.
113
+ ```
114
+
115
+ ## Common Mistakes
116
+
117
+ **❌ Too broad:** "Fix all the tests" - agent gets lost
118
+ **✅ Specific:** "Fix agent-tool-abort.test.ts" - focused scope
119
+
120
+ **❌ No context:** "Fix the race condition" - agent doesn't know where
121
+ **✅ Context:** Paste the error messages and test names
122
+
123
+ **❌ No constraints:** Agent might refactor everything
124
+ **✅ Constraints:** "Do NOT change production code" or "Fix tests only"
125
+
126
+ **❌ Vague output:** "Fix it" - you don't know what changed
127
+ **✅ Specific:** "Return summary of root cause and changes"
128
+
129
+ ## When NOT to Use
130
+
131
+ **Related failures:** Fixing one might fix others - investigate together first
132
+ **Need full context:** Understanding requires seeing entire system
133
+ **Exploratory debugging:** You don't know what's broken yet
134
+ **Shared state:** Agents would interfere (editing same files, using same resources)
135
+
136
+ ## Real Example from Session
137
+
138
+ **Scenario:** 6 test failures across 3 files after major refactoring
139
+
140
+ **Failures:**
141
+ - agent-tool-abort.test.ts: 3 failures (timing issues)
142
+ - batch-completion-behavior.test.ts: 2 failures (tools not executing)
143
+ - tool-approval-race-conditions.test.ts: 1 failure (execution count = 0)
144
+
145
+ **Decision:** Independent domains - abort logic separate from batch completion separate from race conditions
146
+
147
+ **Dispatch:**
148
+ ```
149
+ Agent 1 → Fix agent-tool-abort.test.ts
150
+ Agent 2 → Fix batch-completion-behavior.test.ts
151
+ Agent 3 → Fix tool-approval-race-conditions.test.ts
152
+ ```
153
+
154
+ **Results:**
155
+ - Agent 1: Replaced timeouts with event-based waiting
156
+ - Agent 2: Fixed event structure bug (threadId in wrong place)
157
+ - Agent 3: Added wait for async tool execution to complete
158
+
159
+ **Integration:** All fixes independent, no conflicts, full suite green
160
+
161
+ **Time saved:** 3 problems solved in parallel vs sequentially
162
+
163
+ ## Key Benefits
164
+
165
+ 1. **Parallelization** - Multiple investigations happen simultaneously
166
+ 2. **Focus** - Each agent has narrow scope, less context to track
167
+ 3. **Independence** - Agents don't interfere with each other
168
+ 4. **Speed** - 3 problems solved in time of 1
169
+
170
+ ## Verification
171
+
172
+ After agents return:
173
+ 1. **Review each summary** - Understand what changed
174
+ 2. **Check for conflicts** - Did agents edit same code?
175
+ 3. **Run full suite** - Verify all fixes work together
176
+ 4. **Spot check** - Agents can make systematic errors
177
+
178
+ ## Real-World Impact
179
+
180
+ From debugging session (2025-10-03):
181
+ - 6 failures across 3 files
182
+ - 3 agents dispatched in parallel
183
+ - All investigations completed concurrently
184
+ - All fixes integrated successfully
185
+ - Zero conflicts between agent changes
@@ -0,0 +1,73 @@
1
+ ---
2
+ name: executing-plans
3
+ description: "Execute written implementation plans with review checkpoints. Use when executing plans, following implementation plans, or completing planned tasks."
4
+ metadata:
5
+ version: "1.0.0"
6
+ author: "xujianjiang"
7
+ ---
8
+
9
+ # Executing Plans
10
+
11
+ ## Overview
12
+
13
+ Load plan, review critically, execute all tasks, report when complete.
14
+
15
+ **Announce at start:** "I'm using the executing-plans skill to implement this plan."
16
+
17
+ **Note:** Tell your human partner that Superpowers works much better with access to subagents. The quality of its work will be significantly higher if run on a platform with subagent support (such as Claude Code or Codex). If subagents are available, use superpowers:subagent-driven-development instead of this skill.
18
+
19
+ ## The Process
20
+
21
+ ### Step 1: Load and Review Plan
22
+ 1. Read plan file
23
+ 2. Review critically - identify any questions or concerns about the plan
24
+ 3. If concerns: Raise them with your human partner before starting
25
+ 4. If no concerns: Create TodoWrite and proceed
26
+
27
+ ### Step 2: Execute Tasks
28
+
29
+ For each task:
30
+ 1. Mark as in_progress
31
+ 2. Follow each step exactly (plan has bite-sized steps)
32
+ 3. Run verifications as specified
33
+ 4. Mark as completed
34
+
35
+ ### Step 3: Complete Development
36
+
37
+ After all tasks complete and verified:
38
+ - Announce: "I'm using the finishing-a-development-branch skill to complete this work."
39
+ - **REQUIRED SUB-SKILL:** Use superpowers:finishing-a-development-branch
40
+ - Follow that skill to verify tests, present options, execute choice
41
+
42
+ ## When to Stop and Ask for Help
43
+
44
+ **STOP executing immediately when:**
45
+ - Hit a blocker (missing dependency, test fails, instruction unclear)
46
+ - Plan has critical gaps preventing starting
47
+ - You don't understand an instruction
48
+ - Verification fails repeatedly
49
+
50
+ **Ask for clarification rather than guessing.**
51
+
52
+ ## When to Revisit Earlier Steps
53
+
54
+ **Return to Review (Step 1) when:**
55
+ - Partner updates the plan based on your feedback
56
+ - Fundamental approach needs rethinking
57
+
58
+ **Don't force through blockers** - stop and ask.
59
+
60
+ ## Remember
61
+ - Review plan critically first
62
+ - Follow plan steps exactly
63
+ - Don't skip verifications
64
+ - Reference skills when plan says to
65
+ - Stop when blocked, don't guess
66
+ - Never start implementation on main/master branch without explicit user consent
67
+
68
+ ## Integration
69
+
70
+ **Required workflow skills:**
71
+ - **superpowers:using-git-worktrees** - REQUIRED: Set up isolated workspace before starting
72
+ - **superpowers:writing-plans** - Creates the plan this skill executes
73
+ - **superpowers:finishing-a-development-branch** - Complete development after all tasks
@@ -1,6 +1,10 @@
1
1
  ---
2
2
  name: find-skills
3
- description: Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.
3
+ description: "Discover and install agent skills from the open ecosystem. Use when asking how to do something, finding skills, looking for capabilities, or needing functionality that might exist as an installable skill."
4
+ disable-model-invocation: true
5
+ metadata:
6
+ version: "1.0.0"
7
+ author: "xujianjiang"
4
8
  ---
5
9
 
6
10
  # Find Skills
@@ -0,0 +1,204 @@
1
+ ---
2
+ name: finishing-a-development-branch
3
+ description: "Guide completion of development work with structured options for merge, PR, or cleanup. Use when finishing development, merging PRs, or cleaning up branches."
4
+ disable-model-invocation: true
5
+ metadata:
6
+ version: "1.0.0"
7
+ author: "xujianjiang"
8
+ ---
9
+
10
+ # Finishing a Development Branch
11
+
12
+ ## Overview
13
+
14
+ Guide completion of development work by presenting clear options and handling chosen workflow.
15
+
16
+ **Core principle:** Verify tests → Present options → Execute choice → Clean up.
17
+
18
+ **Announce at start:** "I'm using the finishing-a-development-branch skill to complete this work."
19
+
20
+ ## The Process
21
+
22
+ ### Step 1: Verify Tests
23
+
24
+ **Before presenting options, verify tests pass:**
25
+
26
+ ```bash
27
+ # Run project's test suite
28
+ npm test / cargo test / pytest / go test ./...
29
+ ```
30
+
31
+ **If tests fail:**
32
+ ```
33
+ Tests failing (<N> failures). Must fix before completing:
34
+
35
+ [Show failures]
36
+
37
+ Cannot proceed with merge/PR until tests pass.
38
+ ```
39
+
40
+ Stop. Don't proceed to Step 2.
41
+
42
+ **If tests pass:** Continue to Step 2.
43
+
44
+ ### Step 2: Determine Base Branch
45
+
46
+ ```bash
47
+ # Try common base branches
48
+ git merge-base HEAD main 2>/dev/null || git merge-base HEAD master 2>/dev/null
49
+ ```
50
+
51
+ Or ask: "This branch split from main - is that correct?"
52
+
53
+ ### Step 3: Present Options
54
+
55
+ Present exactly these 4 options:
56
+
57
+ ```
58
+ Implementation complete. What would you like to do?
59
+
60
+ 1. Merge back to <base-branch> locally
61
+ 2. Push and create a Pull Request
62
+ 3. Keep the branch as-is (I'll handle it later)
63
+ 4. Discard this work
64
+
65
+ Which option?
66
+ ```
67
+
68
+ **Don't add explanation** - keep options concise.
69
+
70
+ ### Step 4: Execute Choice
71
+
72
+ #### Option 1: Merge Locally
73
+
74
+ ```bash
75
+ # Switch to base branch
76
+ git checkout <base-branch>
77
+
78
+ # Pull latest
79
+ git pull
80
+
81
+ # Merge feature branch
82
+ git merge <feature-branch>
83
+
84
+ # Verify tests on merged result
85
+ <test command>
86
+
87
+ # If tests pass
88
+ git branch -d <feature-branch>
89
+ ```
90
+
91
+ Then: Cleanup worktree (Step 5)
92
+
93
+ #### Option 2: Push and Create PR
94
+
95
+ ```bash
96
+ # Push branch
97
+ git push -u origin <feature-branch>
98
+
99
+ # Create PR
100
+ gh pr create --title "<title>" --body "$(cat <<'EOF'
101
+ ## Summary
102
+ <2-3 bullets of what changed>
103
+
104
+ ## Test Plan
105
+ - [ ] <verification steps>
106
+ EOF
107
+ )"
108
+ ```
109
+
110
+ Then: Cleanup worktree (Step 5)
111
+
112
+ #### Option 3: Keep As-Is
113
+
114
+ Report: "Keeping branch <name>. Worktree preserved at <path>."
115
+
116
+ **Don't cleanup worktree.**
117
+
118
+ #### Option 4: Discard
119
+
120
+ **Confirm first:**
121
+ ```
122
+ This will permanently delete:
123
+ - Branch <name>
124
+ - All commits: <commit-list>
125
+ - Worktree at <path>
126
+
127
+ Type 'discard' to confirm.
128
+ ```
129
+
130
+ Wait for exact confirmation.
131
+
132
+ If confirmed:
133
+ ```bash
134
+ git checkout <base-branch>
135
+ git branch -D <feature-branch>
136
+ ```
137
+
138
+ Then: Cleanup worktree (Step 5)
139
+
140
+ ### Step 5: Cleanup Worktree
141
+
142
+ **For Options 1, 2, 4:**
143
+
144
+ Check if in worktree:
145
+ ```bash
146
+ git worktree list | grep $(git branch --show-current)
147
+ ```
148
+
149
+ If yes:
150
+ ```bash
151
+ git worktree remove <worktree-path>
152
+ ```
153
+
154
+ **For Option 3:** Keep worktree.
155
+
156
+ ## Quick Reference
157
+
158
+ | Option | Merge | Push | Keep Worktree | Cleanup Branch |
159
+ |--------|-------|------|---------------|----------------|
160
+ | 1. Merge locally | ✓ | - | - | ✓ |
161
+ | 2. Create PR | - | ✓ | ✓ | - |
162
+ | 3. Keep as-is | - | - | ✓ | - |
163
+ | 4. Discard | - | - | - | ✓ (force) |
164
+
165
+ ## Common Mistakes
166
+
167
+ **Skipping test verification**
168
+ - **Problem:** Merge broken code, create failing PR
169
+ - **Fix:** Always verify tests before offering options
170
+
171
+ **Open-ended questions**
172
+ - **Problem:** "What should I do next?" → ambiguous
173
+ - **Fix:** Present exactly 4 structured options
174
+
175
+ **Automatic worktree cleanup**
176
+ - **Problem:** Remove worktree when might need it (Option 2, 3)
177
+ - **Fix:** Only cleanup for Options 1 and 4
178
+
179
+ **No confirmation for discard**
180
+ - **Problem:** Accidentally delete work
181
+ - **Fix:** Require typed "discard" confirmation
182
+
183
+ ## Red Flags
184
+
185
+ **Never:**
186
+ - Proceed with failing tests
187
+ - Merge without verifying tests on result
188
+ - Delete work without confirmation
189
+ - Force-push without explicit request
190
+
191
+ **Always:**
192
+ - Verify tests before offering options
193
+ - Present exactly 4 options
194
+ - Get typed confirmation for Option 4
195
+ - Clean up worktree for Options 1 & 4 only
196
+
197
+ ## Integration
198
+
199
+ **Called by:**
200
+ - **subagent-driven-development** (Step 7) - After all tasks complete
201
+ - **executing-plans** (Step 5) - After all batches complete
202
+
203
+ **Pairs with:**
204
+ - **using-git-worktrees** - Cleans up worktree created by that skill
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 fireworks-tech-graph contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.