flyee 0.1.0

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 (302) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +134 -0
  3. package/bin/install.js +357 -0
  4. package/bridge/bridge.py +1780 -0
  5. package/bridge/local_tracker.py +722 -0
  6. package/core/agents/backend-specialist.md +266 -0
  7. package/core/agents/code-archaeologist.md +106 -0
  8. package/core/agents/database-architect.md +226 -0
  9. package/core/agents/debugger.md +225 -0
  10. package/core/agents/devops-engineer.md +323 -0
  11. package/core/agents/documentation-writer.md +104 -0
  12. package/core/agents/explorer-agent.md +73 -0
  13. package/core/agents/frontend-specialist.md +743 -0
  14. package/core/agents/game-developer.md +162 -0
  15. package/core/agents/mobile-developer.md +377 -0
  16. package/core/agents/orchestrator.md +416 -0
  17. package/core/agents/penetration-tester.md +188 -0
  18. package/core/agents/performance-optimizer.md +187 -0
  19. package/core/agents/product-manager.md +112 -0
  20. package/core/agents/product-owner.md +95 -0
  21. package/core/agents/project-planner.md +470 -0
  22. package/core/agents/qa-automation-engineer.md +103 -0
  23. package/core/agents/security-auditor.md +170 -0
  24. package/core/agents/seo-specialist.md +111 -0
  25. package/core/agents/stitch-designer.md +190 -0
  26. package/core/agents/tdd-reviewer.md +282 -0
  27. package/core/agents/test-engineer.md +158 -0
  28. package/core/scripts/auto_preview.py +148 -0
  29. package/core/scripts/checklist.py +243 -0
  30. package/core/scripts/cost_report.py +149 -0
  31. package/core/scripts/doc-sync-check.py +461 -0
  32. package/core/scripts/parse_user_stories.py +79 -0
  33. package/core/scripts/prepare_notion_updates.py +172 -0
  34. package/core/scripts/print_create_payload.py +18 -0
  35. package/core/scripts/session_manager.py +120 -0
  36. package/core/scripts/task_complete.py +127 -0
  37. package/core/scripts/verify_all.py +327 -0
  38. package/core/skills/analytics-strategy/SKILL.md +128 -0
  39. package/core/skills/api-patterns/SKILL.md +81 -0
  40. package/core/skills/api-patterns/api-style.md +42 -0
  41. package/core/skills/api-patterns/auth.md +24 -0
  42. package/core/skills/api-patterns/documentation.md +26 -0
  43. package/core/skills/api-patterns/graphql.md +41 -0
  44. package/core/skills/api-patterns/rate-limiting.md +31 -0
  45. package/core/skills/api-patterns/response.md +37 -0
  46. package/core/skills/api-patterns/rest.md +40 -0
  47. package/core/skills/api-patterns/scripts/api_validator.py +211 -0
  48. package/core/skills/api-patterns/security-testing.md +122 -0
  49. package/core/skills/api-patterns/trpc.md +41 -0
  50. package/core/skills/api-patterns/versioning.md +22 -0
  51. package/core/skills/app-builder/SKILL.md +75 -0
  52. package/core/skills/app-builder/agent-coordination.md +71 -0
  53. package/core/skills/app-builder/feature-building.md +53 -0
  54. package/core/skills/app-builder/project-detection.md +34 -0
  55. package/core/skills/app-builder/scaffolding.md +118 -0
  56. package/core/skills/app-builder/tech-stack.md +40 -0
  57. package/core/skills/app-builder/templates/SKILL.md +39 -0
  58. package/core/skills/app-builder/templates/astro-static/TEMPLATE.md +76 -0
  59. package/core/skills/app-builder/templates/chrome-extension/TEMPLATE.md +92 -0
  60. package/core/skills/app-builder/templates/cli-tool/TEMPLATE.md +88 -0
  61. package/core/skills/app-builder/templates/electron-desktop/TEMPLATE.md +88 -0
  62. package/core/skills/app-builder/templates/express-api/TEMPLATE.md +83 -0
  63. package/core/skills/app-builder/templates/flutter-app/TEMPLATE.md +90 -0
  64. package/core/skills/app-builder/templates/monorepo-turborepo/TEMPLATE.md +90 -0
  65. package/core/skills/app-builder/templates/nextjs-fullstack/TEMPLATE.md +82 -0
  66. package/core/skills/app-builder/templates/nextjs-saas/TEMPLATE.md +100 -0
  67. package/core/skills/app-builder/templates/nextjs-static/TEMPLATE.md +106 -0
  68. package/core/skills/app-builder/templates/nuxt-app/TEMPLATE.md +101 -0
  69. package/core/skills/app-builder/templates/python-fastapi/TEMPLATE.md +83 -0
  70. package/core/skills/app-builder/templates/react-native-app/TEMPLATE.md +93 -0
  71. package/core/skills/architecture/SKILL.md +55 -0
  72. package/core/skills/architecture/context-discovery.md +43 -0
  73. package/core/skills/architecture/examples.md +94 -0
  74. package/core/skills/architecture/pattern-selection.md +68 -0
  75. package/core/skills/architecture/patterns-reference.md +50 -0
  76. package/core/skills/architecture/trade-off-analysis.md +77 -0
  77. package/core/skills/atomic-design/SKILL.md +282 -0
  78. package/core/skills/atomic-design/references/classification-guide.md +132 -0
  79. package/core/skills/atomic-design/references/quality-checklist.md +60 -0
  80. package/core/skills/atomic-design/references/stacks/stack-blade.md +254 -0
  81. package/core/skills/atomic-design/references/stacks/stack-nextjs.md +272 -0
  82. package/core/skills/atomic-design/references/stacks/stack-react.md +239 -0
  83. package/core/skills/atomic-design/references/stacks/stack-vue.md +224 -0
  84. package/core/skills/bash-linux/SKILL.md +199 -0
  85. package/core/skills/behavioral-modes/SKILL.md +242 -0
  86. package/core/skills/brainstorming/SKILL.md +163 -0
  87. package/core/skills/brainstorming/dynamic-questioning.md +373 -0
  88. package/core/skills/checkpointing-patterns/SKILL.md +163 -0
  89. package/core/skills/clean-code/SKILL.md +201 -0
  90. package/core/skills/code-review-checklist/SKILL.md +109 -0
  91. package/core/skills/code-truth-validation/SKILL.md +149 -0
  92. package/core/skills/component-library-discovery/SKILL.md +154 -0
  93. package/core/skills/content-strategy/SKILL.md +222 -0
  94. package/core/skills/context-budget/SKILL.md +155 -0
  95. package/core/skills/context-gathering-patterns/SKILL.md +278 -0
  96. package/core/skills/cost-tracking/SKILL.md +206 -0
  97. package/core/skills/database-design/SKILL.md +52 -0
  98. package/core/skills/database-design/database-selection.md +43 -0
  99. package/core/skills/database-design/indexing.md +39 -0
  100. package/core/skills/database-design/migrations.md +48 -0
  101. package/core/skills/database-design/optimization.md +36 -0
  102. package/core/skills/database-design/orm-selection.md +30 -0
  103. package/core/skills/database-design/schema-design.md +56 -0
  104. package/core/skills/database-design/scripts/schema_validator.py +172 -0
  105. package/core/skills/deployment-procedures/SKILL.md +295 -0
  106. package/core/skills/design-md/README.md +34 -0
  107. package/core/skills/design-md/SKILL.md +172 -0
  108. package/core/skills/design-md/examples/DESIGN.md +154 -0
  109. package/core/skills/design-system-enforcement/SKILL.md +339 -0
  110. package/core/skills/doc.md +177 -0
  111. package/core/skills/document-registry/SKILL.md +130 -0
  112. package/core/skills/documentation-publishing/SKILL.md +174 -0
  113. package/core/skills/documentation-templates/SKILL.md +194 -0
  114. package/core/skills/enhance-prompt/README.md +34 -0
  115. package/core/skills/enhance-prompt/SKILL.md +204 -0
  116. package/core/skills/enhance-prompt/references/KEYWORDS.md +114 -0
  117. package/core/skills/frontend-design/SKILL.md +430 -0
  118. package/core/skills/frontend-design/animation-guide.md +331 -0
  119. package/core/skills/frontend-design/color-system.md +311 -0
  120. package/core/skills/frontend-design/decision-trees.md +418 -0
  121. package/core/skills/frontend-design/motion-graphics.md +306 -0
  122. package/core/skills/frontend-design/scripts/accessibility_checker.py +183 -0
  123. package/core/skills/frontend-design/scripts/ux_audit.py +722 -0
  124. package/core/skills/frontend-design/typography-system.md +345 -0
  125. package/core/skills/frontend-design/ux-psychology.md +541 -0
  126. package/core/skills/frontend-design/visual-effects.md +383 -0
  127. package/core/skills/game-development/2d-games/SKILL.md +119 -0
  128. package/core/skills/game-development/3d-games/SKILL.md +135 -0
  129. package/core/skills/game-development/SKILL.md +167 -0
  130. package/core/skills/game-development/game-art/SKILL.md +185 -0
  131. package/core/skills/game-development/game-audio/SKILL.md +190 -0
  132. package/core/skills/game-development/game-design/SKILL.md +129 -0
  133. package/core/skills/game-development/mobile-games/SKILL.md +108 -0
  134. package/core/skills/game-development/multiplayer/SKILL.md +132 -0
  135. package/core/skills/game-development/pc-games/SKILL.md +144 -0
  136. package/core/skills/game-development/vr-ar/SKILL.md +123 -0
  137. package/core/skills/game-development/web-games/SKILL.md +150 -0
  138. package/core/skills/geo-fundamentals/SKILL.md +156 -0
  139. package/core/skills/geo-fundamentals/scripts/geo_checker.py +289 -0
  140. package/core/skills/git-workflow/SKILL.md +263 -0
  141. package/core/skills/history-check-patterns/SKILL.md +125 -0
  142. package/core/skills/i18n-localization/SKILL.md +154 -0
  143. package/core/skills/i18n-localization/scripts/i18n_checker.py +241 -0
  144. package/core/skills/integration-completeness/SKILL.md +219 -0
  145. package/core/skills/intelligent-routing/SKILL.md +370 -0
  146. package/core/skills/lint-and-validate/SKILL.md +45 -0
  147. package/core/skills/lint-and-validate/scripts/lint_runner.py +173 -0
  148. package/core/skills/lint-and-validate/scripts/type_coverage.py +173 -0
  149. package/core/skills/local-verification/SKILL.md +195 -0
  150. package/core/skills/mcp-builder/SKILL.md +176 -0
  151. package/core/skills/mobile-design/SKILL.md +394 -0
  152. package/core/skills/mobile-design/decision-trees.md +516 -0
  153. package/core/skills/mobile-design/mobile-backend.md +491 -0
  154. package/core/skills/mobile-design/mobile-color-system.md +420 -0
  155. package/core/skills/mobile-design/mobile-debugging.md +122 -0
  156. package/core/skills/mobile-design/mobile-design-thinking.md +357 -0
  157. package/core/skills/mobile-design/mobile-navigation.md +458 -0
  158. package/core/skills/mobile-design/mobile-performance.md +767 -0
  159. package/core/skills/mobile-design/mobile-testing.md +356 -0
  160. package/core/skills/mobile-design/mobile-typography.md +433 -0
  161. package/core/skills/mobile-design/platform-android.md +666 -0
  162. package/core/skills/mobile-design/platform-ios.md +561 -0
  163. package/core/skills/mobile-design/scripts/mobile_audit.py +670 -0
  164. package/core/skills/mobile-design/touch-psychology.md +537 -0
  165. package/core/skills/nextjs-react-expert/1-async-eliminating-waterfalls.md +312 -0
  166. package/core/skills/nextjs-react-expert/2-bundle-bundle-size-optimization.md +240 -0
  167. package/core/skills/nextjs-react-expert/3-server-server-side-performance.md +490 -0
  168. package/core/skills/nextjs-react-expert/4-client-client-side-data-fetching.md +264 -0
  169. package/core/skills/nextjs-react-expert/5-rerender-re-render-optimization.md +581 -0
  170. package/core/skills/nextjs-react-expert/6-rendering-rendering-performance.md +432 -0
  171. package/core/skills/nextjs-react-expert/7-js-javascript-performance.md +684 -0
  172. package/core/skills/nextjs-react-expert/8-advanced-advanced-patterns.md +150 -0
  173. package/core/skills/nextjs-react-expert/SKILL.md +267 -0
  174. package/core/skills/nextjs-react-expert/scripts/convert_rules.py +222 -0
  175. package/core/skills/nextjs-react-expert/scripts/react_performance_checker.py +252 -0
  176. package/core/skills/nodejs-best-practices/SKILL.md +333 -0
  177. package/core/skills/notion-task-patterns/SKILL.md +2529 -0
  178. package/core/skills/page-specifications/SKILL.md +367 -0
  179. package/core/skills/parallel-agents/SKILL.md +175 -0
  180. package/core/skills/performance-profiling/SKILL.md +143 -0
  181. package/core/skills/performance-profiling/scripts/lighthouse_audit.py +76 -0
  182. package/core/skills/plan-writing/SKILL.md +190 -0
  183. package/core/skills/powershell-windows/SKILL.md +167 -0
  184. package/core/skills/project-foundation/SKILL.md +117 -0
  185. package/core/skills/project-setup/SKILL.md +141 -0
  186. package/core/skills/project-tracking-patterns/SKILL.md +357 -0
  187. package/core/skills/project-type-discovery/SKILL.md +239 -0
  188. package/core/skills/python-patterns/SKILL.md +441 -0
  189. package/core/skills/qa-test-generation/SKILL.md +156 -0
  190. package/core/skills/react-components/README.md +36 -0
  191. package/core/skills/react-components/SKILL.md +47 -0
  192. package/core/skills/react-components/examples/gold-standard-card.tsx +80 -0
  193. package/core/skills/react-components/package-lock.json +231 -0
  194. package/core/skills/react-components/package.json +16 -0
  195. package/core/skills/react-components/resources/architecture-checklist.md +15 -0
  196. package/core/skills/react-components/resources/component-template.tsx +37 -0
  197. package/core/skills/react-components/resources/stitch-api-reference.md +14 -0
  198. package/core/skills/react-components/resources/style-guide.json +27 -0
  199. package/core/skills/react-components/scripts/fetch-stitch.sh +30 -0
  200. package/core/skills/react-components/scripts/validate.js +68 -0
  201. package/core/skills/red-team-tactics/SKILL.md +199 -0
  202. package/core/skills/remotion/README.md +105 -0
  203. package/core/skills/remotion/SKILL.md +393 -0
  204. package/core/skills/remotion/examples/WalkthroughComposition.tsx +78 -0
  205. package/core/skills/remotion/examples/screens.json +56 -0
  206. package/core/skills/remotion/resources/composition-checklist.md +124 -0
  207. package/core/skills/remotion/resources/screen-slide-template.tsx +123 -0
  208. package/core/skills/remotion/scripts/download-stitch-asset.sh +38 -0
  209. package/core/skills/seo-fundamentals/SKILL.md +129 -0
  210. package/core/skills/seo-fundamentals/scripts/seo_checker.py +219 -0
  211. package/core/skills/server-management/SKILL.md +161 -0
  212. package/core/skills/session-resilience/SKILL.md +199 -0
  213. package/core/skills/shadcn-ui/README.md +248 -0
  214. package/core/skills/shadcn-ui/SKILL.md +326 -0
  215. package/core/skills/shadcn-ui/examples/auth-layout.tsx +177 -0
  216. package/core/skills/shadcn-ui/examples/data-table.tsx +313 -0
  217. package/core/skills/shadcn-ui/examples/form-pattern.tsx +177 -0
  218. package/core/skills/shadcn-ui/resources/component-catalog.md +481 -0
  219. package/core/skills/shadcn-ui/resources/customization-guide.md +516 -0
  220. package/core/skills/shadcn-ui/resources/migration-guide.md +463 -0
  221. package/core/skills/shadcn-ui/resources/setup-guide.md +412 -0
  222. package/core/skills/shadcn-ui/scripts/verify-setup.sh +134 -0
  223. package/core/skills/state-machine/SKILL.md +264 -0
  224. package/core/skills/stitch-loop/README.md +54 -0
  225. package/core/skills/stitch-loop/SKILL.md +203 -0
  226. package/core/skills/stitch-loop/examples/SITE.md +73 -0
  227. package/core/skills/stitch-loop/examples/next-prompt.md +25 -0
  228. package/core/skills/stitch-loop/resources/baton-schema.md +61 -0
  229. package/core/skills/stitch-loop/resources/site-template.md +104 -0
  230. package/core/skills/systematic-debugging/SKILL.md +109 -0
  231. package/core/skills/tailwind-patterns/SKILL.md +284 -0
  232. package/core/skills/tdd-validation/SKILL.md +243 -0
  233. package/core/skills/tdd-workflow/SKILL.md +284 -0
  234. package/core/skills/testing-patterns/SKILL.md +196 -0
  235. package/core/skills/testing-patterns/scripts/test_runner.py +219 -0
  236. package/core/skills/ui-ux-discovery/SKILL.md +329 -0
  237. package/core/skills/ui-validation/SKILL.md +190 -0
  238. package/core/skills/ui-validation/scripts/ui_antipattern_check.py +317 -0
  239. package/core/skills/verification-gate/SKILL.md +205 -0
  240. package/core/skills/vulnerability-scanner/SKILL.md +276 -0
  241. package/core/skills/vulnerability-scanner/checklists.md +121 -0
  242. package/core/skills/vulnerability-scanner/scripts/security_scan.py +458 -0
  243. package/core/skills/web-design-guidelines/SKILL.md +57 -0
  244. package/core/skills/webapp-testing/SKILL.md +187 -0
  245. package/core/skills/webapp-testing/scripts/playwright_runner.py +173 -0
  246. package/core/templates/ARCHITECTURE.template.md +407 -0
  247. package/core/templates/project-resources.example.json +71 -0
  248. package/core/workflows/atomic.md +182 -0
  249. package/core/workflows/brainstorm.md +134 -0
  250. package/core/workflows/check-task.md +242 -0
  251. package/core/workflows/copy-collect.md +306 -0
  252. package/core/workflows/create-agent.md +33 -0
  253. package/core/workflows/create-skill.md +39 -0
  254. package/core/workflows/create-workflow.md +33 -0
  255. package/core/workflows/create.md +92 -0
  256. package/core/workflows/debug.md +186 -0
  257. package/core/workflows/demand.md +443 -0
  258. package/core/workflows/deploy.md +260 -0
  259. package/core/workflows/discovery.md +267 -0
  260. package/core/workflows/document.md +272 -0
  261. package/core/workflows/ds-components.md +296 -0
  262. package/core/workflows/ds-init.md +58 -0
  263. package/core/workflows/ds-refactor.md +245 -0
  264. package/core/workflows/ds-references.md +197 -0
  265. package/core/workflows/ds-styleguide.md +237 -0
  266. package/core/workflows/ds-token-diff.md +103 -0
  267. package/core/workflows/ds-tokens.md +317 -0
  268. package/core/workflows/ds-validate.md +309 -0
  269. package/core/workflows/execute.md +483 -0
  270. package/core/workflows/extract-template.md +278 -0
  271. package/core/workflows/fix-failed-tests.md +160 -0
  272. package/core/workflows/init-project.md +386 -0
  273. package/core/workflows/legacy-project.md +849 -0
  274. package/core/workflows/log.md +97 -0
  275. package/core/workflows/new-project.md +610 -0
  276. package/core/workflows/new-project.md.bak +3292 -0
  277. package/core/workflows/new-task.md +404 -0
  278. package/core/workflows/orchestrate.md +237 -0
  279. package/core/workflows/page-build.md +296 -0
  280. package/core/workflows/plan.md +89 -0
  281. package/core/workflows/prd.md +255 -0
  282. package/core/workflows/preview.md +81 -0
  283. package/core/workflows/review-page.md +304 -0
  284. package/core/workflows/status.md +86 -0
  285. package/core/workflows/stitch.md +226 -0
  286. package/core/workflows/task-complete.md +473 -0
  287. package/core/workflows/task-update.md +163 -0
  288. package/core/workflows/tdd.md +344 -0
  289. package/core/workflows/test.md +251 -0
  290. package/core/workflows/ui-ux-pro-max.md +437 -0
  291. package/core/workflows/ux-mobile-optimize.md +262 -0
  292. package/core/workflows/ux-mobile-validate.md +297 -0
  293. package/engine-files/GEMINI.md +69 -0
  294. package/package.json +47 -0
  295. package/runtime-adapters/antigravity.js +26 -0
  296. package/runtime-adapters/claude.js +57 -0
  297. package/runtime-adapters/codex.js +51 -0
  298. package/runtime-adapters/copilot.js +51 -0
  299. package/runtime-adapters/cursor.js +51 -0
  300. package/runtime-adapters/gemini-cli.js +30 -0
  301. package/runtime-adapters/opencode.js +51 -0
  302. package/runtime-adapters/windsurf.js +51 -0
@@ -0,0 +1,199 @@
1
+ ---
2
+ name: red-team-tactics
3
+ description: Red team tactics principles based on MITRE ATT&CK. Attack phases, detection evasion, reporting.
4
+ allowed-tools: Read, Glob, Grep
5
+ ---
6
+
7
+ # Red Team Tactics
8
+
9
+ > Adversary simulation principles based on MITRE ATT&CK framework.
10
+
11
+ ---
12
+
13
+ ## 1. MITRE ATT&CK Phases
14
+
15
+ ### Attack Lifecycle
16
+
17
+ ```
18
+ RECONNAISSANCE → INITIAL ACCESS → EXECUTION → PERSISTENCE
19
+ ↓ ↓ ↓ ↓
20
+ PRIVILEGE ESC → DEFENSE EVASION → CRED ACCESS → DISCOVERY
21
+ ↓ ↓ ↓ ↓
22
+ LATERAL MOVEMENT → COLLECTION → C2 → EXFILTRATION → IMPACT
23
+ ```
24
+
25
+ ### Phase Objectives
26
+
27
+ | Phase | Objective |
28
+ |-------|-----------|
29
+ | **Recon** | Map attack surface |
30
+ | **Initial Access** | Get first foothold |
31
+ | **Execution** | Run code on target |
32
+ | **Persistence** | Survive reboots |
33
+ | **Privilege Escalation** | Get admin/root |
34
+ | **Defense Evasion** | Avoid detection |
35
+ | **Credential Access** | Harvest credentials |
36
+ | **Discovery** | Map internal network |
37
+ | **Lateral Movement** | Spread to other systems |
38
+ | **Collection** | Gather target data |
39
+ | **C2** | Maintain command channel |
40
+ | **Exfiltration** | Extract data |
41
+
42
+ ---
43
+
44
+ ## 2. Reconnaissance Principles
45
+
46
+ ### Passive vs Active
47
+
48
+ | Type | Trade-off |
49
+ |------|-----------|
50
+ | **Passive** | No target contact, limited info |
51
+ | **Active** | Direct contact, more detection risk |
52
+
53
+ ### Information Targets
54
+
55
+ | Category | Value |
56
+ |----------|-------|
57
+ | Technology stack | Attack vector selection |
58
+ | Employee info | Social engineering |
59
+ | Network ranges | Scanning scope |
60
+ | Third parties | Supply chain attack |
61
+
62
+ ---
63
+
64
+ ## 3. Initial Access Vectors
65
+
66
+ ### Selection Criteria
67
+
68
+ | Vector | When to Use |
69
+ |--------|-------------|
70
+ | **Phishing** | Human target, email access |
71
+ | **Public exploits** | Vulnerable services exposed |
72
+ | **Valid credentials** | Leaked or cracked |
73
+ | **Supply chain** | Third-party access |
74
+
75
+ ---
76
+
77
+ ## 4. Privilege Escalation Principles
78
+
79
+ ### Windows Targets
80
+
81
+ | Check | Opportunity |
82
+ |-------|-------------|
83
+ | Unquoted service paths | Write to path |
84
+ | Weak service permissions | Modify service |
85
+ | Token privileges | Abuse SeDebug, etc. |
86
+ | Stored credentials | Harvest |
87
+
88
+ ### Linux Targets
89
+
90
+ | Check | Opportunity |
91
+ |-------|-------------|
92
+ | SUID binaries | Execute as owner |
93
+ | Sudo misconfiguration | Command execution |
94
+ | Kernel vulnerabilities | Kernel exploits |
95
+ | Cron jobs | Writable scripts |
96
+
97
+ ---
98
+
99
+ ## 5. Defense Evasion Principles
100
+
101
+ ### Key Techniques
102
+
103
+ | Technique | Purpose |
104
+ |-----------|---------|
105
+ | LOLBins | Use legitimate tools |
106
+ | Obfuscation | Hide malicious code |
107
+ | Timestomping | Hide file modifications |
108
+ | Log clearing | Remove evidence |
109
+
110
+ ### Operational Security
111
+
112
+ - Work during business hours
113
+ - Mimic legitimate traffic patterns
114
+ - Use encrypted channels
115
+ - Blend with normal behavior
116
+
117
+ ---
118
+
119
+ ## 6. Lateral Movement Principles
120
+
121
+ ### Credential Types
122
+
123
+ | Type | Use |
124
+ |------|-----|
125
+ | Password | Standard auth |
126
+ | Hash | Pass-the-hash |
127
+ | Ticket | Pass-the-ticket |
128
+ | Certificate | Certificate auth |
129
+
130
+ ### Movement Paths
131
+
132
+ - Admin shares
133
+ - Remote services (RDP, SSH, WinRM)
134
+ - Exploitation of internal services
135
+
136
+ ---
137
+
138
+ ## 7. Active Directory Attacks
139
+
140
+ ### Attack Categories
141
+
142
+ | Attack | Target |
143
+ |--------|--------|
144
+ | Kerberoasting | Service account passwords |
145
+ | AS-REP Roasting | Accounts without pre-auth |
146
+ | DCSync | Domain credentials |
147
+ | Golden Ticket | Persistent domain access |
148
+
149
+ ---
150
+
151
+ ## 8. Reporting Principles
152
+
153
+ ### Attack Narrative
154
+
155
+ Document the full attack chain:
156
+ 1. How initial access was gained
157
+ 2. What techniques were used
158
+ 3. What objectives were achieved
159
+ 4. Where detection failed
160
+
161
+ ### Detection Gaps
162
+
163
+ For each successful technique:
164
+ - What should have detected it?
165
+ - Why didn't detection work?
166
+ - How to improve detection
167
+
168
+ ---
169
+
170
+ ## 9. Ethical Boundaries
171
+
172
+ ### Always
173
+
174
+ - Stay within scope
175
+ - Minimize impact
176
+ - Report immediately if real threat found
177
+ - Document all actions
178
+
179
+ ### Never
180
+
181
+ - Destroy production data
182
+ - Cause denial of service (unless scoped)
183
+ - Access beyond proof of concept
184
+ - Retain sensitive data
185
+
186
+ ---
187
+
188
+ ## 10. Anti-Patterns
189
+
190
+ | ❌ Don't | ✅ Do |
191
+ |----------|-------|
192
+ | Rush to exploitation | Follow methodology |
193
+ | Cause damage | Minimize impact |
194
+ | Skip reporting | Document everything |
195
+ | Ignore scope | Stay within boundaries |
196
+
197
+ ---
198
+
199
+ > **Remember:** Red team simulates attackers to improve defenses, not to cause harm.
@@ -0,0 +1,105 @@
1
+ # Stitch-Remotion Video Walkthrough Skill
2
+
3
+ Generate professional walkthrough videos from Stitch app designs using Remotion.
4
+
5
+ ## What This Skill Does
6
+
7
+ This skill bridges Stitch (UI design platform) and Remotion (programmatic video library) to automatically create walkthrough videos showcasing app screens with:
8
+
9
+ - **Smooth transitions**: Cross-fades, slides, and zoom effects
10
+ - **Text overlays**: Screen titles, descriptions, and feature callouts
11
+ - **Professional animations**: Spring-based natural motion
12
+ - **Customizable timing**: Control display duration per screen
13
+
14
+ ## Prerequisites
15
+
16
+ 1. **Stitch MCP Server**: Access to retrieve screens from Stitch projects
17
+ 2. **Node.js**: For running Remotion
18
+ 3. **Remotion**: Either Remotion MCP Server or Remotion CLI
19
+
20
+ ## Example Use Case
21
+
22
+ **User Request:**
23
+ > "Look up the screens in my Stitch project 'Calculator App' and build a remotion video that shows a walkthrough of the screens."
24
+
25
+ **What Happens:**
26
+ 1. Agent retrieves all screens from the Stitch project
27
+ 2. Downloads screenshots for each screen
28
+ 3. Creates a Remotion composition with transitions
29
+ 4. Generates video with smooth animations and text overlays
30
+ 5. Renders final MP4 video
31
+
32
+ ## Key Features
33
+
34
+ - **Automated asset retrieval** from Stitch projects
35
+ - **Modular Remotion components** for easy customization
36
+ - **Multiple transition styles** (fade, slide, zoom)
37
+ - **Text overlay system** for annotations
38
+ - **Configurable timing** per screen
39
+ - **Professional rendering** with quality optimization
40
+
41
+ ## Installation
42
+
43
+ Install this skill using:
44
+
45
+ ```bash
46
+ npx add-skill google-labs-code/stitch-skills --skill remotion --global
47
+ ```
48
+
49
+ ## File Structure
50
+
51
+ When using this skill, the agent will create:
52
+
53
+ ```
54
+ project/
55
+ ├── video/ # Remotion project
56
+ │ ├── src/
57
+ │ │ ├── WalkthroughComposition.tsx
58
+ │ │ ├── ScreenSlide.tsx
59
+ │ │ └── components/
60
+ │ ├── public/assets/screens/ # Stitch screenshots
61
+ │ └── remotion.config.ts
62
+ ├── screens.json # Screen manifest
63
+ └── output.mp4 # Final video
64
+ ```
65
+
66
+ ## How It Works
67
+
68
+ 1. **Discovery**: Identifies Stitch and Remotion MCP servers
69
+ 2. **Retrieval**: Fetches screens and metadata from Stitch project
70
+ 3. **Asset Download**: Downloads screenshots for each screen
71
+ 4. **Composition**: Generates Remotion React components
72
+ 5. **Preview**: Opens Remotion Studio for refinement (optional)
73
+ 6. **Render**: Produces final video file
74
+
75
+ ## Integration Points
76
+
77
+ **With Stitch:**
78
+ - Uses Stitch MCP to list projects and screens
79
+ - Downloads screenshots and HTML code
80
+ - Extracts screen metadata (title, dimensions)
81
+
82
+ **With Remotion:**
83
+ - Creates TypeScript/React components
84
+ - Configures composition settings
85
+ - Renders video using Remotion CLI or MCP
86
+
87
+ ## Advanced Capabilities
88
+
89
+ - **Dynamic text extraction**: Parse Stitch HTML to auto-generate annotations
90
+ - **Interactive hotspots**: Highlight clickable elements
91
+ - **Voiceover integration**: Sync narration with screen transitions
92
+ - **Multiple video patterns**: Slide show, feature highlight, user flow
93
+
94
+ ## Related Skills
95
+
96
+ - **design-md**: Extract design system from Stitch projects (useful for consistent branding in videos)
97
+ - **react-components**: Convert Stitch designs to React (if you want interactive demos instead of videos)
98
+
99
+ ## Learn More
100
+
101
+ See the full [SKILL.md](./SKILL.md) for detailed instructions, troubleshooting, and best practices.
102
+
103
+ ## License
104
+
105
+ This is not an officially supported Google product.
@@ -0,0 +1,393 @@
1
+ ---
2
+ name: remotion
3
+ description: Generate walkthrough videos from Stitch projects using Remotion with smooth transitions, zooming, and text overlays
4
+ allowed-tools:
5
+ - "stitch*:*"
6
+ - "remotion*:*"
7
+ - "Bash"
8
+ - "Read"
9
+ - "Write"
10
+ - "web_fetch"
11
+ ---
12
+
13
+ # Stitch to Remotion Walkthrough Videos
14
+
15
+ You are a video production specialist focused on creating engaging walkthrough videos from app designs. You combine Stitch's screen retrieval capabilities with Remotion's programmatic video generation to produce smooth, professional presentations.
16
+
17
+ ## Overview
18
+
19
+ This skill enables you to create walkthrough videos that showcase app screens with professional transitions, zoom effects, and contextual text overlays. The workflow retrieves screens from Stitch projects and orchestrates them into a Remotion video composition.
20
+
21
+ ## Prerequisites
22
+
23
+ **Required:**
24
+ - Access to the Stitch MCP Server
25
+ - Access to the Remotion MCP Server (or Remotion CLI)
26
+ - Node.js and npm installed
27
+ - A Stitch project with designed screens
28
+
29
+ **Recommended:**
30
+ - Familiarity with Remotion's video capabilities
31
+ - Understanding of React components (Remotion uses React)
32
+
33
+ ## Retrieval and Networking
34
+
35
+ ### Step 1: Discover Available MCP Servers
36
+
37
+ Run `list_tools` to identify available MCP servers and their prefixes:
38
+ - **Stitch MCP**: Look for `stitch:` or `mcp_stitch:` prefix
39
+ - **Remotion MCP**: Look for `remotion:` or `mcp_remotion:` prefix
40
+
41
+ ### Step 2: Retrieve Stitch Project Information
42
+
43
+ 1. **Project lookup** (if Project ID is not provided):
44
+ - Call `[stitch_prefix]:list_projects` with `filter: "view=owned"`
45
+ - Identify target project by title (e.g., "Calculator App")
46
+ - Extract Project ID from `name` field (e.g., `projects/13534454087919359824`)
47
+
48
+ 2. **Screen retrieval**:
49
+ - Call `[stitch_prefix]:list_screens` with the project ID (numeric only)
50
+ - Review screen titles to identify all screens for the walkthrough
51
+ - Extract Screen IDs from each screen's `name` field
52
+
53
+ 3. **Screen metadata fetch**:
54
+ For each screen:
55
+ - Call `[stitch_prefix]:get_screen` with `projectId` and `screenId`
56
+ - Retrieve:
57
+ - `screenshot.downloadUrl` — Visual asset for the video
58
+ - `htmlCode.downloadUrl` — Optional: for extracting text/content
59
+ - `width`, `height` — Screen dimensions for proper scaling
60
+ - Screen title and description for text overlays
61
+
62
+ 4. **Asset download**:
63
+ - Use `web_fetch` or `Bash` with `curl` to download screenshots
64
+ - Save to a staging directory: `assets/screens/{screen-name}.png`
65
+ - Organize assets in order of the intended walkthrough flow
66
+
67
+ ### Step 3: Set Up Remotion Project
68
+
69
+ 1. **Check for existing Remotion project**:
70
+ - Look for `remotion.config.ts` or `package.json` with Remotion dependencies
71
+ - If exists, use the existing project structure
72
+
73
+ 2. **Create new Remotion project** (if needed):
74
+ ```bash
75
+ npm create video@latest -- --blank
76
+ ```
77
+ - Choose TypeScript template
78
+ - Set up in a dedicated `video/` directory
79
+
80
+ 3. **Install dependencies**:
81
+ ```bash
82
+ cd video
83
+ npm install @remotion/transitions @remotion/animated-emoji
84
+ ```
85
+
86
+ ## Video Composition Strategy
87
+
88
+ ### Architecture
89
+
90
+ Create a modular Remotion composition with these components:
91
+
92
+ 1. **`ScreenSlide.tsx`** — Individual screen display component
93
+ - Props: `imageSrc`, `title`, `description`, `width`, `height`
94
+ - Features: Zoom-in animation, fade transitions
95
+ - Duration: Configurable (default 3-5 seconds per screen)
96
+
97
+ 2. **`WalkthroughComposition.tsx`** — Main video composition
98
+ - Sequences multiple `ScreenSlide` components
99
+ - Handles transitions between screens
100
+ - Adds text overlays and annotations
101
+
102
+ 3. **`config.ts`** — Video configuration
103
+ - Frame rate (default: 30 fps)
104
+ - Video dimensions (match Stitch screen dimensions or scale appropriately)
105
+ - Total duration calculation
106
+
107
+ ### Transition Effects
108
+
109
+ Use Remotion's `@remotion/transitions` for professional effects:
110
+
111
+ - **Fade**: Smooth cross-fade between screens
112
+ ```tsx
113
+ import {fade} from '@remotion/transitions/fade';
114
+ ```
115
+
116
+ - **Slide**: Directional slide transitions
117
+ ```tsx
118
+ import {slide} from '@remotion/transitions/slide';
119
+ ```
120
+
121
+ - **Zoom**: Zoom in/out effects for emphasis
122
+ - Use `spring()` animation for smooth zoom
123
+ - Apply to important UI elements
124
+
125
+ ### Text Overlays
126
+
127
+ Add contextual information using Remotion's text rendering:
128
+
129
+ 1. **Screen titles**: Display at the top or bottom of each frame
130
+ 2. **Feature callouts**: Highlight specific UI elements with animated pointers
131
+ 3. **Descriptions**: Fade in descriptive text for each screen
132
+ 4. **Progress indicator**: Show current screen position in walkthrough
133
+
134
+ ## Execution Steps
135
+
136
+ ### Step 1: Gather Screen Assets
137
+
138
+ 1. Identify target Stitch project
139
+ 2. List all screens in the project
140
+ 3. Download screenshots for each screen
141
+ 4. Organize in order of walkthrough flow
142
+ 5. Create a manifest file (`screens.json`):
143
+
144
+ ```json
145
+ {
146
+ "projectName": "Calculator App",
147
+ "screens": [
148
+ {
149
+ "id": "1",
150
+ "title": "Home Screen",
151
+ "description": "Main calculator interface with number pad",
152
+ "imagePath": "assets/screens/home.png",
153
+ "width": 1200,
154
+ "height": 800,
155
+ "duration": 4
156
+ },
157
+ {
158
+ "id": "2",
159
+ "title": "History View",
160
+ "description": "View of previous calculations",
161
+ "imagePath": "assets/screens/history.png",
162
+ "width": 1200,
163
+ "height": 800,
164
+ "duration": 3
165
+ }
166
+ ]
167
+ }
168
+ ```
169
+
170
+ ### Step 2: Generate Remotion Components
171
+
172
+ Create the video components following Remotion best practices:
173
+
174
+ 1. **Create `ScreenSlide.tsx`**:
175
+ - Use `useCurrentFrame()` and `spring()` for animations
176
+ - Implement zoom and fade effects
177
+ - Add text overlays with proper timing
178
+
179
+ 2. **Create `WalkthroughComposition.tsx`**:
180
+ - Import screen manifest
181
+ - Sequence screens with `<Sequence>` components
182
+ - Apply transitions between screens
183
+ - Calculate proper timing and offsets
184
+
185
+ 3. **Update `remotion.config.ts`**:
186
+ - Set composition ID
187
+ - Configure video dimensions
188
+ - Set frame rate and duration
189
+
190
+ **Reference Resources:**
191
+ - Use `resources/screen-slide-template.tsx` as starting point
192
+ - Follow `resources/composition-checklist.md` for completeness
193
+ - Review examples in `examples/walkthrough/` directory
194
+
195
+ ### Step 3: Preview and Refine
196
+
197
+ 1. **Start Remotion Studio**:
198
+ ```bash
199
+ npm run dev
200
+ ```
201
+ - Opens browser-based preview
202
+ - Allows real-time editing and refinement
203
+
204
+ 2. **Adjust timing**:
205
+ - Ensure each screen has appropriate display duration
206
+ - Verify transitions are smooth
207
+ - Check text overlay timing
208
+
209
+ 3. **Fine-tune animations**:
210
+ - Adjust spring configurations for zoom effects
211
+ - Modify easing functions for transitions
212
+ - Ensure text is readable at all times
213
+
214
+ ### Step 4: Render Video
215
+
216
+ 1. **Render using Remotion CLI**:
217
+ ```bash
218
+ npx remotion render WalkthroughComposition output.mp4
219
+ ```
220
+
221
+ 2. **Alternative: Use Remotion MCP** (if available):
222
+ - Call `[remotion_prefix]:render` with composition details
223
+ - Specify output format (MP4, WebM, etc.)
224
+
225
+ 3. **Optimization options**:
226
+ - Set quality level (`--quality`)
227
+ - Configure codec (`--codec h264` or `h265`)
228
+ - Enable parallel rendering (`--concurrency`)
229
+
230
+ ## Advanced Features
231
+
232
+ ### Interactive Hotspots
233
+
234
+ Highlight clickable elements or important features:
235
+
236
+ ```tsx
237
+ import {interpolate, useCurrentFrame} from 'remotion';
238
+
239
+ const Hotspot = ({x, y, label}) => {
240
+ const frame = useCurrentFrame();
241
+ const scale = spring({
242
+ frame,
243
+ fps: 30,
244
+ config: {damping: 10, stiffness: 100}
245
+ });
246
+
247
+ return (
248
+ <div style={{
249
+ position: 'absolute',
250
+ left: x,
251
+ top: y,
252
+ transform: `scale(${scale})`
253
+ }}>
254
+ <div className="pulse-ring" />
255
+ <span>{label}</span>
256
+ </div>
257
+ );
258
+ };
259
+ ```
260
+
261
+ ### Voiceover Integration
262
+
263
+ Add narration to the walkthrough:
264
+
265
+ 1. Generate voiceover script from screen descriptions
266
+ 2. Use text-to-speech or record audio
267
+ 3. Import audio into Remotion with `<Audio>` component
268
+ 4. Sync screen timing with voiceover pacing
269
+
270
+ ### Dynamic Text Extraction
271
+
272
+ Extract text from Stitch HTML code for automatic annotations:
273
+
274
+ 1. Download `htmlCode.downloadUrl` for each screen
275
+ 2. Parse HTML to extract key text elements (headings, buttons, labels)
276
+ 3. Generate automatic callouts for important UI elements
277
+ 4. Add to composition as timed text overlays
278
+
279
+ ## File Structure
280
+
281
+ ```
282
+ project/
283
+ ├── video/ # Remotion project directory
284
+ │ ├── src/
285
+ │ │ ├── WalkthroughComposition.tsx
286
+ │ │ ├── ScreenSlide.tsx
287
+ │ │ ├── components/
288
+ │ │ │ ├── Hotspot.tsx
289
+ │ │ │ └── TextOverlay.tsx
290
+ │ │ └── Root.tsx
291
+ │ ├── public/
292
+ │ │ └── assets/
293
+ │ │ └── screens/ # Downloaded Stitch screenshots
294
+ │ │ ├── home.png
295
+ │ │ └── history.png
296
+ │ ├── remotion.config.ts
297
+ │ └── package.json
298
+ ├── screens.json # Screen manifest
299
+ └── output.mp4 # Rendered video
300
+ ```
301
+
302
+ ## Integration with Remotion Skills
303
+
304
+ Remotion maintains its own Agent Skills that define best practices. Review these for advanced techniques:
305
+
306
+ - **Repository**: https://github.com/remotion-dev/remotion/tree/main/packages/skills
307
+ - **Installation**: `npx skills add remotion-dev/skills`
308
+
309
+ Key Remotion skills to leverage:
310
+ - Animation timing and easing
311
+ - Composition architecture patterns
312
+ - Performance optimization
313
+ - Audio synchronization
314
+
315
+ ## Common Patterns
316
+
317
+ ### Pattern 1: Simple Slide Show
318
+
319
+ Basic walkthrough with fade transitions:
320
+ - 3-5 seconds per screen
321
+ - Cross-fade transitions
322
+ - Bottom text overlay with screen title
323
+ - Progress bar at top
324
+
325
+ ### Pattern 2: Feature Highlight
326
+
327
+ Focus on specific UI elements:
328
+ - Zoom into specific regions
329
+ - Animated circles/arrows pointing to features
330
+ - Slow-motion emphasis on key interactions
331
+ - Side-by-side before/after comparisons
332
+
333
+ ### Pattern 3: User Flow
334
+
335
+ Show step-by-step user journey:
336
+ - Sequential screen flow with directional slides
337
+ - Numbered steps overlay
338
+ - Highlight user actions (clicks, taps)
339
+ - Connect screens with animated paths
340
+
341
+ ## Troubleshooting
342
+
343
+ | Issue | Solution |
344
+ |-------|----------|
345
+ | **Blurry screenshots** | Ensure downloaded images are at full resolution; check `screenshot.downloadUrl` quality settings |
346
+ | **Misaligned text** | Verify screen dimensions match composition size; adjust text positioning based on actual screen size |
347
+ | **Choppy animations** | Increase frame rate to 60fps; use proper spring configurations with appropriate damping |
348
+ | **Remotion build fails** | Check Node version compatibility; ensure all dependencies are installed; review Remotion docs |
349
+ | **Timing feels off** | Adjust duration per screen in manifest; preview in Remotion Studio; test with actual users |
350
+
351
+ ## Best Practices
352
+
353
+ 1. **Maintain aspect ratio**: Use actual Stitch screen dimensions or scale proportionally
354
+ 2. **Consistent timing**: Keep screen display duration consistent unless emphasizing specific screens
355
+ 3. **Readable text**: Ensure sufficient contrast; use appropriate font sizes; avoid cluttered overlays
356
+ 4. **Smooth transitions**: Use spring animations for natural motion; avoid jarring cuts
357
+ 5. **Preview thoroughly**: Always preview in Remotion Studio before final render
358
+ 6. **Optimize assets**: Compress images appropriately; use efficient formats (PNG for UI, JPG for photos)
359
+
360
+ ## Example Usage
361
+
362
+ **User prompt:**
363
+ ```
364
+ Look up the screens in my Stitch project "Calculator App" and build a remotion video
365
+ that shows a walkthrough of the screens.
366
+ ```
367
+
368
+ **Agent workflow:**
369
+ 1. List Stitch projects → Find "Calculator App" → Extract project ID
370
+ 2. List screens in project → Identify all screens (Home, History, Settings)
371
+ 3. Download screenshots for each screen → Save to `assets/screens/`
372
+ 4. Create `screens.json` manifest with screen metadata
373
+ 5. Generate Remotion components (`ScreenSlide.tsx`, `WalkthroughComposition.tsx`)
374
+ 6. Preview in Remotion Studio → Refine timing and transitions
375
+ 7. Render final video → `calculator-walkthrough.mp4`
376
+ 8. Report completion with video preview link
377
+
378
+ ## Tips for Success
379
+
380
+ - **Start simple**: Begin with basic fade transitions before adding complex animations
381
+ - **Follow Remotion patterns**: Leverage Remotion's official skills and documentation
382
+ - **Use manifest files**: Keep screen data organized in JSON for easy updates
383
+ - **Preview frequently**: Use Remotion Studio to catch issues early
384
+ - **Consider accessibility**: Add captions; ensure text is readable; use clear visuals
385
+ - **Optimize for platform**: Match video dimensions to target platform (YouTube, social media, etc.)
386
+
387
+ ## References
388
+
389
+ - **Stitch Documentation**: https://stitch.withgoogle.com/docs/
390
+ - **Remotion Documentation**: https://www.remotion.dev/docs/
391
+ - **Remotion Skills**: https://www.remotion.dev/docs/ai/skills
392
+ - **Remotion MCP**: https://www.remotion.dev/docs/ai/mcp
393
+ - **Remotion Transitions**: https://www.remotion.dev/docs/transitions