luna-agents 2.0.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 (290) hide show
  1. package/.claude-plugin/LICENSE +21 -0
  2. package/.claude-plugin/README.md +285 -0
  3. package/.claude-plugin/claude-plugin.json +106 -0
  4. package/.claude-plugin/index.js +318 -0
  5. package/.claude-plugin/lib/api-client.js +504 -0
  6. package/.claude-plugin/lib/rag-utils.js +442 -0
  7. package/.claude-plugin/package.json +418 -0
  8. package/LICENSE +21 -0
  9. package/README.md +350 -0
  10. package/agents/json/design-architect.json +57 -0
  11. package/agents/json/luna-auth.json +71 -0
  12. package/agents/json/luna-brand.json +66 -0
  13. package/agents/json/luna-cloudflare.json +261 -0
  14. package/agents/json/luna-code-review.json +63 -0
  15. package/agents/json/luna-deployment.json +68 -0
  16. package/agents/json/luna-documentation.json +85 -0
  17. package/agents/json/luna-hig.json +128 -0
  18. package/agents/json/luna-layout-designer.json +178 -0
  19. package/agents/json/luna-monitoring-observability.json +64 -0
  20. package/agents/json/luna-post-launch-review.json +68 -0
  21. package/agents/json/luna-requirements-analyzer.json +53 -0
  22. package/agents/json/luna-task-executor.json +63 -0
  23. package/agents/json/luna-task-planner.json +62 -0
  24. package/agents/json/luna-testing-validation.json +66 -0
  25. package/agents/luna-365-security.md +96 -0
  26. package/agents/luna-analytics.md +318 -0
  27. package/agents/luna-api-generator.md +654 -0
  28. package/agents/luna-auth.md +396 -0
  29. package/agents/luna-brand.md +248 -0
  30. package/agents/luna-cloudflare.md +728 -0
  31. package/agents/luna-code-review.md +487 -0
  32. package/agents/luna-database.md +453 -0
  33. package/agents/luna-deployment.md +202 -0
  34. package/agents/luna-design-architect.md +353 -0
  35. package/agents/luna-docker.md +615 -0
  36. package/agents/luna-documentation.md +177 -0
  37. package/agents/luna-full-test.md +910 -0
  38. package/agents/luna-glm-vision.md +211 -0
  39. package/agents/luna-hig.md +430 -0
  40. package/agents/luna-lemonsqueezy.md +441 -0
  41. package/agents/luna-monitoring-observability.md +199 -0
  42. package/agents/luna-openai-app.md +499 -0
  43. package/agents/luna-post-launch-review.md +191 -0
  44. package/agents/luna-rag-enhanced.md +1619 -0
  45. package/agents/luna-rag.md +1733 -0
  46. package/agents/luna-requirements-analyzer.md +189 -0
  47. package/agents/luna-run.md +620 -0
  48. package/agents/luna-seo.md +338 -0
  49. package/agents/luna-task-executor.md +371 -0
  50. package/agents/luna-task-planner.md +275 -0
  51. package/agents/luna-testing-validation.md +681 -0
  52. package/agents/luna-ui-fix.md +591 -0
  53. package/agents/luna-ui-test.md +600 -0
  54. package/agents/luna-user-guide.md +409 -0
  55. package/agents/site-auditor.md +83 -0
  56. package/commands/3d-mesh.md +12 -0
  57. package/commands/3d.md +12 -0
  58. package/commands/agent-boost.md +13 -0
  59. package/commands/ai-index.md +16 -0
  60. package/commands/api.md +12 -0
  61. package/commands/assert.md +17 -0
  62. package/commands/audience.md +12 -0
  63. package/commands/auth.md +17 -0
  64. package/commands/autopilot.md +12 -0
  65. package/commands/boost-finsavvy.md +10 -0
  66. package/commands/boost-org.md +10 -0
  67. package/commands/boost-project.md +12 -0
  68. package/commands/brand.md +17 -0
  69. package/commands/browser-test.md +18 -0
  70. package/commands/cf.md +26 -0
  71. package/commands/cfg.md +33 -0
  72. package/commands/chain.md +12 -0
  73. package/commands/challenge.md +13 -0
  74. package/commands/clone.md +12 -0
  75. package/commands/cmds.md +243 -0
  76. package/commands/collab.md +12 -0
  77. package/commands/compete.md +12 -0
  78. package/commands/config-rules.md +21 -0
  79. package/commands/connect-infra.md +10 -0
  80. package/commands/context-pack.md +13 -0
  81. package/commands/curb.md +12 -0
  82. package/commands/des.md +38 -0
  83. package/commands/devto.md +20 -0
  84. package/commands/dock.md +26 -0
  85. package/commands/docs.md +33 -0
  86. package/commands/e2e-flow.md +18 -0
  87. package/commands/email-routing.md +10 -0
  88. package/commands/feature.md +12 -0
  89. package/commands/figma.md +12 -0
  90. package/commands/fix.md +12 -0
  91. package/commands/flaky.md +12 -0
  92. package/commands/flow-record.md +12 -0
  93. package/commands/gamify.md +12 -0
  94. package/commands/ghost.md +12 -0
  95. package/commands/git-insights.md +12 -0
  96. package/commands/go-viral.md +16 -0
  97. package/commands/go.md +42 -0
  98. package/commands/graph-rag.md +13 -0
  99. package/commands/guard.md +12 -0
  100. package/commands/heal.md +17 -0
  101. package/commands/heygen.md +12 -0
  102. package/commands/hig.md +33 -0
  103. package/commands/idea.md +12 -0
  104. package/commands/imagine.md +12 -0
  105. package/commands/inbox.md +12 -0
  106. package/commands/lam.md +12 -0
  107. package/commands/landing.md +12 -0
  108. package/commands/launch.md +12 -0
  109. package/commands/learn.md +12 -0
  110. package/commands/leverage.md +12 -0
  111. package/commands/ll-365-secure.md +179 -0
  112. package/commands/ll-3d-mesh.md +94 -0
  113. package/commands/ll-3d.md +123 -0
  114. package/commands/ll-a11y-scan.md +143 -0
  115. package/commands/ll-a11y.md +71 -0
  116. package/commands/ll-agent-boost.md +92 -0
  117. package/commands/ll-agent-chain.md +104 -0
  118. package/commands/ll-ai-index.md +120 -0
  119. package/commands/ll-api-client.md +77 -0
  120. package/commands/ll-api.md +99 -0
  121. package/commands/ll-assert.md +73 -0
  122. package/commands/ll-audience.md +308 -0
  123. package/commands/ll-auth.md +145 -0
  124. package/commands/ll-autopilot.md +113 -0
  125. package/commands/ll-boost-finsavvy.md +106 -0
  126. package/commands/ll-boost-org.md +161 -0
  127. package/commands/ll-boost-project.md +118 -0
  128. package/commands/ll-brand.md +150 -0
  129. package/commands/ll-browser-test.md +203 -0
  130. package/commands/ll-challenge.md +124 -0
  131. package/commands/ll-changelog.md +80 -0
  132. package/commands/ll-ci.md +78 -0
  133. package/commands/ll-claude-instructions.md +80 -0
  134. package/commands/ll-clone.md +82 -0
  135. package/commands/ll-cloudflare.md +580 -0
  136. package/commands/ll-codemap.md +78 -0
  137. package/commands/ll-collab.md +87 -0
  138. package/commands/ll-compete.md +67 -0
  139. package/commands/ll-config-rules.md +255 -0
  140. package/commands/ll-config.md +434 -0
  141. package/commands/ll-connect-infra.md +123 -0
  142. package/commands/ll-context-pack.md +100 -0
  143. package/commands/ll-curb.md +164 -0
  144. package/commands/ll-debug.md +76 -0
  145. package/commands/ll-deploy.md +101 -0
  146. package/commands/ll-deps.md +70 -0
  147. package/commands/ll-design.md +86 -0
  148. package/commands/ll-devto-publish.md +172 -0
  149. package/commands/ll-dockerize.md +273 -0
  150. package/commands/ll-docs.md +123 -0
  151. package/commands/ll-e2e-flow.md +132 -0
  152. package/commands/ll-e2e-test.md +231 -0
  153. package/commands/ll-email-routing.md +130 -0
  154. package/commands/ll-env.md +70 -0
  155. package/commands/ll-execute.md +98 -0
  156. package/commands/ll-feature.md +80 -0
  157. package/commands/ll-figma.md +82 -0
  158. package/commands/ll-fix.md +76 -0
  159. package/commands/ll-flaky.md +151 -0
  160. package/commands/ll-flow-record.md +180 -0
  161. package/commands/ll-flowdocs.md +83 -0
  162. package/commands/ll-gamify.md +131 -0
  163. package/commands/ll-gemma4.md +84 -0
  164. package/commands/ll-ghost.md +79 -0
  165. package/commands/ll-git-insights.md +152 -0
  166. package/commands/ll-go-viral.md +171 -0
  167. package/commands/ll-graph-rag.md +113 -0
  168. package/commands/ll-guard.md +92 -0
  169. package/commands/ll-heal.md +135 -0
  170. package/commands/ll-heygen.md +203 -0
  171. package/commands/ll-hig.md +578 -0
  172. package/commands/ll-hld.md +84 -0
  173. package/commands/ll-i18n.md +74 -0
  174. package/commands/ll-idea.md +101 -0
  175. package/commands/ll-imagine.md +72 -0
  176. package/commands/ll-inbox.md +116 -0
  177. package/commands/ll-lam.md +93 -0
  178. package/commands/ll-landing.md +171 -0
  179. package/commands/ll-launch.md +100 -0
  180. package/commands/ll-learn.md +87 -0
  181. package/commands/ll-leverage.md +137 -0
  182. package/commands/ll-local-llm.md +131 -0
  183. package/commands/ll-ls-products.md +160 -0
  184. package/commands/ll-marketplace.md +130 -0
  185. package/commands/ll-mcp-publish.md +104 -0
  186. package/commands/ll-migrate.md +68 -0
  187. package/commands/ll-mock.md +79 -0
  188. package/commands/ll-money.md +87 -0
  189. package/commands/ll-monitor.md +120 -0
  190. package/commands/ll-morph.md +117 -0
  191. package/commands/ll-multi-agent.md +170 -0
  192. package/commands/ll-native.md +93 -0
  193. package/commands/ll-nexa.md +79 -0
  194. package/commands/ll-onboarding.md +84 -0
  195. package/commands/ll-openhands.md +78 -0
  196. package/commands/ll-organic-promote.md +260 -0
  197. package/commands/ll-parallel.md +74 -0
  198. package/commands/ll-payments.md +83 -0
  199. package/commands/ll-perf-trace.md +147 -0
  200. package/commands/ll-perf.md +65 -0
  201. package/commands/ll-persona.md +280 -0
  202. package/commands/ll-pipe.md +296 -0
  203. package/commands/ll-plan-impl.js +570 -0
  204. package/commands/ll-plan-v2.md +297 -0
  205. package/commands/ll-plan.md +87 -0
  206. package/commands/ll-postlaunch.md +109 -0
  207. package/commands/ll-pr.md +84 -0
  208. package/commands/ll-present.md +110 -0
  209. package/commands/ll-product-map.md +152 -0
  210. package/commands/ll-promote.md +352 -0
  211. package/commands/ll-publish.md +124 -0
  212. package/commands/ll-pulse.md +96 -0
  213. package/commands/ll-rag-guided.md +345 -0
  214. package/commands/ll-rag-upgrade.md +504 -0
  215. package/commands/ll-rag.md +343 -0
  216. package/commands/ll-record.md +114 -0
  217. package/commands/ll-refactor.md +71 -0
  218. package/commands/ll-requirements.md +71 -0
  219. package/commands/ll-review.md +92 -0
  220. package/commands/ll-rollback.md +66 -0
  221. package/commands/ll-routemap.md +79 -0
  222. package/commands/ll-rules.md +90 -0
  223. package/commands/ll-shortcuts.md +229 -0
  224. package/commands/ll-sing.md +99 -0
  225. package/commands/ll-site-audit.md +228 -0
  226. package/commands/ll-smart-route.md +92 -0
  227. package/commands/ll-smart-search.md +58 -0
  228. package/commands/ll-storybook.md +86 -0
  229. package/commands/ll-swarm.md +101 -0
  230. package/commands/ll-test.md +97 -0
  231. package/commands/ll-time-machine.md +72 -0
  232. package/commands/ll-ui-convert.md +433 -0
  233. package/commands/ll-video.md +108 -0
  234. package/commands/ll-vision-pipeline.md +247 -0
  235. package/commands/ll-vision.md +74 -0
  236. package/commands/ll-visual-diff.md +118 -0
  237. package/commands/ll-visual-qa.md +204 -0
  238. package/commands/ll-visual-regression.md +96 -0
  239. package/commands/ll-voice.md +138 -0
  240. package/commands/ll-watch.md +65 -0
  241. package/commands/ll-workflow.md +108 -0
  242. package/commands/ll-zen.md +98 -0
  243. package/commands/local-llm.md +12 -0
  244. package/commands/marketplace.md +13 -0
  245. package/commands/mcp-publish.md +16 -0
  246. package/commands/migrate.md +12 -0
  247. package/commands/money.md +12 -0
  248. package/commands/morph.md +12 -0
  249. package/commands/multi-agent.md +12 -0
  250. package/commands/native.md +12 -0
  251. package/commands/nexa.md +12 -0
  252. package/commands/oh.md +12 -0
  253. package/commands/organic-promote.md +16 -0
  254. package/commands/perf-trace.md +12 -0
  255. package/commands/perf.md +12 -0
  256. package/commands/persona.md +12 -0
  257. package/commands/pipe.md +21 -0
  258. package/commands/plan.md +38 -0
  259. package/commands/pr.md +12 -0
  260. package/commands/present.md +12 -0
  261. package/commands/product-map.md +13 -0
  262. package/commands/promote.md +16 -0
  263. package/commands/publish.md +12 -0
  264. package/commands/pulse.md +12 -0
  265. package/commands/q.md +35 -0
  266. package/commands/record.md +12 -0
  267. package/commands/refactor.md +12 -0
  268. package/commands/req.md +40 -0
  269. package/commands/retro.md +33 -0
  270. package/commands/rev.md +39 -0
  271. package/commands/rules.md +19 -0
  272. package/commands/search.md +12 -0
  273. package/commands/sec.md +34 -0
  274. package/commands/ship.md +39 -0
  275. package/commands/sing.md +12 -0
  276. package/commands/site-audit.md +12 -0
  277. package/commands/smart-route.md +13 -0
  278. package/commands/swarm.md +12 -0
  279. package/commands/test.md +39 -0
  280. package/commands/time-machine.md +12 -0
  281. package/commands/ui.md +33 -0
  282. package/commands/video.md +12 -0
  283. package/commands/vision.md +12 -0
  284. package/commands/voice.md +12 -0
  285. package/commands/vr.md +18 -0
  286. package/commands/watch.md +39 -0
  287. package/commands/workflow.md +19 -0
  288. package/commands/zen.md +12 -0
  289. package/package.json +76 -0
  290. package/setup.sh +382 -0
@@ -0,0 +1,178 @@
1
+ {
2
+ "name": "luna-layout-designer",
3
+ "displayName": "Luna Layout Designer",
4
+ "description": "Specialized agent for creating comprehensive layout architectures, information design, and responsive layouts following best practices for user experience and accessibility",
5
+ "version": "1.0.0",
6
+ "category": "design",
7
+ "type": "agent",
8
+ "capabilities": [
9
+ "information-architecture",
10
+ "responsive-layout-design",
11
+ "navigation-design",
12
+ "content-hierarchy",
13
+ "grid-system-design",
14
+ "user-journey-mapping",
15
+ "accessibility-layouts"
16
+ ],
17
+ "parameters": [
18
+ {
19
+ "name": "scope",
20
+ "type": "string",
21
+ "description": "Layout design scope - press ENTER for entire project or enter a feature/section name",
22
+ "required": true,
23
+ "prompt": true
24
+ },
25
+ {
26
+ "name": "layout_type",
27
+ "type": "string",
28
+ "description": "Type of layout design to focus on",
29
+ "required": false,
30
+ "options": ["information-architecture", "responsive-design", "navigation", "content-layout", "dashboard", "forms", "mobile-first", "multi-device"],
31
+ "default": "information-architecture"
32
+ }
33
+ ],
34
+ "prompts": {
35
+ "system": "You are an expert UX designer and information architect specializing in layout design, user experience architecture, and responsive design patterns. Your task is to create comprehensive layout solutions that optimize user experience, information hierarchy, and cross-device consistency.",
36
+ "execution": "🎨 Layout Design Scope\nPlease specify the scope for this layout design:\n- Press ENTER for entire project layout analysis\n- Or enter a feature/section name (e.g., \"dashboard\", \"user-profile\", \"checkout\")\n\nLayout scope:",
37
+ "followup": "🏗️ Layout Type Focus\nWhat type of layout design would you like to focus on?\n- information-architecture: Information hierarchy and structure\n- responsive-design: Multi-device responsive layouts\n- navigation: Navigation patterns and flow\n- content-layout: Content display and organization\n- dashboard: Complex dashboard layouts\n- forms: Multi-step form layouts\n- mobile-first: Mobile-first responsive design\n- multi-device: Cross-device optimization\n\nLayout type (default: information-architecture):"
38
+ },
39
+ "workflow": [
40
+ "Analyze current project structure and content organization",
41
+ "Identify user journey and interaction patterns",
42
+ "Design information architecture and content hierarchy",
43
+ "Create responsive layout strategies for multiple devices",
44
+ "Design navigation patterns and user flow",
45
+ "Generate layout specifications and guidelines",
46
+ "Create wireframes and layout documentation",
47
+ "Provide implementation-ready design patterns"
48
+ ],
49
+ "output": {
50
+ "files": [
51
+ {
52
+ "path": ".luna/{project_folder_name}/layout-design.md",
53
+ "description": "Comprehensive layout design specification"
54
+ },
55
+ {
56
+ "path": ".luna/{project_folder_name}/{feature_name}/layout-design.md",
57
+ "description": "Feature-specific layout design"
58
+ },
59
+ {
60
+ "path": ".luna/{project_folder_name}/design-system/layout-patterns.md",
61
+ "description": "Reusable layout patterns and components"
62
+ },
63
+ {
64
+ "path": ".luna/{project_folder_name}/wireframes/",
65
+ "description": "Wireframe layouts and structure documentation"
66
+ }
67
+ ]
68
+ },
69
+ "dependencies": [
70
+ "luna-requirements-analyzer",
71
+ "luna-hig"
72
+ ],
73
+ "prerequisites": [
74
+ "Project requirements and user flows",
75
+ "Content structure and information needs"
76
+ ],
77
+ "layout_principles": {
78
+ "visual_hierarchy": {
79
+ "importance": "Most important elements should be most prominent",
80
+ "size": "Larger elements draw more attention",
81
+ "color": "Brighter colors create focal points",
82
+ "placement": "Top-left and center positions get primary attention"
83
+ },
84
+ "grid_systems": {
85
+ "columns": "12-column grid for desktop, 8 for tablet, 4 for mobile",
86
+ "gutters": "Consistent spacing between columns",
87
+ "margins": "Adequate margins from screen edges",
88
+ "breakpoints": "Strategic responsive breakpoints"
89
+ },
90
+ "negative_space": {
91
+ "breathing_room": "Adequate white space around elements",
92
+ "grouping": "Space used to group related items",
93
+ "emphasis": "Strategic use of space to highlight elements",
94
+ "readability": "Space improves content readability"
95
+ }
96
+ },
97
+ "responsive_strategies": {
98
+ "mobile_first": {
99
+ "approach": "Design for mobile first, then enhance",
100
+ "benefits": "Forces focus on core content and functionality",
101
+ "implementation": "Progressive enhancement to larger screens"
102
+ },
103
+ "breakpoints": {
104
+ "mobile": "320px - 768px",
105
+ "tablet": "768px - 1024px",
106
+ "desktop": "1024px - 1440px",
107
+ "large_desktop": "1440px+"
108
+ },
109
+ "patterns": {
110
+ "fluid_grids": "Percentage-based columns",
111
+ "flexible_images": "Images that scale with containers",
112
+ "media_queries": "CSS for breakpoint-specific styles",
113
+ "relative_units": "ems, rems, percentages for scalability"
114
+ }
115
+ },
116
+ "navigation_patterns": {
117
+ "primary_navigation": {
118
+ "top_navigation": "Horizontal bar with main sections",
119
+ "sidebar_navigation": "Vertical left-side navigation",
120
+ "tab_navigation": "Tab-based content organization",
121
+ "mega_menu": "Comprehensive dropdown navigation"
122
+ },
123
+ "secondary_navigation": {
124
+ "breadcrumbs": "Hierarchical path indication",
125
+ "pagination": "Content pagination controls",
126
+ "quick_links": "Important secondary actions",
127
+ "contextual_nav": "Content-specific navigation"
128
+ },
129
+ "mobile_patterns": {
130
+ "hamburger_menu": "Collapsed mobile menu",
131
+ "tab_bar": "Bottom tab navigation for mobile",
132
+ "swipe_gestures": "Touch-based navigation",
133
+ "floating_buttons": "Primary action buttons"
134
+ }
135
+ },
136
+ "content_layout_types": {
137
+ "single_column": {
138
+ "use_case": "Articles, blog posts, focused content",
139
+ "characteristics": "Linear reading flow, minimal distraction",
140
+ "best_practices": "Optimal reading width, good typography"
141
+ },
142
+ "multi_column": {
143
+ "use_case": "News sites, dashboards, content-heavy sites",
144
+ "characteristics": "Multiple content streams, sidebars",
145
+ "best_practices": "Clear visual hierarchy, content grouping"
146
+ },
147
+ "grid_layout": {
148
+ "use_case": "Galleries, portfolios, product catalogs",
149
+ "characteristics": "Uniform grid cells, visual consistency",
150
+ "best_practices": "Consistent aspect ratios, adequate spacing"
151
+ },
152
+ "card_layout": {
153
+ "use_case": "Dashboard widgets, content cards",
154
+ "characteristics": "Modular cards, flexible arrangement",
155
+ "best_practices": "Consistent card sizes, clear hierarchy"
156
+ }
157
+ },
158
+ "accessibility_considerations": {
159
+ "semantic_structure": {
160
+ "headings": "Proper heading hierarchy (h1-h6)",
161
+ "landmarks": "ARIA landmarks for navigation",
162
+ "regions": "Clearly defined content regions",
163
+ "labels": "Descriptive labels for all interactive elements"
164
+ },
165
+ "keyboard_navigation": {
166
+ "tab_order": "Logical tab navigation order",
167
+ "focus_indicators": "Visible focus states",
168
+ "shortcuts": "Keyboard shortcuts for power users",
169
+ "skip_links": "Skip to content links"
170
+ },
171
+ "screen_reader": {
172
+ "announcements": "Dynamic content announcements",
173
+ "descriptions": "Image and video descriptions",
174
+ "forms": "Form field descriptions and errors",
175
+ "navigation": "Clear navigation structure"
176
+ }
177
+ }
178
+ }
@@ -0,0 +1,64 @@
1
+ {
2
+ "name": "luna-monitoring-observability",
3
+ "displayName": "Luna Monitoring and Observability Agent",
4
+ "description": "Set up comprehensive monitoring, create dashboards, configure alerts, and ensure the system is observable and maintainable in production",
5
+ "version": "1.0.0",
6
+ "category": "monitoring",
7
+ "type": "agent",
8
+ "capabilities": [
9
+ "infrastructure-monitoring",
10
+ "application-monitoring",
11
+ "dashboard-creation",
12
+ "alert-configuration",
13
+ "log-management"
14
+ ],
15
+ "parameters": [
16
+ {
17
+ "name": "scope",
18
+ "type": "string",
19
+ "description": "Project scope - press ENTER for entire project or enter a feature name",
20
+ "required": true,
21
+ "prompt": true
22
+ }
23
+ ],
24
+ "prompts": {
25
+ "system": "You are a site reliability engineer (SRE) specializing in monitoring, observability, and system health. Your task is to set up comprehensive monitoring, create dashboards, configure alerts, and ensure the system is observable and maintainable in production.",
26
+ "execution": "Please specify the scope for this monitoring setup:\n- Press ENTER for entire project (will use project folder name)\n- Or enter a feature name (e.g., \"user-authentication\", \"payment-integration\")\n\nFeature name:"
27
+ },
28
+ "workflow": [
29
+ "Prompt user for feature/project scope and wait for input",
30
+ "Determine project folder name from current directory",
31
+ "Validate required files exist in .luna/{project}/{feature}/",
32
+ "Review deployment and infrastructure setup from same directory",
33
+ "Configure monitoring tools and integrations",
34
+ "Set up metrics collection",
35
+ "Create dashboards for different audiences",
36
+ "Configure alerts with proper thresholds",
37
+ "Test alert delivery and escalation",
38
+ "Validate monitoring coverage",
39
+ "Document monitoring setup",
40
+ "Generate comprehensive monitoring report",
41
+ "Save to .luna/{project}/{feature}/monitoring-observability-report.md",
42
+ "Provide recommendations for improvements"
43
+ ],
44
+ "output": {
45
+ "files": [
46
+ {
47
+ "path": ".luna/{project_folder_name}/monitoring-observability-report.md",
48
+ "description": "Comprehensive monitoring setup and system health report"
49
+ },
50
+ {
51
+ "path": ".luna/{project_folder_name}/{feature_name}/monitoring-observability-report.md",
52
+ "description": "Feature-specific monitoring and observability report"
53
+ }
54
+ ]
55
+ },
56
+ "dependencies": [
57
+ "luna-deployment"
58
+ ],
59
+ "prerequisites": [
60
+ ".luna/{project_folder_name}/deployment-report.md",
61
+ ".luna/{project_folder_name}/design.md",
62
+ ".luna/{project_folder_name}/requirements.md"
63
+ ]
64
+ }
@@ -0,0 +1,68 @@
1
+ {
2
+ "name": "luna-post-launch-review",
3
+ "displayName": "Luna Post-Launch Review Agent",
4
+ "description": "Analyze the launch, gather metrics, identify issues and successes, and provide recommendations for continuous improvement",
5
+ "version": "1.0.0",
6
+ "category": "review",
7
+ "type": "agent",
8
+ "capabilities": [
9
+ "launch-analysis",
10
+ "metrics-collection",
11
+ "performance-review",
12
+ "user-feedback-analysis",
13
+ "continuous-improvement"
14
+ ],
15
+ "parameters": [
16
+ {
17
+ "name": "scope",
18
+ "type": "string",
19
+ "description": "Project scope - press ENTER for entire project or enter a feature name",
20
+ "required": true,
21
+ "prompt": true
22
+ }
23
+ ],
24
+ "prompts": {
25
+ "system": "You are a product manager and engineering lead conducting post-launch reviews. Your task is to analyze the launch, gather metrics, identify issues and successes, and provide recommendations for continuous improvement.",
26
+ "execution": "Please specify the scope for this post-launch review:\n- Press ENTER for entire project (will use project folder name)\n- Or enter a feature name (e.g., \"user-authentication\", \"payment-integration\")\n\nFeature name:"
27
+ },
28
+ "workflow": [
29
+ "Prompt user for feature/project scope and wait for input",
30
+ "Determine project folder name from current directory",
31
+ "Validate required files exist in .luna/{project}/{feature}/",
32
+ "Collect all metrics from first 7 days",
33
+ "Review all incidents and issues",
34
+ "Read original requirements from .luna/{project}/{feature}/requirements.md",
35
+ "Analyze user feedback and adoption",
36
+ "Assess against original objectives",
37
+ "Identify successes and challenges",
38
+ "Document lessons learned",
39
+ "Provide actionable recommendations",
40
+ "Generate comprehensive review report",
41
+ "Save to .luna/{project}/{feature}/post-launch-review.md",
42
+ "Schedule follow-up review",
43
+ "Share findings with team"
44
+ ],
45
+ "output": {
46
+ "files": [
47
+ {
48
+ "path": ".luna/{project_folder_name}/post-launch-review.md",
49
+ "description": "Comprehensive post-launch analysis and recommendations"
50
+ },
51
+ {
52
+ "path": ".luna/{project_folder_name}/{feature_name}/post-launch-review.md",
53
+ "description": "Feature-specific post-launch review"
54
+ }
55
+ ]
56
+ },
57
+ "dependencies": [
58
+ "luna-deployment",
59
+ "luna-monitoring-observability",
60
+ "luna-testing-validation"
61
+ ],
62
+ "prerequisites": [
63
+ ".luna/{project_folder_name}/deployment-report.md",
64
+ ".luna/{project_folder_name}/monitoring-observability-report.md",
65
+ ".luna/{project_folder_name}/test-validation-report.md",
66
+ ".luna/{project_folder_name}/requirements.md"
67
+ ]
68
+ }
@@ -0,0 +1,53 @@
1
+ {
2
+ "name": "luna-requirements-analyzer",
3
+ "displayName": "Luna Requirements Analysis Agent",
4
+ "description": "Analyze the entire project codebase, existing documentation, and context to generate a comprehensive requirements document",
5
+ "version": "1.0.0",
6
+ "category": "analysis",
7
+ "type": "agent",
8
+ "capabilities": [
9
+ "project-analysis",
10
+ "requirements-engineering",
11
+ "gap-analysis",
12
+ "production-readiness",
13
+ "quality-assessment"
14
+ ],
15
+ "parameters": [
16
+ {
17
+ "name": "scope",
18
+ "type": "string",
19
+ "description": "Project scope - press ENTER for entire project or enter a feature name",
20
+ "required": true,
21
+ "prompt": true
22
+ }
23
+ ],
24
+ "prompts": {
25
+ "system": "You are a senior business analyst and product manager specializing in software requirements engineering. Your task is to analyze the entire project codebase, existing documentation, and context to generate a comprehensive requirements document.",
26
+ "execution": "Please specify the scope for this requirements analysis:\n- Press ENTER for entire project (will use project folder name)\n- Or enter a feature name (e.g., \"user-authentication\", \"payment-integration\")\n\nFeature name:"
27
+ },
28
+ "workflow": [
29
+ "Prompt user for feature/project scope and wait for input",
30
+ "Determine project folder name from current directory",
31
+ "Create appropriate directory structure based on user input",
32
+ "Read all project files recursively (filtered by scope if feature-level)",
33
+ "Analyze and understand the project architecture",
34
+ "Identify gaps between current state and production readiness",
35
+ "Generate comprehensive requirements document",
36
+ "Save to appropriate location: .luna/{project}/{feature}/requirements.md",
37
+ "Provide summary of identified requirements to user with file location"
38
+ ],
39
+ "output": {
40
+ "files": [
41
+ {
42
+ "path": ".luna/{project_folder_name}/requirements.md",
43
+ "description": "Comprehensive requirements document with user stories and acceptance criteria"
44
+ },
45
+ {
46
+ "path": ".luna/{project_folder_name}/{feature_name}/requirements.md",
47
+ "description": "Feature-specific requirements document"
48
+ }
49
+ ]
50
+ },
51
+ "dependencies": [],
52
+ "prerequisites": []
53
+ }
@@ -0,0 +1,63 @@
1
+ {
2
+ "name": "luna-task-executor",
3
+ "displayName": "Luna Task Execution Agent",
4
+ "description": "Implement the tasks from the implementation plan in order, write high-quality code, test thoroughly, and mark tasks as complete",
5
+ "version": "1.0.0",
6
+ "category": "development",
7
+ "type": "agent",
8
+ "capabilities": [
9
+ "code-implementation",
10
+ "task-execution",
11
+ "testing",
12
+ "code-quality",
13
+ "progress-tracking"
14
+ ],
15
+ "parameters": [
16
+ {
17
+ "name": "scope",
18
+ "type": "string",
19
+ "description": "Project scope - press ENTER for entire project or enter a feature name",
20
+ "required": true,
21
+ "prompt": true
22
+ }
23
+ ],
24
+ "prompts": {
25
+ "system": "You are an expert full-stack developer and DevOps engineer. Your task is to implement the tasks from the implementation plan in order, write high-quality code, test thoroughly, and mark tasks as complete.",
26
+ "execution": "Please specify the scope for task execution:\n- Press ENTER for entire project (will use project folder name)\n- Or enter a feature name (e.g., \"user-authentication\", \"payment-integration\")\n\nFeature name:"
27
+ },
28
+ "workflow": [
29
+ "Prompt user for feature/project scope and wait for input",
30
+ "Determine project folder name from current directory",
31
+ "Validate required files exist in .luna/{project}/{feature}/",
32
+ "Load .luna/{project}/{feature}/implementation-plan.md",
33
+ "Find first task with [ ]",
34
+ "Read task requirements and design specs from same directory",
35
+ "Implement the code following all standards",
36
+ "Write and run tests",
37
+ "Validate acceptance criteria",
38
+ "Update plan with [x] in .luna/{project}/{feature}/implementation-plan.md",
39
+ "Provide completion summary",
40
+ "Move to next task",
41
+ "Repeat until all tasks complete or blocked"
42
+ ],
43
+ "output": {
44
+ "files": [
45
+ {
46
+ "path": ".luna/{project_folder_name}/implementation-plan.md",
47
+ "description": "Updated implementation plan with completed tasks marked"
48
+ },
49
+ {
50
+ "path": ".luna/{project_folder_name}/{feature_name}/implementation-plan.md",
51
+ "description": "Updated feature implementation plan with completed tasks marked"
52
+ }
53
+ ]
54
+ },
55
+ "dependencies": [
56
+ "luna-task-planner"
57
+ ],
58
+ "prerequisites": [
59
+ ".luna/{project_folder_name}/implementation-plan.md",
60
+ ".luna/{project_folder_name}/design.md",
61
+ ".luna/{project_folder_name}/requirements.md"
62
+ ]
63
+ }
@@ -0,0 +1,62 @@
1
+ {
2
+ "name": "luna-task-planner",
3
+ "displayName": "Luna Task Planning Agent",
4
+ "description": "Transform the technical design document into a detailed, ordered implementation plan with specific, actionable tasks",
5
+ "version": "1.0.0",
6
+ "category": "planning",
7
+ "type": "agent",
8
+ "capabilities": [
9
+ "task-breakdown",
10
+ "implementation-planning",
11
+ "dependency-management",
12
+ "progress-tracking",
13
+ "resource-planning"
14
+ ],
15
+ "parameters": [
16
+ {
17
+ "name": "scope",
18
+ "type": "string",
19
+ "description": "Project scope - press ENTER for entire project or enter a feature name",
20
+ "required": true,
21
+ "prompt": true
22
+ }
23
+ ],
24
+ "prompts": {
25
+ "system": "You are a senior technical project manager and scrum master. Your task is to transform the technical design document into a detailed, ordered implementation plan with specific, actionable tasks.",
26
+ "execution": "Please specify the scope for this task planning:\n- Press ENTER for entire project (will use project folder name)\n- Or enter a feature name (e.g., \"user-authentication\", \"payment-integration\")\n\nFeature name:"
27
+ },
28
+ "workflow": [
29
+ "Prompt user for feature/project scope and wait for input",
30
+ "Determine project folder name from current directory",
31
+ "Validate required files exist (design.md, requirements.md)",
32
+ "Read .luna/{project}/{feature}/design.md completely",
33
+ "Review .luna/{project}/{feature}/requirements.md for context",
34
+ "Analyze current codebase state",
35
+ "Break design into logical phases",
36
+ "Create detailed task breakdown",
37
+ "Order tasks by dependencies",
38
+ "Add acceptance criteria and testing",
39
+ "Generate implementation plan",
40
+ "Save to appropriate location: .luna/{project}/{feature}/implementation-plan.md",
41
+ "Provide task summary to user with file location"
42
+ ],
43
+ "output": {
44
+ "files": [
45
+ {
46
+ "path": ".luna/{project_folder_name}/implementation-plan.md",
47
+ "description": "Detailed implementation plan with ordered tasks and dependencies"
48
+ },
49
+ {
50
+ "path": ".luna/{project_folder_name}/{feature_name}/implementation-plan.md",
51
+ "description": "Feature-specific implementation plan"
52
+ }
53
+ ]
54
+ },
55
+ "dependencies": [
56
+ "luna-design-architect"
57
+ ],
58
+ "prerequisites": [
59
+ ".luna/{project_folder_name}/design.md",
60
+ ".luna/{project_folder_name}/requirements.md"
61
+ ]
62
+ }
@@ -0,0 +1,66 @@
1
+ {
2
+ "name": "luna-testing-validation",
3
+ "displayName": "Luna Testing and Validation Agent",
4
+ "description": "Create and execute comprehensive test suites, validate all functionality against requirements, and ensure the application is production-ready with high quality and reliability",
5
+ "version": "1.0.0",
6
+ "category": "testing",
7
+ "type": "agent",
8
+ "capabilities": [
9
+ "test-automation",
10
+ "unit-testing",
11
+ "integration-testing",
12
+ "e2e-testing",
13
+ "performance-testing",
14
+ "security-testing"
15
+ ],
16
+ "parameters": [
17
+ {
18
+ "name": "scope",
19
+ "type": "string",
20
+ "description": "Project scope - press ENTER for entire project or enter a feature name",
21
+ "required": true,
22
+ "prompt": true
23
+ }
24
+ ],
25
+ "prompts": {
26
+ "system": "You are a senior QA engineer and test automation specialist. Your task is to create and execute comprehensive test suites, validate all functionality against requirements, and ensure the application is production-ready with high quality and reliability.",
27
+ "execution": "Please specify the scope for testing and validation:\n- Press ENTER for entire project (will use project folder name)\n- Or enter a feature name (e.g., \"user-authentication\", \"payment-integration\")\n\nFeature name:"
28
+ },
29
+ "workflow": [
30
+ "Prompt user for feature/project scope and wait for input",
31
+ "Determine project folder name from current directory",
32
+ "Validate required files exist in .luna/{project}/{feature}/",
33
+ "Read .luna/{project}/{feature}/requirements.md for acceptance criteria",
34
+ "Review .luna/{project}/{feature}/implementation-plan.md for completed features",
35
+ "Analyze existing test coverage (filtered by scope if feature)",
36
+ "Create missing test cases",
37
+ "Execute all test suites",
38
+ "Collect and analyze results",
39
+ "Validate against requirements",
40
+ "Document defects and issues",
41
+ "Generate comprehensive test report",
42
+ "Save to .luna/{project}/{feature}/test-validation-report.md",
43
+ "Provide go/no-go recommendation"
44
+ ],
45
+ "output": {
46
+ "files": [
47
+ {
48
+ "path": ".luna/{project_folder_name}/test-validation-report.md",
49
+ "description": "Comprehensive test validation report with results and recommendations"
50
+ },
51
+ {
52
+ "path": ".luna/{project_folder_name}/{feature_name}/test-validation-report.md",
53
+ "description": "Feature-specific test validation report"
54
+ }
55
+ ]
56
+ },
57
+ "dependencies": [
58
+ "luna-code-review"
59
+ ],
60
+ "prerequisites": [
61
+ ".luna/{project_folder_name}/requirements.md",
62
+ ".luna/{project_folder_name}/design.md",
63
+ ".luna/{project_folder_name}/implementation-plan.md",
64
+ ".luna/{project_folder_name}/code-review-report.md"
65
+ ]
66
+ }
@@ -0,0 +1,96 @@
1
+ # Luna Microsoft 365 Security Agent
2
+
3
+ ## Role
4
+ Elite cybersecurity specialist focused on hardening web applications with Bank-Grade Security, Zero-Trust Architecture, and Azure AD / Entra ID integration.
5
+
6
+ ## Capabilities
7
+
8
+ ### 1. Microsoft 365 / Azure AD Hardening
9
+ Based on the `365-security` protocol, this agent enforces strict security configurations for enterprise identity.
10
+
11
+ #### Checklist Protocol
12
+ - **Auth Flow**: Enforce Auth Code + PKCE. Disable Implicit Flow.
13
+ - **JWT Validation**: Rigidly validate `aud`, `iss` (v1/v2), `exp`, and JWKS signature.
14
+ - **Headers**: `X-Content-Type-Options: nosniff`, `X-Frame-Options: DENY`, `Referrer-Policy: strict-origin-when-cross-origin`.
15
+ - **Rate Limiting**: 10 req/min for auth endpoints, 100 req/min general.
16
+ - **Sanitization**: Strict Zod schemas for all inputs; 1MB body limit.
17
+
18
+ ### 2. BFF Session Authentication (Zero Trust)
19
+ Implements the `bff-session-auth` pattern to eliminate token theft via XSS.
20
+
21
+ #### Architecture
22
+ 1. **Exchange**: Browser POSTs Access Token -> Server.
23
+ 2. **Validation**: Server validates JWT signature & claims.
24
+ 3. **Session Creation**:
25
+ - Generator: `crypto.randomBytes(32)` (256-bit entropy).
26
+ - Binding: `SHA-256(User-Agent + IP)` fingerprint.
27
+ - Storage: Server-side Map or Redis.
28
+ 4. **Cookie Delivery**: `__session` cookie with `HttpOnly`, `Secure`, `SameSite=Strict`.
29
+ 5. **Client Wipe**: Browser `sessionStorage` is immediately cleared.
30
+
31
+ ### 3. Implementation Scaffolding
32
+
33
+ #### Session Store (`src/lib/server/session-store.server.ts`)
34
+ ```typescript
35
+ import crypto from 'crypto';
36
+
37
+ interface SessionData {
38
+ accessToken: string;
39
+ user: { sub: string; name?: string; email?: string; roles?: string[] };
40
+ fingerprint: string; // SHA-256(User-Agent + IP)
41
+ createdAt: number;
42
+ lastAccessedAt: number;
43
+ }
44
+
45
+ const SLIDING_TTL_MS = 75 * 60_000; // 75 min
46
+ const ABSOLUTE_EXPIRY_MS = 8 * 60 * 60_000; // 8 hours hard cap
47
+ const sessions = new Map<string, SessionData>();
48
+
49
+ export function createSession(token: string, user: any, ua: string, ip: string) {
50
+ const id = crypto.randomBytes(32).toString('hex');
51
+ const fingerprint = crypto.createHash('sha256').update(`${ua}|${ip}`).digest('hex');
52
+ sessions.set(id, {
53
+ accessToken: token,
54
+ user,
55
+ fingerprint,
56
+ createdAt: Date.now(),
57
+ lastAccessedAt: Date.now()
58
+ });
59
+ return id;
60
+ }
61
+ ```
62
+
63
+ #### Security Middleware (`src/hooks.server.ts`)
64
+ ```typescript
65
+ export async function handle({ event, resolve }) {
66
+ // 1. Security Headers
67
+ event.setHeaders({
68
+ 'X-Frame-Options': 'DENY',
69
+ 'X-Content-Type-Options': 'nosniff',
70
+ 'Referrer-Policy': 'strict-origin-when-cross-origin'
71
+ });
72
+
73
+ // 2. BFF Session Resolution
74
+ const sessionId = event.cookies.get('__session');
75
+ if (sessionId) {
76
+ const session = sessionStore.get(sessionId);
77
+ const currentFingerprint = createFingerprint(event.request);
78
+
79
+ if (session && session.fingerprint === currentFingerprint) {
80
+ event.locals.user = session.user;
81
+ event.locals.accessToken = session.accessToken;
82
+ } else {
83
+ // Potential hijack attempt
84
+ event.cookies.delete('__session');
85
+ }
86
+ }
87
+
88
+ return resolve(event);
89
+ }
90
+ ```
91
+
92
+ ## Usage
93
+ Run this agent to audit existing auth flows or scaffold new secure authentication layers.
94
+
95
+ `luna secure apply` - Scaffolds the BFF pattern files.
96
+ `luna secure audit` - Checks for security header and auth weaknesses.